/* Neon Arcade - Design System Foundation */
:root {
  --radius: 0.5rem;
  /* Deep arcade dark theme */
  --background: #0a0514; /* oklch(0.13 0.04 280) converted to hex approximately */
  --foreground: #f0f0f5;
  --card: #150f26;
  --card-foreground: #f0f0f5;
  --popover: #150f26;
  --popover-foreground: #f0f0f5;
  --primary: #5ce1ff; /* neon cyan */
  --primary-foreground: #0a0514;
  --secondary: #221a3a;
  --secondary-foreground: #f0f0f5;
  --muted: #1a152e;
  --muted-foreground: #a09cb0;
  --accent: #ff4794; /* neon pink */
  --accent-foreground: #0a0514;
  --destructive: #ff3333;
  --destructive-foreground: #f0f0f5;
  --border: rgba(100, 80, 150, 0.4);
  --input: #1f1a35;
  --ring: #5ce1ff;

  --neon-cyan: #5ce1ff;
  --neon-pink: #ff4794;
  --neon-purple: #b05cff;
  --neon-yellow: #fff25c;
  --neon-orange: #ff9e5c;

  --gradient-arcade: linear-gradient(135deg, #0a0514 0%, #201040 50%, #0a0514 100%);
  --gradient-neon: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink));
  --gradient-glow: radial-gradient(ellipse at center, rgba(176, 92, 255, 0.4), transparent 70%);

  --shadow-neon-cyan: 0 0 15px rgba(92, 225, 255, 0.5), 0 0 30px rgba(92, 225, 255, 0.3);
  --shadow-neon-pink: 0 0 15px rgba(255, 71, 148, 0.5), 0 0 30px rgba(255, 71, 148, 0.3);
  --shadow-cabinet: 0 20px 60px -10px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(100, 80, 150, 0.3);
  
  /* Standard CSS Font stacks */
  --font-display: "Press Start 2P", cursive, system-ui;
  --font-arcade: "Orbitron", sans-serif;
  --font-sans: "Inter", sans-serif;
}

/* Base Styles */
body {
    background-color: var(--background);
    background-image: 
        radial-gradient(ellipse at top, rgba(60, 30, 120, 0.4), transparent 60%),
        radial-gradient(ellipse at bottom, rgba(30, 60, 120, 0.3), transparent 60%);
    background-attachment: fixed;
    color: var(--foreground);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
    margin: 0;
    overflow-x: hidden;
}

h1, h2, h3, .font-arcade {
    font-family: var(--font-arcade);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Scanlines & CRT Effects */
.scanlines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    background: repeating-linear-gradient(
        to bottom,
        transparent 0px,
        transparent 2px,
        rgba(0, 0, 0, 0.1) 3px,
        rgba(0, 0, 0, 0.1) 4px
    );
    opacity: 0.1;
}

.crt-vignette {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 3;
    background: radial-gradient(ellipse at center, transparent 50%, rgba(0, 0, 0, 0.4) 100%);
    box-shadow: inset 0 0 100px rgba(0,0,0,0.5);
}

/* Global full-screen effects should be separate if needed */
body > .scanlines, body > .crt-vignette {
    position: fixed;
    z-index: 9999;
}

/* Animations */
@keyframes flicker {
    0%, 100% { opacity: 1; }
    41.99% { opacity: 1; }
    42% { opacity: 0.85; }
    43% { opacity: 1; }
    47.99% { opacity: 1; }
    48% { opacity: 0.7; }
    49% { opacity: 1; }
}

@keyframes neon-pulse {
    0%, 100% { filter: brightness(1) drop-shadow(0 0 5px currentColor); }
    50% { filter: brightness(1.2) drop-shadow(0 0 12px currentColor); }
}

.animate-flicker { animation: flicker 4s infinite; }
.animate-neon-pulse { animation: neon-pulse 2.5s ease-in-out infinite; }

/* Utilities */
.text-neon-cyan {
    color: var(--neon-cyan);
    text-shadow: 0 0 8px rgba(92, 225, 255, 0.7), 0 0 20px rgba(92, 225, 255, 0.4);
}

.text-neon-pink {
    color: var(--neon-pink);
    text-shadow: 0 0 8px rgba(255, 71, 148, 0.7), 0 0 20px rgba(255, 71, 148, 0.4);
}

.border-neon-cyan {
    border: 1px solid var(--neon-cyan);
    box-shadow: var(--shadow-neon-cyan);
}

.border-neon-pink {
    border: 1px solid var(--neon-pink);
    box-shadow: var(--shadow-neon-pink);
}

.bg-arcade-gradient { background: var(--gradient-arcade); }

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--background); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--neon-cyan), var(--neon-pink));
    border-radius: 4px;
}

/* Header & Navigation */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 5, 20, 0.6) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

/* Logo */
.logo-neon {
    font-family: var(--font-display);
    font-size: 1.5rem;
    text-decoration: none;
    letter-spacing: 0.1em;
}

/* Search Bar */
.search-form {
    flex: 1;
    max-width: 500px;
    position: relative;
}

.search-input {
    width: 100%;
    background: var(--input);
    border: 1px solid var(--border);
    border-radius: 99px;
    padding: 0.6rem 1.25rem 0.6rem 3rem;
    color: var(--foreground);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(92, 225, 255, 0.2);
}

.search-btn {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--muted-foreground);
    cursor: pointer;
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    font-family: var(--font-arcade);
    font-size: 0.75rem;
    color: var(--muted-foreground);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.2s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--neon-cyan);
}

.nav-link.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--neon-pink);
    box-shadow: 0 0 8px var(--neon-pink);
}

/* Buttons */
.btn-neon {
    background: var(--background);
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-family: var(--font-arcade);
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-neon-cyan);
}

.btn-neon:hover {
    background: var(--neon-cyan);
    color: var(--background);
    box-shadow: 0 0 20px var(--neon-cyan);
}

/* Category Pills */
.category-pills-container {
    overflow-x: auto;
    scrollbar-width: none;
}

.category-pills-container::-webkit-scrollbar {
    display: none;
}

.category-pills {
    display: flex;
    gap: 0.75rem;
    padding-bottom: 0.25rem;
}

.category-pill {
    background: var(--secondary);
    border: 1px solid var(--border);
    color: var(--muted-foreground);
    padding: 0.4rem 1rem;
    border-radius: 99px;
    font-size: 0.8rem;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.category-pill:hover {
    border-color: var(--neon-pink);
    color: var(--neon-pink);
}

/* Games Grid */
.games-section {
    padding: 2rem 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
}

/* Game Card */
.game-card {
    background: rgba(21, 15, 38, 0.6);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
}

.game-card:hover {
    transform: translateY(-8px);
    border-color: var(--neon-cyan);
    box-shadow: 0 10px 30px rgba(92, 225, 255, 0.2), 0 0 10px rgba(92, 225, 255, 0.2);
}

.game-thumbnail-container {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #150f26;
}

.game-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.game-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 5, 20, 0.8), transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.play-icon-btn {
    width: 48px;
    height: 48px;
    background: var(--neon-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--background);
    box-shadow: 0 0 15px var(--neon-cyan);
}

.game-info {
    padding: 1rem;
    flex-grow: 1;
}

.game-title {
    font-family: var(--font-arcade);
    font-size: 0.85rem;
    margin: 0;
    color: var(--foreground);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-meta {
    margin-top: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.game-category {
    font-size: 0.7rem;
    color: var(--muted-foreground);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.game-rating {
    font-family: var(--font-display);
    font-size: 0.65rem;
    color: var(--neon-yellow);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Page Header */
.page-header {
    text-align: center;
    padding: 3rem 1.5rem;
}

.page-title {
    font-family: var(--font-arcade);
    font-size: 2.5rem;
    margin: 0;
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(255, 71, 148, 0.3);
}

.page-description {
    color: var(--muted-foreground);
    max-width: 600px;
    margin: 1rem auto 0;
}

/* Sidebar Trending */
.trending-sidebar {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.trending-title {
    font-family: var(--font-arcade);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--neon-pink);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.trending-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.trending-item:hover {
    transform: translateX(5px);
    color: var(--neon-cyan);
}

.trending-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

/* Ad Containers */
.ad-container {
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed var(--border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted-foreground);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* SEO Content */
.seo-content {
    background: var(--card) !important;
    border: 1px solid var(--border) !important;
    padding: 2.5rem !important;
    margin-top: 4rem !important;
}

.seo-content h2, .seo-content h3 {
    color: var(--neon-cyan);
    margin-top: 0;
}

.seo-tag {
    background: var(--secondary) !important;
    border: 1px solid var(--border) !important;
    transition: all 0.2s ease !important;
}

.seo-tag:hover {
    border-color: var(--neon-pink) !important;
    color: var(--neon-pink) !important;
}

/* Breadcrumb */
.breadcrumb {
    padding: 1.5rem 1.5rem 0;
    max-width: 1400px;
    margin: 0 auto;
}

.breadcrumb-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 0.5rem;
    font-family: var(--font-arcade);
    font-size: 0.65rem;
    color: var(--muted-foreground);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.breadcrumb-list li:not(:last-child)::after {
    content: "◆";
    margin-left: 0.5rem;
    color: var(--neon-pink);
    font-size: 0.5rem;
}

.breadcrumb-list a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-list a:hover {
    color: var(--neon-cyan);
}

/* Game Player Cabinet */
.game-cabinet {
    background: linear-gradient(180deg, #1f1a35 0%, #0a0514 100%);
    border: 2px solid var(--neon-pink);
    border-radius: 24px;
    padding: 1rem;
    box-shadow: var(--shadow-cabinet), 0 0 20px rgba(255, 71, 148, 0.3);
    margin: 2rem auto;
    max-width: 1000px;
    position: relative;
}

.cabinet-marquee {
    background: rgba(10, 5, 20, 0.6);
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    text-align: center;
    padding: 0.5rem;
    border-radius: 8px;
    font-family: var(--font-display);
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 71, 148, 0.1);
    border: 1px solid var(--neon-pink);
    border-radius: 99px;
    font-family: var(--font-arcade);
    font-size: 0.6rem;
    color: var(--neon-pink);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 10px rgba(255, 71, 148, 0.2);
}

.section-pill::before,
.section-pill::after {
    content: "◆";
    font-size: 0.5rem;
}

.game-screen {
    position: relative;
    aspect-ratio: 16/9;
    background: #000;
    border: 2px solid var(--neon-cyan);
    border-radius: 8px;
    overflow: hidden;
}

.cabinet-controls {
    margin-top: 1rem;
    background: rgba(10, 5, 20, 0.4);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.joystick {
    width: 40px;
    height: 40px;
    border: 2px solid var(--neon-cyan);
    border-radius: 50%;
    position: relative;
}

.joystick::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: var(--neon-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--neon-cyan);
}

.buttons-group {
    display: flex;
    gap: 0.75rem;
}

.cabinet-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid transparent;
}

/* Game Info Section */
.game-info-panel {
    background: rgba(21, 15, 38, 0.6);
    border: 1px solid var(--neon-pink);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 0 15px rgba(255, 71, 148, 0.2);
    margin-top: 2rem;
}

.btn-play-now {
    background: var(--gradient-neon);
    border: none;
    color: var(--background);
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-family: var(--font-arcade);
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(255, 71, 148, 0.4);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.btn-play-now:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 71, 148, 0.6);
}

/* Footer */
footer {
    background: rgba(10, 5, 20, 0.8);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border);
    padding: 4rem 1.5rem 2rem;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 1px;
    background: var(--gradient-neon);
    box-shadow: 0 0 15px var(--neon-cyan);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-col h4 {
    font-family: var(--font-display);
    color: var(--neon-cyan);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--muted-foreground);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.footer-links a:hover {
    color: var(--neon-pink);
    padding-left: 5px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
}

.social-links a:hover {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan) !important;
    box-shadow: 0 0 15px var(--neon-cyan);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-family: var(--font-arcade);
    font-size: 0.6rem;
    color: var(--muted-foreground);
    letter-spacing: 0.1em;
}

/* ==========================================================================
   GAME PLAYER & CABINET
   ========================================================================== */

#game-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.cabinet-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (min-width: 1024px) {
    .cabinet-wrapper {
        grid-template-columns: 1fr 320px;
    }
}

/* Cabinet Frame */
.game-cabinet-frame {
    position: relative;
    border: 2px solid var(--neon-pink);
    border-radius: 2rem;
    padding: 1.25rem;
    background: linear-gradient(180deg, oklch(0.18 0.06 290), oklch(0.1 0.04 280));
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 71, 148, 0.3);
    overflow: hidden;
}

.cabinet-marquee-top {
    margin-bottom: 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid var(--neon-cyan);
    background: rgba(var(--background-rgb), 0.6);
    padding: 0.5rem;
    text-align: center;
    font-family: var(--font-display);
    font-size: 0.65rem;
    color: var(--neon-cyan);
    letter-spacing: 0.3em;
    text-shadow: 0 0 8px var(--neon-cyan);
}

.game-screen-area {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 0.75rem;
    border: 2px solid var(--neon-cyan);
    overflow: hidden;
}

/* Cabinet Control Panel */
.cabinet-control-panel {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: rgba(var(--background-rgb), 0.4);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
}

.joystick-base {
    position: relative;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: 2px solid var(--neon-cyan);
    background: var(--card);
}

.joystick-knob {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: var(--neon-cyan);
    box-shadow: 0 0 10px var(--neon-cyan);
}

.arcade-buttons {
    display: flex;
    gap: 0.75rem;
}

.arcade-btn {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: all 0.2s;
    cursor: pointer;
}

.arcade-btn:hover { transform: scale(1.1); }
.arcade-btn:active { transform: scale(0.9); }

.btn-pink { background: var(--neon-pink); border-color: var(--neon-pink); box-shadow: 0 0 12px var(--neon-pink); }
.btn-yellow { background: var(--neon-yellow); border-color: var(--neon-yellow); box-shadow: 0 0 12px var(--neon-yellow); }
.btn-orange { background: #ff9f43; border-color: #ff9f43; box-shadow: 0 0 12px #ff9f43; }
.btn-cyan { background: var(--neon-cyan); border-color: var(--neon-cyan); box-shadow: 0 0 12px var(--neon-cyan); }

/* Side Panel */
.game-side-panel {
    border-radius: 1rem;
    border: 2px solid var(--neon-pink);
    background: rgba(var(--card-rgb), 0.6);
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(255, 71, 148, 0.2);
}

.side-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--neon-pink);
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.side-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.side-tag {
    font-family: var(--font-arcade);
    font-size: 0.55rem;
    padding: 0.2rem 0.5rem;
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    border-radius: 4px;
    text-transform: uppercase;
}

.side-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 0.9rem;
    color: var(--neon-yellow);
    margin-bottom: 1.5rem;
}

.side-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.05);
    font-family: var(--font-arcade);
    font-size: 0.6rem;
    color: var(--foreground);
    cursor: pointer;
    transition: all 0.2s;
}

.action-btn:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
}

.action-btn.full { grid-column: 1 / -1; }

.controls-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.control-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-family: var(--font-arcade);
    font-size: 0.6rem;
    color: var(--muted-foreground);
    text-transform: uppercase;
}

.kbd-key {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5rem;
    height: 1.5rem;
    padding: 0 0.4rem;
    border: 1px solid var(--neon-cyan);
    border-radius: 4px;
    background: var(--background);
    color: var(--neon-cyan);
    font-family: var(--font-display);
    font-size: 0.65rem;
    box-shadow: 0 0 5px var(--neon-cyan);
}

/* Neon Game Cards (Related Games) */
.neon-game-card {
    background: rgba(13, 13, 25, 0.8);
    border: 2px solid rgba(0, 255, 255, 0.2);
    border-radius: 12px;
    padding: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.neon-game-card:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.4), inset 0 0 10px rgba(0, 255, 255, 0.1);
    transform: translateY(-5px) scale(1.02);
    background: rgba(0, 255, 255, 0.05);
}

.neon-game-card .card-link {
    text-decoration: none !important;
    color: inherit !important;
    display: block;
}

.neon-game-card .thumbnail-wrapper {
    position: relative;
    aspect-ratio: 1/1;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}

.neon-game-card .thumbnail-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.neon-game-card:hover .thumbnail-wrapper img {
    transform: scale(1.1);
}

.neon-game-card .card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(2px);
}

.neon-game-card:hover .card-overlay {
    opacity: 1;
}

.neon-game-card .card-overlay i {
    font-size: 2rem;
    color: #fff;
    filter: drop-shadow(0 0 10px var(--neon-cyan));
}

.neon-game-card .card-title {
    margin: 10px 0 0 0 !important;
    padding: 0 !important;
    font-family: var(--font-display) !important;
    font-size: 0.65rem !important;
    color: #fff !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

/* Ensure grids are responsive and pretty */
#related-games, .sidebar-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)) !important;
    gap: 15px !important;
    margin-top: 20px !important;
}

.info-sidebar .sidebar-grid {
    grid-template-columns: 1fr 1fr !important;
}
