/* ============================================
   OUVRE LA BOÎTE - Style principal
   Palette : Marron bois #6B4F3A | Crème #F5E6D3 | Rouge brique #C44536 | Jaune chaud #F4B942
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Nunito', sans-serif;
    background-color: #F5E6D3;
    color: #3a2e25;
    line-height: 1.7;
    font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #C44536; text-decoration: none; transition: color 0.2s; }
a:hover { color: #6B4F3A; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- Titres --- */
h1, h2, h3, h4 { font-family: 'Fredoka One', cursive; color: #6B4F3A; line-height: 1.3; }
h1 { font-size: 2.4rem; margin-bottom: 20px; }
h2 { font-size: 1.8rem; margin-bottom: 16px; }
h3 { font-size: 1.3rem; margin-bottom: 12px; }

/* --- Header --- */
.site-header {
    background: #6B4F3A;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 3px 15px rgba(107, 79, 58, 0.3);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #F5E6D3;
}
.logo-icon { font-size: 2rem; }
.logo-text {
    font-family: 'Fredoka One', cursive;
    font-size: 1.5rem;
    color: #F4B942;
}
.main-nav > ul {
    display: flex;
    gap: 8px;
    align-items: center;
}
.main-nav a {
    color: #F5E6D3;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.2s, color 0.2s;
}
.main-nav a:hover {
    background: rgba(244, 185, 66, 0.2);
    color: #F4B942;
}

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    min-width: 240px;
    padding: 8px 0;
    z-index: 200;
}
.dropdown li a {
    display: block;
    padding: 10px 20px;
    color: #3a2e25;
    font-size: 0.9rem;
}
.dropdown li a:hover {
    background: #F5E6D3;
    color: #C44536;
}

/* Menu mobile */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}
.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: #F5E6D3;
    border-radius: 3px;
    transition: transform 0.3s, opacity 0.3s;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* --- Hero (Homepage) --- */
.hero {
    background: linear-gradient(135deg, #6B4F3A 0%, #8B6F5A 100%);
    padding: 80px 0 60px;
    text-align: center;
    color: #F5E6D3;
}
.hero h1 {
    color: #F4B942;
    font-size: 3rem;
    margin-bottom: 16px;
}
.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.9;
}
.hero-cta {
    display: inline-block;
    background: #C44536;
    color: #fff;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: background 0.3s, transform 0.2s;
}
.hero-cta:hover {
    background: #a33828;
    color: #fff;
    transform: translateY(-2px);
}

/* Hero small (pages intérieures) */
.hero-small { padding: 50px 0 35px; }
.hero-small h1 { font-size: 2.2rem; }
.hero-small p { margin-bottom: 0; }

/* Category count */
.category-count {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.85rem;
    color: #8B6F5A;
    font-weight: 600;
}

/* Quiz form */
.quiz-form { display: flex; flex-direction: column; gap: 28px; }
.quiz-question label { display: block; font-weight: 700; font-size: 1.05rem; margin-bottom: 8px; color: #6B4F3A; }
.quiz-question select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #d4c4b4;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Nunito', sans-serif;
    background: #fff;
    color: #3a2e25;
    cursor: pointer;
}
.quiz-question select:focus { border-color: #C44536; outline: none; }
.quiz-checkboxes { display: flex; flex-wrap: wrap; gap: 10px; }
.quiz-checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    border: 2px solid #d4c4b4;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}
.quiz-checkbox:has(input:checked) { border-color: #C44536; background: #fdf0ee; }
.quiz-checkbox input { accent-color: #C44536; }

/* --- Grille de jeux --- */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    padding: 40px 0;
}

/* --- Carte jeu (listing) --- */
.game-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(107, 79, 58, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}
.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(107, 79, 58, 0.2);
}
.game-card-img {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: #efe0d0;
}
.game-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}
.game-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #F4B942;
    color: #6B4F3A;
    font-weight: 800;
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
}
.game-card-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(58, 46, 37, 0.85));
    color: #fff;
    font-family: 'Fredoka One', cursive;
    font-size: 1rem;
    padding: 30px 14px 10px;
    text-align: center;
}
.game-card-body { padding: 20px; }
.game-card-body h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}
.game-card-body h3 a { color: #6B4F3A; }
.game-card-body h3 a:hover { color: #C44536; }
.game-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: #8a7668;
}
.game-card-meta span { display: flex; align-items: center; gap: 4px; }
.game-card-excerpt {
    font-size: 0.9rem;
    color: #5a4a3a;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.game-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* --- Étoiles --- */
.stars { display: flex; align-items: center; gap: 2px; }
.star { font-size: 1.1rem; }
.star.full { color: #F4B942; }
.star.half { color: #F4B942; opacity: 0.6; }
.star.empty { color: #d4c4b4; }
.stars-note { margin-left: 6px; font-size: 0.85rem; font-weight: 700; color: #6B4F3A; }

/* --- Boutons --- */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}
.btn-primary { background: #C44536; color: #fff; }
.btn-primary:hover { background: #a33828; color: #fff; transform: translateY(-1px); }
.btn-secondary { background: #6B4F3A; color: #F5E6D3; }
.btn-secondary:hover { background: #5a3f2e; color: #fff; }
.btn-outline {
    background: transparent;
    color: #C44536;
    border: 2px solid #C44536;
}
.btn-outline:hover { background: #C44536; color: #fff; }
.btn-amazon {
    background: #F4B942;
    color: #6B4F3A;
    font-weight: 800;
    padding: 14px 30px;
    font-size: 1rem;
}
.btn-amazon:hover { background: #e5a830; color: #3a2e25; transform: translateY(-2px); }

/* --- Page fiche jeu --- */
.game-hero {
    background: linear-gradient(135deg, #6B4F3A, #8B6F5A);
    padding: 40px 0;
}
.game-hero-inner {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 50px;
    align-items: center;
}
.game-hero-img {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
.game-hero-img img {
    width: 100%;
    object-fit: contain;
}
.game-hero-info { color: #F5E6D3; }
.game-hero-info h1 {
    color: #F4B942;
    font-size: 2.6rem;
    margin-bottom: 12px;
}
.game-hero-info .stars { margin-bottom: 16px; }
.game-hero-info .stars .star.full,
.game-hero-info .stars .star.half { color: #F4B942; }
.game-hero-info .stars .star.empty { color: rgba(255,255,255,0.3); }
.game-hero-info .stars-note { color: #F5E6D3; }
.game-hero-tagline {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 24px;
    line-height: 1.6;
}

/* Infos techniques dans le hero */
.game-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}
.game-spec {
    background: rgba(255,255,255,0.12);
    padding: 10px 18px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}
.game-spec-icon { font-size: 1.3rem; }
.game-spec-label { opacity: 0.7; font-size: 0.8rem; }
.game-spec-value { font-weight: 700; }

/* Corps de la fiche */
.game-content {
    padding: 50px 0;
}
.game-content-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
}
.game-main h2 {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #efe0d0;
}
.game-main h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.game-main p { margin-bottom: 16px; }

/* Verdict / Points forts-faibles */
.verdict-box {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 4px 15px rgba(107, 79, 58, 0.08);
}
.verdict-box h3 { color: #6B4F3A; margin-bottom: 16px; }
.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.pros h4, .cons h4 {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    margin-bottom: 10px;
    font-size: 1rem;
}
.pros h4 { color: #2d8a4e; }
.cons h4 { color: #C44536; }
.pros li, .cons li {
    padding: 6px 0;
    padding-left: 24px;
    position: relative;
    font-size: 0.95rem;
}
.pros li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2d8a4e;
    font-weight: 800;
}
.cons li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: #C44536;
    font-weight: 800;
}

/* Bloc notation détaillée */
.notation-box {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 2px solid #F5E6D3;
}
.notation-box h4 {
    font-family: 'Fredoka One', cursive;
    color: #6B4F3A;
    margin-bottom: 16px;
    font-size: 1.1rem;
}
.notation-criteria {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.notation-row {
    display: flex;
    align-items: center;
    gap: 12px;
}
.notation-label {
    flex: 0 0 160px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #3a2e25;
}
.notation-bar-bg {
    flex: 1;
    height: 10px;
    background: #F5E6D3;
    border-radius: 5px;
    overflow: hidden;
}
.notation-bar-fill {
    height: 100%;
    border-radius: 5px;
    transition: width 0.3s ease;
}
.notation-bar-fill[data-score="1"] { width: 20%; background: #C44536; }
.notation-bar-fill[data-score="2"] { width: 40%; background: #e07b3c; }
.notation-bar-fill[data-score="3"] { width: 60%; background: #F4B942; }
.notation-bar-fill[data-score="4"] { width: 80%; background: #8ab644; }
.notation-bar-fill[data-score="5"] { width: 100%; background: #2d8a4e; }
.notation-score {
    flex: 0 0 35px;
    font-weight: 800;
    font-size: 0.9rem;
    text-align: right;
    color: #6B4F3A;
}
.notation-final {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #F5E6D3;
}
.notation-final-label {
    font-family: 'Fredoka One', cursive;
    color: #6B4F3A;
    font-size: 1rem;
}
.notation-final-score {
    font-family: 'Fredoka One', cursive;
    font-size: 1.4rem;
    color: #C44536;
}
/* Intro texte catégories et listings */
.category-intro {
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #5a4a3a;
}

/* Sidebar */
.game-sidebar { position: sticky; top: 90px; }
.sidebar-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(107, 79, 58, 0.08);
}
.sidebar-card h3 { font-size: 1.1rem; margin-bottom: 14px; }
.sidebar-specs { display: flex; flex-direction: column; gap: 12px; }
.sidebar-spec {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0e6da;
    font-size: 0.9rem;
}
.sidebar-spec:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-spec-label { color: #8a7668; }
.sidebar-spec-value { font-weight: 700; color: #6B4F3A; }
.sidebar-cta {
    text-align: center;
    margin-top: 20px;
}
.sidebar-cta .btn-amazon { width: 100%; display: block; }

/* Tags catégories */
.game-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}
.game-tag {
    background: #F5E6D3;
    color: #6B4F3A;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    transition: background 0.2s;
}
.game-tag:hover { background: #F4B942; color: #6B4F3A; }

/* Règles du jeu */
.rules-section {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    margin: 30px 0;
}
.rules-section h2 { border: none; margin-top: 0; padding-top: 0; }
.rules-step {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    align-items: flex-start;
}
.rules-step-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: #F4B942;
    color: #6B4F3A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.95rem;
}
.rules-step-text { flex: 1; padding-top: 6px; }

/* Encart "A qui s'adresse ce jeu" */
.audience-box {
    background: linear-gradient(135deg, #F4B942 0%, #f0a820 100%);
    border-radius: 16px;
    padding: 30px;
    margin: 30px 0;
    color: #3a2e25;
}
.audience-box h3 {
    color: #6B4F3A;
    margin-bottom: 14px;
}
.audience-box ul { list-style: none; }
.audience-box li {
    padding: 6px 0;
    padding-left: 28px;
    position: relative;
    font-weight: 600;
}
.audience-box li::before {
    content: '→';
    position: absolute;
    left: 0;
    font-weight: 800;
}

/* Breadcrumb */
.breadcrumb {
    padding: 14px 0;
    font-size: 0.85rem;
    color: #8a7668;
}
.breadcrumb a { color: #8a7668; }
.breadcrumb a:hover { color: #C44536; }
.breadcrumb span { margin: 0 8px; }

/* --- Section homepage --- */
.section { padding: 50px 0; }
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}
.section-header h2 { margin-bottom: 0; }

/* Catégories grille */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}
.category-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 3px 10px rgba(107, 79, 58, 0.08);
}
.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(107, 79, 58, 0.15);
}
.category-card-icon { font-size: 2.5rem; margin-bottom: 10px; }
.category-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.category-card h3 a { color: #6B4F3A; }
.category-card p { font-size: 0.85rem; color: #8a7668; }

/* --- Quiz CTA banner --- */
.quiz-banner {
    background: linear-gradient(135deg, #C44536, #a33828);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    color: #fff;
    margin: 50px 0;
}
.quiz-banner h2 { color: #F4B942; margin-bottom: 12px; }
.quiz-banner p { margin-bottom: 20px; opacity: 0.9; font-size: 1.05rem; }
.quiz-banner .btn {
    background: #F4B942;
    color: #6B4F3A;
    font-size: 1.1rem;
    padding: 14px 40px;
}
.quiz-banner .btn:hover { background: #e5a830; }

/* --- Footer --- */
.site-footer {
    background: #6B4F3A;
    color: #d4c4b4;
    padding: 50px 0 0;
    margin-top: 60px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.footer-logo .logo-icon { font-size: 1.5rem; }
.footer-logo .logo-text { font-family: 'Fredoka One', cursive; font-size: 1.2rem; color: #F4B942; }
.site-footer h3 {
    color: #F4B942;
    font-size: 1rem;
    margin-bottom: 14px;
}
.site-footer ul li { margin-bottom: 8px; }
.site-footer a { color: #d4c4b4; }
.site-footer a:hover { color: #F4B942; }
.site-footer p { font-size: 0.9rem; line-height: 1.6; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
}

/* --- Recherche header --- */
.header-search {
    display: flex;
    align-items: center;
    position: relative;
    margin-left: 8px;
}
.search-toggle {
    background: rgba(244, 185, 66, 0.15);
    border: none;
    color: #F5E6D3;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.search-toggle:hover {
    background: rgba(244, 185, 66, 0.3);
    color: #F4B942;
}
.search-box {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    opacity: 0;
    overflow: visible;
    transition: width 0.3s, opacity 0.3s;
    pointer-events: none;
}
.search-box.active {
    width: 320px;
    opacity: 1;
    pointer-events: auto;
}
.search-box input {
    width: 100%;
    padding: 10px 16px;
    border: 2px solid #F4B942;
    border-radius: 25px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    background: #fff;
    color: #3a2e25;
    outline: none;
}
.search-box input::placeholder { color: #b0a090; }
.search-results {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 380px;
    max-height: 420px;
    overflow-y: auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(107, 79, 58, 0.2);
    z-index: 300;
}
.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #3a2e25;
    text-decoration: none;
    transition: background 0.15s;
    border-bottom: 1px solid #f0e6da;
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: #fdf6ee; }
.search-result-item img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 8px;
    background: #f5efe8;
    flex-shrink: 0;
}
.search-result-info {
    flex: 1;
    min-width: 0;
}
.search-result-info strong {
    display: block;
    font-size: 0.95rem;
    color: #6B4F3A;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.search-result-info span {
    font-size: 0.8rem;
    color: #8a7668;
}
.search-result-note {
    font-weight: 800;
    font-size: 0.85rem;
    color: #F4B942;
    flex-shrink: 0;
}
.search-no-result {
    padding: 20px;
    text-align: center;
    color: #8a7668;
    font-size: 0.9rem;
}

/* --- Page recherche --- */
.search-page-form {
    display: flex;
    gap: 12px;
    max-width: 600px;
}
.search-page-input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid #d4c4b4;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    background: #fff;
    color: #3a2e25;
    outline: none;
}
.search-page-input:focus { border-color: #C44536; }

/* --- Responsive --- */
@media (max-width: 968px) {
    .game-hero-inner { grid-template-columns: 280px 1fr; gap: 30px; }
    .game-content-grid { grid-template-columns: 1fr; }
    .game-sidebar { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 768px) {
    body { font-size: 16px; }
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.4rem; }
    .hero h1 { font-size: 2.2rem; }
    .hero { padding: 50px 0 40px; }
    .search-box.active { width: 220px; }
    .search-results { width: 300px; }
    .search-page-form { flex-direction: column; }
    .game-hero-inner { grid-template-columns: 1fr; text-align: center; }
    .game-hero-img { max-width: 280px; margin: 0 auto; }
    .game-specs { justify-content: center; }
    .game-hero-info h1 { font-size: 2rem; }
    .pros-cons { grid-template-columns: 1fr; }
    .menu-toggle { display: flex; }
    .main-nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: #6B4F3A;
        padding: 20px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    }
    .main-nav.open { display: block; }
    .main-nav > ul { flex-direction: column; gap: 4px; }
    .main-nav a { display: block; padding: 12px 16px; }
    .dropdown {
        display: none;
        position: static;
        box-shadow: none;
        background: rgba(255,255,255,0.05);
        border-radius: 8px;
        margin-top: 4px;
    }
    .has-dropdown.open .dropdown { display: block; }
    .dropdown li a { color: #d4c4b4; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .hero h1 { font-size: 1.7rem; }
    .games-grid { grid-template-columns: 1fr; }
    .categories-grid { grid-template-columns: 1fr; }
    .game-specs { flex-direction: column; align-items: center; }
}
