:root {
    --bg-1: #1a1008;
    --bg-2: #2a1a0e;
    --panel: #2d1e12;
    --panel-2: #3a2617;
    --gold-1: #ffd700;
    --gold-2: #ffcc00;
    --amber: #f59e0b;
    --leather: #8b4513;
    --cream: #fdf0d5;
    --muted: #e7cfaa;
    --danger: #ef4444;
    --ok: #22c55e;
    --shadow: 0 14px 34px rgba(0, 0, 0, 0.42);
    --radius: 16px;
    --radius-sm: 12px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Nunito Sans", sans-serif;
    background: radial-gradient(circle at 15% 12%, #3a2412 0%, transparent 38%),
        radial-gradient(circle at 88% 28%, #2f1a0f 0%, transparent 35%),
        linear-gradient(155deg, var(--bg-1), var(--bg-2));
    color: var(--cream);
    line-height: 1.6;
}

body.menu-open,
body.modal-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

.container {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: -999px;
}

.skip-link:focus {
    left: 16px;
    top: 16px;
    z-index: 1200;
    background: #fff;
    color: #111;
    padding: 8px 12px;
    border-radius: 8px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(27, 16, 9, 0.62);
    border-bottom: 1px solid rgba(255, 215, 0, 0.18);
    backdrop-filter: blur(8px);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
    background: rgba(38, 23, 13, 0.96);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.32);
}

.nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 74px;
    gap: 16px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: "Lora", serif;
    font-size: 1.28rem;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.brand-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: radial-gradient(circle at 28% 30%, #ffe37d, var(--gold-2));
    color: #48270f;
    display: grid;
    place-items: center;
    box-shadow: 0 0 16px rgba(255, 204, 0, 0.32);
}

.brand span {
    color: var(--gold-1);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav-links a {
    color: var(--muted);
    font-weight: 700;
    font-size: 0.94rem;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: color 0.22s ease, border-color 0.22s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active {
    color: var(--amber);
    border-color: var(--amber);
}

.nav-toggle {
    display: none;
    border: 1px solid rgba(255, 215, 0, 0.35);
    background: transparent;
    color: var(--gold-1);
    width: 42px;
    height: 42px;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.nav-toggle .bar {
    width: 18px;
    height: 2px;
    display: block;
    background: currentColor;
    margin: 2px 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.active .bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.mobile-panel {
    display: none;
    padding: 0 0 14px;
}

.mobile-panel a {
    display: block;
    padding: 10px 0;
    color: var(--muted);
    border-bottom: 1px solid rgba(253, 240, 213, 0.1);
}

.mobile-panel.show {
    display: block;
}

.hero {
    position: relative;
    padding: 78px 0 52px;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        135deg,
        rgba(255, 215, 0, 0.06) 0 18px,
        rgba(255, 204, 0, 0.03) 18px 36px
    );
    mix-blend-mode: soft-light;
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 28px;
    align-items: center;
}

.hero h1 {
    margin: 0 0 14px;
    font-family: "Lora", serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.12;
    color: var(--gold-1);
}

.hero p {
    margin: 0 0 12px;
    color: var(--cream);
    font-size: 1.02rem;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.trust-chip {
    background: rgba(255, 204, 0, 0.12);
    border: 1px solid rgba(255, 215, 0, 0.35);
    color: var(--gold-2);
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 700;
}

.hero-visual {
    min-height: 270px;
    border-radius: 24px;
    background: radial-gradient(circle at 50% 28%, rgba(255, 215, 0, 0.35), transparent 38%),
        linear-gradient(165deg, #3a2618, #20140b 70%);
    border: 1px solid rgba(255, 215, 0, 0.24);
    box-shadow: var(--shadow);
    position: relative;
    padding: 24px;
}

.chest {
    position: absolute;
    width: 190px;
    height: 120px;
    left: 50%;
    transform: translateX(-50%);
    bottom: 34px;
    background: linear-gradient(180deg, #8b4513, #5b2f11);
    border: 2px solid rgba(255, 204, 0, 0.4);
    border-radius: 12px;
    box-shadow: inset 0 0 0 3px rgba(255, 215, 0, 0.15);
}

.chest::before {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    top: -38px;
    height: 52px;
    background: linear-gradient(180deg, #a35b21, #6d3815);
    border: 2px solid rgba(255, 204, 0, 0.4);
    border-bottom: 0;
    border-top-left-radius: 80px;
    border-top-right-radius: 80px;
}

.coin {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #fff3a5, #ffd700 58%, #d29c08);
    animation: floatCoin 3s ease-in-out infinite;
}

.coin:nth-child(1) {
    left: 14%;
    top: 20%;
}

.coin:nth-child(2) {
    left: 70%;
    top: 16%;
    animation-delay: 0.5s;
}

.coin:nth-child(3) {
    left: 62%;
    top: 44%;
    animation-delay: 1s;
}

@keyframes floatCoin {
    0%,
    100% {
        transform: translateY(0) rotate(0);
        opacity: 0.9;
    }
    50% {
        transform: translateY(-10px) rotate(14deg);
        opacity: 1;
    }
}

.section {
    padding: 22px 0 44px;
}

.section h2 {
    margin: 0 0 12px;
    font-family: "Lora", serif;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    color: var(--gold-1);
}

.section-intro {
    margin-bottom: 20px;
    color: var(--muted);
}

.quick-picks {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}

.pick {
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255, 204, 0, 0.17), rgba(255, 204, 0, 0.06));
    border: 1px solid rgba(255, 215, 0, 0.34);
    padding: 14px;
}

.pick small {
    color: var(--gold-2);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.pick strong {
    display: block;
    margin-top: 6px;
    font-size: 1.05rem;
}

.card-list {
    display: grid;
    gap: 16px;
}

.casino-card {
    background: linear-gradient(180deg, #352316, var(--panel));
    border: 1px solid rgba(255, 215, 0, 0.25);
    border-left: 4px solid var(--gold-1);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 16px;
    align-items: center;
}

.casino-logo-container {
    width: 120px;
    height: 80px;
    min-width: 120px;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
    flex-shrink: 0;
}

.casino-logo-container img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.casino-name {
    margin: 0;
    font-family: "Lora", serif;
    font-size: 1.35rem;
    color: var(--gold-1);
}

.badge {
    font-size: 0.77rem;
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: 0.2px;
}

.badge.gold {
    background: rgba(255, 204, 0, 0.2);
    color: var(--gold-1);
    border: 1px solid rgba(255, 204, 0, 0.45);
}

.badge.hot {
    background: rgba(239, 68, 68, 0.2);
    color: #ff9d9d;
    border: 1px solid rgba(239, 68, 68, 0.45);
}

.rating {
    color: var(--gold-2);
    font-weight: 800;
    margin-bottom: 9px;
    font-size: 0.93rem;
}

.bonus {
    background: linear-gradient(180deg, rgba(255, 204, 0, 0.16), rgba(255, 204, 0, 0.07));
    border: 1px solid rgba(255, 215, 0, 0.35);
    border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 10px;
    color: #ffe7a3;
    font-weight: 800;
    font-size: 1.02rem;
}

.pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.pill {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(253, 240, 213, 0.1);
    border: 1px solid rgba(253, 240, 213, 0.2);
}

.key-info,
.meta-line {
    font-size: 0.84rem;
    color: var(--muted);
}

.cta-wrap {
    text-align: right;
    min-width: 188px;
}

.cta {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 180px;
    min-height: 54px;
    border-radius: 14px;
    border: 0;
    background: linear-gradient(160deg, var(--gold-1), var(--amber));
    color: #3a1e07;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0.2px;
    box-shadow: 0 10px 22px rgba(245, 158, 11, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta:hover,
.cta:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(255, 204, 0, 0.38);
    animation: coinFlip 0.55s ease;
}

@keyframes coinFlip {
    0% {
        transform: translateY(-2px) rotateY(0deg);
    }
    50% {
        transform: translateY(-2px) rotateY(180deg);
    }
    100% {
        transform: translateY(-2px) rotateY(360deg);
    }
}

.notice {
    margin-top: 8px;
    font-size: 0.72rem;
    color: #f5d7ad;
}

.content-card {
    background: linear-gradient(180deg, #2d1e12, #26190f);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}

.criteria-grid {
    display: grid;
    gap: 14px;
}

.criteria h3 {
    margin: 0 0 6px;
    font-size: 1.08rem;
    color: var(--gold-1);
}

.faq-list {
    display: grid;
    gap: 10px;
}

.faq-item {
    border: 1px solid rgba(255, 215, 0, 0.24);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #2d1e12;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: transparent;
    border: 0;
    color: var(--cream);
    font-size: 1rem;
    font-weight: 700;
    padding: 14px 16px;
    cursor: pointer;
}

.faq-answer {
    padding: 0 16px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--muted);
}

.faq-item.open .faq-answer {
    max-height: 280px;
    padding: 0 16px 16px;
}

.callout-18 {
    display: inline-block;
    background: #3f2210;
    border: 1px solid rgba(255, 215, 0, 0.35);
    color: var(--gold-1);
    font-size: 1.5rem;
    font-weight: 900;
    padding: 6px 14px;
    border-radius: 12px;
    margin: 6px 0 12px;
}

.site-footer {
    margin-top: 34px;
    background: #20140c;
    border-top: 1px solid rgba(255, 215, 0, 0.22);
    padding: 32px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 22px;
}

.footer-title {
    margin: 0 0 8px;
    font-size: 1.06rem;
    color: var(--gold-1);
    font-family: "Lora", serif;
}

.footer-links {
    display: grid;
    gap: 6px;
}

.footer-links a {
    color: var(--muted);
}

.footer-links a:hover {
    color: var(--amber);
}

.fineprint {
    margin-top: 14px;
    font-size: 0.82rem;
    color: #e4c59b;
}

.page-hero {
    padding: 54px 0 20px;
}

.page-hero h1 {
    margin: 0;
    font-family: "Lora", serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    color: var(--gold-1);
}

.legal-nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 14px 0 0;
}

.legal-nav a {
    padding: 8px 12px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 999px;
    font-size: 0.85rem;
    color: var(--muted);
}

.legal-nav a.active,
.legal-nav a:hover {
    border-color: var(--amber);
    color: var(--amber);
}

.legal-section {
    margin-bottom: 20px;
}

.legal-section h2 {
    margin: 0 0 8px;
    font-family: "Lora", serif;
    color: var(--gold-1);
    font-size: 1.35rem;
}

.legal-section p,
.legal-section li {
    color: var(--muted);
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.74);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1200;
    padding: 16px;
}

.overlay.show {
    display: flex;
}

.modal {
    width: min(520px, 100%);
    border-radius: 18px;
    border: 1px solid rgba(255, 215, 0, 0.34);
    background: linear-gradient(180deg, #2f1f12, #24170d);
    box-shadow: var(--shadow);
    padding: 20px;
}

.modal h2 {
    margin: 0 0 8px;
    color: var(--gold-1);
    font-family: "Lora", serif;
}

.modal p {
    margin: 0 0 12px;
    color: var(--cream);
}

.modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn {
    border: 0;
    border-radius: 12px;
    min-height: 44px;
    padding: 0 16px;
    cursor: pointer;
    font-weight: 800;
}

.btn-primary {
    background: linear-gradient(160deg, var(--gold-1), var(--amber));
    color: #402409;
}

.btn-secondary {
    background: #462b17;
    color: var(--cream);
    border: 1px solid rgba(255, 215, 0, 0.25);
}

.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 1100;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-inner {
    max-width: 960px;
    margin: 0 auto;
    background: #2b1c11;
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 14px;
    padding: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}

.cookie-inner p {
    margin: 0;
    color: var(--muted);
    max-width: 680px;
    font-size: 0.9rem;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@media (max-width: 960px) {
    .hero-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .quick-picks {
        grid-template-columns: 1fr;
    }

    .casino-card {
        grid-template-columns: auto 1fr;
    }

    .cta-wrap {
        grid-column: 1 / -1;
        text-align: left;
    }

    .cta {
        width: 100%;
    }
}

@media (max-width: 780px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .hero {
        padding-top: 50px;
    }

    .casino-card {
        grid-template-columns: 1fr;
    }

    .casino-logo-container {
        width: 100%;
        min-width: 0;
        height: 84px;
    }
}

.footer-logo {
    width: 220px;
    max-width: 100%;
    display: block;
    margin-bottom: 10px;
    border-radius: 10px;
}
