:root {
    --bg-color: #0b0b0b;
    --card-bg: #1a1a1a;
    --xbox-green: #107c10;
    --text-main: #ffffff;
    --text-dim: #a0a0a0;
    --premium-gold: #ffb900;
    --bg-dark: rgba(11, 11, 11, 0.85);
}

/* --- BASIS --- */
body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Segoe UI', system-ui, sans-serif;
    margin: 0; padding: 0;
}

/* --- HEADER --- */
.main-header {
    display: flex;
    align-items: center; /* Zorgt dat logo en eventuele tekst precies in het midden staan */
    justify-content: space-between; /* Houdt logo links en toekomstige menu's rechts */
    padding: 15px 25px; /* De 15px boven/onder geeft de verticale ademruimte */
    min-height: 80px;   /* Zorgt voor een stabiele hoogte van je balk */
    background-color: #1a1a1a; /* Je eigen achtergrondkleur */
}

.nav-logo {
    height: 65px; /* Jouw sweet spot */
    width: auto;
    display: block; /* Voorkomt rare witruimte onder de image */
}

.logo-container {
    display: flex;
    align-items: center;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.badge-alpha {
    background-color: #0078d4; /* Xbox blauw of kies een accentkleur van je site */
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 20px;
    margin-left: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255,255,255,0.2);
}

/* --- SHARED COMPONENTS (Tags & Buttons) --- */
.tag-new {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 10px;
    font-size: 0.7rem;
    border-radius: 4px;
    font-weight: bold;
    border-left: 4px solid #ccc; /* Default border */
}

/* Specifieke kleuren gebaseerd op jouw lijst */
.sub-ultimate { border-left-color: #107c10; }   /* Groen */
.sub-pc-game-pass { border-left-color: #808080; } /* Grijs (PC Only) */
.sub-essential { border-left-color: #0078d4; }    /* Blauw */
.sub-premium { border-left-color: #b400ff; }      /* Paars */

.read-btn {
    background: var(--xbox-green);
    color: white;
    border: none;
    padding: 12px 25px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
}

/* --- LAYOUT & SLIDERS --- */
.page-wrapper { max-width: 1800px; margin: 0 auto; padding: 20px; }

h2 { 
    margin: 30px 0 15px 0; 
    font-size: 1.4rem; 
    color: #ffffff; /* Tekst is nu wit */
    border-left: 4px solid var(--xbox-green); /* De groene verticale lijn */
    padding-left: 15px; 
    letter-spacing: 1px;
}

/* --- CARDS --- */
.game-card {
    width: 200px;
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    transition: 0.3s;
    border: 1px solid transparent;
    cursor: pointer;
    /* FIX: Voorkomt de 'sticky' klik op mobiel */
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.game-card .info {
    padding: 12px 5px;
}

.game-card .title {
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.game-card .genre-tag {
    color: var(--text-dim);
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

@media (hover: hover) {
    .game-card:hover { 
        border-color: var(--xbox-green); 
        transform: translateY(-5px); 
    }
}

/* De container voor de packshot */
.poster-wrapper { 
    position: relative; 
    width: 100%; 
    aspect-ratio: 2/3; 
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background-color: #1a1a1a; /* Donkere grijstint staat vaak mooier dan puur zwart */
}

/* De afbeelding zelf */
.poster-wrapper img { 
    width: 100%; 
    height: 100%; 
    object-fit: contain; /* Verander dit van 'cover' naar 'contain' */
    display: block;
    padding: 10px;       /* Optioneel: geeft het logo wat ademruimte van de randen */
    box-sizing: border-box;
}

/* De Play-knop cirkel (Altijd zichtbaar) */
.play-circle {
    background: rgba(0, 0, 0, 0.6); /* Donkere semi-transparante cirkel */
    border: 2px solid #ffffff;     /* Witte rand */
    border-radius: 50%;
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);    /* Maakt de cirkel extra 'smooth' */
    transition: transform 0.2s ease, background 0.2s ease;
}

/* Effect wanneer je met de muis over de packshot gaat */
.poster-wrapper:hover .play-circle {
    transform: scale(1.1);
    background: var(--xbox-green);
    border-color: #ffffff;
}

.poster-subs-on-top {
    position: absolute; bottom: 8px; left: 8px;
    display: flex; flex-direction: column; gap: 4px;
    z-index: 2; /* Zorg dat de tags boven de afbeelding blijven staan */
}

/* --- CINEMATIC VIDEO MODAL --- */
.video-modal {
    display: none; 
    position: fixed; 
    z-index: 9999; 
    top: 0; left: 0; 
    width: 100%; height: 100%;
    /* Subtiele 'blur' en donkere achtergrond */
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center; 
    justify-content: center;
    transition: opacity 0.3s ease;
}

.video-container { 
    width: 90%; 
    max-width: 1200px; 
    background: #111; /* Iets lichter dan puur zwart voor contrast */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    border: 1px solid #333;
    animation: modalIn 0.4s ease;
}

/* De titelbalk boven de video */
.modal-header {
    background: #1a1a1a;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
}

.modal-header h3 {
    margin: 0;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.close-video {
    background: none;
    border: none;
    color: #a0a0a0;
    font-size: 0.9rem;
    cursor: pointer;
    font-weight: bold;
    transition: color 0.2s;
    font-family: 'Segoe UI', sans-serif;
}

.close-video:hover {
    color: var(--xbox-green);
}

.video-placeholder {
    width: 100%;
    aspect-ratio: 16/9; /* Dwingt de juiste verhouding */
    background: #000;
}

/* Subtiele animatie bij openen */
@keyframes modalIn {
    from { opacity: 0; transform: scale(0.95) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

/* --- NIEUWE BADGE POSITIONERING --- */
.top-right-badges {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
}

.bottom-left-badges {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 2;
}

/* --- MUST PLAY BADGE STYLING --- */
.must-play-badge {
    position: absolute;
    top: 10px;
    right: 10px; /* Nu aan de rechterkant */
    z-index: 2;
    background: var(--premium-gold);
    color: #000;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 900;
    font-size: 0.65rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.3);
}

.badge-icon {
    font-size: 0.8rem;
}

/* --- COMING DATE STYLING --- */
.tag-coming {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8); /* Donkere achtergrond voor leesbaarheid */
    color: #fff;
    padding: 8px;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
}

/* De Trailer Speler */
.video-wrapper {
    background: #000;
    aspect-ratio: 16/9;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #333;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    display: block;
}

/* Action Links (Buttons) */
.game-actions {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.btn-xbox {
    background: #107c10;
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    flex: 1;
    text-align: center;
}

/* --- SCHONE LIJST STYLING --- */

/* 1. RESET: Verwijder vinkjes van ALLE standaard lijsten in de content */
#content li::before, 
.article-wrapper li::before {
    content: none !important;
}

/* 2. DE CHECKLIST: Zet vinkjes specifiek weer AAN voor deze class */
.xbox-check-list {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 25px 0;
}

.xbox-check-list li {
    position: relative !important;
    padding-left: 35px !important; /* Ruimte voor het vinkje */
    margin-bottom: 12px;
    list-style-type: none !important;
}

/* De 'Selector' hieronder is nu sterker dan de reset hierboven */
.article-wrapper ul.xbox-check-list li::before,
#content ul.xbox-check-list li::before {
    content: '✓' !important; /* Dwing het vinkje terug */
    position: absolute !important;
    left: 0;
    top: 0;
    color: #107c10 !important; /* Xbox Groen */
    font-weight: 900 !important;
    font-size: 1.2rem;
    display: block !important;
}

/* 3. DE STANDAARD BULLETS: Gewone bolletjes */
.standard-bullet-list {
    list-style-type: disc !important;
    padding-left: 40px !important;
    margin: 25px 0;
}

.standard-bullet-list li {
    position: static !important;
    padding-left: 0 !important;
    list-style-type: disc !important;
}