/* Legiano Casino HU – arculat 2.1 */
:root {
    --bg: #0E0A08;
    --bg-2: #15100D;
    --panel: #1C1511;
    --panel-2: #261C16;
    --line: rgba(217, 164, 65, .24);
    --line-soft: rgba(217, 164, 65, .12);
    --gold: #D9A441;
    --gold-2: #F3CF7A;
    --gold-3: #9A6B25;
    --crimson: #8E2A1E;
    --crimson-2: #B23A28;
    --navy: #1E2A44;
    --ink: #F1E7D6;
    --muted: #BFAE95;
    --emerald: #2E8B3A;
    --emerald-2: #45B256;
    --header-h: 72px;
    --side-w: 264px;
    --side-w-min: 78px;
    --radius: 14px;
    --meander: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='12'%3E%3Cpath d='M0 11H20M16 11V1H4V8H12V5H8' fill='none' stroke='%23D9A441' stroke-opacity='.5' stroke-width='1.3'/%3E%3C/svg%3E");
    --font-display: "Cinzel", "Trajan Pro", "Times New Roman", serif;
    --font-body: "Alegreya Sans", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--bg); background-image: radial-gradient(1200px 600px at 70% -10%, rgba(142, 42, 30, .22), transparent 60%), radial-gradient(900px 500px at 0% 100%, rgba(30, 42, 68, .35), transparent 60%); background-attachment: fixed; color: var(--ink); font-family: var(--font-body); font-size: 18px; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-2); text-decoration-color: rgba(243, 207, 122, .4); text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 4px; }
button { font: inherit; color: inherit; cursor: pointer; }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto 0; height: var(--header-h); z-index: 60; background: linear-gradient(180deg, #120D0A 0%, rgba(14, 10, 8, .96) 100%); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.header.scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, .55); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 16px; padding: 0 24px; }
.logo { display: flex; align-items: center; flex: 0 0 auto; }
.logo-img { width: 172px; height: auto; }
.header-burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); position: relative; order: -1; }
.header-burger span, .header-burger span::before, .header-burger span::after { position: absolute; left: 11px; width: 20px; height: 2px; background: var(--gold); content: ""; }
.header-burger span { top: 21px; }
.header-burger span::before { top: -6px; left: 0; }
.header-burger span::after { top: 6px; left: 0; }
.auth { margin-left: auto; display: flex; gap: 12px; }

/* ---------- Buttons ---------- */
.btn, .content-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 22px; border-radius: 10px; font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: .04em; text-decoration: none; white-space: nowrap; transition: transform .15s, filter .15s, background .15s; }
.btn--primary, .content-btn { color: #fff; background: linear-gradient(180deg, var(--emerald-2) 0%, var(--emerald) 55%, #1F6629 100%); border: 1px solid var(--gold); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 0 0 3px rgba(217, 164, 65, .18), 0 8px 20px rgba(0, 0, 0, .4); text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
.btn--outline { color: var(--gold-2); background: linear-gradient(180deg, #2B1F17, #1A130F); border: 1px solid var(--gold-3); }
.btn:hover, .content-btn:hover { transform: translateY(-1px); filter: brightness(1.08); color: #fff; }
.btn--outline:hover { color: var(--gold-2); border-color: var(--gold); }
.center-btn { display: flex; justify-content: center; margin: 22px 0 30px; }
.content-btn { min-height: 52px; padding: 12px 34px; font-size: 16px; }

/* ---------- Sidebar ---------- */
.sidebar { position: fixed; top: var(--header-h); left: 0; bottom: 0; width: var(--side-w); z-index: 50; background: linear-gradient(180deg, #140F0C, #0F0B09); border-right: 1px solid var(--line); padding: 18px 14px 70px; overflow-y: auto; transition: width .2s; }
.sidebar__close { display: none; position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); font-size: 24px; line-height: 1; color: var(--gold); }
.sidebar__nav { border: 1px solid var(--line); border-radius: 12px; padding: 6px; background: rgba(28, 21, 17, .7); box-shadow: inset 0 0 0 3px #120D0A, inset 0 0 0 4px var(--line-soft); }
.sidebar__list { list-style: none; margin: 0; padding: 0; }
.sidebar__item + .sidebar__item { border-top: 1px solid var(--line-soft); }
.sidebar__item:nth-child(7) { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.sidebar__link { display: flex; align-items: center; gap: 12px; padding: 10px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; font-family: var(--font-display); font-size: 14px; font-weight: 600; letter-spacing: .03em; }
.sidebar__link:hover { background: rgba(217, 164, 65, .08); color: var(--gold-2); }
.sidebar__item.is-active .sidebar__link { background: linear-gradient(90deg, rgba(142, 42, 30, .55), rgba(142, 42, 30, 0)); color: var(--gold-2); box-shadow: inset 2px 0 0 var(--gold); }
.sidebar__icon { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #2A1A0C; background: radial-gradient(circle at 35% 30%, var(--gold-2), var(--gold) 55%, var(--gold-3)); box-shadow: 0 0 0 2px #120D0A, 0 0 0 3px var(--gold-3); }
.sidebar__icon svg { width: 16px; height: 16px; }
.sidebar__title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-promo { display: block; position: relative; margin-top: 18px; border-radius: 14px; overflow: hidden; border: 1px solid var(--gold-3); text-decoration: none; color: var(--ink); box-shadow: 0 12px 30px rgba(0, 0, 0, .5); }
.sidebar-promo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.sidebar-promo__body { position: absolute; inset: auto 0 0 0; padding: 70px 14px 16px; text-align: center; background: linear-gradient(180deg, rgba(10, 7, 5, 0), rgba(10, 7, 5, .92) 45%); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.sidebar-promo__kicker { font-size: 14px; color: var(--muted); }
.sidebar-promo__amount { font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.2; color: var(--gold-2); }
.sidebar-promo .btn { margin-top: 6px; font-size: 13px; padding: 8px 16px; min-height: 38px; }
.sidebar__collapse { position: fixed; left: calc(var(--side-w) - 18px); bottom: 18px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--gold-3); background: var(--panel); color: var(--gold); display: grid; place-items: center; z-index: 55; transition: left .2s, transform .2s; }
.sidebar__collapse svg { width: 18px; height: 18px; }
.sidebar__overlay { display: none; }

body.sidebar-collapsed .sidebar { width: var(--side-w-min); padding-inline: 10px; }
body.sidebar-collapsed .sidebar__title, body.sidebar-collapsed .sidebar-promo { display: none; }
body.sidebar-collapsed .sidebar__link { justify-content: center; padding: 10px 0; }
body.sidebar-collapsed .sidebar__collapse { left: calc(var(--side-w-min) - 18px); transform: rotate(180deg); }
body.sidebar-collapsed .layout { margin-left: var(--side-w-min); }

/* ---------- Layout ---------- */
.layout { margin-left: var(--side-w); padding-top: var(--header-h); min-height: 100vh; display: flex; flex-direction: column; transition: margin-left .2s; }
.content { flex: 1 0 auto; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ---------- Carousel ---------- */
.banner-carousel-wrapper { padding: 24px 24px 0; max-width: 1240px; margin: 0 auto; }
.banner-carousel { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--gold-3); box-shadow: 0 20px 50px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(0, 0, 0, .6); background: #000; }
.banner-carousel__viewport { position: relative; aspect-ratio: 1991 / 790; }
.banner-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.banner-slide.is-active { opacity: 1; visibility: visible; }
.banner-slide__image, .banner-slide__image img { position: absolute; inset: 0; width: 100%; height: 100%; }
.banner-slide__image img { object-fit: cover; }
.banner-slide__image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 5, 4, .88) 0%, rgba(8, 5, 4, .55) 38%, rgba(8, 5, 4, 0) 68%); }
.banner-slide__content { position: absolute; left: 0; top: 0; bottom: 0; width: min(560px, 60%); padding: 40px 48px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.banner-slide__content .banner-slide__title { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 3.4vw, 44px); line-height: 1.12; color: var(--ink); text-shadow: 0 2px 12px rgba(0, 0, 0, .7); }
.banner-slide__content .banner-slide__title span { display: block; background: linear-gradient(180deg, #FFE6A6 0%, var(--gold) 55%, var(--gold-3) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.banner-slide__content p:not(.banner-slide__title) { margin: 0; color: #E8DCC7; font-size: 17px; max-width: 42ch; }
.banner-slide__content .btn { align-self: flex-start; margin-top: 8px; }
.banner-dots { position: absolute; right: 20px; bottom: 16px; display: flex; gap: 8px; z-index: 3; }
.banner-dot { width: 12px; height: 12px; padding: 0; border-radius: 50%; border: 1px solid var(--gold); background: rgba(0, 0, 0, .5); transition: background .2s, transform .2s; }
.banner-dot.is-active { background: var(--gold); transform: scale(1.15); }

/* ---------- Stats ---------- */
.stats { max-width: 1240px; margin: 20px auto 0; padding: 0 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat { display: flex; flex-direction: column; align-items: center; padding: 14px 10px; text-align: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(28, 21, 17, .55); }
.stat + .stat { border-left: 1px solid var(--line-soft); }
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: 28px; color: var(--gold-2); line-height: 1.2; }
.stat__label { font-size: 15px; color: var(--muted); }

/* ---------- Games ---------- */
.games-block { max-width: 1240px; margin: 34px auto 0; padding: 0 24px; }
.games-block__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.games-block__title { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--gold-2); display: flex; align-items: center; gap: 12px; }
.games-block__title::before { content: ""; width: 26px; height: 2px; background: var(--crimson-2); box-shadow: 0 0 0 1px rgba(0, 0, 0, .4); }
.games-block__all { font-size: 15px; color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line); }
.games-block__all:hover { color: var(--gold-2); }
.live-casino-grid { display: grid; grid-template-rows: repeat(2, auto); grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 14px) / 5); gap: 14px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--gold-3) transparent; padding-bottom: 6px; }
.live-casino-tile { display: block; text-decoration: none; color: var(--ink); border-radius: 12px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.live-casino-tile:hover { border-color: var(--gold); transform: translateY(-2px); }
.live-casino-tile__image { position: relative; aspect-ratio: 1 / 1; overflow: hidden; }
.live-casino-tile__image img { width: 100%; height: 100%; object-fit: cover; }
.live-casino-tile__badge { position: absolute; top: 8px; left: 8px; padding: 2px 8px; border-radius: 6px; font-size: 12px; font-weight: 700; background: rgba(14, 10, 8, .85); color: var(--gold-2); border: 1px solid var(--gold-3); }
.live-casino-tile__badge--live { background: var(--crimson); color: #fff; border-color: #D2533D; }
.live-casino-tile__overlay { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(10, 7, 5, .55); opacity: 0; transition: opacity .2s; }
.live-casino-tile:hover .live-casino-tile__overlay, .live-casino-tile:focus-visible .live-casino-tile__overlay { opacity: 1; }
.live-casino-tile__play { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, var(--emerald-2), var(--emerald)); border: 1px solid var(--gold); }
.live-casino-tile__play svg { width: 22px; height: 22px; fill: #fff; }
.live-casino-tile__meta { padding: 8px 10px 10px; }
.live-casino-tile__provider { font-size: 12px; color: var(--muted); }
.live-casino-tile__name { font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Page ---------- */
.page-content { padding-top: 26px; padding-bottom: 48px; }
.page-hero { max-width: 1240px; margin: 24px auto 0; padding: 0 24px; }
.page-hero img { width: 100%; aspect-ratio: 1991 / 790; object-fit: cover; border-radius: 18px; border: 1px solid var(--gold-3); box-shadow: 0 20px 50px rgba(0, 0, 0, .55); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 15px; color: var(--muted); margin: 0 0 14px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--gold-2); }
.content-box { position: relative; background: linear-gradient(180deg, rgba(31, 23, 18, .92), rgba(22, 16, 13, .92)); border: 1px solid var(--line); border-radius: 18px; padding: 40px clamp(20px, 4vw, 56px) 48px; box-shadow: inset 0 0 0 6px rgba(14, 10, 8, .9), inset 0 0 0 7px var(--line-soft), 0 24px 60px rgba(0, 0, 0, .45); }
.page-text { max-width: 100%; }
.page-text > * { max-width: 860px; margin-left: auto; margin-right: auto; }
.page-text > .table-scroll, .page-text > .faq { max-width: 960px; }
.page-text h1 { margin: 0 auto 18px; font-family: var(--font-display); font-weight: 700; font-size: clamp(34px, 4.4vw, 54px); line-height: 1.1; text-align: center; background: linear-gradient(180deg, #FFE9B0 0%, var(--gold-2) 30%, var(--gold) 65%, var(--gold-3) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .6)); }
.page-text h1::after { content: ""; display: block; width: 180px; height: 12px; margin: 14px auto 0; background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold) 45%, transparent 45%, transparent 55%, var(--gold) 55%, var(--gold) 70%, transparent) center / 100% 1px no-repeat, radial-gradient(circle, var(--crimson-2) 0 4px, var(--gold) 4px 5px, transparent 5.5px) center / 12px 12px no-repeat; }
.page-text h2 { margin-top: 46px; margin-bottom: 14px; font-family: var(--font-display); font-weight: 700; font-size: clamp(23px, 2.4vw, 30px); line-height: 1.25; color: var(--gold-2); padding-bottom: 10px; border-bottom: 1px solid var(--line); position: relative; }
.page-text h2::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 64px; height: 3px; background: var(--crimson-2); }
.page-text h3 { margin-top: 28px; margin-bottom: 8px; font-family: var(--font-display); font-weight: 600; font-size: 20px; color: var(--ink); }
.page-text p { margin-top: 0; margin-bottom: 16px; }
.page-text strong { color: #fff; }
.page-text ul, .page-text ol { padding-left: 1.4em; margin-top: 0; margin-bottom: 18px; }
.page-text li { margin-bottom: 6px; }
.page-text ol li::marker { color: var(--gold); font-family: var(--font-display); font-weight: 700; }

/* ---------- Tables ---------- */
.table-scroll { overflow-x: auto; margin-bottom: 22px; border-radius: 12px; border: 1px solid var(--line); }
.table-scroll table { width: 100%; border-collapse: collapse; font-size: 16px; }
.table-scroll table.is-wide { min-width: 620px; }
.table-scroll th { text-align: left; padding: 12px 16px; font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--gold-2); background: linear-gradient(180deg, #4A1810, #2E0F0A); border-bottom: 1px solid var(--gold-3); }
.table-scroll td { padding: 11px 16px; border-top: 1px solid var(--line-soft); vertical-align: top; }
.table-scroll tbody tr:nth-child(even) td { background: rgba(255, 255, 255, .025); }
.table-scroll td:first-child { color: var(--gold-2); font-weight: 500; }

/* ---------- FAQ ---------- */
.faq__list { display: flex; flex-direction: column; gap: 10px; }
.faq__item { border: 1px solid var(--line); border-radius: 12px; background: rgba(14, 10, 8, .55); overflow: hidden; }
.faq__item.open { border-color: var(--gold-3); }
.faq__q { margin: 0 !important; padding: 0; font-size: inherit; }
.faq__question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 18px; background: none; border: 0; text-align: left; font-family: var(--font-body); font-weight: 700; font-size: 17px; color: var(--ink); }
.faq__icon { flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--gold-3); position: relative; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 6px; right: 6px; top: 11px; height: 1.5px; background: var(--gold); transition: transform .2s; }
.faq__icon::after { transform: rotate(90deg); }
.faq__item.open .faq__icon::after { transform: rotate(0); }
.faq__answer { overflow: hidden; transition: height .25s ease; }
.faq__answer p { padding: 0 18px 16px; margin: 0; color: #E3D7C3; }

/* ---------- Footer ---------- */
.footer { margin-top: 20px; border-top: 1px solid var(--line); background: #0B0806; padding: 28px 24px 34px; }
.footer__pay { list-style: none; margin: 0 auto 22px; padding: 0; max-width: 1100px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pay { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); font-size: 15px; font-weight: 700; color: var(--muted); }
.pay img { width: 24px; height: 24px; }
.pay--visa img { width: 54px; height: 34px; }
.pay--mc img { width: 42px; height: 27px; }
.footer__bottom { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.footer__age { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--crimson-2); color: var(--ink); font-weight: 700; font-family: var(--font-display); }
.footer__disclaimer { margin: 0; color: var(--muted); font-size: 15px; }
.footer__cookie { background: none; border: 0; padding: 0; color: var(--muted); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.footer__cookie:hover { color: var(--gold-2); }

/* ---------- Cookie bar ---------- */
.cookie-bar { position: fixed; left: 50%; bottom: 16px; transform: translate(-50%, 140%); width: min(760px, calc(100% - 24px)); z-index: 80; display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 14px; background: rgba(28, 21, 17, .98); border: 1px solid var(--gold-3); box-shadow: 0 18px 40px rgba(0, 0, 0, .6); transition: transform .3s; }
.cookie-bar.is-visible { transform: translate(-50%, 0); }
.cookie-bar p { margin: 0; font-size: 15px; line-height: 1.45; }
.cookie-bar__actions { display: flex; gap: 8px; flex: 0 0 auto; }
.cookie-bar .btn { font-size: 13px; min-height: 38px; padding: 8px 14px; }

/* ---------- 404 ---------- */
.page-404 { text-align: center; }

/* ---------- Arculat 2.1: díszítés ---------- */
.header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold-2) 50%, var(--gold) 70%, transparent); opacity: .7; }
.banner-slide.is-active .banner-slide__image img { animation: legiano-kb 9s ease-out both; }
@keyframes legiano-kb { from { transform: scale(1.07); } to { transform: scale(1); } }
.banner-carousel::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(243, 207, 122, .28); border-radius: 12px; pointer-events: none; z-index: 2; }

.stats { position: relative; padding-top: 14px; padding-bottom: 14px; background: var(--meander) top center / 20px 12px repeat-x, var(--meander) bottom center / 20px 12px repeat-x; background-origin: content-box; }
.stats .stat { border: 0; background: radial-gradient(120% 90% at 50% 0%, rgba(217, 164, 65, .14), rgba(28, 21, 17, .6) 70%); margin: 14px 0; }
.stats .stat + .stat { border-left: 1px solid var(--line); }
.stat__num { background: linear-gradient(180deg, #FFE9B0, var(--gold) 60%, var(--gold-3)); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 32px; }

.games-block__title::before { width: 12px; height: 12px; background: var(--crimson-2); transform: rotate(45deg); box-shadow: 0 0 0 2px #120D0A, 0 0 0 3px var(--gold); }
.live-casino-tile:hover { box-shadow: 0 0 0 1px var(--gold), 0 10px 26px rgba(217, 164, 65, .18); }

.page-hero__frame { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--gold-3); box-shadow: 0 20px 50px rgba(0, 0, 0, .55); }
.page-hero__frame::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(243, 207, 122, .28); border-radius: 12px; pointer-events: none; }
.page-hero .page-hero__frame img { border: 0; border-radius: 0; box-shadow: none; }
.page-hero__frame::before { content: ""; position: absolute; inset: 40% 0 0 0; background: linear-gradient(0deg, rgba(8, 5, 4, .9), rgba(8, 5, 4, 0)); pointer-events: none; }
.page-hero__label { position: absolute; left: 36px; bottom: 28px; margin: 0; z-index: 1; display: flex; flex-direction: column; gap: 2px; font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 3vw, 38px); line-height: 1.1; color: var(--ink); text-shadow: 0 2px 10px rgba(0, 0, 0, .8); }
.page-hero__kicker { font-size: .45em; letter-spacing: .12em; color: var(--gold-2); }

.content-box { background: var(--meander) top 16px center / 20px 12px repeat-x, var(--meander) bottom 16px center / 20px 12px repeat-x, linear-gradient(180deg, rgba(31, 23, 18, .94), rgba(22, 16, 13, .94)); padding-top: 52px; padding-bottom: 58px; }
.content-box::before, .content-box::after { content: ""; position: absolute; width: 34px; height: 34px; border: 2px solid var(--gold); pointer-events: none; }
.content-box::before { top: 34px; left: 18px; border-right: 0; border-bottom: 0; border-top-left-radius: 6px; }
.content-box::after { bottom: 34px; right: 18px; border-left: 0; border-top: 0; border-bottom-right-radius: 6px; }

.page-text ul { list-style: none; padding-left: 0; }
.page-text ul li { position: relative; padding-left: 24px; }
.page-text ul li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); box-shadow: 0 0 0 2px rgba(142, 42, 30, .6); }
.page-text h2 { padding-left: 22px; }
.page-text h2::before { content: ""; position: absolute; left: 0; top: .42em; width: 10px; height: 10px; background: var(--crimson-2); transform: rotate(45deg); box-shadow: 0 0 0 2px #120D0A, 0 0 0 3px var(--gold); }
.page-text h2::after { left: 22px; }

.faq__item.open { background: linear-gradient(90deg, rgba(142, 42, 30, .22), rgba(14, 10, 8, .55) 40%); box-shadow: inset 3px 0 0 var(--gold); }

.page-text > .shot { float: right; width: min(46%, 400px); margin: 4px max(0px, calc((100% - 860px) / 2)) 18px 26px; padding: 6px; border-radius: 14px; background: linear-gradient(180deg, var(--gold-2), var(--gold-3)); box-shadow: 0 16px 34px rgba(0, 0, 0, .5); }
.shot img { width: 100%; height: auto; border-radius: 10px; }
.page-text h2, .page-text .table-scroll, .page-text .faq { clear: both; }

.footer { position: relative; padding-top: 40px; background: var(--meander) top 12px center / 20px 12px repeat-x, #0B0806; }

@media (max-width: 960px) {
    .page-hero__label { left: 20px; bottom: 16px; }
    .content-box::before, .content-box::after { display: none; }
}
@media (max-width: 600px) {
    .page-text > .shot { float: none; width: 100%; margin: 6px 0 18px; }
    .page-hero__frame::after, .banner-carousel::after { inset: 6px; }
}
@media (prefers-reduced-motion: reduce) {
    .banner-slide.is-active .banner-slide__image img { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
    .live-casino-grid { grid-auto-columns: calc((100% - 3 * 14px) / 4); }
}
@media (max-width: 960px) {
    :root { --header-h: 64px; }
    .header__inner { padding: 0 14px; gap: 10px; }
    .header-burger { display: block; }
    .logo-img { width: 132px; }
    .auth { gap: 8px; }
    .auth .btn { padding: 8px 12px; font-size: 13px; min-height: 40px; }
    .layout, body.sidebar-collapsed .layout { margin-left: 0; }
    .sidebar { transform: translateX(-100%); transition: transform .25s; width: min(300px, 86vw); padding-top: 56px; z-index: 70; top: 0; }
    .sidebar__close { display: block; }
    .sidebar__collapse { display: none; }
    body.sidebar-mobile-open .sidebar { transform: none; }
    body.sidebar-mobile-open .sidebar__overlay { display: block; position: fixed; inset: 0; z-index: 65; background: rgba(0, 0, 0, .6); }
    body.sidebar-collapsed .sidebar__title, body.sidebar-collapsed .sidebar-promo { display: revert; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(3) { border-left: 0; }
    .live-casino-grid { grid-auto-columns: 40%; }
    .banner-slide__content { width: 100%; padding: 22px; justify-content: flex-end; }
    .banner-slide__image::after { background: linear-gradient(0deg, rgba(8, 5, 4, .92) 0%, rgba(8, 5, 4, .45) 55%, rgba(8, 5, 4, .1) 100%); }
    .banner-carousel__viewport { aspect-ratio: auto; height: 340px; }
    .banner-slide__content p:not(.banner-slide__title) { font-size: 15px; }
    .banner-dots { top: 14px; bottom: auto; }
}
@media (max-width: 600px) {
    body { font-size: 17px; }
    .banner-carousel-wrapper, .page-hero { padding: 12px 12px 0; }
    .stats, .games-block, .container { padding-left: 12px; padding-right: 12px; }
    .content-box { padding: 26px 16px 32px; border-radius: 14px; }
    .auth .btn--outline { display: none; }
    .cookie-bar { flex-direction: column; align-items: stretch; }
    .cookie-bar__actions .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
