:root {
    --bg: #101114;
    --surface: #191b20;
    --surface-2: #22252d;
    --text: #f2f4f7;
    --muted: #b6bfca;
    --line: #343946;
    --accent: #4fd1a5;
    --accent-2: #f4c95d;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header-inner { min-height: 78px; display: flex; align-items: center; gap: 24px; position: relative; }
.brand img { display: block; max-height: 72px; object-fit: contain; }
.primary-nav { display: flex; align-items: center; gap: 16px; flex: 1; }
.primary-nav a, .footer-nav a { color: var(--muted); text-decoration: none; }
.primary-nav a:hover, .footer-nav a:hover { color: var(--text); }
.header-actions { display: flex; gap: 10px; }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
}
.button.primary { background: var(--accent); color: #06120e; }
.button.secondary { background: var(--surface-2); color: var(--text); border: 1px solid var(--line); }
.header-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 10px;
    background: #24aad6;
    color: #fff;
    border: 0;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(36, 170, 214, .24);
    animation: pulse 2s infinite !important;
    transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.header-button:hover { background: #3dc3ef; color: #fff; transform: translateY(-1px); box-shadow: 0 10px 22px rgba(36, 170, 214, .32); }
@keyframes pulse {
    0%, 100% { box-shadow: 0 8px 18px rgba(36, 170, 214, .24), 0 0 0 0 rgba(36, 170, 214, .42); }
    50% { box-shadow: 0 8px 18px rgba(36, 170, 214, .24), 0 0 0 8px rgba(36, 170, 214, 0); }
}
@media (prefers-reduced-motion: reduce) {
    .header-button { animation: none; }
}
.menu-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 6px; border: 1px solid var(--line); background: var(--surface-2); color: var(--text); cursor: pointer; font-size: 1.35rem; line-height: 1; }
.hero { padding: 28px 0 0; border-bottom: 0; }
.hero-banner-link {
    display: block;
    width: min(var(--hero-display-width, 600px), 100%);
    margin: 0 auto;
    border-radius: 21px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,.32);
}
.hero-banner-image { display: block; width: 100%; height: auto; }
.main { padding: 36px 0; }
.content-shell { max-width: 980px; }
.content { min-width: 0; }
.secondary-banner {
    width: min(var(--secondary-banner-display-width, 980px), 100%);
    margin: 0 auto 30px;
}
.secondary-banner-link {
    display: block;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 16px 38px rgba(0,0,0,.28);
}
.secondary-banner-link:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.secondary-banner-image { display: block; width: 100%; height: auto; }
.content-meta { color: var(--muted); font-size: 0.9rem; }
h1 { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.1; margin: 0 0 24px; }
h2 { margin-top: 34px; line-height: 1.2; }
h3 { margin-top: 24px; }
p, li { color: var(--muted); }
.content-image { margin: 0 0 30px; }
.content-image-link { display: block; border-radius: 6px; overflow: hidden; }
.content-image-link:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.content-image img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 6px; transition: filter .18s ease; }
.content-image-link:hover img { filter: brightness(1.06); }
.games-showcase { margin: 34px 0 42px; }
.games-showcase h2 { margin-top: 0; }
.games-showcase-intro { margin: -6px 0 18px; }
.games-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.game-card {
    display: block;
    min-width: 0;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--surface);
    color: var(--text);
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.game-card figure { display: flex; flex-direction: column; height: 100%; margin: 0; }
.game-card-media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--surface-2); }
.game-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .18s ease, filter .18s ease; }
.game-card-caption { display: grid; align-content: start; gap: 3px; min-height: 94px; padding: 10px 11px 12px; }
.game-card-name {
    display: -webkit-box;
    min-height: 2.7em;
    overflow: hidden;
    color: var(--text);
    font-weight: 700;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.game-card-provider { overflow: hidden; color: var(--muted); font-size: .82rem; text-overflow: ellipsis; white-space: nowrap; }
.game-card-cta { margin-top: auto; color: var(--accent); font-size: .86rem; font-weight: 700; }
.game-card:hover { transform: translateY(-2px); border-color: var(--accent); box-shadow: 0 12px 28px rgba(0,0,0,.24); }
.game-card:hover .game-card-media img { transform: scale(1.03); filter: brightness(1.05); }
.game-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.table-wrapper { overflow-x: auto; border: 1px solid var(--line); border-radius: 6px; }
table { width: 100%; border-collapse: collapse; min-width: 620px; }
th, td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--text); background: var(--surface-2); }
.faq-item { border: 1px solid var(--line); border-radius: 6px; margin: 10px 0; background: var(--surface); }
.faq-item summary { cursor: pointer; padding: 14px; font-weight: 700; }
.faq-item div { padding: 0 14px 14px; color: var(--muted); }
.site-footer { background: #07080a; border-top: 1px solid var(--line); padding: 30px 0 80px; }
.footer-grid { display: grid; gap: 16px; justify-items: center; text-align: center; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.language-switcher { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.language-link { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); text-decoration: none; background: var(--surface); }
.language-link span { font-weight: 700; color: var(--text); }
.language-link small { color: var(--muted); }
.language-link:hover, .language-link.is-active { border-color: var(--accent); color: var(--text); }
.footer-note { max-width: 760px; font-size: 0.92rem; }
.text-button { background: transparent; color: var(--accent-2); border: 0; text-decoration: underline; cursor: pointer; }
[hidden] { display: none !important; }
.cookie-banner { position: fixed; inset: auto 16px 16px; z-index: 100; display: flex; justify-content: center; }
.cookie-card { width: min(860px, 100%); padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 18px 60px rgba(0,0,0,.45); }
.cookie-options { display: grid; gap: 6px; margin: 14px 0; }
.cookie-options small { color: var(--muted); margin-bottom: 8px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-actions button { min-height: 40px; padding: 0 14px; border-radius: 6px; border: 1px solid var(--line); background: var(--surface-2); color: var(--text); cursor: pointer; }
.cookie-actions button:first-child { background: var(--accent); color: #06120e; border-color: var(--accent); }
@media (max-width: 860px) {
    .header-inner { min-height: 70px; gap: 8px; padding: 8px 0; }
    .brand { order: 1; }
    .brand img { width: clamp(104px, 32vw, 132px); max-width: 132px; }
    .header-actions { display: flex; order: 2; margin-left: auto; }
    .header-button { min-width: 108px; min-height: 40px; padding: 0 12px; font-size: .86rem; }
    .menu-toggle { display: inline-flex; order: 3; flex: 0 0 42px; width: 42px; height: 42px; margin-left: 0; }
    .primary-nav {
        display: none;
        order: 4;
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px;
        background: var(--surface);
        border: 1px solid var(--line);
        border-radius: 0 0 8px 8px;
        box-shadow: 0 18px 48px rgba(0,0,0,.38);
    }
    .primary-nav.open { display: flex; }
    .primary-nav a { padding: 11px 12px; border-radius: 6px; color: var(--text); }
    .primary-nav a:hover { background: var(--surface-2); }
    .hero { padding-top: 18px; }
    .games-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .games-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .game-card-caption { min-height: 90px; padding: 9px 10px 11px; }
}

/* Gambulls: compact reading layout and native portrait game artwork. */
:root {
    --bg: #141517;
    --surface: #202123;
    --surface-2: #2a2c2e;
    --text: #f6f7f7;
    --muted: #c9cdce;
    --line: #414548;
    --accent: #79dec2;
    --accent-2: #ff887e;
}
body { letter-spacing: 0; }
.content-shell { max-width: 1024px; }
.content p, .content li { font-size: 17px; }
.content p { margin: 18px 0; }
.content > p > a, .content li a, .content td a { color: var(--accent); text-underline-offset: 3px; }
h1 { font-size: 42px; line-height: 1.18; overflow-wrap: anywhere; }
h2 { font-size: 27px; line-height: 1.25; margin-top: 40px; }
h3 { font-size: 21px; }
.hero { padding-top: 0; }
.hero > .container { width: min(1180px, 100%); }
.hero-banner-link { border-radius: 0; box-shadow: none; }
.header-inner { min-height: 80px; }
.brand { flex-shrink: 0; }
.brand img { width: 216px; height: 72px; }
.primary-nav { justify-content: flex-end; margin-right: 18px; }
.header-button { background: #ff7872; color: #151515; box-shadow: none; }
.header-button:hover { background: #ff938b; color: #151515; box-shadow: none; }
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,120,114,.24); }
    50% { box-shadow: 0 0 0 6px rgba(255,120,114,0); }
}
.games-grid { gap: 16px; }
.game-card-media { aspect-ratio: 192 / 251; }
.game-card-media img { object-fit: contain; }
.game-card-caption { min-height: 137px; grid-template-rows: minmax(44px, auto) minmax(34px, auto) 22px; }
.game-card-name { display: block; min-height: 0; overflow: visible; font-size: 15px; -webkit-line-clamp: unset; overflow-wrap: anywhere; }
.game-card-provider { white-space: normal; overflow: visible; line-height: 1.3; font-size: 13px; }
.game-card-cta { font-size: 13px; }
.secondary-banner-link { box-shadow: none; border-radius: 0; }
.faq-item { background: transparent; border-width: 0 0 1px; border-radius: 0; }
.faq-item summary { padding: 18px 4px; }
.faq-item div { padding: 0 4px 20px; }
.cookie-card { max-height: calc(100dvh - 32px); overflow-y: auto; }
.cookie-card p { margin: 9px 0 14px; }
.cookie-actions button:first-child, .cookie-actions button:nth-child(2) { background: var(--surface-2); color: var(--text); border-color: #767d80; }
.cookie-actions button:hover { border-color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (max-width: 860px) {
    .hero-banner-link { max-width: 560px; }
    .brand img { width: 136px; max-width: 136px; height: 46px; }
    .header-inner { min-height: 66px; }
    .primary-nav { margin: 0; }
    .header-button { min-width: 108px; }
    .main { padding-top: 26px; }
    h1 { font-size: 32px; }
    h2 { font-size: 25px; }
    .games-grid { gap: 12px; max-width: 600px; }
    .header-actions { flex-shrink: 0; }
}
@media (max-width: 560px) {
    .container { width: calc(100% - 28px); }
    .games-grid { gap: 10px; max-width: 394px; margin: 0 auto; }
    .game-card-caption { min-height: 150px; grid-template-rows: minmax(62px, auto) minmax(34px, auto) 22px; }
    h1 { font-size: 30px; }
    .content p, .content li { font-size: 16px; }
    .cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .cookie-actions button { padding: 8px; }
    .cookie-banner { inset: auto 10px 10px; }
    .site-footer { padding-bottom: 36px; }
}
@media (max-width: 360px) {
    .header-inner { gap: 5px; }
    .brand img { width: 115px; max-width: 115px; }
    .header-button { min-width: 102px; padding: 0 8px; font-size: 13px; }
    .menu-toggle { width: 36px; height: 40px; flex-basis: 36px; }
    .game-card-caption { padding: 9px 8px; }
}
@media (prefers-reduced-motion: reduce) {
    .header-button { animation: none !important; }
    .game-card, .game-card-media img { transition: none; }
}
