/* ============================================
   LobsterLoot - Social Casino Demo Gallery
   Unique ocean-depth theme with lobster red/gold
   ============================================ */

/* === CSS Variables === */
:root {
    --bg-deep: #070b14;
    --bg-ocean: #0a1022;
    --bg-surface: #0f1730;
    --bg-card: #121d3a;
    --bg-card-hover: #162247;
    --bg-elevated: #1a2850;

    --accent-red: #e63946;
    --accent-red-glow: rgba(230, 57, 70, 0.3);
    --accent-gold: #f4a261;
    --accent-gold-glow: rgba(244, 162, 97, 0.3);
    --accent-teal: #2ec4b6;
    --accent-teal-glow: rgba(46, 196, 182, 0.25);
    --accent-blue: #4361ee;

    --text-primary: #e8eaf0;
    --text-secondary: #9ca3b8;
    --text-muted: #5c6380;
    --text-bright: #ffffff;

    --border-color: rgba(255, 255, 255, 0.06);
    --border-glow: rgba(230, 57, 70, 0.15);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 100px;

    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 30px var(--accent-red-glow);

    --font-body: 'Inter', -apple-system, system-ui, sans-serif;
    --font-display: 'Poppins', 'Inter', sans-serif;

    --header-h: 64px;
    --sidebar-w: 380px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    background: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

a { color: var(--accent-teal); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-gold); }

img { max-width: 100%; display: block; }

/* === Scrollbar === */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--bg-elevated); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-red); }

/* === Container === */
.container { max-width: 1400px; margin: 0 auto; padding: 0 24px; }

/* === Typography === */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; color: var(--text-bright); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; }

.text-gradient {
    background: linear-gradient(135deg, var(--accent-red), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-teal { color: var(--accent-teal); }
.text-gold { color: var(--accent-gold); }
.text-red { color: var(--accent-red); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }

/* === Header / Navbar === */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(7, 11, 20, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    height: var(--header-h);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-bright);
    text-decoration: none;
}

.nav-brand .lobster-icon {
    font-size: 1.6rem;
    color: var(--accent-red);
    filter: drop-shadow(0 0 8px var(--accent-red-glow));
}

.nav-brand span {
    background: linear-gradient(135deg, var(--accent-red), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-links a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-bright);
    background: rgba(255,255,255,0.06);
}

.nav-links a.active {
    color: var(--accent-red);
    background: rgba(230, 57, 70, 0.1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: 0.3s;
}

/* === Badges === */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.badge-age {
    background: rgba(230, 57, 70, 0.15);
    color: var(--accent-red);
    border: 1px solid rgba(230, 57, 70, 0.25);
}

.badge-demo {
    background: rgba(46, 196, 182, 0.12);
    color: var(--accent-teal);
    border: 1px solid rgba(46, 196, 182, 0.2);
}

.badge-hot {
    background: rgba(244, 162, 97, 0.15);
    color: var(--accent-gold);
    border: 1px solid rgba(244, 162, 97, 0.25);
}

.badge-new {
    background: rgba(67, 97, 238, 0.15);
    color: var(--accent-blue);
    border: 1px solid rgba(67, 97, 238, 0.25);
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.25s;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-red), #d62839);
    color: white;
    box-shadow: 0 4px 15px var(--accent-red-glow);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 25px var(--accent-red-glow);
    color: white;
}

.btn-gold {
    background: linear-gradient(135deg, var(--accent-gold), #e09f3e);
    color: var(--bg-deep);
    box-shadow: 0 4px 15px var(--accent-gold-glow);
}

.btn-gold:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 25px var(--accent-gold-glow);
    color: var(--bg-deep);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255,255,255,0.12);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.2);
    color: var(--text-bright);
}

.btn-sm { padding: 6px 14px; font-size: 0.8rem; }
.btn-lg { padding: 14px 30px; font-size: 1rem; }
.btn-icon { padding: 10px; border-radius: var(--radius-md); }

/* === Compliance Bar === */
.compliance-bar {
    background: rgba(230, 57, 70, 0.08);
    border-bottom: 1px solid rgba(230, 57, 70, 0.12);
    padding: 6px 0;
    text-align: center;
    font-size: 0.73rem;
    color: var(--text-muted);
    margin-top: var(--header-h);
}

.compliance-bar i { color: var(--accent-red); margin-right: 6px; }

/* === Hero Section === */
.hero {
    position: relative;
    padding: 80px 0 60px;
    overflow: hidden;
    background: radial-gradient(ellipse at 30% 20%, rgba(230, 57, 70, 0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 80%, rgba(46, 196, 182, 0.06) 0%, transparent 50%),
                var(--bg-deep);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 60% 40%, rgba(244, 162, 97, 0.04) 0%, transparent 40%);
    animation: heroFloat 20s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-2%, 2%) rotate(1deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    background: rgba(230, 57, 70, 0.1);
    border: 1px solid rgba(230, 57, 70, 0.2);
    color: var(--accent-red);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero h1 { margin-bottom: 16px; }

.hero p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 28px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat .number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat .label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* === Sections === */
.section {
    padding: 80px 0;
}

.section-dark {
    background: var(--bg-ocean);
}

.section-title {
    text-align: center;
    margin-bottom: 12px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1rem;
}

/* === Cards === */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all 0.3s;
}

.card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-glow);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* === Feature Grid === */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.feature-card {
    text-align: center;
    padding: 32px 24px;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.3rem;
    background: rgba(230, 57, 70, 0.1);
    border: 1px solid rgba(230, 57, 70, 0.15);
    color: var(--accent-red);
}

.feature-card h3 { margin-bottom: 8px; font-size: 1.05rem; }
.feature-card p { color: var(--text-secondary); font-size: 0.9rem; }

/* === Games Grid (Homepage) === */
.games-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.game-card-mini {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
}

.game-card-mini:hover {
    border-color: var(--accent-red);
    box-shadow: 0 0 20px var(--accent-red-glow);
    transform: translateY(-3px);
    color: inherit;
}

.game-card-mini .game-thumb {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--bg-elevated), var(--bg-surface));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.game-card-mini .game-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--bg-card) 0%, transparent 50%);
}

.game-card-mini .game-thumb i {
    font-size: 2.5rem;
    color: var(--accent-gold);
    opacity: 0.3;
}

.game-card-mini .game-badges {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    display: flex;
    gap: 4px;
}

.game-card-mini .play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(7, 11, 20, 0.7);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 3;
}

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

.play-btn-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-red);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 0 20px var(--accent-red-glow);
}

.game-card-mini .game-info {
    padding: 12px 14px;
}

.game-card-mini .game-info h3 {
    font-size: 0.9rem;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-card-mini .game-info .game-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* === GAME BROWSER (games.php) === */
.game-browser {
    display: flex;
    gap: 0;
    min-height: calc(100vh - var(--header-h) - 35px);
    margin-top: 0;
}

.game-sidebar {
    width: var(--sidebar-w);
    min-width: var(--sidebar-w);
    background: var(--bg-ocean);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: calc(100vh - var(--header-h) - 35px);
    position: sticky;
    top: calc(var(--header-h) + 35px);
}

.sidebar-header {
    padding: 16px 18px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-search {
    position: relative;
    margin-bottom: 12px;
}

.sidebar-search input {
    width: 100%;
    padding: 10px 14px 10px 38px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
    color: var(--text-primary);
    font-size: 0.88rem;
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.2s;
}

.sidebar-search input::placeholder { color: var(--text-muted); }
.sidebar-search input:focus { border-color: var(--accent-red); }

.sidebar-search i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.sidebar-controls {
    display: flex;
    gap: 6px;
}

.sidebar-controls .btn { flex: 1; justify-content: center; }

.sidebar-categories {
    display: flex;
    gap: 6px;
    padding: 0 18px 12px;
    border-bottom: 1px solid var(--border-color);
    overflow-x: auto;
}

.sidebar-categories .cat-btn {
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    background: transparent;
    border: 1px solid var(--border-color);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    font-family: var(--font-body);
}

.sidebar-categories .cat-btn:hover,
.sidebar-categories .cat-btn.active {
    color: var(--accent-red);
    border-color: var(--accent-red);
    background: rgba(230, 57, 70, 0.08);
}

.game-count {
    padding: 8px 18px;
    font-size: 0.78rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
}

.game-list {
    flex: 1;
    overflow-y: auto;
    padding: 6px;
}

.game-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.game-list-item:hover {
    background: rgba(255,255,255,0.03);
    border-color: var(--border-color);
}

.game-list-item.active {
    background: rgba(230, 57, 70, 0.08);
    border-color: rgba(230, 57, 70, 0.2);
}

.game-list-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--bg-elevated), var(--bg-card));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--accent-gold);
    flex-shrink: 0;
}

.game-list-info {
    flex: 1;
    min-width: 0;
}

.game-list-info h4 {
    font-size: 0.88rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

.game-list-info .game-list-tags {
    display: flex;
    gap: 4px;
}

.game-list-info .game-list-tags span {
    font-size: 0.68rem;
    color: var(--text-muted);
    background: rgba(255,255,255,0.04);
    padding: 1px 6px;
    border-radius: var(--radius-full);
}

.game-list-actions {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
}

.game-list-actions button {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    border: none;
    background: rgba(230, 57, 70, 0.12);
    color: var(--accent-red);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: all 0.2s;
}

.game-list-actions button:hover {
    background: var(--accent-red);
    color: white;
}


/* === Game Viewer === */
.game-viewer {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--bg-deep);
    min-height: calc(100vh - var(--header-h) - 35px);
}

.game-viewer-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    min-height: 48px;
}

.viewer-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.viewer-title h3 { font-size: 0.95rem; }

.viewer-actions {
    display: flex;
    gap: 8px;
}

.game-iframe-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
}

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

.game-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 500px;
    color: var(--text-muted);
    text-align: center;
    padding: 40px;
}

.game-placeholder i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--accent-red);
    opacity: 0.3;
}

.game-placeholder h2 {
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.game-placeholder p {
    max-width: 400px;
    font-size: 0.9rem;
}

/* === Important Notice === */
.notice-box {
    background: rgba(230, 57, 70, 0.06);
    border: 1px solid rgba(230, 57, 70, 0.15);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin: 40px auto;
    max-width: 700px;
}

.notice-box h3 {
    color: var(--accent-red);
    margin-bottom: 8px;
    font-size: 1rem;
}

.notice-box p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.7;
}

.notice-box ul {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
}

.notice-box ul li {
    padding: 4px 0;
    padding-left: 20px;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.notice-box ul li::before {
    content: '•';
    position: absolute;
    left: 4px;
    color: var(--accent-red);
}

/* === Footer === */
.site-footer {
    background: var(--bg-ocean);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    margin: 12px 0 16px;
    line-height: 1.6;
}

.footer-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-links h4 {
    font-size: 0.9rem;
    margin-bottom: 16px;
    color: var(--text-bright);
}

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

.footer-links li {
    margin-bottom: 8px;
}

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

.footer-links a:hover { color: var(--accent-red); }

.footer-disclaimer {
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    margin-bottom: 24px;
}

.disclaimer-box {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(230, 57, 70, 0.05);
    border: 1px solid rgba(230, 57, 70, 0.1);
    border-radius: var(--radius-md);
}

.disclaimer-box i {
    color: var(--accent-red);
    margin-top: 3px;
    flex-shrink: 0;
}

.disclaimer-box p {
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.78rem;
    margin-bottom: 4px;
}

/* === Animations === */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in { animation: fadeIn 0.4s ease-out; }

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.pulse { animation: pulse 2s infinite; }

/* === Alert === */
.alert {
    padding: 12px 20px;
    border-radius: var(--radius-md);
    margin: 12px 24px;
    font-size: 0.88rem;
}

.alert-info {
    background: rgba(46, 196, 182, 0.1);
    border: 1px solid rgba(46, 196, 182, 0.2);
    color: var(--accent-teal);
}

/* === Utilities === */
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 32px; }
.gap-2 { gap: 16px; }
.d-flex { display: flex; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }

/* === Responsive === */
@media (max-width: 1024px) {
    .game-browser {
        flex-direction: column;
    }

    .game-sidebar {
        width: 100%;
        min-width: 100%;
        height: auto;
        max-height: 300px;
        position: relative;
        top: 0;
    }

    .game-viewer {
        min-height: 60vh;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-toggle { display: flex; }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: var(--bg-ocean);
        border-bottom: 1px solid var(--border-color);
        padding: 16px;
        z-index: 999;
    }

    .hero { padding: 50px 0 40px; }

    .hero-stats { gap: 24px; }

    .games-showcase {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    :root {
        --sidebar-w: 100%;
    }
}

@media (max-width: 480px) {
    .games-showcase {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .hero h1 { font-size: 1.8rem; }
    .hero p { font-size: 1rem; }
}
