/* Liquid Glass Theme - Additions to style.css */

/* Full Screen Liquid Background */
.background-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
    background: #000;
    /* Pitch black base */
}

/* Create a mixing fluid effect with huge gradients */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    /* Extreme blur for smooth gradients */
    opacity: 0.8;
    mix-blend-mode: screen;
    /* Blend colors nicely */
    animation: flow 25s infinite ease-in-out alternate;
}

.blob-1 {
    top: -20%;
    left: -20%;
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, #800080 0%, transparent 70%);
    /* Purple */
    animation-delay: 0s;
}

.blob-2 {
    bottom: -20%;
    right: -20%;
    width: 90vw;
    height: 90vw;
    background: radial-gradient(circle, #ff007f 0%, transparent 70%);
    /* Hot Pink */
    animation-delay: -5s;
    animation-direction: alternate-reverse;
}

.blob-3 {
    top: 40%;
    left: 30%;
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, #4b0082 0%, transparent 70%);
    /* Indigo */
    animation-delay: -10s;
}

@keyframes flow {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    50% {
        transform: translate(100px, 50px) scale(1.1) rotate(20deg);
    }

    100% {
        transform: translate(-50px, -50px) scale(0.9) rotate(-10deg);
    }
}

/* Ultra Glass Effect */
.music-card,
.event-item,
.date-card,
.gallery-item {
    background: rgba(255, 255, 255, 0.05);
    /* Slightly clearer */
    backdrop-filter: blur(15px);
    /* Strong blur */
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    /* Highlight top edge */
    border-left: 1px solid rgba(255, 255, 255, 0.4);
    /* Highlight left edge */
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    /* Deep shadow for depth */
    position: relative;
    overflow: hidden;
}

/* Glossy Shine Overlay */
.music-card::before,
.event-item::before,
.date-card::before,
.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: skewX(-25deg);
    pointer-events: none;
    transition: left 0.5s;
}

/* Hover Effects */
.music-card:hover,
.event-item:hover,
.date-card:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    transform: translateY(-5px) scale(1.02);
}

.music-card:hover::before,
.event-item:hover::before,
.date-card:hover::before,
.gallery-item:hover::before {
    left: 150%;
    /* Shine passing through */
    transition: left 0.8s ease-in-out;
}

/* Navbar Glass Update */
/* Navbar Glass Update */
/* Navbar Glass Update */
.navbar {
    background: rgba(255, 255, 255, 0.01) !important;
    /* Extremely subtle */
    backdrop-filter: blur(30px) saturate(160%);
    /* Deeper blur and saturation */
    -webkit-backdrop-filter: blur(30px) saturate(160%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03) !important;
    /* Barely visible edge */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5) !important;
    /* Shadow creates the separation */
}

/* Section Backgrounds - Transparent to show blobs */
.dark-bg,
body {
    background-color: transparent !important;
}

/* Global Tint */
/* Global Tint */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: -1;
    pointer-events: none;
}

/* --- Glass Buttons --- */
.btn-primary,
.btn-secondary {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05)) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    /* Soft Edges */
    border-radius: 50px !important;
    color: #fff !important;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;

    /* 3D Liquid Effect */
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.4),
        /* Sharp top highlight */
        inset 0 -5px 10px rgba(0, 0, 0, 0.1),
        /* Deepening bottom */
        0 5px 15px rgba(0, 0, 0, 0.2);
    /* Drop shadow */
}

/* Hover Shine for Buttons */
.btn-primary::before,
.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
    z-index: -1;
}

.btn-primary:hover,
.btn-secondary:hover {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1)) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.6),
        inset 0 -5px 10px rgba(0, 0, 0, 0.1),
        0 8px 25px rgba(255, 105, 180, 0.4);
    /* Pink glow on hover */
    color: #fff !important;
}

.btn-primary:hover::before,
.btn-secondary:hover::before {
    left: 100%;
}

/* Differentiate Primary vs Secondary slightly if needed */
.btn-primary {
    background: linear-gradient(145deg, rgba(255, 105, 180, 0.2), rgba(255, 105, 180, 0.1)) !important;
    border-color: rgba(255, 105, 180, 0.4) !important;
}

/* --- Glass Forms --- */
input,
textarea {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    /* Soft Edges & 3D feel */
    border-radius: 20px !important;
    padding: 1.2rem !important;
    color: #fff !important;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2);
}

input:focus,
textarea:focus {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: var(--accent-gold) !important;
    box-shadow: 0 0 20px rgba(255, 105, 180, 0.3), inset 0 2px 5px rgba(0, 0, 0, 0.1);
    outline: none;
}

/* Custom Error Bubble */
.form-group {
    position: relative;
    margin-bottom: 2.5rem !important;
    /* Make room for bubble */
}

.error-bubble {
    position: absolute;
    bottom: -35px;
    left: 10px;
    background: var(--accent-gold);
    color: #000;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.error-bubble::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 20px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid var(--accent-gold);
}

.form-group.error .error-bubble {
    opacity: 1;
    transform: translateY(0);
}

.form-group.error input,
.form-group.error textarea {
    border-color: #ff4444 !important;
    box-shadow: 0 0 15px rgba(255, 68, 68, 0.3);
}

.success-message {
    text-align: center;
    color: var(--accent-gold);
    font-size: 1.2rem;
    margin-top: 1rem;
    text-shadow: 0 0 10px rgba(255, 105, 180, 0.5);
    animation: fadeUp 0.5s ease forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Glass Footer --- */
footer {
    background: rgba(5, 5, 5, 0.4) !important;
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    margin-top: 0 !important;
}

/* --- Mobile Menu Glass Overlay --- */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.85);
        /* Darker backdrop */
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        z-index: 999;
        /* Below toggle but above content */
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s ease, backdrop-filter 0.4s ease;
    }

    .nav-links.active {
        display: flex !important;
        /* Override style.css display:none */
        opacity: 1;
        pointer-events: all;
    }

    .nav-links a {
        font-size: 1.5rem;
        font-family: var(--font-heading);
        color: #fff;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s ease;
    }

    .nav-links.active a {
        opacity: 1;
        transform: translateY(0);
    }

    /* Stagger delay for menu items */
    .nav-links.active a:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-links.active a:nth-child(2) {
        transition-delay: 0.2s;
    }

    .nav-links.active a:nth-child(3) {
        transition-delay: 0.3s;
    }

    .nav-links.active a:nth-child(4) {
        transition-delay: 0.4s;
    }

    .nav-links.active a:nth-child(5) {
        transition-delay: 0.5s;
    }

    .nav-links.active a:nth-child(6) {
        transition-delay: 0.6s;
    }
}

/* --- Navbar Link Glass Hover --- */
.nav-links a {
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    box-shadow: 0 0 10px var(--accent-gold);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* --- Scroll Reveal Animations --- */
.reveal-text {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.5, 0, 0, 1);
    filter: blur(10px);
}

.reveal-text.visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* Staggered delays for children if needed */
.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}


/* --- Streaming Section --- */
.streaming-buttons {
    display: flex;
    justify-content: center;
    gap: 4rem;
    /* Wide gap */
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn-glass-large {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem 3rem;
    /* Larger padding */
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    text-decoration: none;

    /* Glass Effect */
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);

    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.btn-glass-large:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Brand specific hover tints */
.btn-glass-large.spotify:hover {
    background: linear-gradient(135deg, rgba(29, 185, 84, 0.4), rgba(29, 185, 84, 0.1));
    border-color: #1DB954;
    box-shadow: 0 0 30px rgba(29, 185, 84, 0.4);
}

.btn-glass-large.anghami:hover {
    background: linear-gradient(135deg, rgba(162, 0, 255, 0.4), rgba(162, 0, 255, 0.1));
    /* Purple-ish for Anghami */
    border-color: #a200ff;
    box-shadow: 0 0 30px rgba(162, 0, 255, 0.4);
}

.btn-glass-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.btn-glass-large:hover::before {
    left: 100%;
}

@media (max-width: 768px) {
    .btn-glass-large {
        width: 100%;
        /* Full width on mobile */
    }
}

/* --- Store Badges (App Store Style) --- */
.store-badge {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    /* Increased gap */
    padding: 1rem 2.2rem;
    /* Much larger padding */
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    /* Slightly more rounded */
    color: #fff;
    transition: all 0.3s ease;
    text-decoration: none;
    min-width: 260px;
    /* Wider base */
    position: relative;
    overflow: hidden;
}

.store-badge:hover {
    transform: translateY(-5px);
    background: #000;
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

/* Badge Text Layout */
.badge-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
    /* Tighter line height for larger text */
}

.small-text {
    font-size: 0.95rem;
    /* Bigger small text */
    text-transform: uppercase;
    letter-spacing: 0.8px;
    opacity: 0.8;
    margin-bottom: 4px;
}

.large-text {
    font-size: 1.8rem;
    /* Much bigger brand text */
    font-weight: 700;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    letter-spacing: 0.5px;
}

/* Icon Sizing */
.store-badge svg,
.store-badge img {
    width: 48px;
    /* Bigger icon */
    height: 48px;
    fill: currentColor;
    flex-shrink: 0;
    object-fit: contain;
}

/* Brand Specifics */
.store-badge.spotify:hover {
    border-color: #1DB954;
    box-shadow: 0 10px 30px rgba(29, 185, 84, 0.3);
}

.store-badge.spotify svg {
    color: #1DB954;
    /* Icon color */
}

.store-badge.spotify:hover svg {
    color: #fff;
    /* White key on hover if you prefer, or keep green */
}

/* Anghami specific */
.store-badge.anghami:hover {
    border-color: #a200ff;
    box-shadow: 0 10px 30px rgba(162, 0, 255, 0.3);
}

.store-badge.anghami svg {
    color: #a200ff;
}

/* Add shine effect */
.store-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s;
    pointer-events: none;
}

.store-badge:hover::before {
    left: 100%;
}