/* ==========================================================================
   DESIGN TOKENS & ROOT VARIABLES
   ========================================================================== */
:root {
    --bg-dark: #050508;
    --bg-surface: #0a0a0e;
    --bg-card: rgba(10, 10, 12, 0.5);
    
    --color-primary: #A85203; /* Rust Orange */
    --color-primary-glow: rgba(168, 82, 3, 0.15);
    --color-secondary: #E58F1A; /* Neon Amber Orange */
    --color-secondary-glow: rgba(229, 143, 26, 0.2);
    
    --color-gold: #E58F1A;
    --color-text: #F3F3F3;
    --color-text-muted: #8F8F99;
    
    --glass-border: rgba(229, 143, 26, 0.08);
    --glass-highlight: rgba(255, 255, 255, 0.03);
    
    --transition-smooth: all 700ms cubic-bezier(0.32, 0.72, 0, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.015;
    pointer-events: none;
    z-index: 9999;
}

html, body {
    width: 100%;
    overflow-x: clip;
}

body {
    background-color: var(--bg-dark);
    color: var(--color-text);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(168, 82, 3, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(229, 143, 26, 0.04) 0%, transparent 40%);
    background-attachment: fixed;
}

/* Scroll Lock System */
body.scroll-locked {
    overflow: hidden;
    height: 100vh;
    height: 100dvh;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Glassmorphism panels */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 
        0 10px 40px 0 rgba(0, 0, 0, 0.45),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.06);
    position: relative;
    overflow: hidden;
}

/* Section Spacing */
.section-padding {
    padding: 120px 0;
}

.section-alt {
    background-color: var(--bg-surface);
}

.section-tag {
    display: inline-block;
    color: var(--color-secondary);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.20em;
    margin-bottom: 12px;
}

.section-header {
    max-width: 600px;
    margin-bottom: 60px;
}

.section-header.text-center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.04em;
    line-height: 1.05;
    text-wrap: balance;
}

.section-header p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

/* ==========================================================================
   HEADER / STICKY NAVBAR
   ========================================================================== */
.main-header {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translate(-50%, -10px);
    width: calc(100% - 48px);
    max-width: 1200px;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 28px;
    border-radius: 9999px; /* unslop-ignore */
    background: rgba(10, 10, 12, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transition: var(--transition-smooth);
    opacity: 0;
    pointer-events: none;
}

/* Header style active (scrolling or intro unlocked) */
.main-header.unlocked {
    opacity: 1;
    transform: translate(-50%, 0);
    pointer-events: auto;
}

.main-header.scrolled {
    padding: 10px 24px;
    background: rgba(7, 7, 10, 0.75);
    border-color: rgba(229, 143, 26, 0.15);
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 38px;
    width: auto;
    border-radius: 6px;
    object-fit: contain;
    border: 1px solid rgba(229, 143, 26, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ffffff;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: var(--color-text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: #fff;
}

.btn-nav {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border: none;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 22px;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 4px 15px var(--color-primary-glow);
    transition: var(--transition-smooth);
}

.btn-nav:hover {
    box-shadow: 0 4px 15px rgba(229, 143, 26, 0.2);
    transform: translateY(-1px);
}

/* ==========================================================================
   HORIZONTAL SCROLL LAYOUT & HERO SECTION
   ========================================================================== */
#intro-scroll-sequence {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    background: #ffffff; /* White background for the transition */
}

.horizontal-panels {
    display: flex;
    width: 200vw;
    height: 100%;
    will-change: transform;
}

.panel {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* SECTION 1: HERO */
#hero {
    background-color: #000;
}

.hero-bg-white-orange {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 0;
    opacity: 0; /* Shown during animation */
}

.orange-touch {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
}

.touch-1 {
    width: 40vw;
    height: 40vw;
    background: rgba(229, 143, 26, 0.4);
    top: -10%;
    left: -10%;
}

.touch-2 {
    width: 50vw;
    height: 50vw;
    background: rgba(168, 82, 3, 0.3);
    bottom: -20%;
    right: -10%;
}

.hero-svg-container {
    display: none;
}

@media (min-width: 769px) {
    .hero-svg-container {
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 80%;
        max-width: 1000px;
        z-index: 10;
        pointer-events: none;
        opacity: 0.85;
    }
}

.hero-logo-svg {
    width: 100%;
    height: auto;
}

.hero-logo-path {
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 4000;
    stroke-dashoffset: 4000;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    transform-origin: center center;
    overflow: hidden;
    will-change: transform, border-radius;
    background-color: #000;
}

#hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(7,7,10,0.3) 0%, rgba(5,5,8,0.85) 100%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.hero-content {
    text-align: center;
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: 4px;
    color: #ffffff;
    margin-bottom: 12px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--color-text-muted);
    font-weight: 300;
    letter-spacing: 1px;
}

/* Skip Intro button */
.btn-skip {
    position: absolute;
    bottom: 40px;
    right: 40px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    color: var(--color-text);
    padding: 12px 24px;
    border-radius: 30px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    transition: var(--transition-smooth);
}

.btn-skip:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-secondary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.btn-skip.fade-out {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.9);
}

/* Scroll indicator link */
#scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    transition: var(--transition-smooth);
}

#scroll-indicator.hidden-indicator {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 15px);
}

#scroll-indicator.visible-indicator {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.scroll-mouse-link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.scroll-label {
    color: var(--color-text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5); /* unslop-ignore */
    transition: var(--transition-smooth);
}

.scroll-mouse-link:hover .scroll-label {
    color: var(--color-secondary);
}

.mouse-icon {
    width: 26px;
    height: 42px;
    border: 2px solid var(--color-text-muted);
    border-radius: 15px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.mouse-icon .wheel {
    width: 4px;
    height: 8px;
    background-color: var(--color-secondary);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-bounce 1.6s infinite ease-in-out;
}

@keyframes scroll-bounce {
    0% { transform: translate(-50%, 0); opacity: 1; }
    50% { transform: translate(-50%, 8px); opacity: 0.3; }
    100% { transform: translate(-50%, 0); opacity: 1; }
}

/* ==========================================================================
   SECTION: SOBRE EL JUEGO (LORE)
   ========================================================================== */
.grid-2 {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.about-text h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -0.04em;
    text-wrap: balance;
}

.about-text p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 60ch;
    text-wrap: pretty;
}

.stats-mini-grid {
    display: flex;
    gap: 40px;
    margin-top: 36px;
}

.mini-stat {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-secondary);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-txt {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-card-wrapper {
    position: relative;
}

.about-card {
    background: radial-gradient(circle at top right, rgba(229, 143, 26, 0.04), transparent 50%), var(--bg-card);
    border-color: var(--glass-border);
}

.about-card--photo {
    padding: 0;
    overflow: hidden;
}

.about-card-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    border-radius: inherit;
}

.card-glow {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--color-secondary-glow) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.lore-icon {
    font-size: 3rem;
    color: var(--color-secondary);
    margin-bottom: 24px;
    filter: drop-shadow(0 0 8px var(--color-secondary-glow));
}

.about-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.about-card p {
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Light theme overrides for "Sobre el Podcast" inside the horizontal white sequence */
#intro-scroll-sequence #sobre-el-podcast h2 {
    color: #111111;
}

#intro-scroll-sequence #sobre-el-podcast p {
    color: #444444;
}

#intro-scroll-sequence .stat-txt {
    color: #777777;
}

#intro-scroll-sequence .section-tag {
    color: var(--color-primary); /* Darker orange for better contrast on white */
}

#intro-scroll-sequence .about-card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(229, 143, 26, 0.2);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.05),
        inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

#intro-scroll-sequence .about-card h3 {
    color: #111111;
}

#intro-scroll-sequence .about-card p {
    color: #555555;
}

#intro-scroll-sequence .lore-icon {
    filter: drop-shadow(0 0 12px rgba(229, 143, 26, 0.4));
}

/* ==========================================================================
   SECTION: CARACTERÍSTICAS
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    transition: var(--transition-smooth);
}

.episodes-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    align-items: stretch;
}

.episode-card-shell {
    flex: 1 1 340px;
    max-width: 450px;
}

/* Featured (Latest) Episode styling */
.featured-episode {
    flex: 1 1 100%;
    max-width: 750px; /* Big vertical card */
    margin: 0 auto 20px auto;
}

.featured-episode .episode-details h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.episode-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-smooth);
    height: 100%;
}

.episode-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-secondary-glow);
    box-shadow: 0 12px 35px rgba(229, 143, 26, 0.15);
}

.episode-thumbnail-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
}

.episode-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.episode-card:hover .episode-thumbnail {
    transform: scale(1.05);
    filter: brightness(0.7);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 2;
    pointer-events: none;
}

.play-overlay i {
    font-size: 3rem;
    color: var(--color-secondary);
    filter: drop-shadow(0 0 12px var(--color-secondary-glow));
    transform: scale(0.8);
    transition: var(--transition-smooth);
}

.episode-card:hover .play-overlay {
    opacity: 1;
}

.episode-card:hover .play-overlay i {
    transform: scale(1);
}

.duration-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(168, 82, 3, 0.85);
    border: 1px solid var(--color-secondary);
    color: var(--color-text);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 12px;
    backdrop-filter: blur(4px);
    letter-spacing: 0.5px;
}

.episode-details {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.episode-details h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.25;
}

.episode-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.btn-play {
    align-self: flex-start;
}

/* ==========================================================================
   SECTION: PLATAFORMAS
   ========================================================================== */
.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.platform-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.platform-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-secondary);
    box-shadow: 0 8px 30px rgba(229, 143, 26, 0.15);
}

.platform-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
    font-size: 2.2rem;
    transition: var(--transition-smooth);
}

.platform-card:hover .platform-icon {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.platform-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--color-text);
    font-size: 1.2rem;
    margin-bottom: 6px;
}

.platform-desc {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* Brand Colors */
.yt-color i { color: #ff0000; }
.spotify-color i { color: #1db954; }
.ig-color i { color: #e1306c; }
.tiktok-color i { color: #ffffff; }

.platform-card:hover .platform-icon.yt-color { border-color: rgba(255, 0, 0, 0.4); background: rgba(255, 0, 0, 0.05); }
.platform-card:hover .platform-icon.spotify-color { border-color: rgba(29, 185, 84, 0.4); background: rgba(29, 185, 84, 0.05); }
.platform-card:hover .platform-icon.ig-color { border-color: rgba(225, 48, 108, 0.4); background: rgba(225, 48, 108, 0.05); }
.platform-card:hover .platform-icon.tiktok-color { border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.05); }

/* ==========================================================================
   SECTION: REGISTRO (BETA CLOSED BOX)
   ========================================================================== */
.cta-box {
    background: radial-gradient(circle at center, rgba(229,143,26,0.05) 0%, var(--bg-card) 100%);
    border-color: rgba(229,143,26,0.15);
    padding: 64px 48px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--glass-border);
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(229,143,26,0.1) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.cta-box h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-box p {
    max-width: 600px;
    margin: 0 auto 36px auto;
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

.cta-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 12px;
    z-index: 1;
    position: relative;
}

.cta-form input {
    flex-grow: 1;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 14px 20px;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: var(--transition-smooth);
}

.cta-form input:focus {
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 2px var(--color-secondary-glow);
}

.contact-form {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin: 0 auto;
    gap: 16px;
    z-index: 1;
    position: relative;
}

.contact-form .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 100%;
}

.contact-form textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 14px 20px;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    outline: none;
    resize: none;
    transition: var(--transition-smooth);
}

.contact-form textarea:focus {
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 2px var(--color-secondary-glow);
}

.form-consent {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 8px 0;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.form-consent input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.4);
    cursor: pointer;
    display: grid;
    place-content: center;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.form-consent input[type="checkbox"]::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.8rem;
    color: #fff;
    transform: scale(0);
    transition: 150ms transform ease-in-out;
}

.form-consent input[type="checkbox"]:checked {
    border-color: var(--color-secondary);
    background: var(--color-primary);
}

.form-consent input[type="checkbox"]:checked::before {
    transform: scale(1);
}

.form-consent label {
    cursor: pointer;
    user-select: none;
    line-height: 1.4;
}

.form-consent label a {
    color: var(--color-secondary);
    text-decoration: underline;
    transition: var(--transition-smooth);
}

.form-consent label a:hover {
    color: #fff;
}

.contact-form .btn-with-badge {
    align-self: center;
}

.btn {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border: none;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px var(--color-primary-glow);
    transition: var(--transition-smooth);
}

.btn:hover {
    box-shadow: 0 4px 15px rgba(229, 143, 26, 0.2);
    transform: translateY(-1px);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
    background-color: #040407;
    border-top: 1px solid var(--glass-border);
    padding: 60px 0 40px 0;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-top: 8px;
}

.footer-socials {
    display: flex;
    gap: 20px;
}

.footer-socials a {
    color: var(--color-text-muted);
    font-size: 1.5rem;
    transition: var(--transition-smooth);
}

.footer-socials a:hover {
    color: var(--color-secondary);
    transform: translateY(-2px);
}

.footer-copy {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    color: rgba(255,255,255,0.15);
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    padding-top: 24px;
}

.footer-legal-links {
    display: flex;
    gap: 20px;
}

.footer-legal-links a {
    color: rgba(255,255,255,0.15);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-legal-links a:hover {
    color: var(--color-secondary);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

/* Sección exclusiva de móvil: oculta por defecto en desktop */
.mobile-about-extra {
    display: none;
}

@media (max-width: 1024px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    .about-card-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }
    .stats-mini-grid {
        justify-content: center;
    }
    .episodes-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ==========================================================================
   HAMBURGER MENU & MOBILE NAV DRAWER
   ========================================================================== */

/* Hamburger button — hidden on desktop */
.hamburger-btn {
    display: none;
}

/* Mobile Nav Overlay (backdrop) */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 200;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.mobile-nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Mobile Nav Drawer — Bubbles */
.mobile-nav-drawer {
    display: none;
    position: fixed;
    top: 76px; /* Just below the header */
    right: 12px;
    width: auto;
    height: auto;
    background: transparent;
    border: none;
    z-index: 201;
    padding: 0;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    pointer-events: none;
}

.mobile-nav-drawer.active {
    pointer-events: auto;
}

.mobile-nav-link {
    display: block;
    background: rgba(15, 15, 20, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(229, 143, 26, 0.2);
    border-radius: 9999px; /* unslop-ignore */
    color: var(--color-text);
    text-decoration: none;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    padding: 12px 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(-20px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: top right;
}

.mobile-nav-drawer.active .mobile-nav-link,
.mobile-nav-drawer.active .mobile-nav-cta {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Stagger the animation of the bubbles */
.mobile-nav-drawer.active .mobile-nav-link:nth-child(1) { transition-delay: 0.05s; }
.mobile-nav-drawer.active .mobile-nav-link:nth-child(2) { transition-delay: 0.1s; }
.mobile-nav-drawer.active .mobile-nav-link:nth-child(3) { transition-delay: 0.15s; }
.mobile-nav-drawer.active .mobile-nav-cta { transition-delay: 0.2s; }

.mobile-nav-link:hover,
.mobile-nav-link:focus {
    color: var(--color-secondary);
    border-color: rgba(229, 143, 26, 0.5);
    background: rgba(25, 25, 30, 0.95);
    transform: translateY(-2px);
}

.mobile-nav-cta {
    margin-top: 4px;
    opacity: 0;
    transform: translateY(-20px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    transform-origin: top right;
}

/* ==========================================================================
   MOBILE BREAKPOINT (≤ 768px) — correcciones sin tocar desktop
   ========================================================================== */
@media (max-width: 768px) {

    /* --- Header --- */
    .main-header {
        top: 12px;
        width: calc(100% - 24px);
        padding: 10px 16px;
    }
    .main-header.scrolled {
        padding: 8px 14px;
    }

    /* Hide desktop nav links, show hamburger */
    .nav-links {
        display: none;
    }
    .hamburger-btn {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(229, 143, 26, 0.15);
        border-radius: 10px;
        cursor: pointer;
        padding: 8px;
        transition: background 0.25s ease, border-color 0.25s ease;
        flex-shrink: 0;
    }
    .hamburger-btn:hover {
        background: rgba(229, 143, 26, 0.08);
        border-color: rgba(229, 143, 26, 0.35);
    }
    .hamburger-line {
        display: block;
        width: 20px;
        height: 2px;
        background: var(--color-text);
        border-radius: 2px;
        transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1),
                    opacity 0.25s ease;
        transform-origin: center;
    }
    /* X state when menu open */
    .hamburger-btn.is-open .hamburger-line:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .hamburger-btn.is-open .hamburger-line:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }
    .hamburger-btn.is-open .hamburger-line:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Activate the drawer elements on mobile */
    .mobile-nav-overlay,
    .mobile-nav-drawer {
        display: flex;
    }

    /* --- Logo text: reduce size so it doesn't overflow --- */
    .logo-text {
        font-size: 1rem;
        letter-spacing: 1px;
    }

    /* --- Hero --- */
    .hero-title {
        font-size: 2.8rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }

    /* --- Skip intro button --- */
    .btn-skip {
        bottom: 24px;
        right: 24px;
        padding: 10px 18px;
        font-size: 0.85rem;
    }

    /* --- Section spacing: reduce from 120px to 72px --- */
    .section-padding {
        padding: 72px 0;
    }

    /* --- About section stat numbers (Thiago Borja / Baloncesto) --- */
    .stat-num {
        font-size: 1.5rem;
    }

    /* --- Section header h2 --- */
    .section-header h2 {
        font-size: 2rem;
    }

    /* --- About text h2 --- */
    .about-text h2 {
        font-size: 2.2rem;
    }

    /* --- Episodes grid: single column & sticky cards stacking on mobile --- */
    .episodes-grid {
        display: flex;
        flex-direction: column;
        gap: 32px;
        position: relative;
    }

    .episodes-grid .episode-card-shell {
        position: sticky;
        top: calc(85px + var(--card-index, 0) * 12px);
        z-index: calc(1 + var(--card-index, 0));
        animation: none !important;
        transform: none !important;
        perspective: none !important;
        will-change: position;
    }

    /* --- Contact form --- */
    .cta-form {
        flex-direction: column;
    }
    .contact-form .form-grid {
        grid-template-columns: 1fr;
    }
    .cta-box {
        padding: 40px 24px;
    }

    /* --- CTA h2 --- */
    .cta-box h2 {
        font-size: 1.8rem;
    }

    /* --- Footer --- */
    .footer-grid {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    .footer-copy {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 12px;
    }
    .footer-legal-links {
        justify-content: center;
        width: 100%;
        gap: 16px;
    }

    /* --- Panel "Sobre el Podcast" en móvil: solo título y descripción --- */
    /* Ocultar stats y foto dentro del panel del scroll horizontal */
    #intro-scroll-sequence .stats-mini-grid,
    #intro-scroll-sequence .about-card-wrapper {
        display: none;
    }

    /* Quitar el grid de 2 columnas: solo columna de texto */
    #intro-scroll-sequence .grid-2 {
        display: block;
    }

    /* El container del panel tiene padding lateral seguro */
    #sobre-el-podcast .container {
        padding: 0 20px;
        width: 100%;
        max-width: 100%;
    }

    /* Texto del about: no exceder el ancho disponible */
    .about-text p {
        max-width: 100%;
        font-size: 1rem;
    }

    /* --- Sección móvil exclusiva: stats + foto --- */
    .mobile-about-extra {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 32px;
        padding: 48px 24px 56px;
        background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
        text-align: center;
        aria-hidden: false; /* accesible en móvil */
    }

    .mobile-about-extra__stats {
        display: flex;
        gap: 40px;
        justify-content: center;
        flex-wrap: wrap;
    }

    /* Recolorear stats para fondo naranja */
    .mobile-about-extra .stat-num {
        color: #ffffff;
        font-size: 1.6rem;
    }

    .mobile-about-extra .stat-txt {
        color: rgba(255, 255, 255, 0.75);
    }

    .mobile-about-extra__photo {
        width: 100%;
        max-width: 340px;
        height: 340px;
    }

    .mobile-about-extra__photo .about-card--photo {
        height: 100%;
    }
}


/* ==========================================================================
   VANGUARD PREMIUM COMPONENTS (DOUBLE BEZEL, BUTTON-IN-BUTTON, SPRING STATES)
   ========================================================================== */

/* Double-Bezel nested card architectures */
.double-bezel-shell {
    padding: 8px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(229, 143, 26, 0.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    transition: var(--transition-smooth);
}

.double-bezel-shell:hover {
    border-color: rgba(229, 143, 26, 0.12);
    box-shadow: 0 15px 45px rgba(229, 143, 26, 0.06), 0 12px 40px rgba(0, 0, 0, 0.4);
}

.double-bezel-core {
    border-radius: 20px !important; /* outer radius (28px) - padding (8px) */
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.06), 
        0 8px 32px 0 rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.03) !important;
}

/* Concentric radius helper for cards inside grids */
.episode-card-shell.double-bezel-shell {
    border-radius: 28px;
}
.episode-card-shell.double-bezel-shell .episode-card {
    border-radius: 20px !important;
}

.platform-card-shell.double-bezel-shell {
    border-radius: 24px;
    padding: 6px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
.platform-card-shell.double-bezel-shell .platform-card {
    border-radius: 18px !important;
    padding: 24px;
}

.cta-box-shell.double-bezel-shell {
    border-radius: 36px;
    padding: 10px;
    border-color: rgba(229, 143, 26, 0.1);
}
.cta-box-shell.double-bezel-shell .cta-box {
    border-radius: 26px !important;
}

/* Button-in-Button Trailing Icon pattern */
.btn-with-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 16px !important;
    padding: 6px 6px 6px 22px !important; /* tight right padding for nested badge circle */
    border-radius: 9999px !important; /* unslop-ignore */
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    transition: var(--transition-smooth) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)) !important;
    box-shadow: 0 4px 15px var(--color-primary-glow) !important;
    text-decoration: none !important;
}

.btn-with-badge .btn-text {
    color: #ffffff;
    font-size: 0.95rem;
}

.btn-icon-wrapper {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    color: #ffffff;
}

.btn-with-badge:hover {
    box-shadow: 0 6px 20px rgba(229, 143, 26, 0.3) !important;
}

.btn-with-badge:hover .btn-icon-wrapper {
    background: #ffffff;
    color: var(--color-primary);
    transform: scale(1.05) rotate(12deg);
}

/* Transparent version for skip button */
.btn-skip.btn-with-badge {
    background: rgba(255, 255, 255, 0.02) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid var(--glass-border) !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4) !important;
}

.btn-skip.btn-with-badge:hover {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: var(--color-secondary) !important;
    box-shadow: 0 6px 20px rgba(229, 143, 26, 0.15) !important;
}

.btn-skip.btn-with-badge .btn-icon-wrapper {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
}

.btn-skip.btn-with-badge:hover .btn-icon-wrapper {
    background: var(--color-secondary);
    color: #ffffff;
    transform: scale(1.05) translate(1px, 0);
}

/* Spring scale pressed state feedback */
.btn:active, 
.btn-nav:active, 
.btn-skip:active, 
.platform-card:active {
    transform: translateY(1px) scale(0.97) !important;
}

/* Bento Asymmetric grid layout and stagger for Episodes */
@media (min-width: 1025px) {
    .episodes-grid {
        grid-template-columns: 1fr 1fr; /* Symmetrical width split */
        gap: 48px;
        align-items: stretch;
    }
    
    /* Shift the second card down for visual cadence using margin-top to avoid transform conflicts */
    .episodes-grid > :nth-child(2) {
        margin-top: 40px;
    }
}

/* ==========================================================================
   VANGUARD ANTIGRAVITY ADDITIONS (COURT GRID, CURSOR, 3D TILT, FLOATING)
   ========================================================================== */

/* Custom Cursor Styles */
@media (hover: hover) and (pointer: fine) {
    body {
        cursor: none; /* Hide default cursor when custom cursor is active */
    }
    
    a, button, .platform-card, .episode-card, input, textarea, select {
        cursor: none !important; /* Hide default cursor on interactive items */
    }

    .custom-cursor {
        width: 8px;
        height: 8px;
        background-color: var(--color-secondary);
        border-radius: 50%;
        position: fixed;
        transform: translate(-50%, -50%);
        pointer-events: none;
        z-index: 999999;
        transition: width 0.2s, height 0.2s, background-color 0.2s;
    }

    .custom-cursor-ring {
        width: 36px;
        height: 36px;
        border: 2px solid rgba(229, 143, 26, 0.4);
        border-radius: 50%;
        position: fixed;
        transform: translate(-50%, -50%);
        pointer-events: none;
        z-index: 999998;
        transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1), 
                    height 0.3s cubic-bezier(0.25, 1, 0.5, 1), 
                    border-color 0.3s, 
                    background-color 0.3s;
    }

    /* Hover States for Cursor */
    body.cursor-hovering .custom-cursor {
        width: 4px;
        height: 4px;
        background-color: #ffffff;
    }

    body.cursor-hovering .custom-cursor-ring {
        width: 56px;
        height: 56px;
        border-color: var(--color-secondary);
        background-color: rgba(229, 143, 26, 0.08);
    }
    
    /* Input/Textarea hover cursor */
    body.cursor-input .custom-cursor {
        width: 2px;
        height: 16px;
        border-radius: 0;
        background-color: #ffffff;
    }
    body.cursor-input .custom-cursor-ring {
        width: 12px;
        height: 24px;
        border-radius: 4px;
        border-color: rgba(255, 255, 255, 0.2);
        background-color: transparent;
    }
}

/* Fallback for touch devices / no hover */
@media (hover: none), (pointer: coarse) {
    .custom-cursor, .custom-cursor-ring {
        display: none !important;
    }
    body {
        cursor: auto !important;
    }
}

/* 3D Court Grid Background */
.bg-court-grid-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background-color: var(--bg-dark);
}

.bg-court-grid {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: 
        linear-gradient(rgba(229, 143, 26, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(229, 143, 26, 0.02) 1px, transparent 1px);
    background-size: 80px 80px;
    transform: perspective(800px) rotateX(65deg) translateZ(0);
    transform-origin: center center;
    opacity: 0.7;
    will-change: transform;
}

.bg-court-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: 
        radial-gradient(circle at 50% 50%, rgba(168, 82, 3, 0.06) 0%, transparent 60%),
        radial-gradient(circle at 80% 20%, rgba(229, 143, 26, 0.04) 0%, transparent 55%);
    pointer-events: none;
}

/* 3D Card Tilt setup */
.double-bezel-shell,
.episode-card-shell,
.platform-card-shell,
.cta-box-shell {
    perspective: 1000px;
    transform-style: preserve-3d;
    will-change: transform;
}

.double-bezel-core,
.episode-card,
.platform-card,
.cta-box {
    transform-style: preserve-3d;
    transform: translateZ(0);
    transition: transform 0.15s ease-out, box-shadow 0.3s ease;
}

/* Ensure contents pop out of 3D cards */
.double-bezel-core > *,
.episode-card > *,
.platform-card > *,
.cta-box > * {
    transform: translateZ(20px);
}

.double-bezel-core .lore-icon,
.episode-thumbnail-wrapper,
.platform-icon {
    transform: translateZ(35px);
    transition: transform 0.3s ease-out;
}

/* Buoyant float animations */
.float-buoyant-1 {
    animation: float-y-1 6s ease-in-out infinite alternate;
}

.float-buoyant-2 {
    animation: float-y-2 8s ease-in-out infinite alternate;
}

@keyframes float-y-1 {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-12px) rotate(1deg); }
}

@keyframes float-y-2 {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(12px) rotate(-1deg); }
}

/* Custom CSS variables for hover position glows (shiny overlay) */
.glass-panel {
    --mouse-x: 50%;
    --mouse-y: 50%;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(229, 143, 26, 0.05), transparent 40%);
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.glass-panel:hover::before {
    opacity: 1;
}

/* Initial states for entrance animation via Intersection Observer */
.about-card-wrapper,
.episode-card-shell,
.platform-card-shell,
.cta-box-shell {
    opacity: 0;
    transform: translateY(45px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.about-card-wrapper.is-visible,
.episode-card-shell.is-visible,
.platform-card-shell.is-visible,
.cta-box-shell.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Accessibility: Reduced motion overrides */
@media (prefers-reduced-motion: reduce) {
    .custom-cursor, .custom-cursor-ring {
        display: none !important;
    }
    body {
        cursor: auto !important;
    }
    .about-card-wrapper,
    .episode-card-shell,
    .platform-card-shell,
    .cta-box-shell {
        opacity: 1 !important;
        transform: none !important;
        perspective: none !important;
        transform-style: flat !important;
        transition: none !important;
    }
    .double-bezel-core,
    .episode-card,
    .platform-card,
    .cta-box {
        transform: none !important;
        transition: none !important;
    }
    .float-buoyant-1, .float-buoyant-2 {
        animation: none !important;
    }
    .bg-court-grid {
        transform: perspective(800px) rotateX(65deg) translateZ(0) !important;
    }
}

/* ==========================================================================
   MOBILE DISABLE HORIZONTAL SCROLL LAYOUT
   ========================================================================== */
@media (max-width: 768px) {
    #intro-scroll-sequence {
        height: auto;
        overflow: hidden;
        width: 100%;
    }
    .horizontal-panels {
        width: 100%;
        flex-direction: column;
    }
    .panel {
        width: 100%;
        height: auto;
        min-height: 100dvh;
    }
}

/* ==========================================================================
   LEGAL PAGES STYLES
   ========================================================================== */
.legal-container {
    max-width: 800px;
    margin: 120px auto 60px auto;
    padding: 0 24px;
}

.legal-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.legal-card h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.2rem;
    margin-bottom: 24px;
    color: #fff;
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 12px;
}

.legal-card h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    margin-top: 32px;
    margin-bottom: 16px;
    color: var(--color-secondary);
}

.legal-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.legal-card ul {
    margin-bottom: 20px;
    padding-left: 20px;
    color: var(--color-text-muted);
}

.legal-card li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-secondary);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.btn-back:hover {
    color: #fff;
    transform: translateX(-4px);
}

@media (max-width: 768px) {
    .legal-container {
        margin-top: 90px;
    }
    .legal-card {
        padding: 24px;
    }
    .legal-card h1 {
        font-size: 1.8rem;
    }
}

/* ==========================================================================
   COOKIE BANNER
   ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: 30px;
    right: 30px;
    max-width: 420px;
    background: rgba(10, 10, 14, 0.85);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateY(20px);
    opacity: 0;
    will-change: transform, opacity;
}

.cookie-banner.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-banner.hidden {
    display: none;
}

.cookie-content {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.cookie-icon-wrapper {
    background: var(--color-primary-glow);
    border: 1px solid rgba(229, 143, 26, 0.2);
    border-radius: 12px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cookie-icon {
    font-size: 1.3rem;
    color: var(--color-secondary);
    animation: rotate-cookie 10s linear infinite;
}

@keyframes rotate-cookie {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cookie-text h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 6px;
}

.cookie-text p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.cookie-text p a {
    color: var(--color-secondary);
    text-decoration: underline;
    transition: var(--transition-smooth);
}

.cookie-text p a:hover {
    color: #fff;
}

.cookie-actions {
    display: flex;
    justify-content: flex-end;
}

.btn-cookie-accept {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border: none;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 4px 15px var(--color-primary-glow);
    transition: var(--transition-smooth);
}

.btn-cookie-accept:hover {
    box-shadow: 0 4px 15px rgba(229, 143, 26, 0.25);
    transform: translateY(-1px);
}

@media (max-width: 576px) {
    .cookie-banner {
        bottom: 20px;
        left: 20px;
        right: 20px;
        max-width: calc(100% - 40px);
        padding: 20px;
    }
}
