/* ========================================
   PRELANDER V2 - IMPROVED UI
   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
}

/* ========================================
   HERO BACKGROUND IMAGE
   ======================================== */

.hero-bg{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    z-index:0
}

.hero-bg img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center
}

/* Dark Overlay for Readability */
.hero-overlay{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:linear-gradient(
        to bottom,
        rgba(8,9,11,0.7) 0%,
        rgba(8,9,11,0.6) 30%,
        rgba(8,9,11,0.7) 70%,
        rgba(8,9,11,0.9) 100%
    );
    z-index:1
}

/* ========================================
   AMBIENT GLOW EFFECT (Micro Movement)
   ======================================== */

.ambient-glow{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:600px;
    height:600px;
    background:radial-gradient(circle,rgba(255,212,0,0.08) 0%,transparent 70%);
    z-index:2;
    pointer-events:none;
    animation:ambientPulse 4s ease-in-out infinite
}

@keyframes ambientPulse{
    0%,100%{
        opacity:0.6;
        transform:translate(-50%,-50%) scale(1)
    }
    50%{
        opacity:1;
        transform:translate(-50%,-50%) scale(1.1)
    }
}

/* ========================================
   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;
    filter:drop-shadow(0 2px 8px rgba(0,0,0,0.5))
}

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

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

/* ========================================
   HEADLINE - SPACE GROTESK 700
   ======================================== */

.headline{
    font-family:'Space Grotesk',sans-serif;
    font-size:2.8rem;
    font-weight:700;
    line-height:1.15;
    margin-bottom:20px;
    letter-spacing:-.02em;
    color:#fff;
    text-shadow:0 4px 20px rgba(0,0,0,0.5);
    opacity:0;
    animation:fadeInUp .6s ease forwards;
    animation-delay:.2s
}

/* ========================================
   SUBHEADLINE - INTER 400
   ======================================== */

.subhead{
    font-family:'Inter',sans-serif;
    font-size:1.25rem;
    font-weight:400;
    color:rgba(255,255,255,0.9);
    line-height:1.6;
    margin-bottom:28px;
    max-width:600px;
    text-shadow:0 2px 10px rgba(0,0,0,0.4);
    opacity:0;
    animation:fadeInUp .6s ease forwards;
    animation-delay:.35s
}

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

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

.platform-badge{
    display:inline-flex;
    align-items:center;
    gap:8px;
    font-family:'Inter',sans-serif;
    font-size:13px;
    font-weight:500;
    letter-spacing:1.5px;
    text-transform:uppercase;
    color:#ffd54a;
    margin-bottom:16px;
    padding:8px 16px;
    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:16px;
    height:16px;
    fill:currentColor
}

/* ========================================
   CTA BUTTON - WITH DOWNLOAD ICON
   ======================================== */

.cta-button{
    display:inline-flex;
    align-items:center;
    gap:12px;
    padding:18px 36px;
    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 60px 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 25px rgba(255,200,0,0.8),
        0 10px 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.1rem;
    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:18px;
    font-family:'Inter',sans-serif;
    font-size:14px;
    font-weight:400;
    color:rgba(255,255,255,0.75);
    opacity:0;
    animation:fadeIn .6s ease forwards;
    animation-delay:.7s
}

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

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

.disclosure{
    position:absolute;
    bottom:16px;
    left:50%;
    transform:translateX(-50%);
    font-family:'Inter',sans-serif;
    font-size:.7rem;
    font-weight:500;
    color:rgba(255,255,255,0.4);
    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 60px 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 80px 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:2.1rem;
        margin-bottom:16px
    }
    
    .subhead{
        font-size:1.1rem;
        margin-bottom:24px
    }
    
    .platform-badge{
        font-size:12px;
        padding:6px 14px;
        margin-bottom:14px
    }
    
    .cta-button{
        padding:16px 30px;
        gap:10px
    }
    
    .cta-text{
        font-size:1rem
    }
    
    .cta-icon{
        width:22px;
        height:22px
    }
    
    .trust-lines{
        gap:16px;
        font-size:13px;
        margin-top:16px
    }
    
    .ambient-glow{
        width:400px;
        height:400px
    }
}

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

@media(max-width:480px){
    .logo{
        top:16px;
        left:16px;
        width:95px
    }
    
    .content{
        padding:12px;
        padding-top:80px
    }
    
    .headline{
        font-size:1.65rem;
        margin-bottom:14px;
        line-height:1.2
    }
    
    .subhead{
        font-size:1rem;
        margin-bottom:20px;
        line-height:1.5
    }
    
    .platform-badge{
        font-size:11px;
        padding:6px 12px;
        margin-bottom:12px;
        letter-spacing:1px
    }
    
    .badge-icon{
        width:14px;
        height:14px
    }
    
    .cta-button{
        padding:14px 24px;
        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:14px
    }
    
    .ambient-glow{
        width:300px;
        height:300px
    }
}

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

@media(max-width:360px){
    .headline{
        font-size:1.45rem
    }
    
    .subhead{
        font-size:.92rem
    }
    
    .cta-button{
        padding:13px 20px
    }
    
    .cta-text{
        font-size:.88rem
    }
    
    .platform-badge{
        font-size:10px
    }
}

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

@media(max-height:650px){
    .content{
        padding-top:70px
    }
    
    .headline{
        font-size:1.8rem;
        margin-bottom:12px
    }
    
    .subhead{
        font-size:1.05rem;
        margin-bottom:18px
    }
    
    .platform-badge{
        margin-bottom:12px
    }
    
    .cta-button{
        padding:14px 28px
    }
    
    .trust-lines{
        margin-top:14px;
        font-size:13px
    }
}

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

@media(max-height:550px){
    .content{
        padding-top:60px
    }
    
    .headline{
        font-size:1.5rem;
        margin-bottom:10px
    }
    
    .subhead{
        font-size:.95rem;
        margin-bottom:16px
    }
    
    .platform-badge{
        margin-bottom:10px;
        padding:5px 10px;
        font-size:10px
    }
    
    .cta-button{
        padding:12px 24px
    }
    
    .cta-text{
        font-size:.9rem
    }
    
    .trust-lines{
        margin-top:12px;
        font-size:12px
    }
}
