/* ========================================
   PRELANDER V3 - VIDEO PREVIEW
   Premium Gaming Aesthetic
   ======================================== */

*{margin:0;padding:0;box-sizing:border-box}

html,body{
    height:100vh;
    overflow:hidden;
    font-family:'Inter',-apple-system,BlinkMacSystemFont,sans-serif;
    background:#08090b;
    color:#fff;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale
}

/* ========================================
   MAIN CONTAINER
   ======================================== */

.prelander{
    position:relative;
    width:100%;
    height:100vh;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    text-decoration:none;
    color:#fff
}

/* ========================================
   BACKGROUND
   ======================================== */

.bg-grid{
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background-image:
        linear-gradient(rgba(255,255,255,.02) 1px,transparent 1px),
        linear-gradient(90deg,rgba(255,255,255,.02) 1px,transparent 1px);
    background-size:50px 50px;
    pointer-events:none;
    z-index:0
}

.bg-glow{
    position:absolute;
    top:30%;
    left:50%;
    transform:translateX(-50%);
    width:700px;
    height:500px;
    background:radial-gradient(ellipse,rgba(255,212,0,0.08) 0%,transparent 60%);
    pointer-events:none;
    z-index:0;
    animation:glowPulse 4s ease-in-out infinite
}

@keyframes glowPulse{
    0%,100%{opacity:0.7;transform:translateX(-50%) scale(1)}
    50%{opacity:1;transform:translateX(-50%) scale(1.05)}
}

/* ========================================
   LOGO
   ======================================== */

.logo{
    position:absolute;
    top:25px;
    left:40px;
    width:140px;
    z-index:10;
    opacity:0;
    animation:fadeIn .6s ease forwards;
    animation-delay:.1s
}

.logo svg{
    width:100%;
    height:auto;
    color:#fff;
    opacity:.95
}

/* ========================================
   CONTENT
   ======================================== */

.content{
    position:relative;
    z-index:5;
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
    padding:20px;
    width:100%;
    max-width:900px
}

/* ========================================
   HEADLINE
   ======================================== */

.headline{
    font-family:'Space Grotesk',sans-serif;
    font-size:2.2rem;
    font-weight:700;
    line-height:1.2;
    margin-bottom:14px;
    letter-spacing:-.02em;
    color:#fff;
    opacity:0;
    animation:fadeInUp .6s ease forwards;
    animation-delay:.15s
}

.highlight{
    color:#FF6B6B;
    text-shadow:0 0 20px rgba(255,107,107,0.4)
}

/* ========================================
   SUBHEADLINE
   ======================================== */

.subhead{
    font-family:'Inter',sans-serif;
    font-size:1.1rem;
    font-weight:400;
    color:rgba(255,255,255,0.85);
    line-height:1.6;
    margin-bottom:20px;
    max-width:600px;
    opacity:0;
    animation:fadeInUp .6s ease forwards;
    animation-delay:.25s
}

.highlight-gold{
    color:#FFD400;
    font-weight:600
}

/* ========================================
   VIDEO CONTAINER
   ======================================== */

.video-container{
    position:relative;
    width:100%;
    max-width:580px;
    aspect-ratio:16/9;
    border-radius:14px;
    overflow:hidden;
    margin-bottom:20px;
    opacity:0;
    animation:fadeInUp .6s ease forwards;
    animation-delay:.35s;
    box-shadow:
        0 15px 50px rgba(0,0,0,0.6),
        0 0 0 1px rgba(255,255,255,0.08),
        0 0 40px rgba(255,212,0,0.1)
}

.gameplay-video{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block
}

.video-overlay-bottom{
    position:absolute;
    bottom:0;
    left:0;
    right:0;
    height:80px;
    background:linear-gradient(to top,rgba(8,9,11,0.9) 0%,transparent 100%);
    pointer-events:none;
    z-index:2
}

.play-overlay{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:60px;
    height:60px;
    background:rgba(255,212,0,0.9);
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    opacity:0;
    transition:opacity .3s ease;
    z-index:3;
    box-shadow:0 0 30px rgba(255,212,0,0.5)
}

.play-overlay svg{
    width:28px;
    height:28px;
    fill:#111;
    margin-left:4px
}

.video-container:hover .play-overlay{
    opacity:1
}

/* Video glow border */
.video-container::before{
    content:'';
    position:absolute;
    top:-2px;
    left:-2px;
    right:-2px;
    bottom:-2px;
    border-radius:16px;
    background:linear-gradient(135deg,rgba(255,212,0,0.3),transparent 50%,rgba(255,107,107,0.3));
    z-index:-1;
    opacity:0.6
}

/* ========================================
   PLATFORM BADGE
   ======================================== */

.platform-badge{
    display:inline-flex;
    align-items:center;
    gap:8px;
    font-family:'Inter',sans-serif;
    font-size:12px;
    font-weight:500;
    letter-spacing:1.5px;
    text-transform:uppercase;
    color:#ffd54a;
    margin-bottom:14px;
    padding:7px 14px;
    background:rgba(255,213,74,0.1);
    border:1px solid rgba(255,213,74,0.25);
    border-radius:6px;
    opacity:0;
    animation:fadeInUp .6s ease forwards;
    animation-delay:.45s
}

.badge-icon{
    width:14px;
    height:14px;
    fill:currentColor
}

/* ========================================
   CTA BUTTON
   ======================================== */

.cta-button{
    display:inline-flex;
    align-items:center;
    gap:12px;
    padding:18px 40px;
    background:linear-gradient(135deg,#FFD400 0%,#FFC000 50%,#FFD400 100%);
    background-size:200% 200%;
    border:none;
    border-radius:12px;
    text-decoration:none;
    box-shadow:
        0 6px 30px rgba(255,212,0,0.4),
        0 0 50px rgba(255,212,0,0.15),
        inset 0 1px 0 rgba(255,255,255,0.2);
    opacity:0;
    transition:all 0.25s ease;
    animation:
        fadeInUp .6s ease forwards,
        pulseGlow 2.5s ease-in-out infinite,
        gradientShift 3s ease infinite;
    animation-delay:.55s,1.2s,1.2s
}

.prelander:hover .cta-button{
    transform:scale(1.05);
    box-shadow:
        0 0 30px rgba(255,200,0,0.8),
        0 12px 50px rgba(255,212,0,0.5),
        inset 0 1px 0 rgba(255,255,255,0.3)
}

.cta-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    width:26px;
    height:26px
}

.cta-icon svg{
    width:100%;
    height:100%;
    stroke:#111
}

.cta-text{
    font-family:'Space Grotesk',sans-serif;
    font-size:1.15rem;
    font-weight:600;
    letter-spacing:.05em;
    color:#111;
    text-transform:uppercase
}

/* ========================================
   TRUST LINES
   ======================================== */

.trust-lines{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:24px;
    margin-top:16px;
    font-family:'Inter',sans-serif;
    font-size:14px;
    font-weight:400;
    color:rgba(255,255,255,0.7);
    opacity:0;
    animation:fadeIn .6s ease forwards;
    animation-delay:.7s
}

.trust-item{
    display:flex;
    align-items:center;
    gap:6px
}

/* ========================================
   DISCLOSURE
   ======================================== */

.disclosure{
    position:absolute;
    bottom:14px;
    left:50%;
    transform:translateX(-50%);
    font-family:'Inter',sans-serif;
    font-size:.7rem;
    font-weight:500;
    color:rgba(255,255,255,0.35);
    letter-spacing:.1em;
    text-transform:uppercase;
    opacity:0;
    animation:fadeIn .5s ease forwards;
    animation-delay:.8s
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeIn{
    from{opacity:0}
    to{opacity:1}
}

@keyframes fadeInUp{
    from{
        opacity:0;
        transform:translateY(20px)
    }
    to{
        opacity:1;
        transform:translateY(0)
    }
}

@keyframes pulseGlow{
    0%,100%{
        box-shadow:
            0 6px 30px rgba(255,212,0,0.4),
            0 0 50px rgba(255,212,0,0.15),
            inset 0 1px 0 rgba(255,255,255,0.2)
    }
    50%{
        box-shadow:
            0 8px 40px rgba(255,212,0,0.55),
            0 0 70px rgba(255,212,0,0.25),
            inset 0 1px 0 rgba(255,255,255,0.3)
    }
}

@keyframes gradientShift{
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}

/* ========================================
   RESPONSIVE - TABLET (768px)
   ======================================== */

@media(max-width:768px){
    .logo{
        top:20px;
        left:20px;
        width:110px
    }
    
    .content{
        padding:16px
    }
    
    .headline{
        font-size:1.75rem;
        margin-bottom:12px
    }
    
    .headline br{
        display:none
    }
    
    .subhead{
        font-size:1rem;
        margin-bottom:18px
    }
    
    .video-container{
        max-width:480px;
        margin-bottom:18px;
        border-radius:12px
    }
    
    .platform-badge{
        font-size:11px;
        padding:6px 12px;
        margin-bottom:12px
    }
    
    .cta-button{
        padding:16px 32px;
        gap:10px
    }
    
    .cta-text{
        font-size:1rem
    }
    
    .cta-icon{
        width:22px;
        height:22px
    }
    
    .trust-lines{
        gap:16px;
        font-size:13px;
        margin-top:14px
    }
    
    .bg-glow{
        width:500px;
        height:400px
    }
}

/* ========================================
   RESPONSIVE - MOBILE (480px)
   ======================================== */

@media(max-width:480px){
    .logo{
        top:16px;
        left:16px;
        width:95px
    }
    
    .content{
        padding:12px;
        padding-top:70px
    }
    
    .headline{
        font-size:1.4rem;
        margin-bottom:10px;
        line-height:1.25
    }
    
    .subhead{
        font-size:.92rem;
        margin-bottom:16px;
        line-height:1.5
    }
    
    .video-container{
        max-width:100%;
        margin-bottom:16px;
        border-radius:10px
    }
    
    .play-overlay{
        width:50px;
        height:50px
    }
    
    .play-overlay svg{
        width:22px;
        height:22px
    }
    
    .platform-badge{
        font-size:10px;
        padding:5px 10px;
        margin-bottom:10px
    }
    
    .badge-icon{
        width:12px;
        height:12px
    }
    
    .cta-button{
        padding:14px 26px;
        gap:10px;
        border-radius:10px;
        width:100%;
        max-width:320px;
        justify-content:center
    }
    
    .cta-text{
        font-size:.95rem
    }
    
    .cta-icon{
        width:20px;
        height:20px
    }
    
    .trust-lines{
        flex-direction:column;
        gap:8px;
        font-size:12px;
        margin-top:12px
    }
    
    .bg-glow{
        width:350px;
        height:300px
    }
}

/* ========================================
   RESPONSIVE - SMALL (360px)
   ======================================== */

@media(max-width:360px){
    .headline{
        font-size:1.25rem
    }
    
    .subhead{
        font-size:.85rem
    }
    
    .cta-button{
        padding:13px 22px
    }
    
    .cta-text{
        font-size:.88rem
    }
    
    .platform-badge{
        font-size:9px
    }
}

/* ========================================
   RESPONSIVE - SHORT HEIGHT (680px)
   ======================================== */

@media(max-height:680px){
    .content{
        padding-top:60px
    }
    
    .headline{
        font-size:1.6rem;
        margin-bottom:10px
    }
    
    .subhead{
        font-size:.95rem;
        margin-bottom:14px
    }
    
    .video-container{
        max-width:420px;
        margin-bottom:14px
    }
    
    .platform-badge{
        margin-bottom:10px
    }
    
    .cta-button{
        padding:14px 30px
    }
    
    .trust-lines{
        margin-top:12px;
        font-size:12px
    }
}

/* ========================================
   RESPONSIVE - VERY SHORT (580px)
   ======================================== */

@media(max-height:580px){
    .content{
        padding-top:55px
    }
    
    .headline{
        font-size:1.35rem;
        margin-bottom:8px
    }
    
    .subhead{
        font-size:.88rem;
        margin-bottom:12px
    }
    
    .video-container{
        max-width:360px;
        margin-bottom:12px
    }
    
    .platform-badge{
        margin-bottom:8px;
        padding:4px 10px;
        font-size:9px
    }
    
    .cta-button{
        padding:12px 26px
    }
    
    .cta-text{
        font-size:.88rem
    }
    
    .trust-lines{
        margin-top:10px;
        font-size:11px;
        gap:12px
    }
}
