/* --- RESET & DESIGN SYSTEM --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    scroll-behavior: smooth;
    text-transform: uppercase;
}

body {
    background-color: #000000;
    color: #ffffff;
    overflow-x: hidden;
    letter-spacing: 1px;
}

/* --- FIXED TOP HEADER --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    height: 70px;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #222222;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.header-left, .header-right {
    display: flex;
    align-items: center;
    gap: 25px;
    height: 100%;
}

.logo-wrapper {
    height: 44px;
    width: 44px;
    cursor: pointer;
    border: 2px solid #d62828;
    padding: 2px;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s ease;
}

.logo-wrapper:hover { border-color: #b89430; }

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
    height: 100%;
    list-style: none;
}

nav a, .dropdown-trigger {
    color: #aaaaaa;
    text-decoration: none;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1.5px;
    transition: color 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
    display: flex;
    align-items: center;
    height: 100%;
}

nav a:hover, nav a.active, .nav-dropdown:hover .dropdown-trigger { color: #ffffff; }

/* Dropdown Styles */
.nav-dropdown, .user-dropdown { position: relative; height: 100%; display: flex; align-items: center; }

.dropdown-menu {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 400px;
    background: #0a0a0a;
    border: 1px solid #222222;
    border-top: 3px solid #d62828;
    padding: 20px;
    z-index: 1100;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.95);
}

.nav-dropdown:hover .dropdown-menu { display: block; }

.dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #222222;
    font-size: 11px;
    font-weight: 800;
    color: #888888;
}

.dropdown-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }

.dropdown-card {
    border: 1px solid #222222;
    background: #000000;
    text-align: center;
    transition: border-color 0.2s ease;
    cursor: pointer;
}

.dropdown-card:hover { border-color: #d62828; }
.dropdown-card img { width: 100%; height: 90px; object-fit: cover; display: block; }
.dropdown-card-title { padding: 8px 5px; font-size: 10px; font-weight: 800; color: #ffffff; }

.btn-launcher {
    border: 1px solid #ffffff !important;
    background: transparent;
    color: #ffffff !important;
    padding: 8px 18px !important;
    border-radius: 20px;
    font-size: 11px !important;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-launcher:hover { background: #ffffff !important; color: #000000 !important; }

.icon-btn {
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    transition: color 0.2s ease;
}

.icon-btn:hover { color: #b89430; }

.user-menu {
    display: none;
    position: absolute;
    top: 70px;
    right: 0;
    width: 160px;
    background: #0a0a0a;
    border: 1px solid #222222;
    border-top: 3px solid #d62828;
    z-index: 1100;
}

.user-dropdown:hover .user-menu { display: block; }

.user-menu a {
    display: block;
    padding: 12px 16px;
    color: #aaaaaa;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}

.user-menu a:hover { background: #111111; color: #b89430; }

/* --- PAGES LAYOUT --- */
.page { display: none; min-height: 100vh; padding-top: 70px; }
.page.active-page { display: block; }

/* SEARCH MODAL */
.search-modal {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    padding: 50px 8%;
}

.search-modal.active { display: block; }
.search-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid #d62828;
    color: #ffffff;
    font-size: 28px;
    padding: 15px 0;
    outline: none;
}

/* HERO SLIDER */
.hero-slider-container {
    position: relative;
    width: 100%;
    height: calc(100vh - 70px);
    min-height: 550px;
    background: #000000;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: flex-end;
    padding: 60px 8%;
    background-size: cover;
    background-position: center;
}

.hero-slide.active { opacity: 1; z-index: 2; }
.hero-content { z-index: 3; max-width: 600px; }
.hero-title { font-size: clamp(32px, 5vw, 64px); font-weight: 900; line-height: 1.1; margin-bottom: 15px; }
.hero-subtitle { font-size: 14px; color: #cccccc; margin-bottom: 25px; letter-spacing: 2px; }
.hero-actions { display: flex; gap: 15px; }

/* BUTTONS */
.btn {
    background: #d62828;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 2px;
    border: none;
    display: inline-block;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn:hover { background: #b89430; color: #000000; }
.btn-outline { background: transparent; border: 2px solid #ffffff; }

/* HERO CONTROLS */
.hero-controls {
    position: absolute;
    bottom: 30px;
    right: 8%;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 15px;
}

.pause-btn {
    background: transparent;
    border: 1px solid #ffffff;
    color: #ffffff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
}

.slider-indicators { display: flex; gap: 10px; }
.indicator { width: 40px; height: 4px; background: rgba(255, 255, 255, 0.3); cursor: pointer; }
.indicator.active .progress-bar { width: 100%; height: 100%; background: #d62828; }

/* --- PER-GAME INDIVIDUAL SHOWCASE SECTIONS --- */
.game-showcase-block {
    position: relative;
    background: #000000;
    border-bottom: 2px solid #111;
}

.sticky-showcase-container {
    position: relative;
    height: calc(100vh - 70px);
    width: 100%;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    opacity: 0.45;
}

.video-background iframe {
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.77vh;
}

.showcase-overlay-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 8%;
    z-index: 5;
    background: linear-gradient(to right, rgba(0,0,0,0.85) 0%, transparent 70%);
}

.showcase-game-card { max-width: 550px; }

.platform-badges { display: flex; gap: 8px; flex-wrap: wrap; margin: 15px 0 25px 0; }
.badge { background: #111111; border: 1px solid #333333; padding: 4px 10px; font-size: 9px; font-weight: 700; }

/* INSTA-GRID PER GAME */
.grid-section { padding: 60px 8% 80px 8%; background: #050505; border-top: 1px solid #151515; }
.section-header { margin-bottom: 30px; font-size: 20px; font-weight: 900; color: #d62828; }

.insta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.insta-card {
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: center;
    position: relative;
    border: 1px solid #222222;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    transition: border-color 0.3s ease;
}

.insta-card:hover { border-color: #d62828; }

.insta-card-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    z-index: 1;
}

.insta-card-content { z-index: 2; }
.insta-card-title { font-size: 14px; font-weight: 800; margin-bottom: 10px; }

/* --- NEWSLETTER SECTION --- */
.newsletter-section {
    padding: 80px 8%;
    background: #0a0a0a;
    border-top: 1px solid #222222;
    text-align: center;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    max-width: 500px;
    margin: 25px auto 0 auto;
}

.newsletter-input {
    flex: 1;
    background: #000;
    border: 1px solid #333;
    padding: 12px 15px;
    color: #fff;
    outline: none;
}

/* --- GAME DEDICATED PAGE STYLES --- */
.game-banner {
    width: 100%;
    height: 60vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 40px 8%;
}

.game-banner-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, #000000 0%, transparent 100%);
}

.game-banner-details { z-index: 2; }

.zigzag-container { padding: 80px 8%; }

.zigzag-row {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
}

.zigzag-row.reverse { flex-direction: row-reverse; }

.zigzag-text { flex: 1; }
.zigzag-text h3 { font-size: 28px; margin-bottom: 15px; }
.zigzag-text p { color: #aaaaaa; line-height: 1.6; font-size: 13px; text-transform: none; }

.zigzag-image { flex: 1; }
.zigzag-image img { width: 100%; border: 1px solid #222; }

/* --- PRESS & MEDIA PAGE --- */
.press-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.press-card { background: #0a0a0a; border: 1px solid #222; padding: 30px; }
.press-card h3 { margin-bottom: 15px; }

/* --- SUPPORT & LAUNCHER PAGES --- */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-size: 11px; font-weight: 700; }
.form-control { width: 100%; background: #0a0a0a; border: 1px solid #222; padding: 12px; color: #fff; outline: none; }

.launcher-hero {
    height: calc(100vh - 70px);
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://cdn.corenexis.com/f/QR27DNcnrY9.png') center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

/* --- PROFESSIONAL AAA STUDIO FOOTER --- */
.site-footer {
    background: #050505;
    border-top: 1px solid #151515;
    padding: 40px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #888888;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    flex-wrap: wrap;
    gap: 20px;
}

.site-footer p {
    color: #888888;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.footer-links a {
    color: #aaaaaa;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #d62828;
}

/* --- MOBILE & ANDROID RESPONSIVENESS --- */
@media (max-width: 768px) {
    header { padding: 0 15px; }
    .nav-links { display: none; }
    .hero-slide { padding: 40px 20px; align-items: center; text-align: center; }
    .hero-content { max-width: 100%; }
    .hero-actions { justify-content: center; flex-wrap: wrap; }
    .showcase-overlay-content { padding: 0 20px; background: rgba(0, 0, 0, 0.85); text-align: center; justify-content: center; }
    .showcase-game-card { max-width: 100%; }
    .platform-badges { justify-content: center; }
    .grid-section, .zigzag-container, .newsletter-section { padding: 40px 20px; }
    .zigzag-row, .zigzag-row.reverse { flex-direction: column !important; gap: 30px; text-align: center; }
    .newsletter-form { flex-direction: column; }
    .dropdown-menu { width: 90vw; left: 5vw; }
    .site-footer {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }
}
/* Search Results Custom Scrollbar */
.search-results-list::-webkit-scrollbar {
    width: 6px;
}
.search-results-list::-webkit-scrollbar-thumb {
    background: #d62828;
    border-radius: 3px;
}
.search-results-list::-webkit-scrollbar-track {
    background: #000000;
}