/*
 | Academia theme (after academiadepacanele.ro / gamblerslots.ro, redrawn): cream page, big bold titles,
 | the recommended offer on a card in the accent, medals, an arcade grid behind the newsletter.
 |
 | ONE color drives everything: --accent (hub: Appearance settings > Accent; default below). Every shade
 | is mixed from it, so a site gets a complete palette (purple, red, green...) without new CSS.
 | The font comes from the hub too (--font, "default_font" in theme.json when none is picked).
 | components.css of the default theme is kept for the shared pages and re-themed at the end.
 */

:root {
    --accent: #622584;
    --gold: #edb632;
    --gold-light: #f8d27a;
    --gold-ink: #7a5408;
    --cream: #fffcf9;
    --ink: #17121c;

    /* Shades of the accent. */
    --ac-deep: color-mix(in srgb, var(--accent) 38%, #07040b);
    --ac-dark: color-mix(in srgb, var(--accent) 72%, #000);
    --ac-mid: color-mix(in srgb, var(--accent) 72%, #fff);
    --ac-light: color-mix(in srgb, var(--accent) 45%, #fff);
    --ac-soft: color-mix(in srgb, var(--accent) 10%, #fff);
    --ac-softer: color-mix(in srgb, var(--accent) 5%, var(--cream));
    --ac-line: color-mix(in srgb, var(--accent) 16%, #ece8ee);
    --ac-glow: color-mix(in srgb, var(--accent) 38%, transparent);

    /* Shared components (components.css) in this palette. */
    --bg: var(--cream);
    --surface: #fff;
    --text: var(--ink);
    --text-soft: #3d3644;
    --muted: #6e6676;
    --border: var(--ac-line);
    --header-from: var(--ac-deep);
    --header-to: var(--ac-dark);
    --footer-bg: var(--ac-deep);
    --highlight: var(--accent);
    --button: var(--accent);
    --cta: var(--accent);
    --radius: 24px;
    --radius-sm: 14px;
    --shadow-sm: 0 1px 2px rgba(23, 18, 28, .04), 0 8px 24px color-mix(in srgb, var(--accent) 7%, transparent);
    --shadow-md: 0 2px 6px rgba(23, 18, 28, .05), 0 18px 40px color-mix(in srgb, var(--accent) 16%, transparent);
}

/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; }
html { font-family: var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-behavior: smooth; scroll-padding-top: 140px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--cream); color: var(--ink); font-family: var(--font); font-size: 1rem; line-height: 1.6; overflow-x: hidden; }
body.modal-open { overflow: hidden; }
img { max-width: 100%; height: auto; }
a { color: var(--accent); }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; color: var(--ink); }
p { margin: 0 0 1em; }
main { flex: 1; width: 100%; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; position: relative; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--ac-light); color: #fff; }
.ac-skip { position: absolute; left: 12px; top: -60px; z-index: 2000; padding: 10px 16px; border-radius: 10px; background: var(--accent); color: #fff; font-weight: 700; }
.ac-skip:focus { top: 12px; }

/* ===== BUTTONS ===== */
/* Pill in the accent with a lighter rim and a soft glow; the gradient slides on hover. */
.ac-btn {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 28px; border: 2px solid transparent; border-radius: 999px; cursor: pointer;
    font: 800 .95rem/1.1 var(--font); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; white-space: nowrap; color: #fff;
    background: linear-gradient(100deg, var(--ac-dark), var(--accent) 45%, var(--ac-mid) 75%, var(--accent)) padding-box,
                linear-gradient(120deg, var(--ac-light), #fff, var(--ac-light)) border-box;
    background-size: 220% 100%, 100% 100%;
    box-shadow: 0 10px 24px -8px var(--ac-glow), inset 0 1px 0 rgba(255, 255, 255, .25);
    transition: background-position .5s ease, transform .2s ease, box-shadow .2s ease;
}
.ac-btn:hover, .ac-btn:focus-visible { color: #fff; background-position: 100% 0, 0 0; transform: translateY(-2px); box-shadow: 0 16px 30px -10px var(--ac-glow), inset 0 1px 0 rgba(255, 255, 255, .3); }
.ac-btn:active { transform: translateY(0); }
.ac-btn:disabled { opacity: .6; cursor: wait; transform: none; }
.ac-btn i { transition: transform .2s ease; }
.ac-btn:hover i { transform: translateX(3px); }
.ac-btn-sm { padding: 11px 20px; font-size: .8rem; }
.ac-btn-glow { padding: 16px 32px; font-size: 1rem; }
/* Gold, on the accent backgrounds (spotlight, newsletter). */
.ac-spotlight .ac-btn, .ac-start .ac-btn {
    color: var(--ink);
    background: linear-gradient(100deg, #e9a91c, var(--gold) 40%, var(--gold-light) 70%, var(--gold)) padding-box,
                linear-gradient(120deg, #fff3cf, #fff, #f3c65a) border-box;
    background-size: 220% 100%, 100% 100%;
    box-shadow: 0 12px 30px -8px rgba(237, 182, 50, .55), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.ac-spotlight .ac-btn:hover, .ac-start .ac-btn:hover, .ac-spotlight .ac-btn:focus-visible, .ac-start .ac-btn:focus-visible { color: var(--ink); }
/* White, on the dark footer. */
.ac-btn-light { color: var(--ac-dark); background: #fff; border-color: rgba(255, 255, 255, .6); box-shadow: none; }
.ac-btn-light:hover, .ac-btn-light:focus-visible { color: var(--ac-dark); background: var(--ac-soft); box-shadow: none; }

/* ===== HEADER ===== */
.ac-header { position: sticky; top: 0; z-index: 900; background: color-mix(in srgb, var(--cream) 88%, transparent); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: box-shadow .3s ease, border-color .3s ease, transform .35s cubic-bezier(.2, .7, .2, 1); }
/* Desktop, once the page scrolls: the whole header slides up by the height of its top row (social, logo,
   marks), so only the menu stays pinned. Its height never changes (no jump in the page); --ac-top-h is
   measured by the layout's script. */
@media (min-width: 992px) {
    html { scroll-padding-top: 80px; }
    .ac-header-inner { transition: opacity .25s ease, visibility 0s; }
    .ac-header.is-scrolled { transform: translateY(calc(-1 * var(--ac-top-h, 0px))); }
    /* Hidden after the fade, so its links can't be reached with Tab while off screen. */
    .ac-header.is-scrolled .ac-header-inner { opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility 0s .25s; }
    /* Alone in the bar: same space above and below (6 + 12 = 9 + 9, so the header keeps its height). */
    .ac-nav { transition: padding .25s ease; }
    .ac-header.is-scrolled .ac-nav { padding-top: 9px; padding-bottom: 9px; }
}
.ac-header.is-scrolled { border-bottom-color: var(--ac-line); box-shadow: 0 10px 30px -18px color-mix(in srgb, var(--accent) 45%, transparent); }
.ac-header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding-top: 14px; padding-bottom: 8px; }
.ac-header-side { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ac-header-end { justify-content: flex-end; }

.ac-logo { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; color: var(--ink); font-weight: 900; font-size: 1.5rem; letter-spacing: -0.03em; }
.ac-logo img { display: block; width: auto; height: 76px; max-width: 260px; object-fit: contain; transition: height .3s ease; }

.ac-social { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ac-social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--ink) 16%, transparent); color: var(--ink); font-size: 1.05rem; text-decoration: none; transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.ac-social a:hover, .ac-social a:focus-visible { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-2px); }
.ac-social img { width: 20px; height: 20px; object-fit: contain; }

.ac-adult { display: grid; place-items: center; flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--ink) 55%, transparent); font-weight: 700; font-size: .85rem; color: var(--ink); }
.ac-account { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--ac-soft); color: var(--ac-dark); font: 700 .9rem var(--font); cursor: pointer; text-decoration: none; transition: background-color .2s ease, color .2s ease; }
.ac-account:hover, .ac-account:focus-visible { background: var(--accent); color: #fff; }

.ac-burger { display: none; position: relative; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--ac-soft); cursor: pointer; }
.ac-burger span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--ac-dark); transition: transform .25s ease, opacity .2s ease; }
.ac-burger span:nth-child(1) { top: 15px; }
.ac-burger span:nth-child(2) { top: 21px; }
.ac-burger span:nth-child(3) { top: 27px; }
body.nav-open .ac-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .ac-burger span:nth-child(2) { opacity: 0; }
body.nav-open .ac-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.ac-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 6px 0 12px; }
.ac-nav a { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: 999px; color: var(--text-soft); font-weight: 700; font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; transition: background-color .2s ease, color .2s ease; }
.ac-nav a i { color: var(--accent); font-size: .85em; }
.ac-nav a:hover, .ac-nav a:focus-visible { background: var(--ac-soft); color: var(--ac-dark); }
.ac-nav a.is-active { background: var(--accent); color: #fff; }
.ac-nav a.is-active i { color: inherit; }
.ac-nav .ac-nav-giveaway { color: var(--gold-ink); background: linear-gradient(100deg, #fff6df, #fdebbd); box-shadow: inset 0 0 0 1.5px #f3cf73; }
.ac-nav .ac-nav-giveaway i { color: #d99b0f; }
.ac-nav .ac-nav-giveaway:hover, .ac-nav .ac-nav-giveaway.is-active { background: linear-gradient(100deg, var(--gold), var(--gold-light)); color: var(--ink); }
.ac-nav .ac-nav-giveaway.is-active i, .ac-nav .ac-nav-giveaway:hover i { color: var(--ink); }

/* ===== HERO + SPOTLIGHT ===== */
.ac-main { padding-bottom: 0; }
.ac-hero { padding: 28px 0 24px; }
.ac-hero-title { max-width: 18ch; margin: 0 0 10px; font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.9rem); font-weight: 900; line-height: 1.02; letter-spacing: -0.035em; }
.ac-hero-subtitle { max-width: 60ch; margin: 0 0 8px; font-size: clamp(1.02rem, .95rem + .3vw, 1.2rem); color: var(--muted); }
.ac-hero-lead { max-width: 72ch; margin-top: 10px; }

.ac-spotlight {
    position: relative; isolation: isolate; overflow: hidden; margin-top: 28px;
    display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); align-items: center;
    padding: clamp(24px, 3.5vw, 48px); border: 2px solid transparent; border-radius: 32px; color: #fff;
    background:
        radial-gradient(70% 90% at 100% 0%, color-mix(in srgb, var(--accent) 55%, #fff) 0%, transparent 55%) padding-box,
        radial-gradient(60% 80% at 0% 100%, var(--ac-deep) 0%, transparent 70%) padding-box,
        linear-gradient(135deg, var(--ac-dark), var(--accent) 60%, var(--ac-mid)) padding-box,
        linear-gradient(120deg, var(--ac-light), rgba(255, 255, 255, .85), var(--ac-dark)) border-box;
    box-shadow: 0 30px 60px -30px var(--ac-glow), 0 12px 24px -16px rgba(23, 18, 28, .35);
}
/* Fine grid fading to the right, and a warm glow behind the panel. */
.ac-spotlight::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 34px 34px; -webkit-mask-image: linear-gradient(100deg, #000, transparent 70%); mask-image: linear-gradient(100deg, #000, transparent 70%); }
.ac-spotlight::after { content: ""; position: absolute; z-index: -1; right: 8%; top: 50%; width: 360px; height: 360px; transform: translateY(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(237, 182, 50, .35), transparent 65%); filter: blur(10px); pointer-events: none; }

.ac-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ac-eyebrow i { color: var(--gold); }
.ac-spotlight-title { margin: 0 0 12px; color: #fff; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem); font-weight: 800; line-height: 1.1; }
.ac-spotlight-title strong { display: block; margin-bottom: 4px; color: var(--gold); font-weight: 900; text-shadow: 0 2px 18px rgba(237, 182, 50, .35); }
.ac-spotlight-subtitle { max-width: 48ch; color: rgba(255, 255, 255, .82); font-size: 1.05rem; }
.ac-spotlight-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 22px; }
.ac-spotlight-visit { color: rgba(255, 255, 255, .85); font-weight: 600; font-size: .9rem; text-underline-offset: 4px; }
.ac-spotlight-visit:hover { color: #fff; }

.ac-spotlight-panel { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 22px; border-radius: 24px; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ac-spotlight-logo { display: grid; place-items: center; width: 100%; height: 128px; padding: 18px; border-radius: 18px; background: #fff; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .45); transition: transform .25s ease; }
.ac-spotlight-logo:hover { transform: scale(1.02); }
.ac-spotlight-logo img { max-height: 88px; width: auto; object-fit: contain; }
.ac-spotlight-features { display: grid; gap: 8px; width: 100%; margin: 0; padding: 0; list-style: none; font-size: .92rem; }
.ac-spotlight-features li { display: flex; align-items: flex-start; gap: 10px; color: rgba(255, 255, 255, .9); }
.ac-spotlight-features i { display: grid; place-items: center; flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--gold); color: var(--ink); font-size: .65rem; }

.ac-stars { display: inline-flex; gap: 3px; color: var(--gold); font-size: .95rem; }

/* Quick links under the spotlight. */
.ac-quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-top: 22px; }
.ac-quick-link { display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--ac-line), var(--shadow-sm); color: var(--ac-dark); font-weight: 800; font-size: .85rem; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.ac-quick-link > i:first-child { display: grid; place-items: center; flex-shrink: 0; width: 38px; height: 38px; border-radius: 12px; background: var(--ac-soft); color: var(--accent); font-size: .95rem; }
.ac-quick-link span { flex: 1; }
.ac-quick-arrow { color: var(--ac-light); transition: transform .2s ease, color .2s ease; }
.ac-quick-link:hover, .ac-quick-link:focus-visible { transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px var(--accent), var(--shadow-md); color: var(--ac-dark); }
.ac-quick-link:hover .ac-quick-arrow { transform: translateX(3px); color: var(--accent); }
.ac-quick-gold { color: var(--gold-ink); box-shadow: inset 0 0 0 1.5px #f3d483, var(--shadow-sm); }
.ac-quick-gold > i:first-child { background: #fff3d1; color: #d99b0f; }
.ac-quick-gold .ac-quick-arrow { color: #e9c46a; }
.ac-quick-gold:hover, .ac-quick-gold:focus-visible { color: var(--gold-ink); box-shadow: inset 0 0 0 1.5px var(--gold), 0 18px 34px -18px rgba(237, 182, 50, .7); }
.ac-quick-gold:hover .ac-quick-arrow { color: #d99b0f; }

/* ===== SECTIONS ===== */
.ac-section { position: relative; padding: clamp(40px, 6vw, 80px) 0; }
.ac-section-head { margin-bottom: clamp(24px, 3vw, 40px); text-align: center; }
.ac-kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px; color: var(--accent); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.ac-kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--ac-soft); }
.ac-title { margin: 0; font-size: clamp(1.8rem, 1.2rem + 2.2vw, 3rem); font-weight: 900; letter-spacing: -0.03em; }

/* Slanted light band behind the bonuses. */
.ac-bonuses::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--ac-softer), #fff 60%, var(--cream)); clip-path: polygon(0 3%, 100% 0, 100% 97%, 0 100%); }

/* ===== CASINO CARDS ===== */
.casinos { display: grid; gap: 22px; }
.ac-casino {
    position: relative; display: grid; grid-template-columns: 150px minmax(0, 1fr) 110px 210px; align-items: center; gap: 22px;
    padding: 18px 22px 18px 30px; border-radius: 22px; background: #fff;
    box-shadow: inset 0 0 0 1.5px var(--ac-line), var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease;
    animation: ac-rise .5s ease both;
}
.ac-casino:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1.5px var(--ac-light), var(--shadow-md); }
.ac-casino.is-gold { background: linear-gradient(100deg, #fffaf0, #fff 40%); box-shadow: inset 0 0 0 1.5px #f1d48b, 0 18px 40px -22px rgba(237, 182, 50, .6); }
@keyframes ac-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ac-casino { animation: none; } }

.ac-casino-rank { position: absolute; left: 0; top: 0; transform: translate(-30%, -30%); z-index: 1; }
.ac-casino-rank img { display: block; width: 44px; height: auto; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .18)); }
.ac-casino-rank > span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--ac-mid), var(--ac-dark)); color: #fff; font-weight: 800; font-size: .9rem; box-shadow: 0 0 0 4px var(--cream), 0 8px 16px -6px var(--ac-glow); }

.ac-casino-logo { display: grid; place-items: center; height: 88px; padding: 10px; border-radius: 16px; background: var(--ac-softer); box-shadow: inset 0 0 0 1px var(--ac-line); }
.ac-casino-logo img { max-height: 62px; width: auto; object-fit: contain; }

.ac-casino-title { margin: 0 0 6px; font-size: 1.12rem; font-weight: 800; line-height: 1.25; }
.ac-casino-name { display: block; margin-bottom: 2px; color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.ac-casino-title strong { color: var(--accent); font-weight: 900; }
.ac-casino-subtitle { margin: 0 0 8px; color: var(--text-soft); font-size: .92rem; line-height: 1.5; }
.ac-casino-features { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.ac-casino-features li { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--ac-soft); color: var(--ac-dark); font-size: .78rem; font-weight: 600; }
.ac-casino-features i { font-size: .7rem; color: var(--accent); }

.ac-casino-rating { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.ac-casino-score { font-size: 1.6rem; font-weight: 900; line-height: 1; letter-spacing: -0.03em; }
.ac-casino-rating .ac-stars { font-size: .8rem; gap: 2px; }

.ac-casino-actions { display: flex; flex-direction: column; align-items: stretch; gap: 10px; text-align: center; }
.ac-casino-visit { color: var(--muted); font-size: .8rem; font-weight: 600; text-decoration: none; }
.ac-casino-visit i { font-size: .7rem; margin-left: 3px; }
.ac-casino-visit:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ===== PROMOTIONS ===== */
.ac-promos { margin-top: clamp(36px, 5vw, 56px); }
.ac-promos-title { margin: 0 0 18px; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); font-weight: 900; }
.ac-promos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.ac-promo { display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--ac-line), var(--shadow-sm); color: inherit; text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
.ac-promo:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1.5px var(--ac-light), var(--shadow-md); }
.ac-promo-media { display: grid; place-items: center; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--ac-soft), var(--ac-softer)); color: var(--ac-light); font-size: 2rem; overflow: hidden; }
.ac-promo-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.ac-promo:hover .ac-promo-media img { transform: scale(1.04); }
.ac-promo-body { display: flex; flex: 1; flex-direction: column; gap: 4px; padding: 16px 18px 18px; }
.ac-promo-name { font-weight: 800; font-size: 1.02rem; }
.ac-promo-subtitle { color: var(--muted); font-size: .9rem; }
.ac-promo-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 10px; color: var(--accent); font-weight: 800; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.ac-promo-cta i { transition: transform .2s ease; }
.ac-promo:hover .ac-promo-cta i { transform: translateX(4px); }

/* ===== TRUST ===== */
.ac-trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: clamp(32px, 5vw, 56px) 0 0; padding: 0; list-style: none; }
.ac-trust li { display: flex; align-items: flex-start; gap: 14px; padding: 18px; border-radius: 20px; background: color-mix(in srgb, #fff 70%, transparent); box-shadow: inset 0 0 0 1px var(--ac-line); color: var(--muted); font-size: .9rem; line-height: 1.5; }
.ac-trust strong { display: block; margin-bottom: 2px; color: var(--ink); font-size: .98rem; }
.ac-trust-icon { display: grid; place-items: center; flex-shrink: 0; width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg, var(--ac-mid), var(--ac-dark)); color: #fff; font-size: 1.05rem; box-shadow: 0 10px 20px -10px var(--ac-glow); }

/* ===== PAGE CONTENT (hub CMS) ===== */
.ac-content { padding-top: 0; }
.ac-content-card { padding: clamp(24px, 5vw, 64px); border-radius: 32px; background: #fff; box-shadow: inset 0 0 0 1px var(--ac-line), var(--shadow-sm); }
.ac-content-card, .page-card .cms { color: var(--text-soft); font-size: 1.02rem; line-height: 1.8; }
.cms h2 { margin: 1.6em 0 .55em; font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.25rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1.12; }
.cms h3 { margin: 1.4em 0 .5em; font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); font-weight: 800; }
.cms > :first-child { margin-top: 0; }
.cms strong, .cms b { color: var(--ink); font-weight: 700; }
.cms a { color: var(--accent); font-weight: 600; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.cms a:hover { color: var(--ac-dark); }
.cms ul { padding-left: 0; list-style: none; }
.cms ul li { position: relative; margin: .4em 0; padding-left: 30px; }
.cms ul li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--accent); background: var(--ac-soft); }
.cms ol { padding-left: 1.3em; }
.cms ol li::marker { color: var(--accent); font-weight: 800; }
.cms blockquote { margin: 1.4em 0; padding: 16px 22px; border-left: 4px solid var(--accent); border-radius: 0 16px 16px 0; background: var(--ac-softer); color: var(--ink); }
.cms hr { border: 0; height: 1px; margin: 2em 0; background: var(--ac-line); }
.cms table { width: 100%; margin: 1.4em 0; border-radius: 16px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--ac-line); font-size: .95rem; }
.cms th { background: var(--ac-soft); color: var(--ac-dark); text-align: left; }
.cms th, .cms td { padding: 12px 14px; border-bottom: 1px solid var(--ac-line); }
/* FAQ written as <details> in the hub editor: accordion like the original. */
.cms details { border-bottom: 1px solid var(--ac-line); }
.cms details:first-of-type { border-top: 1px solid var(--ac-line); }
.cms summary { display: flex; align-items: center; gap: 14px; padding: 18px 4px; cursor: pointer; list-style: none; color: var(--ink); font-weight: 700; font-size: 1.05rem; }
.cms summary::-webkit-details-marker { display: none; }
.cms summary::before { content: "\f059"; flex-shrink: 0; font: 900 1.35rem/1 "Font Awesome 6 Free"; color: var(--accent); }
.cms summary::after { content: "\f078"; margin-left: auto; font: 900 .85rem/1 "Font Awesome 6 Free"; color: var(--muted); transition: transform .25s ease; }
.cms details[open] summary::after { transform: rotate(180deg); color: var(--accent); }
.cms details > :not(summary) { padding: 0 4px 0 46px; }
.cms details[open] > :last-child { margin-bottom: 18px; }

/* ===== NEWSLETTER ("START") ===== */
.ac-start { position: relative; isolation: isolate; overflow: hidden; margin-top: clamp(24px, 4vw, 48px); padding: clamp(56px, 8vw, 104px) 0; color: #fff; text-align: center;
    background: radial-gradient(60% 70% at 50% 0%, color-mix(in srgb, var(--accent) 80%, #fff 0%), transparent 70%), linear-gradient(180deg, var(--ac-dark), var(--ac-deep)); }
/* Arcade floor: a grid in perspective, fading upwards, with a neon line on the horizon. */
.ac-start-grid { position: absolute; left: -50%; right: -50%; bottom: 0; height: 120%; z-index: -1; pointer-events: none;
    background-image: linear-gradient(color-mix(in srgb, var(--ac-light) 75%, #fff) 2px, transparent 2px), linear-gradient(90deg, color-mix(in srgb, var(--ac-light) 75%, #fff) 2px, transparent 2px);
    background-size: 72px 72px; background-position: center bottom; opacity: .32;
    transform: perspective(380px) rotateX(64deg); transform-origin: 50% 100%;
    -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, .6) 35%, transparent 70%); mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, .6) 35%, transparent 70%); }
/* Neon glow on the horizon of the grid (behind the form, never across the title). */
.ac-start::before { content: ""; position: absolute; left: 10%; right: 10%; bottom: 18%; height: 40%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--ac-light) 45%, transparent), transparent); filter: blur(20px); pointer-events: none; }
.ac-start-inner { max-width: 760px; }
.ac-start-title { margin: 0 0 14px; color: #fff; font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1.05; }
.ac-start-title span { color: var(--gold); text-transform: uppercase; text-shadow: 0 0 28px rgba(237, 182, 50, .45); }
.ac-start-text { max-width: 52ch; margin: 0 auto 28px; color: rgba(255, 255, 255, .78); font-size: 1.08rem; }
.ac-start-form { max-width: 640px; margin: 0 auto; }
.ac-start-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ac-start .form-group { margin: 0; }
.ac-start .form-group input[type=text], .ac-start .form-group input[type=email] {
    width: 100%; height: 56px; padding: 0 22px; border-radius: 999px; border: 1.5px solid color-mix(in srgb, var(--ac-light) 70%, transparent);
    background: rgba(255, 255, 255, .08); color: #fff; font: 600 1rem var(--font); box-shadow: none; transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease; }
.ac-start .form-group input::placeholder { color: rgba(255, 255, 255, .55); text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; }
.ac-start .form-group input:focus { outline: none; border-color: var(--gold); background: rgba(255, 255, 255, .12); box-shadow: 0 0 0 4px rgba(237, 182, 50, .25); }
.ac-start .form-checkboxes { display: grid; gap: 8px; margin: 18px auto 22px; text-align: left; max-width: 460px; }
.ac-start .form-checkbox { color: rgba(255, 255, 255, .8); font-size: .88rem; }
.ac-start .form-checkbox a { color: #fff; }
.ac-start .form-checkbox input { accent-color: var(--gold); }
.ac-start form .ac-btn { align-self: center; width: auto; min-width: 260px; }
.ac-start .form-success { justify-content: center; color: #fff; font-size: 1.1rem; font-weight: 700; }
.ac-start .form-success i { color: var(--gold); }

/* ===== FOOTER ===== */
.ac-footer { margin-top: 0; background: linear-gradient(180deg, var(--ac-deep), #0b0810); color: rgba(255, 255, 255, .7); font-size: .93rem; }
.ac-start + .ac-footer, main:has(> .ac-start:last-child) + .ac-footer { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }
.ac-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: clamp(48px, 6vw, 72px) 0 36px; }
.ac-footer-logo { display: inline-flex; align-items: center; margin-bottom: 16px; padding: 10px 14px; border-radius: 16px; background: var(--cream); color: var(--ink); font-weight: 900; font-size: 1.2rem; text-decoration: none; }
.ac-footer-logo img { display: block; height: 52px; width: auto; max-width: 200px; object-fit: contain; }
.ac-footer-brand p { max-width: 34ch; margin-bottom: 18px; }
.ac-social-light a { border-color: rgba(255, 255, 255, .22); color: #fff; }
.ac-social-light a:hover, .ac-social-light a:focus-visible { background: #fff; border-color: #fff; color: var(--ac-dark); }
.ac-footer-col h4 { margin: 0 0 16px; color: #fff; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.ac-footer-col ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ac-footer-col a, .ac-link-button { color: rgba(255, 255, 255, .72); text-decoration: none; transition: color .2s ease; }
.ac-footer-col a:hover, .ac-link-button:hover { color: #fff; }
.ac-link-button { padding: 0; border: 0; background: none; font: inherit; cursor: pointer; text-align: left; }
.ac-footer-mail { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 10px; color: #fff !important; font-weight: 600; word-break: break-all; }
.ac-footer-mail i { color: var(--gold); }
.ac-footer-small { margin-bottom: 16px; font-size: .82rem; color: rgba(255, 255, 255, .55); }

.ac-badges { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 26px; padding: 20px 0 24px; border-top: 1px solid rgba(255, 255, 255, .1); }
.ac-badges a { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .75); text-decoration: none; opacity: .8; transition: opacity .2s ease; }
.ac-badges a:hover { opacity: 1; }
.ac-badges img { display: block; height: 26px; width: auto; }
.ac-badge-license span { font-size: .75rem; font-weight: 600; }
.ac-adult-light { width: 30px; height: 30px; border-width: 1px; border-color: rgba(255, 255, 255, .55); color: #fff; font-size: .68rem; opacity: .8; }

.ac-footer-bottom { padding: 16px 0; background: var(--accent); color: rgba(255, 255, 255, .9); font-size: .82rem; text-align: center; }
.ac-footer-bottom p { margin: 0; }

/* ===== SHARED COMPONENTS (components.css) IN THIS THEME ===== */
.section { padding: 32px 0 56px; }
.page-card { border: 0; border-radius: 28px; box-shadow: inset 0 0 0 1px var(--ac-line), var(--shadow-sm); padding: clamp(22px, 4vw, 48px); }
.page-title { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.8rem); font-weight: 900; letter-spacing: -0.03em; }
.page-section .casinos { margin-top: 32px; }
.section-title { font-weight: 900; letter-spacing: -0.02em; }
.btn { border-radius: 999px; font-weight: 800; letter-spacing: .03em; }
.btn-accent, .btn-cta { background: linear-gradient(100deg, var(--ac-dark), var(--accent) 55%, var(--ac-mid)); color: #fff; box-shadow: 0 10px 22px -10px var(--ac-glow), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-accent:hover, .btn-cta:hover { filter: brightness(1.08); }
.btn-secondary { background: var(--ac-soft); color: var(--ac-dark); }
.link-button { color: var(--accent); }
.form-group input:focus, .form-inline-row input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--ac-soft); }
.modal-content { border-radius: 26px; }
.auth-tab.is-active { background: var(--accent); color: #fff; }
.account-avatar, .gifts-icon, .gw-entry-icon { background: linear-gradient(135deg, var(--ac-mid), var(--ac-dark)); }
.dialog-content { border-radius: 24px; }
.dialog-action { border-radius: 999px; }
.cookie-btn-primary { background: var(--accent); }
.notfound-code { color: var(--ac-line); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1080px) {
    .ac-casino { grid-template-columns: 130px minmax(0, 1fr) 190px; grid-template-areas: "logo body actions" "logo body rating"; row-gap: 10px; }
    .ac-casino-logo { grid-area: logo; }
    .ac-casino-body { grid-area: body; }
    .ac-casino-rating { grid-area: rating; flex-direction: row; justify-content: center; gap: 10px; }
    .ac-casino-actions { grid-area: actions; }
    .ac-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 991px) {
    html { scroll-padding-top: 90px; }
    .ac-header-inner { grid-template-columns: auto 1fr auto; padding-top: 10px; padding-bottom: 10px; }
    .ac-header-inner > .ac-header-side:first-child { display: none; }
    .ac-logo { justify-content: flex-start; }
    .ac-logo img { height: 52px; }
    .ac-header.is-scrolled .ac-logo img { height: 44px; }
    .ac-burger { display: block; }
    .ac-nav { display: none; }
    body.nav-open .ac-nav { display: flex; flex-direction: column; align-items: stretch; gap: 4px; margin-bottom: 12px; padding: 10px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--ac-line), var(--shadow-md); max-height: calc(100vh - 100px); overflow-y: auto; }
    body.nav-open .ac-nav a { padding: 13px 16px; font-size: .9rem; }
    .ac-spotlight { grid-template-columns: 1fr; }
    .ac-spotlight::after { right: 50%; top: auto; bottom: 0; transform: translate(50%, 30%); }
    .ac-trust { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .container { padding: 0 16px; }
    .ac-account span { display: none; }
    .ac-account { width: 44px; padding: 0; justify-content: center; }
    .ac-hero { padding-top: 18px; }
    .ac-spotlight { border-radius: 26px; }
    .ac-spotlight-actions .ac-btn { width: 100%; }
    .ac-spotlight-actions { justify-content: center; }
    .ac-casino { grid-template-columns: 1fr; grid-template-areas: "logo" "body" "rating" "actions"; text-align: center; padding: 22px 18px 18px; }
    .ac-casino-rank { transform: translate(-20%, -35%); }
    .ac-casino-logo { height: 84px; }
    .ac-casino-features { justify-content: center; }
    .ac-start-fields { grid-template-columns: 1fr; }
    .ac-start form .ac-btn { align-self: stretch; min-width: 0; }
    .ac-footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .cms details > :not(summary) { padding-left: 4px; }
}
