/* ========== BACKGROUND ========== */
.stripes-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    /* Dynamic gradient and blur from JavaScript */
    background: var(--stripes-gradient, linear-gradient(to right,
                var(--color-pink) 0%, var(--color-pink) 16.66%,
                var(--color-green) 16.66%, var(--color-green) 33.33%,
                var(--color-yellow) 33.33%, var(--color-yellow) 50%,
                var(--color-blue) 50%, var(--color-blue) 66.66%,
                var(--color-orange) 66.66%, var(--color-orange) 83.33%,
                var(--color-purple) 83.33%, var(--color-purple) 100%));
    filter: blur(var(--stripes-blur, 120px));
    transform: scale(var(--stripes-scale, 1.4)) translate(var(--stripes-x, 0px), var(--stripes-y, 0px));
    will-change: transform;
    opacity: var(--stripes-opacity, 0.6);
}


.fog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: rgba(255, 255, 255, 0.6);
    pointer-events: none;
}

/* ========== NAVIGATION ========== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: var(--nav-bg-color);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav.scrolled {
    padding: 0.75rem 4rem;
    background: var(--nav-bg-color);
    box-shadow: var(--shadow-md);
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 0.12em;
    color: var(--color-text);
    text-decoration: none;
    background: var(--gradient-primary);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
    transition: transform 0.3s ease;
    flex: 1;
    display: flex;
    justify-content: flex-start;
}

.nav-logo:hover {
    transform: scale(1.02);
}

.nav-logo-text {
    display: inline;
}

.nav-logo-img {
    max-height: 40px;
    width: auto;
    object-fit: contain;
    vertical-align: middle;
}

.nav-center {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    position: relative;
    padding: 0.5rem;
    /* Add padding for pill breathing room */
}

.nav-indicator {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 80%;
    background: linear-gradient(135deg,
        rgba(232, 93, 140, 0.12) 0%,
        rgba(139, 92, 246, 0.12) 50%,
        rgba(59, 130, 246, 0.12) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 50px;
    z-index: 0;
    /* Behind text (text needs z-index > 0) */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 0;
    opacity: 0;
    pointer-events: none;
}

.nav-center li {
    position: relative;
    z-index: 1;
    /* Above indicator */
}

.nav-center a {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--nav-link-color);
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    /* Hit area */
}

.nav-center a:hover {
    color: var(--nav-link-color);
}

.nav-center a.active {
    color: var(--nav-link-color);
}

.nav-social {
    display: flex;
    gap: 0.75rem;
    flex: 1;
    justify-content: flex-end;
}

.nav-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nav-link-color);
    transition: all 0.3s ease;
}

.nav-social a:hover {
    background: var(--nav-link-color);
    color: white;
}

.nav-social svg {
    width: 18px;
    height: 18px;
}

/* ========== HERO SECTION ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 20vh 2rem 10vh;
    /* Adjusted to vh units for responsive scaling */
    perspective: 1000px;
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 2;
}

.hero-logo-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 3rem;
    transition: transform 0.1s ease-out;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(6rem, 20vw, 15rem);
    line-height: 0.85;
    letter-spacing: 0.02em;
    color: var(--text-heading-color);
    margin: 0;
    background: linear-gradient(135deg, var(--color-text) 0%, var(--color-purple) 50%, var(--color-pink) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out, gradientShift 6s ease infinite;
    text-shadow: none;
    position: relative;
    z-index: 2;
    transform-origin: top center;
}

.hero-title.hero-hidden {
    opacity: 0;
    visibility: hidden;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, rgba(232, 93, 140, 0.2) 50%, transparent 70%);
    filter: blur(40px);
    z-index: 1;
    opacity: 0.6;
    animation: breathingGlow 4s ease-in-out infinite alternate;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30vh;
    /* Increased margin with vh units to maintain relative position */
    animation: fadeInUp 1s ease-out 0.4s both;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    z-index: 5;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-text {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text-light);
    font-weight: 500;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-purple), transparent);
    border-radius: 1px;
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--color-white), transparent);
    animation: scrollDrop 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes scrollDrop {
    0% {
        top: -100%;
    }

    50% {
        top: 100%;
    }

    100% {
        top: 100%;
    }
}

@keyframes breathingGlow {
    0% {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0.4;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.7;
    }
}

/* ========== SECTIONS COMMON ========== */
section {
    position: relative;
    z-index: 10;
}

.section-light {
    background: color-mix(in srgb, var(--color-bg-light), transparent 10%);
    backdrop-filter: blur(20px);
}

.section-transparent {
    background: transparent;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    letter-spacing: 0.05em;
    color: var(--text-heading-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}



.section-subtitle {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 1rem;
    color: var(--text-muted-color);
    max-width: 500px;
    margin: 1.5rem auto 0;
}

/* ========== FOOTER ========== */
.footer {
    background: linear-gradient(135deg,
            rgba(232, 93, 140, 0.05) 0%,
            rgba(139, 92, 246, 0.05) 50%,
            rgba(59, 130, 246, 0.05) 100%);
    backdrop-filter: blur(20px);
    color: var(--color-text);
    padding: 3rem 2rem;
    position: relative;
    z-index: 10;
    border-top: 1px solid rgba(139, 92, 246, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo {
    display: block;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 0.8;
}

.footer-logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.footer-legal {
    font-size: 0.85rem;
    color: var(--text-muted-color);
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.25rem;
}

.footer-separator {
    margin: 0 0.35rem;
    opacity: 0.4;
}

.footer-link,
.footer-soza a {
    color: var(--color-text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--color-pink);
}

.footer-soza a:hover {
    color: var(--color-purple);
}

.footer-social {
    display: flex;
    gap: 0.6rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.1);
    color: var(--color-text-light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-social a:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-4px);
    box-shadow: var(--shadow-color);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

/* ========== SOCIAL ICONS - INDIVIDUAL COLORS ========== */
.nav-social a.social-link-youtube,
.footer-social a.social-link-youtube {
    color: var(--social-icon-youtube);
}

.nav-social a.social-link-youtube:hover,
.footer-social a.social-link-youtube:hover {
    color: var(--social-icon-youtube-hover);
    background: transparent;
}

.nav-social a.social-link-instagram,
.footer-social a.social-link-instagram {
    color: var(--social-icon-instagram);
}

.nav-social a.social-link-instagram:hover,
.footer-social a.social-link-instagram:hover {
    color: var(--social-icon-instagram-hover);
    background: transparent;
}

.nav-social a.social-link-facebook,
.footer-social a.social-link-facebook {
    color: var(--social-icon-facebook);
}

.nav-social a.social-link-facebook:hover,
.footer-social a.social-link-facebook:hover {
    color: var(--social-icon-facebook-hover);
    background: transparent;
}

.nav-social a.social-link-spotify,
.footer-social a.social-link-spotify {
    color: var(--social-icon-spotify);
}

.nav-social a.social-link-spotify:hover,
.footer-social a.social-link-spotify:hover {
    color: var(--social-icon-spotify-hover);
    background: transparent;
}

.nav-social a.social-link-appleMusic,
.footer-social a.social-link-appleMusic {
    color: var(--social-icon-applemusic);
}

.nav-social a.social-link-appleMusic:hover,
.footer-social a.social-link-appleMusic:hover {
    color: var(--social-icon-applemusic-hover);
    background: transparent;
}

/* Add Tiktok and Twitter support just in case */
.nav-social a.social-link-tiktok,
.footer-social a.social-link-tiktok {
    color: #fff;
    /* TikTok is usually black/white/cyan/magenta */
}

.nav-social a.social-link-twitter,
.footer-social a.social-link-twitter {
    color: #1DA1F2;
}