/* ============================================
   RETRO ARCADE THEME - Pure CSS
   Colors: Neon Cyan (#00fff5) + Hot Pink (#ff2d95) + Electric Yellow (#ffe600)
   Fonts: Press Start 2P (headings) + VT323 (body)
   ============================================ */

/* === CSS Variables === */
:root {
    --neon-cyan: #00fff5;
    --neon-pink: #ff2d95;
    --neon-yellow: #ffe600;
    --neon-green: #39ff14;
    --neon-orange: #ff6b2b;

    --color-bg: #0d0221;
    --color-surface: #150538;
    --color-surface-alt: #1e0a4f;
    --color-border: rgba(0, 255, 245, 0.15);
    --color-text: #e0d7ff;
    --color-text-secondary: #8b7fc7;
    --color-text-muted: #5a4f8a;

    --glow-cyan: 0 0 10px rgba(0, 255, 245, 0.5), 0 0 40px rgba(0, 255, 245, 0.15);
    --glow-pink: 0 0 10px rgba(255, 45, 149, 0.5), 0 0 40px rgba(255, 45, 149, 0.15);
    --glow-yellow: 0 0 10px rgba(255, 230, 0, 0.5), 0 0 40px rgba(255, 230, 0, 0.15);

    --header-height: 70px;
    --max-width: 1320px;
    --pixel-border: 4px;
    --radius: 2px;
}

/* Light Mode - retro stays dark but slightly lighter */
html:not(.dark) {
    --color-bg: #1a0a3e;
    --color-surface: #241060;
    --color-surface-alt: #2e1a72;
    --color-border: rgba(0, 255, 245, 0.2);
    --color-text: #f0e8ff;
    --color-text-secondary: #a899d4;
    --color-text-muted: #7a6db0;
}

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

html {
    scroll-behavior: smooth;
    image-rendering: auto;
}

body {
    font-family: 'VT323', 'Courier New', monospace;
    font-size: 18px;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.5;
    min-height: 100vh;
    transition: background-color 0.3s;
    position: relative;
}

/* CRT Scanline Overlay */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.08) 2px,
        rgba(0, 0, 0, 0.08) 4px
    );
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; font-size: inherit; }
input, select, textarea { font-family: inherit; }

/* === Pixel Border Utility === */
.pixel-border {
    border: var(--pixel-border) solid var(--neon-cyan);
    box-shadow: var(--glow-cyan);
}

.pixel-border-pink {
    border: var(--pixel-border) solid var(--neon-pink);
    box-shadow: var(--glow-pink);
}

/* === Container === */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 16px;
}

@media (min-width: 768px) {
    .container { padding: 0 24px; }
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--color-surface);
    border-bottom: 3px solid var(--neon-cyan);
    box-shadow: 0 3px 20px rgba(0, 255, 245, 0.2);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    gap: 16px;
}

/* Brand */
.header-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Press Start 2P', monospace;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
    color: var(--neon-cyan);
    text-shadow: var(--glow-cyan);
}

@media (min-width: 768px) {
    .header-brand { font-size: 14px; }
}

.header-brand .brand-icon {
    width: 40px;
    height: 40px;
    border: 3px solid var(--neon-pink);
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neon-pink);
    font-size: 20px;
    box-shadow: var(--glow-pink);
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { box-shadow: var(--glow-pink); }
    50% { box-shadow: 0 0 20px rgba(255, 45, 149, 0.8), 0 0 60px rgba(255, 45, 149, 0.3); }
}

.header-brand .brand-accent { color: var(--neon-pink); }

/* Navigation */
.header-nav {
    display: none;
    align-items: center;
    gap: 2px;
}

@media (min-width: 1024px) {
    .header-nav { display: flex; }
}

.header-nav a {
    padding: 8px 12px;
    font-family: 'Press Start 2P', monospace;
    font-size: 8px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    transition: all 0.2s;
    white-space: nowrap;
    position: relative;
}

.header-nav a:hover,
.header-nav a.active {
    color: var(--neon-cyan);
    text-shadow: var(--glow-cyan);
}

.header-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--neon-cyan);
    box-shadow: var(--glow-cyan);
    transition: width 0.3s;
}

.header-nav a:hover::after { width: 80%; }

/* Search */
.header-search {
    position: relative;
    flex: 1;
    max-width: 300px;
}

.header-search input {
    width: 100%;
    height: 38px;
    padding: 0 16px 0 38px;
    border: 2px solid var(--color-border);
    background: var(--color-bg);
    color: var(--neon-cyan);
    font-size: 16px;
    outline: none;
    transition: all 0.2s;
}

.header-search input:focus {
    border-color: var(--neon-cyan);
    box-shadow: var(--glow-cyan);
}

.header-search input::placeholder {
    color: var(--color-text-muted);
    font-family: 'VT323', monospace;
}

.header-search .search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-muted);
    font-size: 18px;
    pointer-events: none;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.btn-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    color: var(--color-text-secondary);
    transition: all 0.2s;
    font-size: 20px;
}

.btn-icon:hover {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: var(--glow-cyan);
}

/* Mobile Menu */
.mobile-menu-toggle { display: flex; }
@media (min-width: 1024px) { .mobile-menu-toggle { display: none; } }

.mobile-menu {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-surface);
    z-index: 99;
    padding: 20px;
    overflow-y: auto;
    border-top: 3px solid var(--neon-cyan);
}

.mobile-menu.open { display: block; }

.mobile-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    font-family: 'Press Start 2P', monospace;
    font-size: 9px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    border-bottom: 1px solid var(--color-border);
    transition: all 0.2s;
}

.mobile-menu a:hover {
    color: var(--neon-cyan);
    text-shadow: var(--glow-cyan);
    background: rgba(0, 255, 245, 0.05);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    padding: 40px 0;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,255,245,0.05) 0%, rgba(255,45,149,0.05) 50%, rgba(255,230,0,0.03) 100%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .hero-grid { grid-template-columns: 1.6fr 1fr; gap: 16px; }
}

.hero-featured {
    position: relative;
    border: 4px solid var(--neon-pink);
    overflow: hidden;
    aspect-ratio: 16/9;
    box-shadow: var(--glow-pink);
    transition: box-shadow 0.3s;
}

.hero-featured:hover {
    box-shadow: 0 0 20px rgba(255, 45, 149, 0.7), 0 0 60px rgba(255, 45, 149, 0.3);
}

.hero-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.hero-featured:hover img { transform: scale(1.05); }

.hero-featured .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13,2,33,0.95) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
}

.hero-featured .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border: 2px solid var(--neon-yellow);
    background: rgba(255, 230, 0, 0.15);
    color: var(--neon-yellow);
    font-family: 'Press Start 2P', monospace;
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: fit-content;
    margin-bottom: 12px;
    text-shadow: var(--glow-yellow);
    animation: blink 1.5s step-end infinite;
}

@keyframes blink {
    50% { opacity: 0.6; }
}

.hero-featured .hero-title {
    font-family: 'Press Start 2P', monospace;
    font-size: 14px;
    color: var(--neon-cyan);
    line-height: 1.6;
    margin-bottom: 8px;
    text-shadow: var(--glow-cyan);
}

@media (min-width: 768px) {
    .hero-featured .hero-title { font-size: 18px; }
}

.hero-featured .hero-desc {
    font-size: 18px;
    color: var(--color-text-secondary);
    max-width: 500px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-small-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (min-width: 768px) {
    .hero-small-grid { grid-template-columns: 1fr; gap: 12px; }
}

.hero-small-card {
    position: relative;
    border: 3px solid var(--neon-cyan);
    overflow: hidden;
    aspect-ratio: 16/9;
    transition: all 0.3s;
}

.hero-small-card:hover {
    box-shadow: var(--glow-cyan);
}

.hero-small-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.hero-small-card:hover img { transform: scale(1.1); }

.hero-small-card .hero-small-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13,2,33,0.9) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 12px;
}

.hero-small-card .hero-small-title {
    font-family: 'Press Start 2P', monospace;
    font-size: 8px;
    color: var(--neon-cyan);
    text-shadow: var(--glow-cyan);
    line-height: 1.5;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px dashed var(--color-border);
}

.section-title {
    font-family: 'Press Start 2P', monospace;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 12px;
}

@media (min-width: 768px) {
    .section-title { font-size: 14px; }
}

.section-title .title-icon {
    width: 36px;
    height: 36px;
    border: 3px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.section-title .title-icon.cyan {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: var(--glow-cyan);
}

.section-title .title-icon.pink {
    border-color: var(--neon-pink);
    color: var(--neon-pink);
    box-shadow: var(--glow-pink);
}

.section-title .title-icon.yellow {
    border-color: var(--neon-yellow);
    color: var(--neon-yellow);
    box-shadow: var(--glow-yellow);
}

.section-title .title-text {
    color: var(--neon-cyan);
    text-shadow: var(--glow-cyan);
}

.section-title .title-text.pink {
    color: var(--neon-pink);
    text-shadow: var(--glow-pink);
}

.section-link {
    font-family: 'Press Start 2P', monospace;
    font-size: 8px;
    color: var(--neon-yellow);
    text-shadow: var(--glow-yellow);
    display: flex;
    align-items: center;
    gap: 4px;
    text-transform: uppercase;
}

/* ============================================
   GAME CARD
   ============================================ */
.game-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (min-width: 640px) { .game-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .game-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .game-grid { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 1280px) { .game-grid { grid-template-columns: repeat(6, 1fr); } }

.game-card {
    position: relative;
    background: var(--color-surface);
    border: 3px solid var(--color-border);
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
}

.game-card:hover {
    border-color: var(--neon-cyan);
    box-shadow: var(--glow-cyan);
    transform: translateY(-4px);
}

.game-card .card-image {
    aspect-ratio: 4/3;
    overflow: hidden;
    position: relative;
}

.game-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.game-card:hover .card-image img { transform: scale(1.1); }

.game-card .card-rating {
    position: absolute;
    top: 6px;
    right: 6px;
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 2px 8px;
    border: 2px solid var(--neon-yellow);
    background: rgba(13, 2, 33, 0.85);
    color: var(--neon-yellow);
    font-family: 'Press Start 2P', monospace;
    font-size: 7px;
}

.game-card .card-rating .star {
    color: var(--neon-yellow);
    font-size: 10px;
}

.game-card .card-info {
    padding: 10px;
    border-top: 2px solid var(--color-border);
}

.game-card .card-title {
    font-family: 'Press Start 2P', monospace;
    font-size: 8px;
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--color-text);
    transition: color 0.2s;
}

.game-card:hover .card-title {
    color: var(--neon-cyan);
    text-shadow: var(--glow-cyan);
}

.game-card .card-genres {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-top: 4px;
}

/* ============================================
   GENRE PILLS
   ============================================ */
.genre-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.genre-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 2px solid var(--color-border);
    background: var(--color-surface);
    font-family: 'Press Start 2P', monospace;
    font-size: 8px;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    transition: all 0.2s;
}

.genre-pill:hover {
    border-color: var(--neon-pink);
    color: var(--neon-pink);
    box-shadow: var(--glow-pink);
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
}

.pagination-info {
    font-size: 16px;
    color: var(--color-text-muted);
}

.pagination-info strong {
    color: var(--neon-cyan);
}

.pagination-list {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.pagination-list a,
.pagination-list span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    font-family: 'Press Start 2P', monospace;
    font-size: 9px;
    border: 2px solid var(--color-border);
    background: var(--color-surface);
    color: var(--color-text);
    transition: all 0.2s;
}

.pagination-list a:hover {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: var(--glow-cyan);
}

.pagination-list .active span {
    border-color: var(--neon-pink);
    background: rgba(255, 45, 149, 0.15);
    color: var(--neon-pink);
    box-shadow: var(--glow-pink);
}

.pagination-list .disabled span {
    opacity: 0.3;
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
    padding: 40px 0 24px;
}

.page-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.page-breadcrumb a { color: var(--color-text-secondary); transition: color 0.2s; }
.page-breadcrumb a:hover { color: var(--neon-cyan); text-shadow: var(--glow-cyan); }

.page-heading {
    display: flex;
    align-items: center;
    gap: 16px;
}

.page-heading .heading-icon {
    width: 56px;
    height: 56px;
    border: 4px solid var(--neon-cyan);
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--neon-cyan);
    box-shadow: var(--glow-cyan);
}

.page-heading h1 {
    font-family: 'Press Start 2P', monospace;
    font-size: 14px;
    color: var(--neon-cyan);
    text-shadow: var(--glow-cyan);
    line-height: 1.8;
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .page-heading h1 { font-size: 18px; }
}

.page-heading .heading-count {
    font-size: 18px;
    color: var(--color-text-secondary);
    margin-top: 4px;
}

/* ============================================
   DETAIL PAGE
   ============================================ */
.detail-hero {
    position: relative;
    min-height: 250px;
    overflow: hidden;
}

.detail-hero .hero-bg {
    position: absolute;
    inset: 0;
}

.detail-hero .hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(16px) brightness(0.4);
    transform: scale(1.1);
}

.detail-hero .hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--color-bg) 0%, transparent 100%);
}

.detail-content {
    position: relative;
    z-index: 1;
    padding: 32px 0;
}

.detail-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 1024px) {
    .detail-main { grid-template-columns: 1fr 340px; }
}

.detail-card {
    background: var(--color-surface);
    border: 3px solid var(--color-border);
    padding: 20px;
    margin-bottom: 20px;
}

.detail-card h2 {
    font-family: 'Press Start 2P', monospace;
    font-size: 10px;
    text-transform: uppercase;
    color: var(--neon-cyan);
    text-shadow: var(--glow-cyan);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.6;
}

.play-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border: 4px solid var(--neon-pink);
    background: rgba(255, 45, 149, 0.15);
    color: var(--neon-pink);
    font-family: 'Press Start 2P', monospace;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: var(--glow-pink);
    transition: all 0.3s;
    animation: playBtnPulse 2s ease-in-out infinite;
}

.play-btn:hover {
    background: rgba(255, 45, 149, 0.3);
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 45, 149, 0.6), 0 0 80px rgba(255, 45, 149, 0.2);
}

@keyframes playBtnPulse {
    0%, 100% { box-shadow: var(--glow-pink); }
    50% { box-shadow: 0 0 20px rgba(255, 45, 149, 0.7), 0 0 50px rgba(255, 45, 149, 0.25); }
}

.stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 16px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    color: var(--color-text-secondary);
}

.stat-item strong {
    color: var(--neon-yellow);
    font-family: 'Press Start 2P', monospace;
    font-size: 9px;
}

.action-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border: 2px solid var(--color-border);
    background: var(--color-surface-alt);
    font-size: 16px;
    color: var(--color-text-secondary);
    transition: all 0.2s;
}

.action-btn:hover {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: var(--glow-cyan);
}

.action-btn.active {
    border-color: var(--neon-pink);
    color: var(--neon-pink);
    box-shadow: var(--glow-pink);
}

/* FAQ */
.faq-item { border-bottom: 1px dashed var(--color-border); padding: 14px 0; }
.faq-item:last-child { border-bottom: none; }

.faq-question {
    font-family: 'Press Start 2P', monospace;
    font-size: 9px;
    line-height: 1.8;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--color-text);
    transition: color 0.2s;
}

.faq-question:hover { color: var(--neon-yellow); text-shadow: var(--glow-yellow); }

.faq-answer {
    margin-top: 10px;
    font-size: 18px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    display: none;
}

.faq-item.open .faq-answer { display: block; }

/* ============================================
   PLAY PAGE
   ============================================ */
.play-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 16px;
}

.game-frame-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #000;
    border: 4px solid var(--neon-cyan);
    box-shadow: var(--glow-cyan);
}

.game-frame-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.game-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
}

.game-controls .control-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.control-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 2px solid var(--color-border);
    background: var(--color-surface);
    font-family: 'Press Start 2P', monospace;
    font-size: 8px;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    transition: all 0.2s;
}

.control-btn:hover {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: var(--glow-cyan);
}

/* ============================================
   FILTER PAGE
   ============================================ */
.filter-panel {
    background: var(--color-surface);
    border: 3px solid var(--color-border);
    padding: 24px;
    margin-bottom: 32px;
}

.filter-panel label {
    font-family: 'Press Start 2P', monospace;
    font-size: 9px;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--neon-cyan);
}

.filter-input {
    width: 100%;
    height: 42px;
    padding: 0 16px;
    border: 2px solid var(--color-border);
    background: var(--color-bg);
    color: var(--neon-cyan);
    font-size: 18px;
    outline: none;
    transition: border-color 0.2s;
}

.filter-input:focus {
    border-color: var(--neon-cyan);
    box-shadow: var(--glow-cyan);
}

.filter-genres {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 8px;
}

@media (min-width: 640px) { .filter-genres { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .filter-genres { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .filter-genres { grid-template-columns: repeat(5, 1fr); } }

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border: 2px solid var(--color-border);
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s;
}

.filter-checkbox:hover {
    border-color: var(--neon-pink);
    color: var(--neon-pink);
}

.filter-checkbox input[type="checkbox"] {
    accent-color: var(--neon-pink);
    width: 16px;
    height: 16px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 3px solid var(--neon-pink);
    background: rgba(255, 45, 149, 0.15);
    color: var(--neon-pink);
    font-family: 'Press Start 2P', monospace;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s;
    box-shadow: var(--glow-pink);
}

.btn-primary:hover {
    background: rgba(255, 45, 149, 0.3);
    transform: scale(1.03);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 3px solid var(--color-border);
    background: transparent;
    color: var(--color-text);
    font-family: 'Press Start 2P', monospace;
    font-size: 9px;
    text-transform: uppercase;
    transition: all 0.2s;
}

.btn-outline:hover {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
}

/* ============================================
   SEO CONTENT
   ============================================ */
.seo-section {
    background: var(--color-surface);
    border: 3px solid var(--color-border);
    padding: 24px;
    margin-top: 40px;
}

.seo-content {
    max-height: 7.5rem;
    overflow: hidden;
    transition: max-height 0.3s;
    font-size: 18px;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.seo-content.expanded { max-height: none; }

.seo-content h2 {
    font-family: 'Press Start 2P', monospace;
    font-size: 11px;
    color: var(--neon-pink);
    text-shadow: var(--glow-pink);
    margin-top: 20px;
    margin-bottom: 12px;
    text-transform: uppercase;
    line-height: 1.8;
}

.seo-content h2:first-child { margin-top: 0; }

.seo-content h3 {
    font-family: 'Press Start 2P', monospace;
    font-size: 9px;
    color: var(--neon-yellow);
    margin-top: 14px;
    margin-bottom: 8px;
    line-height: 1.8;
}

.seo-content p { margin-bottom: 10px; }
.seo-content strong { color: var(--neon-cyan); }
.seo-content a { color: var(--neon-cyan) !important; text-decoration: underline; text-underline-offset: 3px; }
.seo-content ul, .seo-content ol { margin-left: 20px; margin-bottom: 10px; }
.seo-content li { margin-bottom: 4px; }
.seo-content ul li::marker { color: var(--neon-pink); }

.seo-toggle {
    margin-top: 12px;
    font-family: 'Press Start 2P', monospace;
    font-size: 8px;
    text-transform: uppercase;
    color: var(--neon-yellow);
    text-shadow: var(--glow-yellow);
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    border-top: 3px solid var(--neon-cyan);
    box-shadow: 0 -3px 20px rgba(0, 255, 245, 0.15);
    margin-top: 60px;
    padding: 40px 0 20px;
    background: var(--color-surface);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer-content {
    font-size: 18px;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border: 2px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    font-size: 14px;
    transition: all 0.2s;
}

.footer-socials a:hover {
    border-color: var(--neon-pink);
    color: var(--neon-pink);
    box-shadow: var(--glow-pink);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding-top: 20px;
    border-top: 2px dashed var(--color-border);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-links a {
    font-family: 'Press Start 2P', monospace;
    font-size: 7px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    transition: color 0.2s;
}

.footer-links a:hover { color: var(--neon-cyan); text-shadow: var(--glow-cyan); }

.footer-copy {
    font-size: 14px;
    color: var(--color-text-muted);
}

/* ============================================
   MISC
   ============================================ */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    border: 3px dashed var(--color-border);
}

.empty-state .material-symbols-outlined {
    font-size: 48px;
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.empty-state p {
    color: var(--color-text-secondary);
    font-size: 20px;
}

.load-more-wrapper { text-align: center; margin-top: 32px; }

.load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border: 3px solid var(--neon-yellow);
    background: rgba(255, 230, 0, 0.08);
    color: var(--neon-yellow);
    font-family: 'Press Start 2P', monospace;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s;
}

.load-more-btn:hover {
    box-shadow: var(--glow-yellow);
    background: rgba(255, 230, 0, 0.15);
}

.rating-stars { display: flex; gap: 4px; }

.rating-stars .star {
    font-size: 28px;
    color: var(--color-border);
    cursor: pointer;
    transition: color 0.15s;
}

.rating-stars .star.filled { color: var(--neon-yellow); text-shadow: var(--glow-yellow); }
.rating-stars .star:hover { color: var(--neon-orange); }

.text-muted { color: var(--color-text-muted); }
.text-cyan { color: var(--neon-cyan) !important; text-shadow: var(--glow-cyan); }
.text-pink { color: var(--neon-pink) !important; }
.text-yellow { color: var(--neon-yellow) !important; }
.hidden { display: none !important; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb { background: var(--neon-cyan); }
::-webkit-scrollbar-thumb:hover { background: var(--neon-pink); }

::selection { background: rgba(255, 45, 149, 0.4); color: var(--color-text); }
