:root {
    --bg-color: #02030C;
    --neon-blue: #00e5ff;
    --text-white: #ffffff;
    --text-gray: #b0c4de;
    --brand-blue: #145eff;
    --bg-gradient: linear-gradient(to bottom, #020617 0%, #02030C 50%, #02030C 100%);
    --font-heading: 'Aonic', sans-serif;
    --font-body: 'Nexa', sans-serif;
    
    /* Fluid Typography Tokens (Awwwards standard) */
    --h1-size: clamp(2.5rem, 8vw + 1rem, 5.5rem);
    --h2-size: clamp(2rem, 5vw + 1rem, 3.5rem);
    --h3-size: clamp(1.5rem, 3vw + 1rem, 2.2rem);
    --section-padding-h: 5%;
    --section-padding-v: clamp(4rem, 10vh, 10rem);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-body);
    font-synthesis: none; /* Nuke artificial browser italic/bold deformation */
    text-rendering: optimizeLegibility; /* Enforce true OTF kerning spacing */
}

@font-face {
    font-family: 'Aonic';
    src: url("Assets/Fonts/Aonic-Medium.ttf") format("truetype");
    font-weight: normal; 
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nexa';
    src: url("Assets/Fonts/NexaRegular.otf") format("opentype");
    font-weight: 400; /* Regular */
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nexa';
    src: url("Assets/Fonts/Nexa Bold.otf") format("opentype");
    font-weight: 700; /* Bold */
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Nexa';
    src: url("Assets/Fonts/NexaXBold.otf") format("opentype");
    font-weight: 800; /* Extrabold */
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Queen of Camelot';
    src: url('Assets/Fonts/Queen of Camelot 2.0_D.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-color);
    overflow-x: hidden;
    max-width: 100%;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    background: var(--bg-gradient);
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    color: var(--text-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
    cursor: none; /* Hide default cursor on desktop */
}

/* ==============================================
   PREMIUM PRELOADER
   ============================================== */
.preloader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #02030C;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.preloader-logo {
    height: 50px;
    animation: preloaderPulse 1.5s ease-in-out infinite alternate;
    filter: drop-shadow(0 0 20px rgba(0, 229, 255, 0.4));
}

.preloader-text {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 8px;
    color: rgba(255, 255, 255, 0.5);
    animation: preloaderPulse 1.5s ease-in-out infinite alternate;
}

.preloader-ring {
    position: absolute;
    width: 120px; height: 120px;
    border: 2px solid transparent;
    border-top: 2px solid rgba(0, 229, 255, 0.6);
    border-radius: 50%;
    animation: preloaderSpin 1.2s linear infinite;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}

.preloader-ring-2 {
    width: 90px; height: 90px;
    border-top-color: rgba(124, 92, 255, 0.6);
    animation-direction: reverse;
    animation-duration: 0.9s;
}

@keyframes preloaderSpin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes preloaderPulse {
    0% { opacity: 0.5; filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.2)); }
    100% { opacity: 1; filter: drop-shadow(0 0 25px rgba(0, 229, 255, 0.6)); }
}

/* ==============================================
   CUSTOM CURSOR (Desktop Only)
   ============================================== */
.cursor-dot {
    position: fixed;
    width: 6px; height: 6px;
    background: var(--neon-blue);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transition: transform 0.1s ease;
    box-shadow: 0 0 10px var(--neon-blue), 0 0 20px rgba(0, 229, 255, 0.3);
    transform: translate(-50%, -50%);
    opacity: 0;
}

.cursor-ring {
    position: fixed;
    width: 36px; height: 36px;
    border: 1.5px solid rgba(0, 229, 255, 0.4);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99997;
    transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease, transform 0.15s ease;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.cursor-dot.visible, .cursor-ring.visible {
    opacity: 1;
}

/* Expand cursor ring when hovering interactive elements */
.cursor-ring.hover {
    width: 50px; height: 50px;
    border-color: rgba(124, 92, 255, 0.6);
    background: rgba(124, 92, 255, 0.05);
}

@media (max-width: 1024px) {
    .cursor-dot, .cursor-ring { display: none !important; }
    body { cursor: auto; }
}

/* ==============================================
   SCROLL REVEAL SYSTEM
   ============================================== */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children with delay */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ==============================================
   STICKY GLASSMORPHIC NAVBAR
   ============================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    transition: padding 0.4s ease, background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

.navbar.scrolled {
    padding: 1rem 5%;
    background: rgba(2, 3, 12, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar.scrolled .logo {
    height: 42px;
}

/* ==============================================
   ENHANCED BUTTON MICRO-INTERACTIONS
   ============================================== */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: width 0.5s ease, height 0.5s ease, top 0.3s ease, left 0.3s ease;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.btn:hover::after {
    width: 300px; height: 300px;
}

.btn > * {
    position: relative;
    z-index: 1;
}

/* Premium CTA pulse glow */
.btn-primary {
    animation: btnGlow 3s ease-in-out infinite alternate;
}

@keyframes btnGlow {
    0% { box-shadow: 0 4px 15px rgba(18, 181, 196, 0.3); }
    100% { box-shadow: 0 8px 30px rgba(30, 111, 217, 0.5), 0 0 20px rgba(18, 181, 196, 0.2); }
}

/* Smooth text/icon reveal for links */
.nav-link, .footer-link, .social-icon {
    cursor: none;
}

#hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 750px;
    display: flex;
    flex-direction: column;
    background: transparent;
}

.site-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 229, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 2;
    pointer-events: none;
    -webkit-mask-image: radial-gradient(circle at center, transparent 30%, black 100%);
    mask-image: radial-gradient(circle at center, transparent 30%, black 100%);
}

/* Old .navbar rule removed — now defined in the STICKY GLASSMORPHIC NAVBAR section above */

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001; /* Stays above the overlay menu */
}

.hamburger .bar {
    width: 25px;
    height: 2px;
    background-color: var(--text-white);
    transition: all 0.3s cubic-bezier(0.77, 0, 0.175, 1);
    border-radius: 2px;
    transform-origin: center;
}

/* Transform Hamburger into X */
.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}
.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.nav-menu {
    display: contents; /* MAGIC: Keeps desktop DOM structured identically to pre-nav-menu without breaking flex justify-content */
}

.logo {
    height: 55px;
    filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.3));
    animation: fadeIn 1s ease forwards;
    position: relative;
    z-index: 9999; /* Forces logo above the fixed mobile menu panel */
    transition: height 0.4s ease, filter 0.3s ease;
}

.nav-center {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.nav-link:hover {
    color: var(--text-white);
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.8);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--neon-blue);
    transition: width 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 0 10px var(--neon-blue);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-right {
    display: flex;
    gap: 1.2rem;
    align-items: center;
}

/* ==============================================
   MOBILE NAVBAR (GLASSMORPHISM MENU)
   ============================================== */
@media (max-width: 1024px) {
    .hamburger {
        display: flex;
        position: relative;
        z-index: 9999;
    }
    
    /* Lock the X to the top right corner when menu is open */
    .hamburger.active {
        position: fixed;
        top: 2.5rem;
        right: 5%;
    }

    .nav-menu {
        display: flex !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(2, 3, 12, 0.85); /* Slightly more transparent glass */
        backdrop-filter: blur(40px);
        -webkit-backdrop-filter: blur(40px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(100%);
        transition: transform 0.6s cubic-bezier(0.85, 0, 0.15, 1);
        z-index: 9000;
        padding: 6rem 5% 3rem 5%;
        text-align: center;
        overflow-x: hidden;
        overflow-y: auto;
    }

    /* Ambient Glow inside the menu for premium depth */
    .nav-menu::before {
        content: '';
        position: absolute;
        width: 300px;
        height: 300px;
        background: radial-gradient(circle, rgba(124, 92, 255, 0.15) 0%, transparent 70%);
        border-radius: 50%;
        top: 20%;
        right: -10%;
        z-index: -1;
        filter: blur(20px);
    }
    
    .nav-menu::after {
        content: '';
        position: absolute;
        width: 400px;
        height: 400px;
        background: radial-gradient(circle, rgba(0, 229, 255, 0.1) 0%, transparent 60%);
        border-radius: 50%;
        bottom: 10%;
        left: -20%;
        z-index: -1;
        filter: blur(30px);
    }

    /* Active State (Menu slides in) */
    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-center {
        display: flex !important;
        flex-direction: column;
        gap: 2.5rem;
        align-items: center;
        justify-content: center;
        width: 100%;
        margin-bottom: 3.5rem;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .nav-right {
        display: flex !important;
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 320px;
    }

    /* Fix the button sizes inside menu */
    .nav-right .btn {
        width: 100%;
        justify-content: center;
    }

    .nav-link {
        font-family: var(--font-heading);
        font-size: 1.8rem; /* Scaled perfectly for small screens */
        font-weight: normal;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: var(--text-white);
        opacity: 0;
        transform: translateX(30px);
        transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.3s ease;
        display: block;
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    .nav-link:hover {
        color: var(--neon-blue);
        text-shadow: 0 0 15px rgba(0, 229, 255, 0.8);
        transform: scale(1.05); /* Interactive pop */
    }

    /* Remove the desktop underline mechanic to keep it clean on mobile */
    .nav-link::after {
        display: none;
    }

    /* Staggered Cascade Animation when menu opens */
    .nav-menu.active .nav-center .nav-link {
        opacity: 1;
        transform: translateX(0);
    }
    
    .nav-menu.active .nav-center .nav-link:nth-child(1) { transition-delay: 0.15s; }
    .nav-menu.active .nav-center .nav-link:nth-child(2) { transition-delay: 0.25s; }
    .nav-menu.active .nav-center .nav-link:nth-child(3) { transition-delay: 0.35s; }
    .nav-menu.active .nav-center .nav-link:nth-child(4) { transition-delay: 0.45s; }
}

.btn {
    padding: 0.75rem 1.8rem;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    text-align: center;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-outline {
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--text-white);
    background-color: rgba(255, 255, 255, 0.05);
}

.btn-primary {
    background: linear-gradient(90deg, #12B5C4 0%, #1E6FD9 100%);
    color: var(--text-white);
    border: none;
}

.btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.btn-large {
    padding: 1rem 3rem;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.hero-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 0 5%;
}

.video-cta-link {
    border-radius: 12px !important;
}

.video-inline-cta, .video-box, .video-thumbnail {
    border-radius: 12px !important;
}

.cards-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1500px;
    margin-top: -60px;
}

.center-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    z-index: 15;
    animation: fadeInUpper 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.descubre-banner {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.25);
    padding: 0.4rem 1.8rem 0.4rem 0.4rem;
    border-radius: 14px;
    margin-bottom: 2rem;
    gap: 1.2rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.descubre-badge {
    background: linear-gradient(90deg, #12B5C4 0%, #1E6FD9 100%);
    color: #ffffff;
    padding: 0.7rem 1.8rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.descubre-text {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-title {
    font-family: 'Queen of Camelot', sans-serif;
    font-size: var(--h1-size);
    font-weight: normal;
    letter-spacing: 4px;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

.hero-subtitle {
    font-family: 'Queen of Camelot', sans-serif;
    font-size: 1.25rem;
    font-weight: normal;
    letter-spacing: 4px;
    color: var(--text-gray);
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.hero-description {
    font-size: 1.1rem;
    color: #e2e8f0;
    max-width: 600px;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    font-weight: 400;
}

.features-list {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3.5rem;
    color: #cbd5e1;
    font-weight: 500;
    font-size: 1rem;
}

.features-list .dot {
    color: var(--neon-blue);
    font-size: 1.2rem;
    line-height: 0;
}

.side-card {
    width: 320px;
    height: 480px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: auto;
    position: relative;
    cursor: default;
}

.side-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.6));
    transition: transform 0.3s ease, filter 0.3s ease;
    z-index: 5;
    position: relative;
}

.side-card:hover img {
    transform: scale(1.03);
    filter: drop-shadow(0 20px 40px rgba(0, 229, 255, 0.3));
}

.left-card {
    animation: floatLeftLoad 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 0.3s, floatIdle 6s ease-in-out infinite 1.5s;
}

.right-card {
    animation: floatRightLoad 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 0.5s, floatIdle 7s ease-in-out infinite 1.7s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUpper {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes floatLeftLoad {
    from {
        opacity: 0;
        transform: translate(-100px, 40px);
    }

    to {
        opacity: 1;
        transform: translate(0, 0);
    }
}

@keyframes floatRightLoad {
    from {
        opacity: 0;
        transform: translate(100px, 40px);
    }

    to {
        opacity: 1;
        transform: translate(0, 0);
    }
}

@keyframes floatIdle {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Scroll Indicator Animation */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20;
    opacity: 0;
    animation: fadeInUpper 1s ease forwards 1.2s;
    pointer-events: none;
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    margin-left: -2px;
    width: 4px;
    height: 8px;
    background-color: var(--neon-blue);
    border-radius: 4px;
    animation: scrollWheel 1.8s infinite;
}

.scroll-indicator p {
    font-size: 0.70rem;
    color: var(--text-gray);
    letter-spacing: 2px;
    text-transform: uppercase;
}

@keyframes scrollWheel {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(12px);
        opacity: 0;
    }
}

/* ==========================================================================
   Video Section
   ========================================================================== */
.video-section {
    position: relative;
    width: 100%;
    padding: var(--section-padding-v) var(--section-padding-h);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.video-grid-container {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 1300px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.video-left-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.video-right-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.section-badge {
    display: inline-block;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.3);
    color: #00e5ff;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 229, 255, 0.1);
    text-transform: uppercase;
}

.badge-purple {
    background: rgba(138, 43, 226, 0.1);
    border-color: rgba(138, 43, 226, 0.3);
    color: #d88eff;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.1);
}

.badge-gold {
    background: rgba(255, 170, 0, 0.1);
    border-color: rgba(255, 170, 0, 0.3);
    color: #ffaa00;
    box-shadow: 0 4px 15px rgba(255, 170, 0, 0.1);
}

.video-title-new {
    font-family: var(--font-heading);
    font-size: var(--h2-size);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.video-title-new span {
    background: linear-gradient(90deg, #E6FFFA 0%, #A8F0EC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.video-description {
    font-size: 1.15rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 550px;
}

.video-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.video-features li {
    font-size: 1.1rem;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.video-check {
    color: #12B5C4;
    font-weight: 800;
    font-size: 1.2rem;
    background: rgba(18, 181, 196, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 50%;
}

@media (max-width: 900px) {
    .video-grid-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 4rem;
    }

    .video-right-column {
        align-items: center;
    }

    .video-features li {
        justify-content: center;
        text-align: left;
    }
}

.video-bg-rays {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 800px;
    background: radial-gradient(ellipse at top, rgba(0, 229, 255, 0.15), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.video-glow-back {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle at center, rgba(138, 43, 226, 0.08) 0%, transparent 60%);
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
}

.video-box {
    position: relative;
    width: 100%;
    max-width: 900px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: transform 0.4s ease;
    cursor: pointer;
    z-index: 2;
}

.video-box:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 40px 70px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(0, 229, 255, 0.3);
}

.video-thumbnail {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    opacity: 0.8;
    transition: opacity 0.4s ease;
}

.video-box:hover .video-thumbnail {
    opacity: 1;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.6), rgba(30, 111, 217, 0.6));
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.play-btn svg {
    width: 32px;
    height: 32px;
    margin-left: 5px;
}

.video-box:hover .play-btn {
    background: linear-gradient(135deg, rgba(0, 229, 255, 1), rgba(30, 111, 217, 1));
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 15px 40px rgba(0, 229, 255, 0.4);
}

/* ==========================================================================
   How It Works Section
   ========================================================================== */
.how-it-works-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 5%;
}

.hiw-bg-layer {
    position: absolute;
    top: -15vh;
    left: 0;
    width: 100%;
    height: 130%;
    z-index: 1;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15vh, black 85%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 15vh, black 85%, transparent 100%);
}

.hiw-number-bg {
    position: absolute;
    top: 40%;
    left: -2%;
    transform: translateY(-50%);
    font-size: 45vw;
    font-family: var(--font-heading);
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    /* Increased opacity from 0.02 to 0.05 */
    line-height: 0.8;
    user-select: none;
}

.hiw-bg-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(45deg, transparent 48%, rgba(0, 229, 255, 0.03) 49%, transparent 51%),
        linear-gradient(-45deg, transparent 48%, rgba(138, 43, 226, 0.03) 49%, transparent 51%);
    background-size: 200vw 200vh;
}

.hiw-bg-star {
    position: absolute;
    bottom: 20%;
    left: 5%;
    width: 40px;
    height: 40px;
    background: var(--text-white);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
    opacity: 0.8;
    animation: rotateStar 10s linear infinite;
}

@keyframes rotateStar {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.hiw-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1400px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.hiw-text-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hiw-title {
    font-family: var(--font-heading);
    font-size: 4.8rem;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 1.2rem;
    background: linear-gradient(180deg, #E6FFFA 0%, #A8F0EC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.hiw-subtitle {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 300;
    color: #e2e8f0;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 480px;
    letter-spacing: 0.5px;
}

.hiw-cta-btn {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: var(--text-white);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 5px;
    transition: all 0.3s ease;
}

.hiw-cta-btn .arrow-icon {
    transition: transform 0.3s ease;
}

.hiw-cta-btn:hover .arrow-icon {
    transform: translateX(15px);
}

.hiw-cards-container {
    position: relative;
    width: 100%;
    max-width: 680px;
    height: 600px;
    margin: 0 auto;
}

.hiw-card {
    position: absolute;
    width: 300px;
    background: linear-gradient(135deg, rgba(4, 6, 20, 0.95) 0%, rgba(10, 15, 35, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 2.5rem 1.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: floatHiwCard 6s ease-in-out infinite;
}

.hiw-card:hover {
    transform: translateY(-10px) scale(1.02) !important;
    z-index: 20 !important;
}

/* Card Positioning and Glows */
.card-conecta {
    top: 0;
    left: calc(50% - 150px);
    z-index: 4;
    animation-delay: 0s;
    box-shadow: 0 40px 60px rgba(0, 0, 0, 0.6), 0 -10px 30px rgba(100, 100, 255, 0.15);
}

.card-conecta:hover {
    box-shadow: 0 50px 70px rgba(0, 0, 0, 0.8), 0 -15px 40px rgba(100, 100, 255, 0.3);
    z-index: 5 !important;
}

.card-misiones {
    top: 260px;
    right: 0;
    z-index: 2;
    animation-delay: -2s;
    background: rgba(4, 6, 20, 0.08);
    /* Extra translucent */
    box-shadow: 0 40px 60px rgba(0, 0, 0, 0.4), 10px -10px 30px rgba(0, 229, 255, 0.15);
}

.card-misiones:hover {
    box-shadow: 0 50px 70px rgba(0, 0, 0, 0.8), 15px -15px 40px rgba(0, 229, 255, 0.3);
}

.card-gana {
    top: 220px;
    left: 0;
    z-index: 3;
    animation-delay: -4s;
    background: rgba(4, 6, 20, 0.08);
    /* Extra translucent */
    box-shadow: 0 40px 60px rgba(0, 0, 0, 0.4), -10px -10px 30px rgba(200, 0, 255, 0.15);
}

.card-gana:hover {
    box-shadow: 0 50px 70px rgba(0, 0, 0, 0.8), -15px -15px 40px rgba(200, 0, 255, 0.3);
}

/* Detailed gradient glow borders */
.card-conecta::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 24px;
    background:
        radial-gradient(350px circle at var(--mouse-x, -500px) var(--mouse-y, -500px), rgba(0, 229, 255, 1), rgba(168, 85, 247, 0.7) 40%, transparent 70%),
        linear-gradient(180deg, rgba(150, 150, 255, 0.3), rgba(255, 255, 255, 0.03) 40%, rgba(255, 255, 255, 0.01) 100%);
    z-index: -1;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    padding: 1px;
}

.card-misiones::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 24px;
    background:
        radial-gradient(350px circle at var(--mouse-x, -500px) var(--mouse-y, -500px), rgba(0, 229, 255, 1), rgba(168, 85, 247, 0.7) 40%, transparent 70%),
        linear-gradient(225deg, rgba(0, 229, 255, 0.3) 0%, rgba(0, 150, 255, 0.1) 30%, rgba(255, 255, 255, 0.01) 60%);
    z-index: -1;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    padding: 1px;
}

.card-gana::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 24px;
    background:
        radial-gradient(350px circle at var(--mouse-x, -500px) var(--mouse-y, -500px), rgba(0, 229, 255, 1), rgba(168, 85, 247, 0.7) 40%, transparent 70%),
        linear-gradient(135deg, rgba(230, 0, 255, 0.3) 0%, rgba(138, 43, 226, 0.1) 30%, rgba(255, 255, 255, 0.01) 60%);
    z-index: -1;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    padding: 1px;
}

.hiw-card-icon {
    width: 95px;
    height: auto;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.5));
}

.pulse-effect {
    animation: iconPulse 3s ease-in-out infinite;
}

.hiw-card-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.8rem;
    letter-spacing: 2px;
}

.hiw-card-text {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.5;
}

@keyframes floatHiwCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes iconPulse {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.4));
    }

    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 15px rgba(138, 43, 226, 0.6));
    }
}

/* Video Mini CTA */
.video-inline-cta {
    margin-top: 2.5rem;
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.6rem 0.6rem 0.6rem 1.5rem;
    border-radius: 50px;
    gap: 1.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.video-inline-cta:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 229, 255, 0.2);
    border-color: rgba(0, 229, 255, 0.3);
}

.video-cta-text {
    font-size: 0.95rem;
    color: #cbd5e1;
    font-weight: 300;
}

.video-cta-link {
    background: linear-gradient(90deg, #12B5C4 0%, #1E6FD9 100%);
    color: #fff;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: filter 0.3s ease;
}

.video-cta-link:hover {
    filter: brightness(1.15);
}

.video-cta-link .arrow {
    transition: transform 0.3s ease;
}

.video-cta-link:hover .arrow {
    transform: translateX(4px);
}

@media (max-width: 600px) {
    .video-inline-cta {
        flex-direction: column;
        padding: 1.2rem;
        text-align: center;
        border-radius: 20px;
        gap: 1rem;
    }
}

/* ==========================================================================
   Progress Section
   ========================================================================== */
.progress-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--section-padding-v) var(--section-padding-h);
}

.progress-bg-layer {
    position: absolute;
    top: -15vh;
    left: 0;
    width: 100%;
    height: 130%;
    z-index: 1;
    pointer-events: none;
    mask-image: linear-gradient(to bottom, transparent 0%, black 15vh, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15vh, black 85%, transparent 100%);
}

.progress-number-bg {
    position: absolute;
    top: 15%;
    left: -2%;
    transform: translateY(-40%);
    font-size: 45vw;
    font-family: var(--font-heading);
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    /* Increased opacity from 0.02 to 0.05 */
    line-height: 0.8;
    user-select: none;
    z-index: 0;
}

.progress-top-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 6rem;
}

.progress-text-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.progress-title {
    font-family: var(--font-heading);
    font-size: var(--h1-size);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 1.2rem;
    background: linear-gradient(180deg, #E6FFFA 0%, #A8F0EC 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.progress-subtitle {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 300;
    color: #e2e8f0;
    line-height: 1.6;
    max-width: 480px;
    letter-spacing: 0.5px;
}

.progress-asset-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    mix-blend-mode: screen;
}

.flor-sagrada-video {
    width: 100%;
    max-width: 550px;
    height: auto;
    mix-blend-mode: screen;
    animation: floatIdle 6s ease-in-out infinite;
    transform-origin: center;
}

.progress-bottom-grid {
    position: relative;
    width: 100%;
    max-width: 1300px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    margin: 5rem auto 2rem auto;
}

.progress-bottom-text-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.progress-bottom-title {
    font-family: var(--font-heading);
    font-size: var(--h2-size);
    font-weight: 800;
    line-height: 1.1;
    color: #e2e8f0;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

.progress-bottom-text-wrapper {
    display: flex;
    justify-content: flex-start;
}

.progress-bottom-text {
    font-size: 1.15rem;
    color: #cbd5e1;
    line-height: 1.6;
    max-width: 500px;
    margin-bottom: 0;
}

/* --- Floating XP Animation --- */
.xp-animation-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    pointer-events: none;
    mix-blend-mode: screen;
}

.xp-anim-video {
    width: 100%;
    max-width: 550px;
    mix-blend-mode: screen;
    filter: contrast(1.5) brightness(1.2);
    transform: scale(1.1);
}

@media (max-width: 900px) {
    .progress-bottom-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
        margin-top: 3rem;
    }

    .progress-bottom-text-col {
        align-items: center;
    }
}

/* --- Timeline Workflow --- */
.timeline-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 4rem auto 0 auto;
    position: relative;
    padding-bottom: 50px;
    /* Space for the line and dots */
}

.timeline-curve {
    position: absolute;
    bottom: -15px;
    /* Adjust so the SVG curve crosses the dots */
    left: 0;
    width: 100%;
    height: 70px;
    z-index: 1;
    pointer-events: none;
}

.timeline-steps {
    display: flex;
    justify-content: space-between;
    width: 100%;
    position: relative;
    z-index: 2;
    padding: 0 3%;
    align-items: flex-end;
    /* Align cards at the bottom so dots line up horizontally */
}

.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 23%;
    max-width: 240px;
    padding-bottom: 35px;
    /* Space for the dot */
    transition: transform 0.3s ease;
}

.timeline-step:hover {
    transform: translateY(-8px);
}

/* Give the curve effect */
.timeline-step:nth-child(2),
.timeline-step:nth-child(3) {
    transform: translateY(25px);
    /* Push down */
}

.timeline-step:nth-child(2):hover,
.timeline-step:nth-child(3):hover {
    transform: translateY(17px);
    /* Still pushed down but hovering up slightly */
}

.timeline-card {
    background: linear-gradient(135deg, rgba(4, 6, 20, 0.98) 0%, rgba(8, 10, 25, 0.9) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 12px;
    padding: 1.5rem 1rem 1rem 1rem;
    width: 100%;
    text-align: center;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    margin-bottom: 25px;
}

.timeline-card::after {
    content: '';
    position: absolute;
    bottom: -9px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 16px;
    height: 16px;
    background: inherit;
}

.timeline-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
    font-family: var(--font-heading);
    white-space: nowrap;
}

.timeline-card p {
    font-size: 0.85rem;
    color: #cbd5e1;
    margin-bottom: 1.2rem;
    line-height: 1.3;
}

.timeline-card img {
    height: 75px;
    width: 75px;
    object-fit: contain;
    margin: 0 auto 1.2rem auto;
    display: block;
    border-radius: 50%;
}

.card-reward {
    border-top: 1px dashed rgba(255, 255, 255, 0.2);
    padding-top: 0.8rem;
    font-weight: 700;
    font-size: 1.1rem;
    font-family: var(--font-heading);
}

/* Dot */
.timeline-dot {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 5px solid #02030C;
    z-index: 3;
}

/* --- STEP SPECIFIC COLORS --- */

/* Blue */
.step-blue .timeline-card {
    border-color: rgba(0, 170, 255, 0.8);
    box-shadow: inset 0 0 20px rgba(0, 170, 255, 0.2), 0 10px 30px rgba(0, 0, 0, 0.5);
}

.step-blue .timeline-card::after {
    background: rgba(4, 6, 20, 0.85);
    border-right: 2px solid rgba(0, 170, 255, 0.8);
    border-bottom: 2px solid rgba(0, 170, 255, 0.8);
}

.step-blue .timeline-card img {
    background: radial-gradient(circle at center, rgba(0, 170, 255, 0.4) 0%, rgba(0, 170, 255, 0.1) 40%, transparent 65%);
    filter: drop-shadow(0 0 5px rgba(0, 170, 255, 0.6));
}

.step-blue .card-reward {
    color: #00aaff;
}

.step-blue .timeline-dot {
    background: #00aaff;
    box-shadow: 0 0 0 3px rgba(0, 170, 255, 0.2), 0 0 15px #00aaff;
}

/* Purple */
.step-purple .timeline-card {
    border-color: rgba(170, 0, 255, 0.8);
    box-shadow: inset 0 0 20px rgba(170, 0, 255, 0.2), 0 10px 30px rgba(0, 0, 0, 0.5);
}

.step-purple .timeline-card::after {
    background: rgba(4, 6, 20, 0.85);
    border-right: 2px solid rgba(170, 0, 255, 0.8);
    border-bottom: 2px solid rgba(170, 0, 255, 0.8);
}

.step-purple .timeline-card img {
    background: radial-gradient(circle at center, rgba(170, 0, 255, 0.4) 0%, rgba(170, 0, 255, 0.1) 40%, transparent 65%);
    filter: drop-shadow(0 0 5px rgba(170, 0, 255, 0.6));
}

.step-purple .card-reward {
    color: #aa00ff;
}

.step-purple .timeline-dot {
    background: #aa00ff;
    box-shadow: 0 0 0 3px rgba(170, 0, 255, 0.2), 0 0 15px #aa00ff;
}

/* Teal */
.step-teal .timeline-card {
    border-color: rgba(0, 204, 160, 0.8);
    box-shadow: inset 0 0 20px rgba(0, 204, 160, 0.2), 0 10px 30px rgba(0, 0, 0, 0.5);
}

.step-teal .timeline-card::after {
    background: rgba(4, 6, 20, 0.85);
    border-right: 2px solid rgba(0, 204, 160, 0.8);
    border-bottom: 2px solid rgba(0, 204, 160, 0.8);
}

.step-teal .timeline-card img {
    background: radial-gradient(circle at center, rgba(0, 204, 160, 0.4) 0%, rgba(0, 204, 160, 0.1) 40%, transparent 65%);
    filter: drop-shadow(0 0 5px rgba(0, 204, 160, 0.6));
}

.step-teal .card-reward {
    color: #00cca0;
}

.step-teal .timeline-dot {
    background: #00cca0;
    box-shadow: 0 0 0 3px rgba(0, 204, 160, 0.2), 0 0 15px #00cca0;
}

/* Gold */
.step-gold .timeline-card {
    border-color: rgba(255, 170, 0, 0.8);
    box-shadow: inset 0 0 20px rgba(255, 170, 0, 0.2), 0 10px 30px rgba(0, 0, 0, 0.5);
}

.step-gold .timeline-card::after {
    background: rgba(4, 6, 20, 0.85);
    border-right: 2px solid rgba(255, 170, 0, 0.8);
    border-bottom: 2px solid rgba(255, 170, 0, 0.8);
}

.step-gold .timeline-card img {
    background: radial-gradient(circle at center, rgba(255, 170, 0, 0.4) 0%, rgba(255, 170, 0, 0.1) 40%, transparent 65%);
    filter: drop-shadow(0 0 5px rgba(255, 170, 0, 0.6));
}

.step-gold .card-reward {
    color: #ffaa00;
}

.step-gold .timeline-dot {
    background: #ffaa00;
    box-shadow: 0 0 0 3px rgba(255, 170, 0, 0.2), 0 0 15px #ffaa00;
}

/* ==========================================================================
   Pétalos Currency Section
   ========================================================================== */
.petalos-section {
    position: relative;
    width: 100%;
    padding: var(--section-padding-v) var(--section-padding-h);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.badge-petalos {
    background: linear-gradient(90deg, rgba(244, 114, 182, 0.2) 0%, rgba(124, 92, 255, 0.2) 100%);
    border-color: rgba(124, 92, 255, 0.5);
    color: #F472B6;
}

.petalos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
}

.petalos-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 450px;
}

.petalos-anim-video {
    width: 100%;
    max-width: 500px;
    height: auto;
    mix-blend-mode: screen;
    filter: contrast(1.5) brightness(1.2);
    transform: scale(1.15);
}

.petalos-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(244, 114, 182, 0.15) 0%, rgba(124, 92, 255, 0.15) 50%, transparent 70%);
    filter: blur(50px);
    pointer-events: none;
}

/* Decorative Floating Particles */
.petalos-deco {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.5;
}

.petal-orb-1 {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(244, 114, 182, 0.2) 0%, transparent 70%);
    filter: blur(40px);
    top: 10%;
    right: 5%;
    animation: floatIdle 7s ease-in-out infinite;
}

.petal-orb-2 {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(124, 92, 255, 0.2) 0%, transparent 70%);
    filter: blur(35px);
    bottom: 10%;
    right: 15%;
    animation: floatIdle 9s ease-in-out infinite alternate-reverse;
}

.petal-orb-3 {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(30, 111, 217, 0.25) 0%, transparent 70%);
    filter: blur(25px);
    top: 20%;
    left: 42%;
    animation: floatIdle 6s ease-in-out infinite;
}

.petal-sparkle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #F472B6;
    border-radius: 50%;
    box-shadow: 0 0 12px 3px rgba(244, 114, 182, 0.6);
    pointer-events: none;
    animation: sparkleFloat 4s ease-in-out infinite;
}

.sparkle-1 {
    top: 15%;
    right: 20%;
    animation-delay: 0s;
}

.sparkle-2 {
    top: 60%;
    right: 8%;
    animation-delay: 1.5s;
}

.sparkle-3 {
    bottom: 20%;
    right: 25%;
    animation-delay: 0.8s;
}

.sparkle-4 {
    top: 35%;
    left: 45%;
    animation-delay: 2.2s;
}

@keyframes sparkleFloat {

    0%,
    100% {
        opacity: 0.3;
        transform: translateY(0) scale(1);
    }

    50% {
        opacity: 1;
        transform: translateY(-10px) scale(1.5);
    }
}

.petalos-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.petalos-title {
    font-family: var(--font-heading);
    font-size: var(--h2-size);
    font-weight: 800;
    color: #e2e8f0;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

.petalos-title span {
    background: linear-gradient(90deg, #F472B6 0%, #7C5CFF 50%, #1E6FD9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.petalos-desc {
    font-size: 1.15rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 550px;
}

.petalos-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    width: 100%;
}

.petalo-info-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: linear-gradient(135deg, rgba(10, 15, 35, 0.92) 0%, rgba(20, 30, 50, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.petalo-info-card:hover {
    transform: translateX(8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(124, 92, 255, 0.4);
}

.petalo-card-highlight {
    border-color: rgba(124, 92, 255, 0.4);
    background: rgba(124, 92, 255, 0.08);
}

.petalo-card-highlight:hover {
    border-color: rgba(124, 92, 255, 0.7);
    box-shadow: 0 10px 30px rgba(124, 92, 255, 0.15);
}

.petalo-card-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(124, 92, 255, 0.12);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.6rem;
}

.petalo-card-text h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.3rem;
}

.petalo-card-text p {
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.5;
}

.petalo-card-text strong {
    color: #F472B6;
    font-weight: 700;
}

@media (max-width: 900px) {
    .petalos-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
        margin-top: 5rem;
    }

    .petalos-content {
        align-items: center;
    }

    .petalos-title {
        font-size: 3rem;
    }

    .petalos-desc {
        text-align: center;
    }

    .petalo-info-card {
        text-align: left;
    }

    .petalos-flower-img {
        max-width: 280px;
    }
}

/* ==========================================================================
   Ranks Section
   ========================================================================== */
.ranks-section {
    position: relative;
    width: 100%;
    min-height: auto;
    padding: var(--section-padding-v) var(--section-padding-h);
    display: flex;
    flex-direction: column;
    align-items: center;
    background: transparent;
}

.ranks-grid-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto 5rem auto;
}

.ranks-header-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.ranks-title {
    font-family: var(--font-heading);
    font-size: var(--h1-size);
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.2rem;
    background: linear-gradient(180deg, #F0E6FF 0%, #D8A8F0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
    line-height: 1.1;
}

.ranks-subtitle {
    font-size: 1.15rem;
    color: #cbd5e1;
    max-width: 100%;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.ranks-extra-info {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.ranks-extra-info .info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    color: #e2e8f0;
}

.ranks-extra-info img {
    width: 24px;
    height: 24px;
    /* Turns check icon into a glowing purple matching RECONOCIMIENTO and Title */
    filter: brightness(0) saturate(100%) invert(48%) sepia(87%) saturate(3015%) hue-rotate(244deg) brightness(101%) contrast(105%);
}

.rank-animation-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 0;
    pointer-events: none;
    mix-blend-mode: screen;
}

.rank-anim-video {
    width: 100%;
    max-width: 600px;
    mix-blend-mode: screen;
    filter: contrast(1.5) brightness(1.2);
    transform: scale(1.15);
    /* Boosted to make it pop inside its new column */
}

@media (max-width: 900px) {
    .ranks-grid-header {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .ranks-header-text {
        align-items: center;
        text-align: center;
        order: -1;
    }

    .ranks-extra-info .info-item {
        justify-content: center;
        text-align: left;
    }
}

.ranks-container {
    width: 100%;
    max-width: 1300px;
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.ranks-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.rank-card {
    background: linear-gradient(135deg, rgba(8, 12, 30, 0.9) 0%, rgba(15, 20, 40, 0.75) 100%);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.rank-card:hover {
    transform: translateY(-10px) scale(1.02);
    z-index: 10;
}

.rank-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% -20%, var(--card-glow) 0%, transparent 70%);
    opacity: 0.15;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.rank-card:hover::before {
    opacity: 0.35;
}

.rank-xp-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 2rem;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.rank-icon-box {
    margin-bottom: 1.5rem;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.rank-icon-box img {
    height: 110px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px var(--card-glow));
    transition: transform 0.5s ease;
}

.rank-card:hover .rank-icon-box img {
    transform: scale(1.15) translateY(-5px);
}

.rank-icon-box::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--card-glow);
    border-radius: 50%;
    filter: blur(35px);
    z-index: -1;
    opacity: 0.5;
}

.rank-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.8rem;
    letter-spacing: 0.5px;
}

.rank-desc {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.5;
}

/* Master Catalyst Layout */
.master-rank-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.rank-master {
    flex-direction: row;
    align-items: center;
    width: 100%;
    /* Now spans exact width of the 4 cards above */
    padding: 0;
    text-align: left;
    background: linear-gradient(135deg, rgba(15, 12, 5, 0.95) 0%, rgba(30, 25, 10, 0.8) 100%);
    border: 1px solid rgba(255, 215, 0, 0.4);
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.15), inset 0 0 30px rgba(255, 215, 0, 0.05);
    border-radius: 30px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.master-glow-bg {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 180deg at 50% 50%, transparent 0deg, rgba(255, 215, 0, 0.25) 180deg, transparent 360deg);
    animation: slowSpin 12s linear infinite;
    z-index: -2;
}

.master-card-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    padding: 4rem 6rem;
    gap: 6rem;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, transparent 80%);
    z-index: 2;
    border-radius: 30px;
}

.master-left {
    flex: 0 0 auto;
}

.master-icon img {
    height: 220px;
    filter: drop-shadow(0 20px 40px rgba(255, 215, 0, 0.6));
    animation: floatMaster 6s ease-in-out infinite;
}

@keyframes floatMaster {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.master-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge-master {
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 140, 0, 0.2) 100%);
    border-color: rgba(255, 215, 0, 0.5);
    color: #ffd700;
    font-size: 1rem;
    padding: 0.5rem 1.5rem;
}

.master-title {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(90deg, #FFE259 0%, #FFA751 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.master-desc {
    font-size: 1.25rem;
    color: #e2e8f0;
    margin-bottom: 2rem;
    max-width: 700px;
    line-height: 1.6;
}

.master-alert {
    background: rgba(255, 215, 0, 0.05);
    border-left: 4px solid #ffd700;
    padding: 1.5rem;
    border-radius: 0 16px 16px 0;
    font-size: 1.05rem;
    color: #cbd5e1;
    line-height: 1.6;
    max-width: 750px;
    box-shadow: inset 5px 0 15px rgba(255, 215, 0, 0.05);
}

.master-alert strong {
    color: #ffd700;
    display: block;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    letter-spacing: 1px;
}

/* Card Specific Colors using CSS variables for clean glow logic */
.rank-semilla {
    --card-glow: #a8e6cf;
    border-top: 1px solid rgba(168, 230, 207, 0.4);
}

.rank-semilla:hover {
    box-shadow: 0 20px 40px rgba(168, 230, 207, 0.15), 0 0 20px rgba(168, 230, 207, 0.1);
}

.rank-raiz {
    --card-glow: #00b894;
    border-top: 1px solid rgba(0, 184, 148, 0.4);
}

.rank-raiz:hover {
    box-shadow: 0 20px 40px rgba(0, 184, 148, 0.15), 0 0 20px rgba(0, 184, 148, 0.1);
}

.rank-planta {
    --card-glow: #00d2d3;
    border-top: 1px solid rgba(0, 210, 211, 0.4);
}

.rank-planta:hover {
    box-shadow: 0 20px 40px rgba(0, 210, 211, 0.15), 0 0 20px rgba(0, 210, 211, 0.1);
}

.rank-flor {
    --card-glow: #fd79a8;
    border-top: 1px solid rgba(253, 121, 168, 0.4);
}

.rank-flor:hover {
    box-shadow: 0 20px 40px rgba(253, 121, 168, 0.15), 0 0 20px rgba(253, 121, 168, 0.1);
}

.rank-master {
    --card-glow: #fdcb6e;
}

.rank-master:hover {
    box-shadow: 0 30px 60px rgba(253, 203, 110, 0.25), 0 0 40px rgba(253, 203, 110, 0.2);
}

/* Responsiveness for Ranks */
@media (max-width: 1024px) {
    .ranks-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .master-card-inner {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

    .master-right {
        align-items: center;
        text-align: center;
    }

    .master-alert {
        border-left: none;
        border-top: 4px solid #ffd700;
        border-radius: 0 0 12px 12px;
    }
}

@media (max-width: 600px) {
    .ranks-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
    position: relative;
    width: 100%;
    padding: var(--section-padding-v) var(--section-padding-h);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.cta-container {
    position: relative;
    width: 100%;
    max-width: 1300px;
    background: linear-gradient(135deg, rgba(10, 15, 35, 0.95) 0%, rgba(20, 30, 50, 0.85) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 32px;
    overflow: hidden;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), inset 0 0 40px rgba(0, 229, 255, 0.05);
}

.cta-container::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 33px;
    background: linear-gradient(135deg, rgba(30, 111, 217, 0.8) 0%, rgba(138, 43, 226, 0.2) 25%, rgba(138, 43, 226, 0.1) 50%, rgba(0, 229, 255, 0.8) 100%);
    background-size: 200% 200%;
    animation: ctaBorderGradient 6s ease infinite;
    z-index: -1;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    padding: 1px;
}

@keyframes ctaBorderGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.cta-container.cta-grid-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
    text-align: left;
    padding: 5rem 4rem;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle at center, rgba(30, 111, 217, 0.15) 0%, rgba(138, 43, 226, 0.05) 40%, transparent 70%);
    z-index: 0;
    pointer-events: none;
    animation: ctaPulse 8s ease-in-out infinite alternate;
}

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

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

.cta-content-left {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: var(--h2-size);
    font-weight: 800;
    background: linear-gradient(90deg, #ffffff 0%, #a8f0ec 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -1px;
    text-align: left;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: #cbd5e1;
    max-width: 550px;
    margin-bottom: 3.5rem;
    line-height: 1.6;
    text-align: left;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    width: 100%;
}

.cta-image-right {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cta-cards-img {
    width: 100%;
    max-width: 550px;
    height: auto;
    object-fit: contain;
    animation: floatCards 8s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
    transform: scale(1.15) translateX(20px);
    /* Makes the image burst out slightly */
}

@keyframes floatCards {

    0%,
    100% {
        transform: scale(1.15) translateX(20px) translateY(0px);
    }

    50% {
        transform: scale(1.15) translateX(20px) translateY(-15px);
    }
}

.cta-primary-btn {
    box-shadow: 0 10px 30px rgba(30, 111, 217, 0.4), inset 0 0 10px rgba(255, 255, 255, 0.4);
    font-size: 1.15rem;
    padding: 1.2rem 3rem;
    background: linear-gradient(90deg, #1e6fd9 0%, #aa00ff 50%, #1e6fd9 100%);
    background-size: 200% auto;
    animation: ctaBorderGradient 4s linear infinite;
    border: none;
    color: white;
    font-weight: 800;
}

.cta-primary-btn:hover {
    box-shadow: 0 15px 40px rgba(170, 0, 255, 0.6), inset 0 0 15px rgba(255, 255, 255, 0.6);
    transform: translateY(-3px) scale(1.02);
}

.cta-secondary-btn {
    font-size: 1.15rem;
    padding: 1.2rem 2.5rem;
}

.cta-deco-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(45px);
    z-index: 1;
    opacity: 0.4;
    pointer-events: none;
}

.orb-1 {
    width: 250px;
    height: 250px;
    background: #00e5ff;
    top: -100px;
    left: -50px;
    animation: floatIdle 6s ease-in-out infinite;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: #9013FE;
    bottom: -150px;
    right: -100px;
    animation: floatIdle 7s ease-in-out infinite alternate-reverse;
}

@media (max-width: 900px) {
    .cta-container.cta-grid-container {
        grid-template-columns: 1fr;
        padding: 4rem 2rem;
        text-align: center;
        gap: 2.5rem;
    }

    .cta-content-left {
        align-items: center;
    }

    .cta-title,
    .cta-subtitle {
        text-align: center;
    }

    .cta-buttons {
        justify-content: center;
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .cta-image-right {
        order: -1;
        /* Image appears above text on mobile */
    }

    .cta-cards-img {
        transform: scale(1) translateX(0);
        max-width: 100%;
    }
}

/* ==========================================================================
   Roles Section
   ========================================================================== */
.roles-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: var(--section-padding-v) var(--section-padding-h);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.roles-glow-shape {
    position: absolute;
    bottom: -150px;
    left: 20%;
    width: 200px;
    height: 200px;
    z-index: 1;
    filter: drop-shadow(0 0 40px rgba(138, 43, 226, 0.4));
    pointer-events: none;
    transform-origin: center center;
    animation: slowSpin 20s linear infinite;
}

@keyframes slowSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.roles-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1400px;
    width: 100%;
    position: relative;
    z-index: 2;
    align-items: start;
}

.role-card {
    background: linear-gradient(135deg, rgba(8, 10, 25, 0.9) 0%, rgba(15, 20, 40, 0.75) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 4rem 3.5rem;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-sizing: border-box;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.rules-card {
    margin-top: 5rem;
}

/* Card borders matching specific image glows */
.role-card:not(.rules-card)::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 30px;
    background:
        radial-gradient(350px circle at var(--mouse-x, -500px) var(--mouse-y, -500px), rgba(0, 229, 255, 1), rgba(168, 85, 247, 0.7) 40%, transparent 70%),
        linear-gradient(45deg, rgba(168, 85, 247, 0.4) 0%, rgba(255, 255, 255, 0.02) 25%, rgba(255, 255, 255, 0.02) 75%, rgba(168, 85, 247, 0.4) 100%);
    z-index: -1;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    padding: 1px;
}

.rules-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 30px;
    background:
        radial-gradient(350px circle at var(--mouse-x, -500px) var(--mouse-y, -500px), rgba(0, 229, 255, 1), rgba(168, 85, 247, 0.7) 40%, transparent 70%),
        linear-gradient(135deg, rgba(168, 85, 247, 0.4) 0%, rgba(255, 255, 255, 0.02) 25%, rgba(255, 255, 255, 0.02) 75%, rgba(168, 85, 247, 0.4) 100%);
    z-index: -1;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    padding: 1px;
}

/* Base Content Layering to keep text above the glow */
.hiw-card>*,
.role-card>* {
    position: relative;
    z-index: 2;
}

/* Spotlight Inner Glow */
.hiw-card::after,
.role-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(350px circle at var(--mouse-x, -500px) var(--mouse-y, -500px),
            rgba(0, 229, 255, 0.2),
            rgba(138, 43, 226, 0.1) 40%,
            transparent 70%);
    z-index: 1;
    /* Above background but below content */
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    mix-blend-mode: screen;
}

.hiw-card:hover::after,
.role-card:hover::after {
    opacity: 1;
}

.role-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8), 0 0 30px rgba(138, 43, 226, 0.15);
}

.role-title {
    font-family: var(--font-heading);
    font-size: var(--h3-size);
    font-weight: 700;
    background: linear-gradient(90deg, #50E3C2 0%, #D8B4E2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.rules-title {
    background: linear-gradient(90deg, #50E3C2 0%, #e8e8e8 70%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.role-desc {
    color: #94a3b8;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 90%;
}

.role-items {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.role-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.role-icon-box {
    width: 60px;
    height: 60px;
    background: rgba(16, 25, 50, 0.8);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
}

.role-icon-box img {
    width: 28px;
    height: auto;
}

.role-text h4 {
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    letter-spacing: 0.5px;
}

.role-text p {
    color: #64748b;
    font-size: 0.95rem;
}

.rules-group {
    margin-bottom: 2.5rem;
}

.rules-subtitle {
    font-size: 0.9rem;
    color: #cbd5e1;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.rules-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.rules-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #94a3b8;
    font-size: 1.05rem;
}

.rules-list img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.role-footer {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
    font-size: 1.05rem;
    font-weight: 500;
}

.rules-footer {
    margin-top: 3rem;
}

/* ==========================================================================
   Video Section
   ========================================================================== */
.video-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 6rem 5% 10rem 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.video-bg-rays {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(90deg,
            rgba(255, 255, 255, 0.015) 0px,
            rgba(255, 255, 255, 0.015) 30px,
            transparent 30px,
            transparent 60px);
    z-index: 1;
    pointer-events: none;
    -webkit-mask-image: radial-gradient(circle at center top, black 0%, transparent 80%);
    mask-image: radial-gradient(circle at center top, black 0%, transparent 80%);
}

.video-glow-back {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 60%;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.4) 0%, rgba(0, 229, 255, 0.1) 60%, transparent 80%);
    filter: blur(80px);
    z-index: 1;
    pointer-events: none;
}

.star-decor {
    position: absolute;
    width: 60px;
    height: 60px;
    z-index: 2;
    filter: drop-shadow(0 0 15px rgba(255, 123, 0, 0.6));
    animation: floatHiwCard 6s ease-in-out infinite alternate;
}

.star-1 {
    top: 5%;
    left: 15%;
    transform: rotate(15deg);
}

.star-2 {
    top: 20%;
    right: 15%;
    transform: rotate(-20deg) scale(0.8);
}

.video-container-wrapper {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1100px;
}

.video-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    text-align: center;
    color: var(--text-white);
    margin-bottom: 3.5rem;
    line-height: 1.1;
    background: linear-gradient(90deg, #E2F1F8 0%, #FFFFFF 50%, #E2F1F8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.video-box {
    position: relative;
    width: 100%;
    border-radius: 40px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.9), 0 0 60px rgba(138, 43, 226, 0.3);
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    background: rgba(10, 15, 30, 0.8);
}

.video-box:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 60px 120px rgba(0, 0, 0, 0.9), 0 0 80px rgba(138, 43, 226, 0.4);
}

.video-thumbnail {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: filter 0.4s ease;
}

.video-box:hover .video-thumbnail {
    filter: brightness(0.8) contrast(1.1);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(10, 15, 30, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.play-btn svg {
    width: 35px;
    height: 35px;
    margin-left: 5px;
    /* Optically center play triangle */
    transition: transform 0.3s ease;
}

.video-box:hover .play-btn {
    background: rgba(138, 43, 226, 0.8);
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   Responsive Design / Media Queries
   ========================================================================== */

/* Large Tablets / Smaller Laptops */
@media (max-width: 1200px) {
    .cards-container {
        max-width: 95%;
    }

    .side-card {
        width: 250px;
        height: 360px;
    }

    .hiw-container {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .hiw-title {
        font-size: 3.5rem;
    }

    .hiw-card {
        width: 260px;
        padding: 2rem 1.2rem;
    }

    .card-conecta {
        left: calc(50% - 130px);
    }

    .card-gana {
        left: 0;
    }

    .roles-container {
        gap: 1.5rem;
    }

    .role-card {
        padding: 2.5rem 1.5rem;
    }

    .role-title {
        font-size: 1.8rem;
    }

    .rules-card {
        margin-top: 2rem;
    }

    .video-title {
        font-size: 2.2rem;
    }

    .play-btn {
        width: 70px;
        height: 70px;
    }

    .play-btn svg {
        width: 25px;
        height: 25px;
    }
}

/* Tablets (Portrait & Landscape) */
@media (max-width: 992px) {
    .nav-center {
        display: none;
    }

    .cards-container {
        justify-content: center;
        margin-top: 0;
    }

    /* Transform side cards into subdued background elements */
    .side-card {
        position: absolute;
        z-index: 1;
        opacity: 0.15;
        pointer-events: none;
        filter: blur(2px) drop-shadow(0 0 20px rgba(0, 229, 255, 0.4));
        transform: scale(0.8);
    }

    .left-card {
        top: 20%;
        left: -100px;
    }

    .right-card {
        bottom: 10%;
        right: -100px;
    }

    .center-content {
        z-index: 15;
        background: rgba(2, 3, 12, 0.4);
        padding: 2rem;
        border-radius: 20px;
        backdrop-filter: blur(5px);
        margin-top: 20px;
    }

    .hero-subtitle {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    .hiw-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 4rem;
    }

    .hiw-text-content {
        align-items: center;
    }

    .hiw-subtitle {
        margin: 0 auto 2rem auto;
    }

    .hiw-cards-container {
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .hiw-card {
        position: relative;
        top: auto !important;
        right: auto !important;
        left: auto !important;
        bottom: auto !important;
        width: 100%;
        max-width: 320px;
    }

    .roles-container {
        grid-template-columns: 1fr;
    }

    /* Disable tilt effect on tablets to avoid bugs with touches */
    .tilt-effect {
        transform: none !important;
    }
}

/* Mobile Phones */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem 5%;
    }

    .nav-right {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    #hero-section {
        min-height: 850px;
        height: auto;
        padding-bottom: 100px;
    }

    .hero-description {
        font-size: 1rem;
    }

    .descubre-banner {
        flex-direction: column;
        border-radius: 16px;
        padding: 1rem;
        text-align: center;
        gap: 0.8rem;
    }

    .features-list {
        flex-direction: column;
        gap: 0.8rem;
        padding: 1.5rem;
        border-radius: 12px;
        width: 100%;
    }

    .features-list .dot {
        display: none;
    }

    .side-card {
        position: absolute;
        width: 200px;
        height: auto;
        opacity: 0.15 !important;
        pointer-events: none;
        filter: blur(4px);
        z-index: 1;
    }

    .left-card {
        top: 10%;
        left: -50px;
        transform: rotate(-15deg);
    }

    .right-card {
        bottom: 15%;
        right: -50px;
        transform: rotate(15deg);
    }
}

/* ==========================================================================
   Comisiones Section
   ========================================================================== */
.comisiones-section {
    position: relative;
    width: 100%;
    padding: var(--section-padding-v) var(--section-padding-h);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.comisiones-deco {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.4;
    z-index: 1;
}

.comisiones-orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.15) 0%, transparent 70%);
    top: -10%;
    left: -5%;
    filter: blur(60px);
}

.comisiones-orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.1) 0%, transparent 70%);
    bottom: -15%;
    right: -10%;
    filter: blur(80px);
}

.comisiones-container {
    width: 100%;
    max-width: 1200px;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.comisiones-header-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    margin-bottom: 5rem;
}

@media (max-width: 900px) {
    .comisiones-header-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
}

.comisiones-header-text {
    max-width: 600px;
}

@media (max-width: 900px) {
    .comisiones-header-text {
        margin: 0 auto;
    }
}

.comisiones-header-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 0;
}

@media (max-width: 900px) {
    .comisiones-header-visual {
        justify-content: center;
        margin-bottom: 2rem;
        padding-left: 0;
    }
}

/* Holographic Orbital Sphere */
.holo-orb-container {
    position: relative;
    width: 250px;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    animation: floatIdle 6s ease-in-out infinite;
}

.holo-core {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, #f472b6 0%, #7c5cff 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 40px rgba(244, 114, 182, 0.6), inset 0 0 20px rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 10;
}

.holo-symbol {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    margin-top: 4px;
}

.holo-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid transparent;
}

.holo-ring-1 {
    border-top: 2px solid #00e5ff;
    border-bottom: 2px solid #00e5ff;
    animation: rotateRing1 8s linear infinite;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
}

.holo-ring-2 {
    width: 85%;
    height: 85%;
    border-left: 2px solid #7c5cff;
    border-right: 2px solid #7c5cff;
    animation: rotateRing2 6s linear infinite;
    box-shadow: 0 0 15px rgba(124, 92, 255, 0.2);
}

.holo-ring-3 {
    width: 70%;
    height: 70%;
    border-top: 2px solid #34d399;
    border-bottom: 2px solid #34d399;
    animation: rotateRing3 10s linear infinite;
    box-shadow: 0 0 15px rgba(52, 211, 153, 0.2);
}

.holo-floating-icon {
    position: absolute;
    width: 38px;
    height: 38px;
    background: rgba(10, 15, 35, 0.8);
    border-radius: 50%;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    z-index: 15;
}

.icon-1 {
    top: 10%;
    right: 15%;
    animation: bounceDelay 4s ease-in-out infinite;
}

.icon-2 {
    bottom: 10%;
    left: 15%;
    animation: bounceDelay 5s ease-in-out infinite 1s;
}

@keyframes rotateRing1 {
    0% { transform: rotateX(60deg) rotateY(0deg) rotateZ(0deg); }
    100% { transform: rotateX(60deg) rotateY(360deg) rotateZ(360deg); }
}

@keyframes rotateRing2 {
    0% { transform: rotateX(45deg) rotateY(45deg) rotateZ(0deg); }
    100% { transform: rotateX(45deg) rotateY(45deg) rotateZ(-360deg); }
}

@keyframes rotateRing3 {
    0% { transform: rotateX(75deg) rotateY(-45deg) rotateZ(0deg); }
    100% { transform: rotateX(75deg) rotateY(-45deg) rotateZ(360deg); }
}

@keyframes bounceDelay {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.badge-green {
    background: linear-gradient(90deg, rgba(52, 211, 153, 0.2) 0%, rgba(0, 229, 255, 0.2) 100%);
    border-color: rgba(52, 211, 153, 0.5);
    color: #34D399;
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    border: 1px solid;
}

.comisiones-main-title {
    font-family: var(--font-heading);
    font-size: var(--h2-size);
    font-weight: 800;
    color: #e2e8f0;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
}

.comisiones-main-title span {
    background: linear-gradient(90deg, #7C5CFF 0%, #F472B6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.comisiones-main-desc {
    font-size: 1.15rem;
    color: #cbd5e1;
    line-height: 1.6;
}

.comisiones-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    width: 100%;
    margin-bottom: 5rem;
}

@media (max-width: 900px) {
    .comisiones-grid {
        grid-template-columns: 1fr;
    }
    .comisiones-main-title {
        font-size: 2.5rem;
    }
}

.comisiones-card {
    background: linear-gradient(135deg, rgba(10, 15, 35, 0.95) 0%, rgba(20, 30, 50, 0.82) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 2.5rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.comisiones-card-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
}

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

.comisiones-card-text {
    font-size: 1.05rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.comisiones-card-text strong {
    color: #fff;
}

.comisiones-checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
}

.comisiones-checklist li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #e2e8f0;
    font-weight: 500;
}

.comisiones-example-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.5rem;
}

.example-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 1rem;
}

.example-text {
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.8;
    margin: 0;
}

.example-text strong {
    color: #e2e8f0;
}

.highlight-green {
    color: #34D399 !important;
    font-size: 1.1rem;
}

/* Tier Cards */
.tier-cards {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.tier-card {
    background: rgba(4, 6, 20, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tier-card:hover {
    transform: translateY(-5px);
}

.tier-green {
    border-color: rgba(52, 211, 153, 0.3);
    box-shadow: inset 0 0 20px rgba(52, 211, 153, 0.05);
}
.tier-green:hover { box-shadow: 0 10px 30px rgba(52, 211, 153, 0.15); border-color: rgba(52, 211, 153, 0.5); }

.tier-purple {
    border-color: rgba(124, 92, 255, 0.3);
    box-shadow: inset 0 0 20px rgba(124, 92, 255, 0.05);
}
.tier-purple:hover { box-shadow: 0 10px 30px rgba(124, 92, 255, 0.15); border-color: rgba(124, 92, 255, 0.5); }

.tier-gold {
    border-color: rgba(255, 170, 0, 0.3);
    box-shadow: inset 0 0 20px rgba(255, 170, 0, 0.05);
}
.tier-gold:hover { box-shadow: 0 10px 30px rgba(255, 170, 0, 0.15); border-color: rgba(255, 170, 0, 0.5); }

.tier-row-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.8rem;
}

@media (max-width: 500px) {
    .tier-row-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

.tier-left {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.tier-center-vertical {
    justify-content: center;
}

.tier-label {
    font-size: 0.85rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tier-value {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
}

.tier-right {
    text-align: right;
}

.tier-flex {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

@media (max-width: 500px) {
    .tier-flex {
        align-items: flex-start;
    }
}

.tier-percent-label {
    font-size: 0.9rem;
    color: #94a3b8;
    font-weight: 600;
}

.tier-percent {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.tier-green .tier-percent { color: #34D399; }
.tier-purple .tier-percent { color: #7C5CFF; }
.tier-gold .tier-percent { color: #ffaa00; }

.tier-bottom {
    font-size: 0.85rem;
    color: #64748b;
}

/* Footer */
.comisiones-footer {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: 2rem;
    line-height: 1.3;
}

.text-green { color: #34D399; }
.text-purple { color: #7C5CFF; }

.footer-disclaimer {
    color: #64748b;
    font-size: 0.9rem;
    margin-top: 1.5rem;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   Recompensas Section
   ========================================================================== */
.recompensas-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--section-padding-v) var(--section-padding-h);
    overflow: hidden;
}

.recompensas-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15vh, black 85%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 15vh, black 85%, transparent 100%);
}

.recompensas-number-bg {
    position: absolute;
    top: 40%;
    left: -2%;
    transform: translateY(-50%);
    font-size: 45vw;
    font-family: var(--font-heading);
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    line-height: 0.8;
    user-select: none;
}

.recompensas-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1400px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 900px) {
    .recompensas-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.recompensas-text-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

@media (max-width: 900px) {
    .recompensas-text-content {
        align-items: center;
    }
}

.recompensas-title {
    font-family: var(--font-heading);
    font-size: 4.8rem;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 1.2rem;
    margin-top: 1.2rem;
    color: #fff;
    letter-spacing: -1px;
}

.recompensas-title span {
    background: linear-gradient(90deg, #34D399 0%, #12B5C4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 900px) {
    .recompensas-title {
        font-size: 3.5rem;
    }
}

.recompensas-subtitle {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 300;
    color: #e2e8f0;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 480px;
    letter-spacing: 0.5px;
}

.recompensas-cta-box {
    margin-top: 1rem;
}

/* Glass Grid right side */
.recompensas-visual-content {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.brands-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.1) 0%, transparent 60%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
    filter: blur(50px);
}

.brands-glass-grid {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
}

@media (max-width: 768px) {
    .brands-glass-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.brand-item {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    transition: all 0.4s ease;
    cursor: default;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    aspect-ratio: 1 / 1;
}

.brand-item:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(52, 211, 153, 0.5);
    box-shadow: 0 20px 40px rgba(52, 211, 153, 0.15);
}

.brand-logo-img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    /* Forces any transparent PNG to become a perfect pure white silhouette */
    filter: brightness(0) invert(1);
    opacity: 0.45;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand-item:hover .brand-logo-img {
    filter: brightness(0) invert(1) drop-shadow(0 0 12px rgba(255, 255, 255, 0.5));
    opacity: 1;
    transform: scale(1.15);
}

.placeholder-brand {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    opacity: 0.9;
    letter-spacing: 1px;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
    position: relative;
    width: 100%;
    padding: var(--section-padding-v) var(--section-padding-h);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.faq-container {
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.faq-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.faq-title {
    font-family: var(--font-heading);
    font-size: var(--h2-size);
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.2rem;
    letter-spacing: -1px;
}

.faq-title span {
    background: linear-gradient(90deg, #E6FFFA 0%, #00e5ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-subtitle {
    font-size: 1.15rem;
    color: #cbd5e1;
    max-width: 600px;
    line-height: 1.6;
}

.faq-items {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.faq-item {
    background: rgba(10, 15, 35, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08); /* Stronger base boundary */
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.faq-item:hover {
    background: rgba(15, 25, 50, 0.6);
    border-color: rgba(255, 255, 255, 0.15);
}

.faq-item.active {
    background: rgba(30, 111, 217, 0.1);
    border-color: rgba(0, 229, 255, 0.5);
    box-shadow: 0 10px 40px rgba(0, 229, 255, 0.12), inset 0 0 20px rgba(0, 229, 255, 0.05);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.8rem 2.2rem;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: #e2e8f0;
    transition: color 0.3s ease;
}

.faq-item:hover .faq-question {
    color: #fff;
}

.faq-item.active .faq-question {
    color: #00e5ff;
}

.faq-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    margin-left: 1.5rem;
}

.faq-icon svg {
    width: 16px;
    height: 16px;
    color: #00e5ff;
}

.faq-icon .v-line {
    transition: transform 0.4s ease, opacity 0.4s ease;
    transform-origin: center;
}

.faq-item.active .faq-icon {
    background: rgba(0, 229, 255, 0.2);
    transform: rotate(180deg);
}

.faq-item.active .faq-icon .v-line {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}

.faq-item.active .faq-answer {
    max-height: 400px;
    transition: max-height 0.6s ease-in-out;
}

.faq-answer p {
    padding: 0 2.2rem 2rem 2.2rem;
    font-size: 1.05rem;
    color: #94a3b8;
    line-height: 1.6;
    margin: 0;
}

.faq-answer strong {
    color: #00e5ff;
}

@media (max-width: 768px) {
    .faq-title {
        font-size: 3rem;
        line-height: 1.1;
    }
    .faq-question {
        font-size: 1.05rem;
        padding: 1.4rem 1.5rem;
    }
    .faq-answer p {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }
    .faq-icon {
        margin-left: 1rem;
    }
}

/* ==========================================================================
   FOOTER PREMIUM
   ========================================================================== */
.footer-premium {
    position: relative;
    width: 100%;
    background: #060913;
    padding: var(--section-padding-v) var(--section-padding-h) 3rem var(--section-padding-h);
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    z-index: 10;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-glow-orb {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.08) 0%, transparent 60%);
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
}

.footer-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
    mask-image: radial-gradient(circle at center, black 0%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 0%, transparent 80%);
}

.footer-container {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-huge-text {
    font-family: 'Queen of Camelot', var(--font-heading);
    font-size: var(--h2-size);
    font-weight: normal;
    color: #e2e8f0;
    line-height: 1.3;
    letter-spacing: 2px;
    margin-bottom: 3.5rem;
    text-transform: uppercase;
    max-width: 1100px;
}

.footer-huge-text span {
    font-family: 'Queen of Camelot', var(--font-heading);
    background: linear-gradient(90deg, #F472B6 0%, #7C5CFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 900px) {
    .footer-huge-text {
        font-size: 2.2rem;
    }
}

.footer-cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, #34D399 0%, #7C5CFF 100%);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    padding: 1rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 10px 25px rgba(124, 92, 255, 0.3);
    margin-bottom: 5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-cta-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(52, 211, 153, 0.4);
    filter: brightness(1.1);
}

.footer-social-links {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 5rem;
}

.social-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-icon img {
    width: 20px;
    height: 20px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.social-icon:hover {
    background: rgba(124, 92, 255, 0.15);
    border-color: rgba(124, 92, 255, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(124, 92, 255, 0.2);
}

.social-icon:hover img {
    opacity: 1;
}

.footer-logo-area {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

.footer-official-logo {
    height: 48px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
    transition: filter 0.3s ease;
}

.footer-official-logo:hover {
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.4));
}

.footer-bottom-strip {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-link, .footer-copyright {
    font-size: 0.95rem;
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #34D399;
}

@media (max-width: 768px) {
    .footer-bottom-strip {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

/* ==========================================================================
   WHATSAPP FLOATING BUTTON (PREMIUM GLASSMORPHISM)
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background: rgba(37, 211, 102, 0.15); /* Glass green */
    color: #25d366;
    border: 1px solid rgba(37, 211, 102, 0.3);
    border-radius: 50%;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.15), inset 0 0 20px rgba(37, 211, 102, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    top: -1px; left: -1px; right: -1px; bottom: -1px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(37, 211, 102, 0.8);
    opacity: 0;
    z-index: -1;
    animation: whatsappPulseFrame 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes whatsappPulseFrame {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.6); opacity: 0; }
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
    background: rgba(37, 211, 102, 0.3);
    color: #fff;
    border-color: #25d366;
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4), inset 0 0 30px rgba(37, 211, 102, 0.3);
}

.whatsapp-float svg {
    margin-top: 1px;
    margin-left: 1px;
    fill: currentColor;
    filter: drop-shadow(0 0 8px rgba(37, 211, 102, 0.6));
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
}

/* ==========================================================================
   Floating Footer Abstract Shapes
   ========================================================================== */
.footer-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1; /* Above the grid, below the text */
    pointer-events: none;
}

.footer-shape {
    position: absolute;
    opacity: 0.4;
}

/* Hollow Neon Ring */
.f-shape-1 {
    width: 150px;
    height: 150px;
    border: 2px solid rgba(244, 114, 182, 0.4);
    border-radius: 50%;
    top: 10%;
    left: 15%;
    filter: blur(2px);
    animation: floatShape1 15s infinite ease-in-out;
}

/* Blurred Cyan Orb */
.f-shape-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.15) 0%, transparent 60%);
    border-radius: 50%;
    bottom: 5%;
    right: 10%;
    filter: blur(20px);
    animation: floatShape2 20s infinite ease-in-out reverse;
}

/* Glass Diamond */
.f-shape-3 {
    width: 80px;
    height: 80px;
    border: 1px solid rgba(52, 211, 153, 0.3);
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    top: 60%;
    left: 25%;
    animation: rotateShape3 18s infinite linear;
}

/* Small Glowing Node */
.f-shape-4 {
    width: 15px;
    height: 15px;
    background: #00e5ff;
    border-radius: 50%;
    top: 40%;
    right: 30%;
    box-shadow: 0 0 20px #00e5ff, 0 0 40px #00e5ff;
    animation: pulseShape4 4s infinite alternate;
}

/* Large Dashed Purple Ring */
.f-shape-5 {
    width: 400px;
    height: 400px;
    border: 1px dashed rgba(124, 92, 255, 0.2);
    border-radius: 50%;
    top: -10%;
    right: -5%;
    animation: spinRing5 35s infinite linear;
}

@keyframes floatShape1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    50% { transform: translate(40px, 40px) rotate(180deg) scale(1.1); }
}

@keyframes floatShape2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-50px, -30px); }
}

@keyframes rotateShape3 {
    0% { transform: rotate(0deg) translateY(0); }
    50% { transform: rotate(180deg) translateY(-20px); }
    100% { transform: rotate(360deg) translateY(0); }
}

@keyframes pulseShape4 {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.5); opacity: 1; }
}

@keyframes spinRing5 {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   GLOBAL BRAND WATERMARK (Cataleya Flora & Tech)
   ========================================================================== */
.site-background::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    transform: translate(-50%, -50%);
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M50 80 C80 80, 90 50, 50 10 C10 50, 20 80, 50 80 Z" fill="none" stroke="%23F472B6" stroke-width="0.2" opacity="0.3"/><path d="M40 75 C10 65, 0 30, 50 10 C30 50, 35 70, 40 75 Z" fill="none" stroke="%237C5CFF" stroke-width="0.3" opacity="0.4"/><path d="M60 75 C90 65, 100 30, 50 10 C70 50, 65 70, 60 75 Z" fill="none" stroke="%2300E5FF" stroke-width="0.2" opacity="0.3"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    z-index: 0; /* Above the dark background, behind the canvas */
    pointer-events: none;
    animation: lotusBreathe 25s ease-in-out infinite alternate;
}

@keyframes lotusBreathe {
    0% { transform: translate(-50%, -50%) scale(1) rotate(0deg); opacity: 0.15; filter: blur(2px); }
    100% { transform: translate(-50%, -50%) scale(1.15) rotate(10deg); opacity: 0.4; filter: blur(6px); }
}

/* ==========================================================================
   GLOBAL ALL-CARDS SPOTLIGHT & DEGRADED BORDERS
   ========================================================================== */
.role-card,
.tier-card,
.comisiones-card,
.petalo-info-card,
.rank-card,
.rank-master {
    position: relative;
}

/* Ensuring cards have a visible but transparent border so the mask fits flawlessly */
.role-card::before,
.tier-card::before,
.comisiones-card::before,
.petalo-info-card::before,
.rank-card::before,
.rank-master::before {
    content: '';
    position: absolute;
    top: -1px; left: -1px; right: -1px; bottom: -1px;
    border-radius: inherit; 
    z-index: -1;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    padding: 1px;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Specific Degradados en las esquinas + Dynamic Mouse Spotlight for Comisiones */
.tier-card.tier-green::before {
    background: 
        radial-gradient(400px circle at var(--mouse-x, -500px) var(--mouse-y, -500px), rgba(52, 211, 153, 0.9), transparent 40%),
        linear-gradient(135deg, rgba(52, 211, 153, 0.5), rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0.01) 100%);
    border-radius: 16px;
}
.tier-card.tier-purple::before {
    background: 
        radial-gradient(400px circle at var(--mouse-x, -500px) var(--mouse-y, -500px), rgba(168, 85, 247, 0.9), transparent 40%),
        linear-gradient(135deg, rgba(168, 85, 247, 0.5), rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0.01) 100%);
    border-radius: 16px;
}
.tier-card.tier-gold::before {
    background: 
        radial-gradient(400px circle at var(--mouse-x, -500px) var(--mouse-y, -500px), rgba(251, 191, 36, 0.9), transparent 40%),
        linear-gradient(135deg, rgba(251, 191, 36, 0.5), rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0.01) 100%);
    border-radius: 16px;
}
.comisiones-card.card-info::before {
    background: 
        radial-gradient(400px circle at var(--mouse-x, -500px) var(--mouse-y, -500px), rgba(0, 229, 255, 1), transparent 40%),
        linear-gradient(180deg, rgba(0, 229, 255, 0.4), rgba(255, 255, 255, 0.02) 60%);
    border-radius: 24px;
}

/* Spotlights for Roles, Petalos and Ranks with varied colors */
.role-card::before {
    background: 
        radial-gradient(450px circle at var(--mouse-x, -500px) var(--mouse-y, -500px), rgba(124, 92, 255, 0.9), transparent 40%),
        linear-gradient(180deg, rgba(124, 92, 255, 0.2), rgba(255, 255, 255, 0.01) 50%);
    border-radius: 24px;
}
.petalo-info-card::before {
    background: 
        radial-gradient(350px circle at var(--mouse-x, -500px) var(--mouse-y, -500px), rgba(244, 114, 182, 0.9), transparent 40%),
        linear-gradient(180deg, rgba(244, 114, 182, 0.2), rgba(255, 255, 255, 0.01) 50%);
    border-radius: 16px;
}
.rank-card::before, .rank-master::before {
    background: 
        radial-gradient(400px circle at var(--mouse-x, -500px) var(--mouse-y, -500px), rgba(255, 215, 0, 0.8), transparent 40%),
        linear-gradient(180deg, rgba(255, 215, 0, 0.2), transparent 40%);
    border-radius: 24px;
}