/* Lizaro Casino review - frontier saloon theme, build 1.2 */
:root {
    --ink: #140D08;
    --plank: #20150D;
    --hide: #2B1D12;
    --saddle: #4A3321;
    --gold: #F2C14E;
    --gold-deep: #C98F22;
    --ember: #E07A2E;
    --parchment: #F2E6D0;
    --dust: #BFAA8B;
    --font-head: "Zilla Slab", Rockwell, "Roboto Slab", Georgia, serif;
    --font-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
    --measure: 100%;
    --radius-lg: 16px;
    --radius-sm: 8px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.65;
    color: var(--parchment);
    background:
        radial-gradient(1200px 520px at 50% -120px, rgba(224, 122, 46, 0.16), transparent 70%),
        radial-gradient(900px 600px at 100% 40%, rgba(242, 193, 78, 0.05), transparent 70%),
        var(--ink);
    min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--gold); text-decoration-color: rgba(242, 193, 78, 0.45); text-underline-offset: 3px; }
a:hover { color: #FFD57A; text-decoration-color: currentColor; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.skip-link {
    position: absolute; left: 12px; top: -60px; z-index: 100;
    background: var(--gold); color: var(--ink); padding: 8px 14px; border-radius: var(--radius-sm); font-weight: 700;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 24px; }

/* ===== Header ===== */
.header {
    position: sticky; top: 0; z-index: 50;
    background: var(--plank);
    border-bottom: 1px solid var(--saddle);
    transition: box-shadow 0.25s ease;
}
.header.scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45); }
.header__inner { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.logo { display: flex; flex-shrink: 0; }
.logo-img { width: 158px; height: 48px; object-fit: contain; }

.header-nav { display: flex; gap: 22px; margin-left: auto; }
.header-nav a {
    color: var(--parchment); text-decoration: none; font-weight: 600; font-size: 16px;
    padding: 6px 0; border-bottom: 2px solid transparent;
}
.header-nav a:hover { color: var(--gold); border-bottom-color: var(--ember); }

.auth { display: flex; gap: 10px; margin-left: 12px; }
.header-nav + .auth { margin-left: 12px; }
.header__inner > .logo + .auth { margin-left: auto; }

/* ===== Buttons ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 44px; padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body); font-weight: 700; font-size: 16px; line-height: 1.2;
    text-decoration: none; white-space: nowrap; cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn--primary { background: var(--gold); color: var(--ink); border: 2px solid var(--gold); }
.btn--primary:hover { background: #FFD57A; border-color: #FFD57A; color: var(--ink); }
.btn--outline { background: transparent; color: var(--parchment); border: 2px solid var(--saddle); }
.btn--outline:hover { border-color: var(--gold); color: var(--gold); }

/* ===== Hero carousel ===== */
.banner-carousel-wrapper { margin-top: 16px; }
.banner-carousel {
    position: relative; width: 100%; height: auto; aspect-ratio: 10 / 3; min-height: 300px;
    border-radius: var(--radius-lg); overflow: hidden;
    background: var(--hide);
    box-shadow: inset 0 0 0 1px var(--saddle);
}
.banner-carousel__viewport { position: absolute; inset: 0; }
.banner-slide {
    position: absolute; inset: 0;
    opacity: 0; visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s;
}
.banner-slide.is-active { opacity: 1; visibility: visible; }
.banner-slide__image { position: absolute; inset: 0; }
.banner-slide__image img {
    width: 100%; height: 100%; object-fit: cover;
    object-position: var(--pos, 50%) 50%;
}
.banner-slide__image::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(20, 13, 8, 0.92) 0%, rgba(20, 13, 8, 0.72) 34%, rgba(20, 13, 8, 0.15) 58%, rgba(20, 13, 8, 0) 100%);
}
.banner-slide__content {
    position: relative; z-index: 2; height: 100%;
    display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
    max-width: 500px; padding: 0 0 0 44px;
}
.banner-slide__title {
    font-family: var(--font-head); font-weight: 700;
    font-size: 56px; line-height: 1.02; color: var(--gold);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
    margin-bottom: 12px;
}
p.banner-slide__title { font-size: 38px; line-height: 1.08; }
.banner-slide__content p:not(.banner-slide__title) {
    font-size: 19px; line-height: 1.45; color: var(--parchment);
    margin-bottom: 20px; max-width: 26em;
}
.banner-dots {
    position: absolute; z-index: 3; right: 20px; bottom: 16px;
    display: flex; gap: 8px;
}
.banner-dot {
    width: 12px; height: 12px; border-radius: 50%;
    background: rgba(20, 13, 8, 0.6); border: 2px solid var(--parchment);
    cursor: pointer; padding: 0;
}
.banner-dot.is-active { background: var(--gold); border-color: var(--gold); width: 28px; border-radius: 6px; }

/* ===== Content ===== */
.container.page-content { padding-top: 28px; padding-bottom: 56px; }
.content-box {
    background: linear-gradient(180deg, rgba(43, 29, 18, 0.92) 0%, rgba(32, 21, 13, 0.92) 100%);
    border: 1px solid var(--saddle);
    border-radius: 22px;
    padding: 48px 56px 56px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(242, 193, 78, 0.08);
}
.page-text { max-width: var(--measure); margin: 0 auto; }

.page-text p { margin: 0 0 18px; }
.page-text h1 {
    font-family: var(--font-head); font-size: 44px; line-height: 1.1; color: var(--gold); margin-bottom: 18px;
}
.page-text h2 {
    font-family: var(--font-head); font-weight: 700;
    font-size: 36px; line-height: 1.15; color: var(--parchment);
    margin: 64px 0 26px;
    padding-bottom: 16px;
    position: relative;
    scroll-margin-top: 96px;
}
.page-text h2::after {
    content: ""; position: absolute; left: 0; bottom: 0;
    width: 88px; height: 3px; border-radius: 2px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--ember) 100%);
}
.page-text h2::before {
    content: ""; position: absolute; left: 96px; bottom: -3px;
    width: 9px; height: 9px; background: var(--gold);
    transform: rotate(45deg);
}
.page-text h3 {
    font-family: var(--font-head); font-weight: 600;
    font-size: 23px; line-height: 1.25; color: var(--gold);
    margin: 30px 0 10px;
}
.page-text > p:first-child { font-size: 21px; line-height: 1.6; color: #F7EEDD; }
.page-text > h2:first-of-type, .page-text > .table-scroll + h2 { margin-top: 48px; }

/* Steps: a real sequence, so numbered markers */
.steps { list-style: none; counter-reset: step; margin: 6px 0 22px; }
.steps li {
    counter-increment: step; position: relative;
    padding: 4px 0 4px 52px; margin-bottom: 12px; min-height: 36px;
}
.steps li::before {
    content: counter(step);
    position: absolute; left: 0; top: 2px;
    width: 36px; height: 36px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--hide); border: 2px solid var(--gold); color: var(--gold);
    font-family: var(--font-head); font-weight: 700; font-size: 18px;
}

/* Image beside text: image keeps its native 16:9 ratio */
.media-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 44px;
    align-items: center;
    margin: 30px 0 34px;
}
.media-row__figure {
    position: relative;
    padding: 8px;
    border-radius: 50% 50% 22px 22px / 24% 24% 22px 22px;
    background: linear-gradient(160deg, var(--gold) 0%, var(--gold-deep) 45%, #6B4226 100%);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.5);
}
.media-row__figure img {
    width: 100%; height: auto; aspect-ratio: 16 / 9;
    border-radius: 50% 50% 16px 16px / 24% 24% 16px 16px;
    background: var(--hide);
}
.media-row--flip .media-row__figure { order: 2; }
.media-row__text > :first-child { margin-top: 0; }
.media-row__text > :last-child { margin-bottom: 0; }
.media-row__text h3 { margin-top: 22px; }

/* Tables */
.table-scroll { overflow-x: auto; margin: 22px 0 30px; border-radius: 14px; border: 1px solid var(--saddle); background: rgba(20, 13, 8, 0.45); box-shadow: inset 0 3px 0 var(--gold-deep); }
.table-scroll table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.45; min-width: 520px; }
.table-scroll th {
    background: var(--hide); color: var(--gold);
    font-family: var(--font-head); font-weight: 700; font-size: 17px;
    text-align: left; padding: 12px 16px; border-bottom: 2px solid var(--gold-deep);
}
.table-scroll td { padding: 11px 16px; border-bottom: 1px solid rgba(74, 51, 33, 0.7); vertical-align: top; }
.table-scroll tbody tr:nth-child(even) td { background: rgba(43, 29, 18, 0.45); }
.table-scroll tbody tr:last-child td { border-bottom: 0; }
.table-scroll td:first-child { color: var(--parchment); font-weight: 600; white-space: nowrap; }
.table-scroll td + td { color: #E6D6BB; }

/* FAQ */
.faq { margin-top: 56px; }
.faq .faq__title { margin-top: 0; }
.faq__list { border-top: 1px solid var(--saddle); }
.faq__item { border-bottom: 1px solid var(--saddle); }
.page-text .faq__q { margin: 0; font-size: inherit; }
.faq__question {
    width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
    background: none; border: 0; color: var(--parchment); cursor: pointer; text-align: left;
    font-family: var(--font-head); font-weight: 600; font-size: 21px; line-height: 1.3;
    padding: 18px 2px;
}
.faq__question:hover { color: var(--gold); }
.faq__icon { position: relative; flex-shrink: 0; width: 22px; height: 22px; }
.faq__icon::before, .faq__icon::after {
    content: ""; position: absolute; left: 50%; top: 50%;
    width: 16px; height: 2px; background: var(--ember);
    transform: translate(-50%, -50%); transition: transform 0.25s ease;
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item.open .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__answer { overflow: hidden; transition: height 0.3s ease; }
.faq__answer p { padding: 0 2px 18px; margin: 0; color: #E6D6BB; }

.notfound { text-align: center; padding: 40px 0; }

/* ===== Footer ===== */
.footer { background: var(--plank); border-top: 1px solid var(--saddle); padding: 36px 0 30px; color: var(--dust); font-size: 15px; line-height: 1.6; }
.footer__inner { display: grid; gap: 16px; justify-items: center; text-align: center; }
.footer__brand { display: flex; align-items: center; justify-content: center; gap: 16px; }
.footer__brand img { width: 164px; height: 50px; object-fit: contain; }
.footer__age {
    display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
    border: 2px solid var(--ember); color: var(--ember); font-weight: 700; font-size: 15px;
}
.footer__copy { max-width: 72ch; margin: 0 auto; }
.footer__nav-list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }
.footer__nav-list a { color: var(--parchment); text-decoration: none; font-weight: 600; }
.footer__nav-list a:hover { color: var(--gold); text-decoration: underline; }
.footer__copy a { color: var(--parchment); }
.footer__legal { font-size: 14px; color: #8F7D63; }

/* ===== Responsive ===== */
@media (max-width: 1080px) {
    .header-nav { display: none; }
    .content-box { padding: 40px 36px 44px; }
    .media-row { gap: 28px; }
    .header__inner > .logo ~ .auth { margin-left: auto; }
}
@media (max-width: 768px) {
    body { font-size: 17px; }
    .header__inner { min-height: 62px; gap: 12px; }
    .logo-img { width: 125px; height: 38px; }
    .auth .btn { min-height: 40px; padding: 8px 12px; font-size: 15px; }
    .banner-carousel { height: 320px; }
    .banner-slide__image::after { background: linear-gradient(0deg, rgba(20, 13, 8, 0.95) 0%, rgba(20, 13, 8, 0.7) 45%, rgba(20, 13, 8, 0.1) 80%); }
    .banner-slide__content { justify-content: flex-end; padding: 0 20px 44px; max-width: none; }
    .banner-slide__title { font-size: 40px; }
    p.banner-slide__title { font-size: 28px; }
    .banner-slide__content p:not(.banner-slide__title) { font-size: 17px; margin-bottom: 14px; }
    .banner-dots { right: 50%; transform: translateX(50%); bottom: 14px; }
    .container.page-content { padding-top: 32px; padding-bottom: 56px; }
    .table-scroll table { min-width: 0; font-size: 15px; }
    .table-scroll table:has(th:nth-child(3)) { min-width: 520px; }
    .table-scroll td:first-child { white-space: normal; }
    .table-scroll th, .table-scroll td { padding: 10px 12px; }
    .page-text h2 { font-size: 28px; margin-top: 48px; }
    .content-box { padding: 28px 18px 32px; border-radius: 16px; }
    .media-row { grid-template-columns: 1fr; gap: 20px; }
    .media-row--flip .media-row__figure { order: 0; }
    .media-row__figure { padding: 6px; }
    .page-text h3 { font-size: 21px; }
    .page-text > p:first-child { font-size: 18px; }
    .faq__question { font-size: 19px; }
}
@media (max-width: 420px) {
    .btn--outline { display: none; }
    .container { padding: 0 10px; }
    .content-box { padding: 24px 14px 28px; }
}
