/* Lizaro Casino review - canyon dusk theme, build 2.1 */
:root {
    --night: #1B1738;
    --night-deep: #131029;
    --panel: #231F47;
    --panel-2: #2B2655;
    --line: #3F3872;
    --plum: #7A3F63;
    --copper: #E4893D;
    --copper-hi: #F3A45E;
    --sun: #F6C35A;
    --sage: #3FA6A0;
    --sage-deep: #256B68;
    --sand: #F3E6D3;
    --sand-2: #DCD0E6;
    --dust: #A99FC0;
    --font-display: "Big Shoulders Display", "Oswald", "Arial Narrow", Impact, sans-serif;
    --font-poster: "Rye", "Big Shoulders Display", Georgia, serif;
    --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
}

*, *::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.7;
    color: var(--sand);
    background:
        linear-gradient(180deg, rgba(122, 63, 99, 0.28) 0px, rgba(27, 23, 56, 0) 520px),
        var(--night);
    min-height: 100vh;
}

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

a { color: var(--copper-hi); text-decoration-color: rgba(243, 164, 94, 0.45); text-underline-offset: 3px; }
a:hover { color: var(--sun); text-decoration-color: currentColor; }

:focus-visible { outline: 3px solid var(--sage); outline-offset: 3px; }

.skip-link {
    position: absolute; left: 12px; top: -60px; z-index: 100;
    background: var(--sun); color: var(--night-deep); padding: 8px 14px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

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

/* ===== Header ===== */
.header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(19, 16, 41, 0.96);
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--copper) 0%, var(--plum) 55%, var(--sage) 100%) 1;
    transition: box-shadow 0.25s ease;
}
.header.scrolled { box-shadow: 0 8px 26px rgba(0, 0, 0, 0.5); }
.header__inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.logo { display: flex; flex-shrink: 0; }
.logo-img { width: 150px; height: 55px; object-fit: contain; }

.header-nav { display: flex; gap: 6px; margin: 0 auto; }
.header-nav a {
    font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: 0.02em;
    color: var(--sand-2); text-decoration: none; padding: 6px 12px;
}
.header-nav a:hover { color: var(--night-deep); background: var(--sun); }

.auth { display: flex; gap: 10px; }

/* ===== Buttons ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 44px; padding: 10px 20px;
    border-radius: 3px;
    font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: 0.03em; line-height: 1.1;
    text-decoration: none; white-space: nowrap; cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.btn--primary { background: var(--copper); color: var(--night-deep); border: 2px solid var(--copper); box-shadow: 4px 4px 0 var(--plum); }
.btn--primary:hover { background: var(--sun); border-color: var(--sun); color: var(--night-deep); box-shadow: 2px 2px 0 var(--plum); }
.btn--ghost { background: transparent; color: var(--sand); border: 2px solid var(--line); }
.btn--ghost:hover { border-color: var(--sage); color: var(--sage); }

/* ===== Hero carousel ===== */
.banner-carousel-wrapper { margin-top: 14px; }
.banner-carousel {
    position: relative; width: 100%; aspect-ratio: 3 / 1; min-height: 300px;
    overflow: hidden; background: var(--panel);
    border: 2px solid var(--line);
}
.banner-carousel__viewport { position: absolute; inset: 0; }
.banner-slide {
    position: absolute; inset: 0;
    opacity: 0; visibility: hidden;
    transition: opacity 0.7s ease, visibility 0.7s;
}
.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(19, 16, 41, 0.9) 0%, rgba(19, 16, 41, 0.66) 28%, rgba(19, 16, 41, 0.1) 46%, rgba(19, 16, 41, 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: 530px; padding: 0 0 0 40px;
}
.banner-slide__title {
    font-family: var(--font-poster); font-weight: 400;
    font-size: 60px; line-height: 1.02; color: var(--sun);
    text-shadow: 3px 3px 0 var(--plum), 0 4px 18px rgba(0, 0, 0, 0.5);
    margin-bottom: 14px;
}
p.banner-slide__title {
    font-family: var(--font-display); font-weight: 800; font-size: 44px; line-height: 1.02;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.55);
}
.banner-slide__content p:not(.banner-slide__title) {
    font-size: 18px; line-height: 1.5; color: var(--sand);
    margin-bottom: 22px; max-width: 24em;
}
.banner-dots {
    position: absolute; z-index: 3; left: 40px; bottom: 18px;
    display: flex; gap: 6px;
}
.banner-dot {
    width: 26px; height: 5px; border: 0; padding: 0; cursor: pointer;
    background: rgba(243, 230, 211, 0.4);
}
.banner-dot.is-active { background: var(--copper); width: 46px; }

/* ===== Content ===== */
.container.page-content { padding-top: 22px; padding-bottom: 56px; }
.content-box {
    background: var(--panel);
    border-top: 5px solid var(--copper);
    padding: 44px 52px 56px;
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.35);
}
.page-text p { margin: 0 0 18px; }
.page-text h1 {
    font-family: var(--font-poster); font-weight: 400; font-size: 44px; line-height: 1.1; color: var(--sun); margin-bottom: 18px;
}
.page-text h2 {
    font-family: var(--font-display); font-weight: 800;
    font-size: 44px; line-height: 1.05; letter-spacing: 0.01em; color: var(--sun);
    margin: 64px 0 24px;
    padding: 0 0 14px;
    border-bottom: 2px dashed rgba(228, 137, 61, 0.7);
    scroll-margin-top: 100px;
}
.page-text h3 {
    font-family: var(--font-display); font-weight: 700;
    font-size: 28px; line-height: 1.15; color: var(--sage);
    margin: 30px 0 8px;
}
.page-text > p:first-child {
    font-size: 21px; line-height: 1.6; color: #FBF3E6;
    padding-left: 22px; border-left: 4px solid var(--sage);
}
.page-text > h2:first-of-type { margin-top: 44px; }

/* 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 54px; margin-bottom: 12px; min-height: 38px;
}
.steps li::before {
    content: counter(step);
    position: absolute; left: 0; top: 2px;
    width: 38px; height: 38px;
    display: grid; place-items: center;
    background: var(--copper); color: var(--night-deep);
    font-family: var(--font-display); font-weight: 800; font-size: 22px;
    box-shadow: 3px 3px 0 var(--plum);
}

/* Image beside text: square frame, image keeps its native 16:9 ratio */
.media-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
    margin: 30px 0 38px;
}
.media-row__figure {
    position: relative;
    padding: 10px;
    background: var(--night-deep);
    border: 3px solid var(--sun);
    box-shadow: 12px 12px 0 var(--sage-deep);
}
.media-row__figure::before {
    content: ""; position: absolute; inset: 4px;
    border: 1px solid rgba(246, 195, 90, 0.35);
    pointer-events: none;
}
.media-row__figure img {
    width: 100%; height: auto; aspect-ratio: 16 / 9;
    background: var(--panel-2);
}
.media-row--flip .media-row__figure { order: 2; box-shadow: -12px 12px 0 var(--plum); }
.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: 2px solid var(--line); background: var(--night-deep); }
.table-scroll table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.45; min-width: 520px; }
.table-scroll th {
    background: var(--sage-deep); color: #F6FBFA;
    font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: 0.02em;
    text-align: left; padding: 11px 16px;
}
.table-scroll td { padding: 11px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-scroll tbody tr:nth-child(odd) td { background: rgba(43, 38, 85, 0.6); }
.table-scroll tbody tr:last-child td { border-bottom: 0; }
.table-scroll td:first-child { color: var(--sun); font-weight: 700; white-space: nowrap; }
.table-scroll td + td { color: var(--sand-2); }

/* FAQ */
.faq { margin-top: 60px; }
.faq .faq__title { margin-top: 0; }
.faq__list { display: grid; gap: 10px; }
.faq__item { background: var(--night-deep); border-left: 4px solid var(--line); transition: border-color 0.2s ease; }
.faq__item.open { border-left-color: var(--copper); }
.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(--sand); cursor: pointer; text-align: left;
    font-family: var(--font-body); font-weight: 700; font-size: 19px; line-height: 1.35;
    padding: 16px 18px;
}
.faq__question:hover { color: var(--sun); }
.faq__icon { position: relative; flex-shrink: 0; width: 26px; height: 26px; border: 2px solid var(--copper); }
.faq__icon::before, .faq__icon::after {
    content: ""; position: absolute; left: 50%; top: 50%;
    width: 12px; height: 2px; background: var(--copper);
    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 18px 18px; margin: 0; color: var(--sand-2); }

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

/* ===== Footer ===== */
.footer { background: var(--night-deep); border-top: 3px solid var(--plum); padding: 38px 0 30px; color: var(--dust); font-size: 15px; line-height: 1.6; }
.footer__inner { display: grid; gap: 18px; justify-items: center; text-align: center; }
.footer__brand { display: flex; align-items: center; justify-content: center; gap: 18px; }
.footer__brand img { width: 164px; height: 60px; object-fit: contain; }
.footer__age {
    display: inline-grid; place-items: center; width: 46px; height: 46px;
    border: 2px solid var(--copper); color: var(--copper); 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 24px; }
.footer__nav-list a { color: var(--sand-2); text-decoration: none; font-weight: 500; }
.footer__nav-list a:hover { color: var(--sun); text-decoration: underline; }
.footer__copy a { color: var(--sand); }
.footer__legal { font-size: 14px; color: #968DB3; }

/* ===== Responsive ===== */
@media (max-width: 1080px) {
    .header-nav { display: none; }
    .auth { margin-left: auto; }
    .content-box { padding: 38px 32px 44px; }
    .media-row { gap: 32px; }
}
@media (max-width: 768px) {
    body { font-size: 17px; }
    .container { padding: 0 12px; }
    .header__inner { min-height: 64px; gap: 12px; }
    .logo-img { width: 120px; height: 44px; }
    .auth .btn { min-height: 40px; padding: 8px 12px; font-size: 17px; }
    .banner-carousel { aspect-ratio: auto; height: 330px; }
    .banner-slide__image::after { background: linear-gradient(0deg, rgba(19, 16, 41, 0.95) 0%, rgba(19, 16, 41, 0.72) 42%, rgba(19, 16, 41, 0.05) 78%); }
    .banner-slide__content { justify-content: flex-end; padding: 0 18px 44px; max-width: none; }
    .banner-slide__title { font-size: 42px; }
    p.banner-slide__title { font-size: 34px; }
    .banner-slide__content p:not(.banner-slide__title) { font-size: 16px; margin-bottom: 14px; }
    .banner-dots { left: 18px; bottom: 16px; }
    .container.page-content { padding-top: 16px; padding-bottom: 44px; }
    .content-box { padding: 28px 16px 32px; }
    .page-text h2 { font-size: 34px; margin-top: 48px; }
    .page-text h3 { font-size: 24px; }
    .page-text > p:first-child { font-size: 18px; padding-left: 14px; }
    .media-row { grid-template-columns: 1fr; gap: 24px; }
    .media-row--flip .media-row__figure { order: 0; }
    .media-row__figure, .media-row--flip .media-row__figure { padding: 6px; box-shadow: 7px 7px 0 var(--sage-deep); }
    .table-scroll table { min-width: 0; font-size: 15px; }
    .table-scroll td:first-child { white-space: normal; }
    .table-scroll th, .table-scroll td { padding: 10px 12px; }
    .faq__question { font-size: 17px; padding: 14px; }
    .faq__answer p { padding: 0 14px 16px; }
}
@media (max-width: 420px) {
    .btn--ghost { display: none; }
    .container { padding: 0 8px; }
    .content-box { padding: 24px 12px 28px; }
}
