/* =========================================================
   Bizzo Casino — boho editorial theme
   Palette: warm cream, terracotta, sage, gold, espresso ink
   ========================================================= */

:root {
    --cream:        #f4ece1;
    --cream-2:      #ece0d1;
    --card:         #fbf6ee;
    --ink:          #3a2f25;
    --ink-soft:     #6b5d4f;
    --terra:        #bc6b4c;
    --terra-deep:   #a4543a;
    --sage:         #7c8567;
    --gold:         #c9a24b;
    --line:         #d9c9b4;
    --shadow:       0 18px 40px -24px rgba(58, 47, 37, .45);
    --shadow-soft:  0 10px 26px -18px rgba(58, 47, 37, .38);
    --radius:       18px;
    --radius-sm:    12px;
    --maxw:         1120px;

    --font-display: "Fraunces", Georgia, "Times New Roman", serif;
    --font-body:    "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    line-height: 1.72;
    font-size: 17px;
    background-color: var(--cream);
    background-image:
        radial-gradient(circle at 12% 8%, rgba(188,107,76,.10), transparent 42%),
        radial-gradient(circle at 88% 4%, rgba(124,133,103,.12), transparent 40%),
        radial-gradient(circle at 50% 100%, rgba(201,162,75,.10), transparent 55%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.18; font-weight: 600; }

h1 {
    font-size: clamp(2.6rem, 6vw, 4.4rem);
    font-weight: 700;
    letter-spacing: -.5px;
    margin: 0 0 .35em;
}

h2 {
    font-size: clamp(1.7rem, 3.4vw, 2.4rem);
    margin: 0 0 .55em;
    position: relative;
    padding-bottom: .35em;
}
h2::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 64px; height: 3px;
    background: linear-gradient(90deg, var(--terra), var(--gold));
    border-radius: 3px;
}

h3 {
    font-size: clamp(1.2rem, 2.2vw, 1.5rem);
    margin: 1.8em 0 .5em;
    color: var(--terra-deep);
    font-style: italic;
    font-weight: 500;
}

h4 { font-size: 1.02rem; margin: .6em 0 .15em; }

p { margin: 0 0 1.1em; }
strong { color: var(--ink); font-weight: 700; }
a { color: var(--terra-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Buttons ---------- */
.btn {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: .92rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    border: none;
    border-radius: 999px;
    padding: .7em 1.5em;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.btn-solid {
    background: var(--terra);
    color: #fff7ef;
    box-shadow: 0 8px 18px -10px rgba(164,84,58,.8);
}
.btn-solid:hover { background: var(--terra-deep); transform: translateY(-2px); box-shadow: 0 12px 22px -10px rgba(164,84,58,.9); }
.btn-ghost {
    background: transparent;
    color: var(--ink);
    border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--terra); color: var(--terra-deep); transform: translateY(-2px); }
.btn-lg { padding: .95em 2em; font-size: 1rem; }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(244, 236, 225, .9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; gap: 16px; }
.brand-logo { height: 52px; width: auto; display: block; }
.header-actions { display: flex; gap: 10px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(36px, 6vw, 80px) 0 clamp(24px, 4vw, 50px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.eyebrow {
    display: inline-block;
    font-size: .78rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--sage);
    font-weight: 700;
    margin-bottom: .9em;
}
.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 56ch; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 1.6em; }
.hero-figure { margin: 0; }
.hero-figure img {
    width: 100%; height: auto; display: block;
    border-radius: 26px;
    box-shadow: var(--shadow);
    border: 6px solid var(--card);
    transform: rotate(1.2deg);
}

/* ---------- Table of contents ---------- */
.toc {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 30px;
    margin: 18px 0 48px;
    box-shadow: var(--shadow-soft);
}
.toc-title {
    font-family: var(--font-display);
    font-size: .82rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--terra-deep);
    margin: 0 0 .8em;
    font-weight: 600;
}
.toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; columns: 2; column-gap: 40px; }
.toc li { counter-increment: toc; margin-bottom: .55em; break-inside: avoid; }
.toc li a { color: var(--ink); display: flex; gap: .6em; align-items: baseline; }
.toc li a::before {
    content: counter(toc, decimal-leading-zero);
    font-family: var(--font-display);
    color: var(--gold);
    font-size: .8rem;
    font-weight: 700;
    min-width: 1.8em;
}
.toc li a:hover { color: var(--terra-deep); text-decoration: none; }

/* ---------- Content blocks ---------- */
.block { margin: 0 0 clamp(40px, 6vw, 68px); scroll-margin-top: 90px; }
.block > p, .block > ul, .block > ol, .block > .table-scroll { max-width: 80ch; }

/* lists */
.feature-list { list-style: none; padding: 0; margin: 1em 0 1.4em; max-width: 80ch; }
.feature-list li {
    position: relative;
    padding: .55em 0 .55em 1.9em;
    border-bottom: 1px dashed var(--line);
}
.feature-list li::before {
    content: "";
    position: absolute;
    left: 0; top: 1.05em;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, var(--gold), var(--terra));
}
.steps { counter-reset: step; list-style: none; padding: 0; margin: 1em 0 1.4em; max-width: 80ch; }
.steps li {
    counter-increment: step;
    position: relative;
    padding: .35em 0 .9em 3em;
    min-height: 2.2em;
}
.steps li::before {
    content: counter(step);
    position: absolute;
    left: 0; top: .1em;
    width: 2em; height: 2em;
    background: var(--sage);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}

/* ---------- Tables ---------- */
.table-scroll { overflow-x: auto; margin: 1.1em 0 1.5em; border-radius: var(--radius-sm); box-shadow: var(--shadow-soft); }
table { width: 100%; border-collapse: collapse; background: var(--card); min-width: 420px; }
thead th {
    background: var(--ink);
    color: var(--cream);
    font-family: var(--font-display);
    font-weight: 600;
    text-align: left;
    padding: 14px 18px;
    font-size: .95rem;
}
tbody td { padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: .96rem; }
tbody tr:nth-child(even) { background: rgba(236, 224, 209, .5); }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: rgba(188, 107, 76, .08); }

/* ---------- Slot grid ---------- */
.slot-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 1.6em 0 2em;
}
.slot-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 12px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: transform .18s ease, box-shadow .2s ease;
    position: relative;
}
.slot-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.slot-card img { width: 100%; height: auto; border-radius: var(--radius-sm); display: block; }
.slot-card .btn-play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(.85);
    opacity: 0;
    transition: opacity .2s ease, transform .2s ease;
    padding: .6em 1.6em;
}
.slot-card:hover .btn-play { opacity: 1; transform: translate(-50%, -60%) scale(1); }
.slot-card .slot-name { display: block; font-family: var(--font-display); font-size: 1.02rem; font-weight: 600; margin: .7em 0 0; color: var(--ink); }
.slot-card .provider { font-size: .8rem; color: var(--ink-soft); letter-spacing: .03em; }

/* ---------- Inline figures ---------- */
.inline-figure { margin: .4em 0 1.6em; }
.inline-figure img {
    width: 100%; max-width: 560px; height: auto; display: block;
    border-radius: var(--radius);
    border: 5px solid var(--card);
    box-shadow: var(--shadow-soft);
}

.updated { font-size: .85rem; color: var(--ink-soft); font-style: italic; margin-top: 2em; }

/* ---------- Footer ---------- */
.site-footer {
    margin-top: clamp(40px, 6vw, 80px);
    background: var(--ink);
    color: var(--cream);
    padding: 44px 0;
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.footer-badges { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; justify-content: center; }
.footer-badges img { height: 44px; width: auto; opacity: .92; }
.footer-badges .badge-18 { height: 44px; }
.footer-note { font-size: .82rem; color: #cbbba8; max-width: 70ch; margin: 0; line-height: 1.7; }
.site-footer a { color: var(--gold); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-figure img { transform: none; }
    .slot-grid { grid-template-columns: repeat(2, 1fr); }
    .slot-card .btn-play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
@media (max-width: 620px) {
    body { font-size: 16px; }
    .toc ol { columns: 1; }
    .header-actions .btn-ghost { display: none; }
    .brand-logo { height: 42px; }
}
