/* ========================================
   ARKNIGHTS ENDFIELD PRELANDER v2.1
   style.css - Endfield Yellow Theme
   ======================================== */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    min-height: 100vh;
    overflow-x: hidden;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #07080a;
    color: #ffffff;
}

/* ========================================
   MAIN CONTAINER - STRICT 100VH
   ======================================== */

.prelander {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    cursor: pointer;
}

/* ===============================
   CENTER CONTENT FIX
================================ */

.content {
    position: relative;
    z-index: 5;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

/* ========================================
   LOGO - TOP LEFT
   ======================================== */

.logo {
    position: absolute;
    top: 35px;
    left: 50px;        /* plus respirant */
    width: 120px;      /* plus élégant */
    z-index: 30;
    opacity: 0.95;
}

.logo svg {
    width: 100%;
    height: auto;
    color: #ffffff;
}
.logo:hover svg {
    opacity: 1;
}

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

.bg-glow {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(255, 212, 0, 0.06) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    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;
    pointer-events: none;
    z-index: 0;
}

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

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

/* ===================================== */
/* GLOBAL FONT SETUP */
/* ===================================== */

body {
    font-family: 'Inter', sans-serif;
}

/* ========================================
   HEADLINE - WHITE WITH YELLOW ACCENT
   ======================================== */

.headline {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    color: #ffffff;
    opacity: 0;
    transform: translateY(15px);
    animation: fadeInUp 0.5s ease forwards;
    animation-delay: 0.1s;
}

.headline-accent {
    color: #FFD400;
    text-shadow: 0 0 20px rgba(255, 212, 0, 0.25);
}

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

.subhead {
    font-size: 1rem;
    font-weight: 400;
    color: #8b95a5;
    line-height: 1.5;
    margin-bottom: 20px;
    max-width: 600px;
    opacity: 0;
    transform: translateY(15px);
    animation: fadeInUp 0.5s ease forwards;
    animation-delay: 0.2s;
}

/* ========================================
   CTA BUTTON - ENDFIELD YELLOW
   ======================================== */

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    font-size: 1rem;
    font-weight: 600;
    color: #111111;
    background: #FFD400;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    margin-top: 10px;
    opacity: 0;
    transform: translateY(15px);
    animation: fadeInUp 0.5s ease forwards;
    animation-delay: 0.3s;
    box-shadow: 0 4px 15px rgba(255, 212, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cta-button:hover {
    background: #FFC400;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 212, 0, 0.35);
}

.cta-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(255, 212, 0, 0.2);
}

.cta-icon {
    font-size: 0.8rem;
}

/* ========================================
   VIDEO SECTION WITH DARK OVERLAY
   ======================================== */

.video-container {
    position: relative;
    width: 100%;
    max-width: 750px;
    height: 42vh;
    max-height: 350px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
    opacity: 0;
    transform: translateY(15px);
    animation: fadeInUp 0.5s ease forwards;
    animation-delay: 0.4s;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05);
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* Dark overlay for readability */
.video-overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    pointer-events: none;
    z-index: 1;
}



/* Top gradient for polish */
.video-overlay-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(
        to bottom,
        rgba(7, 8, 10, 0.5) 0%,
        rgba(7, 8, 10, 0) 100%
    );
    pointer-events: none;
    z-index: 2;
}

/* Video border glow effect - Yellow */
.video-container::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 13px;
    background: linear-gradient(135deg, rgba(255, 212, 0, 0.15), transparent, rgba(255, 196, 0, 0.15));
    z-index: -1;
    opacity: 0.5;
}

/* ========================================
   PLATFORM ICONS
   ======================================== */

.platforms {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
    animation-delay: 0.5s;
}

.platform {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #5a6270;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.platform:hover {
    color: #FFD400;
}

.platform svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

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

.disclosure {
    text-align: center;
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 40px 0;
}

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

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

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

/* ========================================
   RESPONSIVE - TABLET
   ======================================== */

@media (max-width: 768px) {
    .logo {
        top: 20px;
        left: 20px;
        width: 100px;
    }

    .content {
        padding: 16px;
    }

    .headline {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }

    .headline br {
        display: none;
    }

    .subhead {
        font-size: 0.9rem;
        margin-bottom: 16px;
    }

    .subhead br {
        display: none;
    }

    .cta-button {
        padding: 12px 28px;
        font-size: 0.9rem;
        margin-bottom: 16px;
    }

    .video-container {
        height: 35vh;
        max-height: 280px;
        border-radius: 8px;
        margin-bottom: 14px;
    }

    .video-overlay-bottom {
        height: 100px;
    }

    .platforms {
        gap: 20px;
    }

    .platform {
        font-size: 0.7rem;
    }

    .platform svg {
        width: 16px;
        height: 16px;
    }
}

/* ========================================
   RESPONSIVE - MOBILE
   ======================================== */

@media (max-width: 480px) {
    .logo {
        top: 15px;
        left: 15px;
        width: 90px;
    }

    .content {
        padding: 12px;
        justify-content: flex-start;
        padding-top: 5vh;
    }

    .headline {
        font-size: 1.35rem;
        margin-bottom: 8px;
    }

    .subhead {
        font-size: 0.82rem;
        margin-bottom: 14px;
        line-height: 1.4;
    }

    .cta-button {
        padding: 12px 24px;
        font-size: 0.85rem;
        width: 100%;
        max-width: 280px;
        justify-content: center;
        margin-bottom: 14px;
    }

    .video-container {
        height: 32vh;
        max-height: 240px;
        border-radius: 8px;
        margin-bottom: 12px;
    }

    .video-overlay-bottom {
        height: 80px;
    }

    .platforms {
        gap: 14px;
        flex-wrap: wrap;
    }

    .platform {
        font-size: 0.65rem;
    }

    .platform svg {
        width: 14px;
        height: 14px;
    }

    .bg-glow {
        width: 400px;
        height: 300px;
    }
}

/* ========================================
   RESPONSIVE - VERY SMALL SCREENS
   ======================================== */

@media (max-width: 360px) {
    .logo {
        width: 80px;
    }

    .headline {
        font-size: 1.2rem;
    }

    .subhead {
        font-size: 0.78rem;
    }

    .video-container {
        height: 28vh;
        max-height: 200px;
    }
}

/* ========================================
   RESPONSIVE - LARGE SCREENS
   ======================================== */

@media (min-width: 1200px) {
    .logo {
        top: 30px;
        left: 50px;
        width: 160px;
    }

    .headline {
        font-size: 2.8rem;
    }

    .subhead {
        font-size: 1.15rem;
        max-width: 650px;
    }

    .cta-button {
        padding: 16px 44px;
        font-size: 1.05rem;
    }

    .video-container {
        max-width: 850px;
        height: 45vh;
        max-height: 420px;
    }

    .platforms {
        gap: 36px;
    }

    .platform {
        font-size: 0.85rem;
    }
}

/* ========================================
   LANDSCAPE MOBILE FIX
   ======================================== */

@media (max-height: 500px) and (orientation: landscape) {
    .logo {
        top: 10px;
        left: 15px;
        width: 80px;
    }

    .content {
        padding: 10px;
        justify-content: center;
    }

    .headline {
        font-size: 1.2rem;
        margin-bottom: 6px;
    }

    .subhead {
        font-size: 0.75rem;
        margin-bottom: 10px;
    }

    .cta-button {
        padding: 10px 24px;
        font-size: 0.8rem;
        margin-bottom: 10px;
    }

    .video-container {
        height: 40vh;
        max-height: 180px;
        margin-bottom: 8px;
    }

    .video-overlay-bottom {
        height: 60px;
    }

    .platforms {
        gap: 16px;
    }

    .platform {
        font-size: 0.65rem;
    }
   } 

/* ===================================== */
/* FULL HERO CLICKABLE (SAFE SETUP)     */
/* ===================================== */


.content {
    position: relative;
    z-index: 2;
  }  

.cta-button {
    position: relative;
    z-index: 3;
    pointer-events: auto;
}

.micro-proof {
    margin-top: 14px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.3px;
}

.micro-trust {
    margin-top: 18px;
    margin-bottom: 28px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.75);
}

