:root {
    color-scheme: light;
    --canvas: #edf2f8;
    --surface: #fff;
    --ink: #19243a;
    --muted: #4c5b73;
    --line: #dce4ef;
    --soft-blue: #edf4ff;
    --blue: #174fa8;
    --blue-dark: #123a78;
    --yellow: #ffce54;
    --navy: #101d37;
    --shadow: 0 10px 30px rgb(24 52 105 / .07);
    --gutter: clamp(12px, 3vw, 32px);
    --panel-padding: clamp(14px, 2.5vw, 32px);
    --radius: clamp(15px, 2vw, 24px);
}

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

body {
    margin: 0;
    background: var(--canvas);
    color: var(--ink);
    font: 16px/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { display: block; max-inline-size: 100%; }
h1, h2, h3 { line-height: 1.22; overflow-wrap: anywhere; }
a:hover { color: var(--blue); }
:focus-visible { outline: 3px solid #3678d7; outline-offset: 3px; }

.wrap {
    width: min(calc(100% - var(--gutter) * 2), 1280px);
    min-width: 0;
    margin-inline: auto;
}

.top {
    position: relative;
    z-index: 2;
    border-top: 3px solid transparent;
    background:
        linear-gradient(var(--surface), var(--surface)) padding-box,
        linear-gradient(90deg, #246ad6 0 65%, var(--yellow) 86% 100%) border-box;
    box-shadow: 0 4px 20px rgb(21 39 71 / .06);
}

.topin {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(170px, 248px) auto;
    align-items: center;
    gap: 14px;
    min-height: 72px;
}

.brand { display: block; width: fit-content; min-width: 0; }
.logo { width: clamp(158px, 20vw, 236px); height: auto; }

.casino-search {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding-inline: 11px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #f4f7fb;
    color: var(--muted);
}

.casino-search:focus-within { border-color: #3678d7; }
.casino-search svg { flex: none; }
.search {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 8px 2px;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-size: 14px;
}
.search:focus { outline: none; }
.search::placeholder { color: var(--muted); }

.lang, .mobilemenu {
    display: inline-grid;
    place-items: center;
    min-width: 44px;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    color: var(--blue-dark);
    font-size: 13px;
    font-weight: 800;
}

.lang:hover, .mobilemenu:hover { background: var(--soft-blue); }
.mobilemenu { display: none; cursor: pointer; }
.mobilemenu .close-icon, .mobilemenu[aria-expanded="true"] .menu-icon { display: none; }
.mobilemenu[aria-expanded="true"] .close-icon { display: block; }

.nav-shell { border-top: 1px solid var(--line); }
.topnav {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    column-gap: clamp(2px, 1vw, 14px);
    margin-block: 0;
    padding: 0;
    list-style: none;
}
.nav-item { display: flex; min-width: 0; }
.nav-row { display: flex; align-items: center; width: 100%; }
.nav-link {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 53px;
    padding: 6px 9px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
    text-align: left;
}
.has-children .nav-row > a { padding-right: 0; }
.nav-toggle {
    display: inline-grid;
    place-items: center;
    min-width: 30px;
    min-height: 40px;
    padding: 0 7px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--blue-dark);
    cursor: pointer;
}
.nav-toggle-label { display: flex; min-height: 53px; padding: 6px 9px; }
.chevron {
    display: block;
    width: 7px;
    height: 7px;
    margin-top: -3px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform .18s ease;
}
.nav-item.is-open .chevron { transform: translateY(3px) rotate(225deg); }
.nav-row:hover, .nav-item.is-open .nav-row { background: #f2f6fe; }
.nav-item.is-active .nav-row { box-shadow: inset 0 -3px #2c68c2; }
.nav-item.is-active .nav-link { color: var(--blue-dark); }

.nav-panel {
    display: none;
    position: absolute;
    z-index: 2;
    top: 100%;
    right: 0;
    left: 0;
    grid-auto-columns: minmax(0, 1fr);
    grid-auto-flow: column;
    gap: 18px;
    padding: 22px;
    border: 1px solid var(--line);
    border-top: 3px solid #3679d9;
    border-radius: 0 0 18px 18px;
    background: var(--surface);
    box-shadow: 0 20px 40px rgb(24 48 93 / .18);
}
.nav-item.is-open .nav-panel,
.top:not(.has-menu-script) .nav-item:hover .nav-panel,
.top:not(.has-menu-script) .nav-item:focus-within .nav-panel { display: grid; }
.nav-item.is-open .nav-panel { animation: panel-enter .15s ease-out; }
@keyframes panel-enter {
    from { opacity: .75; }
    to { opacity: 1; }
}
.nav-group { min-width: 0; }
.nav-group-name {
    margin: 0 0 6px;
    padding: 0 10px 8px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}
.nav-sublinks { display: grid; gap: 3px; margin: 0; padding: 0; list-style: none; }
.nav-group:only-child .nav-sublinks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nav-sublinks a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 7px 10px;
    border-radius: 8px;
    color: var(--ink);
    font-size: 15px;
    overflow-wrap: anywhere;
}
.nav-sublinks a:hover, .nav-sublinks a[aria-current] { background: var(--soft-blue); color: var(--blue-dark); }

.sub { border-top: 1px solid var(--line); background: #f6f9fe; }
.subin {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 50px;
    padding-block: 6px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #a8bbd7 transparent;
}
.subin a {
    flex: none;
    display: flex;
    align-items: center;
    min-height: 36px;
    padding: 4px 11px;
    border-radius: 9px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 650;
    white-space: nowrap;
}
.subin a:hover, .subin a[aria-current] { background: #e7effd; color: var(--blue-dark); }
.subin a:focus-visible { outline-offset: -3px; }

.crumb {
    padding-block: clamp(14px, 1.8vw, 22px);
    color: var(--muted);
    font-size: 13px;
    overflow-wrap: anywhere;
}
.crumb a { color: var(--blue); font-weight: 700; }

.panel {
    min-width: 0;
    margin-bottom: clamp(16px, 2.2vw, 26px);
    padding: var(--panel-padding);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
    overflow-wrap: anywhere;
}

.hero {
    padding: clamp(23px, 3.4vw, 48px) clamp(17px, 4.5vw, 60px);
    border-color: #224786;
    background:
        radial-gradient(ellipse at 98% 0%, rgb(255 206 84 / .24), transparent 39%),
        repeating-radial-gradient(ellipse at 100% 0%, transparent 0 30px, rgb(170 201 255 / .10) 31px 32px, transparent 33px 54px),
        linear-gradient(112deg, #101a35 10%, #152a55 55%, #1a468f);
    color: #fff;
    box-shadow: 0 16px 32px rgb(14 44 93 / .16), inset 0 -3px 0 var(--yellow);
}
.hero h1 {
    max-width: 24ch;
    margin: 0 0 12px;
    font-size: clamp(28px, 4vw, 54px);
    font-weight: 800;
    letter-spacing: -.045em;
    text-wrap: balance;
}
.hero p { max-width: 64ch; margin: 0; color: #e0eaff; font-size: clamp(15px, 1.6vw, 18px); }
.date { margin-top: 16px; color: #c7daff; font-size: 13px; font-weight: 650; }

.offers { border-top: 3px solid #3976d2; }
.offers > h2, .section-index > h2 { margin: 0 0 19px; font-size: clamp(22px, 2.6vw, 31px); letter-spacing: -.026em; }
.filters {
    display: flex;
    gap: 8px;
    margin-bottom: clamp(15px, 2.2vw, 26px);
    padding: 4px 4px 8px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #a8bbd7 transparent;
}
.filters a {
    flex: none;
    display: flex;
    align-items: center;
    min-height: 40px;
    padding: 5px 13px;
    border: 1px solid var(--line);
    border-radius: 100px;
    background: #f6f8fc;
    color: var(--blue-dark);
    font-size: 13px;
    font-weight: 680;
    white-space: nowrap;
}
.filters a:hover { border-color: #96b7e7; background: var(--soft-blue); }
.filters a:focus-visible { outline-offset: -3px; }

.cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(9px, 1.4vw, 17px); }
.bonuscard {
    display: flex;
    min-width: 0;
    flex-direction: column;
    border: 1px solid #d6e1ef;
    border-radius: 15px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 4px 12px rgb(22 47 91 / .06);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
@media (hover: hover) {
    .bonuscard:hover {
        transform: translateY(-3px);
        border-color: #8baddd;
        box-shadow: 0 13px 23px rgb(22 56 111 / .14);
    }
}
.bonuscard:focus-within { border-color: #3678d7; }
.bonuscard[hidden] { display: none; }
.ribbon {
    display: grid;
    place-items: center;
    min-height: 49px;
    padding: 7px 8px;
    border-bottom: 2px solid #e6bd53;
    background: linear-gradient(110deg, #e8f1ff, #f6f9ff 60%, #fff2ce);
    color: #163b74;
    font-size: clamp(12px, 1.1vw, 14px);
    font-weight: 800;
    line-height: 1.26;
    text-align: center;
}
.bonuscard img {
    width: 100%;
    aspect-ratio: 1.83;
    object-fit: contain;
    background: #111a2b;
}
.cardbody { display: flex; flex: 1; flex-direction: column; padding: clamp(9px, 1.3vw, 16px); }
.cardbody h3 { margin: 0 0 7px; font-size: clamp(14px, 1.35vw, 17px); }
.cardbody p { margin: 0 0 6px; color: var(--muted); font-size: clamp(12px, 1.05vw, 14px); line-height: 1.55; }
.small { color: var(--muted); font-size: 13px; }
.push { flex: 1; }
.btn {
    display: grid;
    place-items: center;
    min-height: 44px;
    margin-top: 8px;
    padding: 6px 10px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: linear-gradient(115deg, #225fb5, #123c86);
    color: #fff;
    font-size: clamp(12px, 1.05vw, 14px);
    font-weight: 760;
    line-height: 1.25;
    text-align: center;
    transition: background-color .18s ease, box-shadow .18s ease;
}
.btn:hover { background: #103973; color: #fff; box-shadow: 0 5px 12px rgb(24 74 142 / .23); }
.btn.secondary { border-color: #d8e5f6; background: #f3f7ff; color: var(--blue-dark); }
.btn.secondary:hover { background: #e7f0ff; box-shadow: none; }

.content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 26%); align-items: start; gap: clamp(15px, 2vw, 26px); }
.article h2 { margin: 1.5em 0 .55em; font-size: clamp(21px, 2.25vw, 29px); letter-spacing: -.02em; }
.article h3 { margin: 1.25em 0 .45em; font-size: clamp(17px, 1.6vw, 21px); }
.article p { margin: 0 0 1em; }
.article > :first-child { margin-top: 0; }
.article > :last-child { margin-bottom: 0; }
.article a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.article ul, .article ol { padding-inline-start: 1.4em; }
.article li + li { margin-top: .35em; }

.table-scroll {
    max-width: 100%;
    margin: 18px 0 7px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    border: 1px solid #b7c9e2;
    border-radius: 12px;
    scrollbar-width: thin;
    scrollbar-color: #648abb #e6edf8;
}
table { width: 100%; min-width: 650px; border-collapse: collapse; font-size: 14px; }
th, td { padding: 11px 13px; border-right: 1px solid #d8e2f1; border-bottom: 1px solid #d8e2f1; text-align: left; vertical-align: top; }
th { border-bottom: 2px solid #e4b841; background: #173e79; color: #fff; }
th + th { border-left: 1px solid #55729a; }
tr:nth-child(even) td { background: #f2f6fd; }
tbody tr:last-child td { border-bottom: 0; }
th:last-child, td:last-child { border-right: 0; }
.article .table-hint { display: none; margin: 0 0 18px; color: var(--muted); font-size: 13px; font-weight: 650; }
.table-scroll.is-scrollable + .table-hint { display: block; }

.side { padding: clamp(14px, 2vw, 24px); }
.side h3 { margin: 0 0 9px; font-size: 18px; }
.side a {
    display: block;
    padding: 8px 3px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
    line-height: 1.45;
}
.side a:last-child { border-bottom: 0; }
.side a:hover { color: var(--blue); }

.author { margin-top: 26px; padding: 15px; border-left: 3px solid #3a79d1; border-radius: 10px; background: #f3f7fd; }
.author p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.article .author-list { display: grid; gap: 8px; padding: 0; list-style: none; }
.article .author-list li { margin: 0; }
.author-list a { display: block; padding: 10px 13px; border: 1px solid var(--line); border-radius: 10px; background: #f6f9fe; }
.author-list a:hover { background: var(--soft-blue); }

.faq details { margin: 10px 0; padding: 12px 15px; border: 1px solid var(--line); border-radius: 11px; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details[open] summary { margin-bottom: 8px; }

.chatbox { max-width: 680px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; }
.chatlog { height: 260px; overflow: auto; padding: 13px; background: #f3f7fd; }
.chatline { margin: 7px 0; padding: 9px 12px; border-radius: 10px; background: #fff; }
.chatinput { display: flex; gap: 7px; padding: 9px; }
.chatinput input { flex: 1; min-width: 0; padding: 8px; border: 1px solid var(--line); border-radius: 9px; }
.chatinput button { min-height: 44px; padding: 6px 9px; border: 0; border-radius: 9px; background: var(--blue-dark); color: white; cursor: pointer; }

.menu-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.menu-grid a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #f5f8fd;
    color: var(--blue-dark);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.38;
}
.menu-grid a:hover { border-color: #9ebbe2; background: #eaf2ff; }
.foot {
    margin-top: 30px;
    padding: 24px 0;
    border-top: 3px solid var(--yellow);
    background: var(--navy);
    color: #d9e5f8;
}
.footlinks { display: flex; flex-wrap: wrap; gap: 5px 17px; }
.footlinks a { display: flex; align-items: center; min-height: 38px; font-size: 14px; }
.footlinks a:hover { color: #fff; text-decoration: underline; }
.foot p { margin: 14px 0 0; color: #becde4; font-size: 13px; }

@media (max-width: 1130px) {
    .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
    .topin { grid-template-columns: minmax(0, 1fr) minmax(150px, 220px) auto auto; min-height: 65px; gap: 8px; }
    .top.has-menu-script .mobilemenu { display: inline-grid; }
    .top.has-menu-script .nav-shell:not(.is-open) { display: none; }
    .topnav { display: block; padding-block: 5px; }
    .nav-item { display: block; }
    .nav-item + .nav-item { border-top: 1px solid var(--line); }
    .nav-link { flex: 1; min-height: 49px; font-size: 15px; }
    .nav-toggle { min-width: 46px; min-height: 44px; }
    .nav-toggle-label { justify-content: space-between; padding-right: 19px; }
    .nav-item.is-active .nav-row { box-shadow: inset 3px 0 #2c68c2; }
    .nav-panel {
        position: static;
        grid-auto-flow: row;
        gap: 11px;
        padding: 9px 10px;
        border: 0;
        border-radius: 10px;
        background: #f4f7fc;
        box-shadow: none;
    }
    .top:not(.has-menu-script) .nav-panel { display: grid; }
    .nav-group:only-child .nav-sublinks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nav-sublinks a { min-height: 44px; }
    .content { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .side { display: none; }
}
@media (max-width: 850px) {
    .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
    .topin { grid-template-columns: minmax(0, 1fr) auto auto; }
    .casino-search { display: none; }
    .subin { min-height: 46px; }
    .subin a { min-height: 34px; }
    .cards, .menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nav-sublinks a { font-size: 14px; }
    .foot { padding-block: 16px; }
    .footlinks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 365px) {
    .cards { grid-template-columns: minmax(0, 1fr); }
    .cardbody { padding: 12px; }
    .cardbody p { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
