/* Slottica Casino – Premium light theme, desktop + mobile */

:root {
    --bg: #0f1116;
    --bg-soft: #161b24;
    --surface: #1a1f2a;
    --surface-elevated: #222936;
    --border: #2d3548;
    --border-soft: rgba(255, 255, 255, 0.08);
    --text: #e8eaef;
    --text-muted: #8b92a4;
    --nav-link: #60a5fa;
    --nav-link-hover: #93c5fd;
    --cta: #22c55e;
    --cta-hover: #4ade80;
    --cta-glow: rgba(34, 197, 94, 0.35);
    --btn-login: #3b82f6;
    --btn-login-hover: #60a5fa;
    --hero-gradient: linear-gradient(135deg, #1e3a5f 0%, #0f172a 40%, #1e293b 100%);
    --hero-overlay: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 40%, transparent 70%);
    --pros: #4ade80;
    --cons: #f87171;
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.35);
    --shadow-cta: 0 4px 20px var(--cta-glow);
    --font: 'Roboto', system-ui, sans-serif;
    --max: 1140px;
    --accent-gold: #fbbf24;
    --accent-gold-dim: rgba(251, 191, 36, 0.15);
}

@font-face {
    font-family: 'Roboto';
    src: url('fonts/Roboto-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('fonts/Roboto-Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    padding-top: 68px;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    background-image: radial-gradient(ellipse 120% 80% at 50% -20%, var(--bg-soft), transparent 50%);
    min-height: 100vh;
}

.wrap {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.btn-cta {
    background: var(--cta);
    color: #fff;
    box-shadow: var(--shadow-cta);
}

.btn-cta:hover {
    background: var(--cta-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 28px var(--cta-glow);
}

.btn-ghost {
    background: transparent;
    color: var(--btn-login);
    border: 2px solid var(--border);
}

.btn-ghost:hover {
    background: var(--surface-elevated);
    color: var(--nav-link);
    border-color: var(--nav-link);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--nav-link);
    color: var(--nav-link);
    background: var(--surface-elevated);
}

/* Header – premium dark */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 31, 42, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-soft);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.header-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.header-logo img {
    display: block;
    height: 36px;
    width: auto;
}

.nav {
    display: none;
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.nav-list a {
    color: var(--nav-link);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-list a:hover {
    color: var(--nav-link-hover);
}

.header-actions {
    display: none;
    gap: 10px;
}

.header-actions .btn-cta {
    background: var(--cta);
}

.header-actions .btn-ghost {
    color: var(--btn-login);
    border-color: var(--btn-login);
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text);
    border-radius: var(--radius-sm);
    transition: background 0.2s, color 0.2s;
}

.menu-toggle:hover {
    background: var(--surface-elevated);
    color: var(--nav-link);
}

.menu-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    transition: transform 0.25s, opacity 0.25s;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Drawer – premium */
.drawer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: var(--surface);
    padding: 88px 24px 24px;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease, visibility 0.3s;
    visibility: hidden;
    box-shadow: var(--shadow-lg);
    border-right: 1px solid var(--border-soft);
}

.drawer.is-open {
    transform: translateX(0);
    visibility: visible;
}

.drawer-list li {
    border-bottom: 1px solid var(--border);
}

.drawer-list a {
    display: block;
    padding: 16px 0;
    color: var(--text);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
    transition: color 0.2s, padding-left 0.2s;
}

.drawer-list a:hover {
    color: var(--nav-link);
    padding-left: 12px;
}

/* Hero slider – orange/yellow feel, dots, animations */
.hero {
    position: relative;
    margin: 0 auto 32px;
    max-width: var(--max);
    padding: 0 20px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-track {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--hero-gradient);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s;
}

.hero-slide--active {
    position: relative;
    opacity: 1;
    visibility: visible;
}

.hero-slide--active .hero-caption {
    animation: heroCaptionIn 0.6s ease forwards;
}

.hero-slide--active .hero-caption h2 {
    animation: heroTitleIn 0.5s ease 0.1s both;
}

.hero-slide--active .hero-caption p {
    animation: heroTextIn 0.5s ease 0.2s both;
}

.hero-slide--active .hero-caption .btn {
    animation: heroBtnIn 0.4s ease 0.3s both;
}

@keyframes heroCaptionIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes heroTitleIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroTextIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroBtnIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-slide img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 1200 / 400;
    object-fit: cover;
}

.hero-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 32px;
    background: var(--hero-overlay);
    color: #fff;
    pointer-events: none;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.hero-caption .btn {
    pointer-events: auto;
    margin-top: 14px;
    background: var(--cta);
    color: #fff;
    box-shadow: var(--shadow-cta);
}

.hero-caption .btn:hover {
    background: var(--cta-hover);
    box-shadow: 0 6px 28px var(--cta-glow);
}

.hero-caption h2 {
    margin: 0 0 8px;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.hero-caption p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.95;
}

.hero-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 12px;
    pointer-events: none;
}

.hero-prev,
.hero-next {
    pointer-events: auto;
    width: 48px;
    height: 48px;
    border: 1px solid var(--border-soft);
    border-radius: 50%;
    background: rgba(26, 31, 42, 0.85);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    box-shadow: var(--shadow);
}

.hero-prev:hover,
.hero-next:hover {
    background: var(--surface-elevated);
    transform: scale(1.08);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Hero dots – below slider, mobile + desktop */
.hero-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    padding: 0 12px;
    z-index: 5;
    pointer-events: none;
}

.hero-dots .hero-dot {
    pointer-events: auto;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background 0.25s, transform 0.2s, box-shadow 0.2s;
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

.hero-dot--active {
    background: #fff;
    transform: scale(1.25);
    box-shadow: 0 0 0 2px rgba(0,0,0,0.3), 0 0 12px rgba(255,255,255,0.2);
}

/* Intro – premium card */
.intro {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    margin: 0 auto 32px;
    max-width: calc(var(--max) - 40px);
    padding: 40px 32px 44px;
    box-shadow: var(--shadow);
}

.intro h1 {
    margin: 0 0 20px;
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
}

.intro p {
    margin: 0 0 16px;
    color: var(--text-muted);
    max-width: 72ch;
}

/* Table of Contents – premium accordion */
.toc {
    margin-bottom: 24px;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm);
    background: var(--surface);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.toc-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 20px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s, color 0.2s;
}

.toc-trigger:hover {
    background: var(--surface-elevated);
}

.toc-trigger:focus {
    outline: 2px solid var(--nav-link);
    outline-offset: 2px;
}

.toc-trigger-icon {
    display: block;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-left: 12px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%238b92a4' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E") center/contain no-repeat;
    transition: transform 0.25s ease;
}

.toc.is-open .toc-trigger-icon {
    transform: rotate(180deg);
}

.toc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.toc.is-open .toc-body {
    max-height: 200px;
}

.toc-list {
    margin: 0;
    padding: 12px 20px 18px;
    list-style: none;
    border-top: 1px solid var(--border-soft);
}

.toc-list li {
    margin-bottom: 8px;
}

.toc-list li:last-child {
    margin-bottom: 0;
}

.toc-list a {
    color: var(--nav-link);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

.toc-list a:hover {
    color: var(--nav-link-hover);
    text-decoration: underline;
}

.section-heading {
    margin: 0 0 28px;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text);
    text-align: center;
    letter-spacing: -0.02em;
}

/* Content sections – key-info, bonusy, mobile */
#key-info,
#bonusy,
#mobile {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 32px 28px 36px;
    margin-bottom: 28px;
    box-shadow: var(--shadow);
}

#key-info h2,
#bonusy h2,
#mobile h2 {
    margin: 0 0 20px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-soft);
}

#bonusy h3,
#mobile h3 {
    margin: 24px 0 12px;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--nav-link);
}

#bonusy h3:first-of-type,
#mobile h3:first-of-type {
    margin-top: 0;
}

#key-info p,
#bonusy p,
#mobile p {
    margin: 0 0 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

#bonusy a,
#key-info a {
    color: var(--nav-link);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

#bonusy a:hover,
#key-info a:hover {
    color: var(--nav-link-hover);
    text-decoration: underline;
}

/* Info table – premium */
.info-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    margin: 0;
}

.info-table thead th {
    text-align: left;
    padding: 14px 18px;
    font-weight: 700;
    color: var(--text);
    background: var(--surface-elevated);
    border: 1px solid var(--border-soft);
    border-bottom: 2px solid var(--border);
}

.info-table tbody td {
    padding: 14px 18px;
    border: 1px solid var(--border-soft);
    color: var(--text-muted);
}

.info-table tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

.info-table tbody tr:hover {
    background: var(--surface-elevated);
}

.info-table tbody td:first-child {
    font-weight: 600;
    color: var(--text);
    width: 28%;
}

/* Games grid – light, TOP badge, title below */
.games {
    padding: 24px 0 48px;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
}

.game-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border-soft);
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}

.game-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: rgba(96, 165, 250, 0.3);
}

.game-card-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    background: linear-gradient(135deg, var(--cta) 0%, #16a34a 100%);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 6px;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.4);
}

.game-card-img {
    width: 100%;
    display: block;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.35s ease;
}

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

.game-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 20%, rgba(0, 0, 0, 0.4) 50%, transparent 70%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 18px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.game-card-overlay h3 {
    margin: 0 0 10px;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

.game-card:hover .game-card-overlay h3 {
    transform: translateY(0);
}

.game-card-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    transform: translateY(10px);
    transition: transform 0.3s ease 0.05s;
}

.game-card:hover .game-card-actions {
    transform: translateY(0);
}

.game-card-actions .btn {
    padding: 8px 14px;
    font-size: 0.85rem;
}

.game-card-title {
    margin: 0;
    padding: 14px 16px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    text-align: center;
    background: var(--surface-elevated);
    border-top: 1px solid var(--border-soft);
}

/* Pros / Cons – premium */
.pros-cons {
    padding: 40px 0 48px;
}

.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 880px;
    margin: 0 auto;
}

.pros-box,
.cons-box {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 28px;
    text-align: left;
    box-shadow: var(--shadow);
    transition: box-shadow 0.25s, border-color 0.25s;
}

.pros-box:hover {
    border-color: rgba(74, 222, 128, 0.25);
    box-shadow: 0 8px 32px rgba(34, 197, 94, 0.08);
}

.cons-box:hover {
    border-color: rgba(248, 113, 113, 0.25);
    box-shadow: 0 8px 32px rgba(248, 113, 113, 0.08);
}

.pros-box h3 {
    margin: 0 0 18px;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--pros);
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(74, 222, 128, 0.2);
}

.cons-box h3 {
    margin: 0 0 18px;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--cons);
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(248, 113, 113, 0.2);
}

.pros-box ul,
.cons-box ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pros-box li,
.cons-box li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 12px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.pros-box li:last-child,
.cons-box li:last-child {
    margin-bottom: 0;
}

.pros-box li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2316a34a' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/contain no-repeat;
}

.cons-box li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23dc2626' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M6 18L18 6M6 6l12 12'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Footer – premium */
.footer {
    background: var(--surface);
    border-top: 1px solid var(--border-soft);
    padding: 44px 0 28px;
    margin-top: 32px;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.2);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
    margin-bottom: 36px;
}

.footer-col h4 {
    margin: 0 0 16px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

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

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--nav-link);
}

.payment-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.payment-icons img {
    height: 28px;
    width: auto;
    object-fit: contain;
    opacity: 0.85;
    filter: brightness(1.1);
}

.footer-bottom {
    padding-top: 28px;
    border-top: 1px solid var(--border-soft);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-badges {
    display: flex;
    gap: 20px;
    align-items: center;
}

.footer-badges img {
    height: 30px;
    width: auto;
    object-fit: contain;
    opacity: 0.9;
}

/* Mobile bar – premium */
.mobile-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 950;
    padding: 14px 18px;
    background: rgba(26, 31, 42, 0.96);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-soft);
    gap: 12px;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.25);
}

.mobile-bar .btn {
    flex: 1;
}

/* Responsive – mobile first polish */
@media (max-width: 767px) {
    body {
        padding-bottom: 76px;
    }

    .mobile-bar {
        display: flex;
    }

    .hero-nav {
        display: none;
    }

    .hero-dots {
        bottom: 12px;
        gap: 8px;
    }

    .hero-dot {
        width: 8px;
        height: 8px;
    }

    .hero-dot--active {
        transform: scale(1.25);
    }

    .hero-caption {
        padding: 18px 20px;
    }

    .hero-caption h2 {
        font-size: 1.2rem;
    }

    .hero-caption p {
        font-size: 0.875rem;
    }

    .intro {
        margin-left: 20px;
        margin-right: 20px;
        padding: 28px 20px 32px;
    }

    .intro h1 {
        font-size: 1.5rem;
    }

    .pros-cons-grid {
        grid-template-columns: 1fr;
    }

    .game-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .game-card-title {
        padding: 10px 10px;
        font-size: 0.85rem;
    }
}

@media (min-width: 768px) {
    .nav {
        display: block;
    }

    .header-actions {
        display: flex;
    }

    .menu-toggle {
        display: none;
    }

    .hero-caption h2 {
        font-size: 2rem;
    }

    .hero-caption p {
        font-size: 1.05rem;
    }

    .section-heading {
        font-size: 1.9rem;
    }

    /* Intro: stretch content across full width of block on desktop */
    .intro {
        max-width: var(--max);
        padding-left: 32px;
        padding-right: 32px;
    }

    .game-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .hero-caption {
        max-width: 48%;
        padding: 32px 40px;
    }

    /* Intro: full width of container, content edge-to-edge */
    .intro {
        padding-left: 40px;
        padding-right: 40px;
    }

    /* Games: more horizontal cards, fit more per row */
    .game-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 24px;
    }
}
