:root {
    --bg: #0b0713;
    --panel: #151026;
    --panel2: #201735;
    --text: #f7f3ff;
    --muted: #c9bddb;
    --gold: #ffd166;
    --red: #ff4d6d;
    --green: #38d39f;
    --line: rgba(255, 255, 255, .12);
    --shadow: 0 18px 55px rgba(0, 0, 0, .35);
    --radius: 20px;
}


/* =========================================================
   RESET / GLOBAL
   ========================================================= */

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

html {
    width: 100%;
    max-width: 100%;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", Roboto, Arial, sans-serif;
    background: radial-gradient(
        circle at top left,
        #31184e 0,
        #0b0713 38%,
        #07050c 100%
    );
    color: var(--text);
    line-height: 1.6;
}

a {
    color: inherit;
}

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

button,
input,
textarea,
select {
    font: inherit;
}


/* =========================================================
   MAIN CONTAINER
   ========================================================= */

.container {
    width: 92%;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    min-width: 0;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    background: rgba(11, 7, 19, .86);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    font-weight: 900;
    text-decoration: none;
    letter-spacing: .2px;
}

.brand img {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
}

.brand span {
    display: block;
    min-width: 0;
    max-width: 260px;
    overflow-wrap: break-word;
}

.menu {
    display: flex;
    align-items: center;
    gap: 22px;
    min-width: 0;
}

.menu a {
    color: var(--muted);
    font-weight: 700;
    text-decoration: none;
}

.menu a:hover {
    color: var(--gold);
}

.burger {
    display: none;
    flex: 0 0 auto;
    padding: 8px 11px;
    background: transparent;
    color: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    width: 100%;
    padding: 42px 0 22px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
    gap: 26px;
    align-items: center;
    width: 100%;
    min-width: 0;
}

.hero-grid > * {
    min-width: 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    padding: 6px 12px;
    background: rgba(255, 209, 102, .12);
    border: 1px solid rgba(255, 209, 102, .35);
    border-radius: 999px;
    color: var(--gold);
    font-size: .9rem;
    font-weight: 800;
    overflow-wrap: break-word;
}

.hero h1 {
    max-width: 100%;
    margin: 16px 0 14px;
    font-size: clamp(2rem, 5vw, 4.4rem);
    line-height: 1.04;
    overflow-wrap: break-word;
}

.hero p {
    max-width: 760px;
    margin: 0;
    color: var(--muted);
    font-size: 1.08rem;
    overflow-wrap: break-word;
}

.hero-card {
    min-width: 0;
    max-width: 100%;
    padding: 22px;
    background: linear-gradient(
        145deg,
        rgba(255, 209, 102, .18),
        rgba(255, 77, 109, .13)
    );
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.trust-list {
    display: grid;
    gap: 12px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.trust-list li {
    min-width: 0;
    padding: 10px 12px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--line);
    border-radius: 14px;
    color: #efe8ff;
    overflow-wrap: break-word;
}


/* =========================================================
   CASINO LIST SECTION
   ========================================================= */

.listing {
    width: 100%;
    padding: 18px 0 44px;
}

.section-title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    min-width: 0;
    margin-bottom: 18px;
}

.section-title > * {
    min-width: 0;
}

.section-title h2 {
    max-width: 100%;
    margin: 0;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    overflow-wrap: break-word;
}

.section-title p {
    max-width: 100%;
    margin: 0;
    color: var(--muted);
    overflow-wrap: break-word;
}

.casino-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 15px;
    width: 100%;
    min-width: 0;
}


/* =========================================================
   CASINO CARD
   ========================================================= */

.casino-card {
    position: relative;
    display: grid;
    grid-template-columns:
        86px
        minmax(0, 1fr)
        minmax(190px, .32fr)
        170px;
    align-items: center;
    gap: 16px;

    width: 100%;
    min-width: 0;
    max-width: 100%;

    padding: 16px;

    background: linear-gradient(
        120deg,
        rgba(32, 23, 53, .98),
        rgba(18, 14, 31, .98)
    );

    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);

    overflow: hidden;
}

.casino-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        var(--gold),
        var(--red),
        #8c5cff
    );
}

.casino-card > * {
    min-width: 0;
    max-width: 100%;
}

.rank-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;

    padding: 2px 8px;

    background: var(--gold);
    color: #251800;

    border-radius: 999px;

    font-size: .8rem;
    font-weight: 950;
}

.casino-logo-box {
    display: grid;
    place-items: center;

    width: 76px;
    height: 76px;

    background: radial-gradient(
        circle,
        #fff 0,
        #ffe9ad 32%,
        #8b142e 100%
    );

    border-radius: 18px;
}

.casino-logo-box img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.casino-info {
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

.casino-info h3 {
    max-width: 100%;
    margin: 0 0 5px;
    font-size: 1.25rem;
    overflow-wrap: break-word;
}

.offer {
    max-width: 100%;
    margin: 0 0 8px;
    color: #fff;
    font-weight: 800;
    overflow-wrap: break-word;
}

.mini-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    width: 100%;
    min-width: 0;
    max-width: 100%;
}

.mini-meta span {
    min-width: 0;
    max-width: 100%;

    padding: 3px 8px;

    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--line);
    border-radius: 999px;

    color: var(--muted);
    font-size: .88rem;

    overflow-wrap: break-word;
}


/* =========================================================
   BONUS CODE BUTTON
   ========================================================= */

.code-copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0 8px;

    width: 100%;
    min-width: 0;
    max-width: 100%;

    padding: 10px 12px;

    background: rgba(255, 209, 102, .09);
    color: #fff;

    border: 1px dashed rgba(255, 209, 102, .65);
    border-radius: 16px;

    text-align: left;
    cursor: pointer;
}

.code-label {
    grid-column: 1 / -1;

    min-width: 0;
    max-width: 100%;

    color: var(--gold);

    font-size: .75rem;
    font-weight: 900;
    text-transform: uppercase;
}

.code-copy strong {
    display: block;
    min-width: 0;
    max-width: 100%;

    font-size: .98rem;

    overflow-wrap: anywhere;
}

.copy-icon {
    flex: 0 0 auto;
    font-size: 1.25rem;
}

.code-copy.copied {
    background: rgba(56, 211, 159, .15);
    border-color: var(--green);
}


/* =========================================================
   CTA
   ========================================================= */

.cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 0;
    max-width: 100%;

    padding: 14px 18px;

    background: linear-gradient(
        135deg,
        #ffcc4d,
        #ff4d6d
    );

    color: #1c0710;

    border-radius: 16px;

    box-shadow: 0 10px 22px rgba(255, 77, 109, .28);

    font-weight: 950;
    letter-spacing: .4px;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;

    overflow-wrap: break-word;

    transition: .2s;
}

.cta:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}


/* =========================================================
   MAIN CONTENT
   ========================================================= */

.content {
    width: 100%;
    padding: 44px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: minmax(0, .34fr) minmax(0, 1fr);
    align-items: start;
    gap: 24px;

    width: 100%;
    min-width: 0;
}

.content-grid > * {
    min-width: 0;
    max-width: 100%;
}


/* =========================================================
   TABLE OF CONTENTS
   ========================================================= */

.toc {
    position: sticky;
    top: 92px;

    width: 100%;
    min-width: 0;
    max-width: 100%;

    padding: 20px;

    background: rgba(255, 255, 255, .06);

    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.toc h2 {
    max-width: 100%;
    margin-top: 0;
    overflow-wrap: break-word;
}

.toc a {
    display: block;

    max-width: 100%;
    padding: 7px 0;

    color: var(--muted);

    text-decoration: none;
    overflow-wrap: break-word;
}

.toc a:hover {
    color: var(--gold);
}


/* =========================================================
   ARTICLE
   ========================================================= */

.article {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;

    width: 100%;
    min-width: 0;
    max-width: 100%;
}

.text-card,
.author,
.faq-item {
    width: 100%;
    min-width: 0;
    max-width: 100%;

    padding: 24px;

    background: rgba(255, 255, 255, .055);

    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.text-card {
    overflow: hidden;
}

.text-card h2,
.text-card h3 {
    max-width: 100%;
    margin-top: 0;
    overflow-wrap: break-word;
}

.text-card p,
.text-card li {
    max-width: 100%;
    color: var(--muted);
    overflow-wrap: break-word;
}

.text-card ul,
.text-card ol {
    max-width: 100%;
}


/* =========================================================
   TABLES
   ========================================================= */

.table-wrap {
    display: block;

    width: 100%;
    min-width: 0;
    max-width: 100%;

    overflow-x: auto;
    overflow-y: hidden;

    border: 1px solid var(--line);
    border-radius: 18px;

    -webkit-overflow-scrolling: touch;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(0, 0, 0, .18);
}

th,
td {
    padding: 13px 14px;

    border-bottom: 1px solid var(--line);

    text-align: left;
    vertical-align: top;
}

th {
    background: rgba(255, 209, 102, .08);
    color: var(--gold);
}


/* =========================================================
   FAQ
   ========================================================= */

.faq {
    width: 100%;
    min-width: 0;
    max-width: 100%;

    padding: 28px 0 52px;
}

.faq h2 {
    max-width: 100%;
    font-size: 2rem;
    overflow-wrap: break-word;
}

.faq-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;

    width: 100%;
    min-width: 0;
    max-width: 100%;
}

.faq-item {
    overflow: hidden;
}

.faq-item summary {
    max-width: 100%;

    color: #fff;

    font-weight: 900;

    cursor: pointer;
    overflow-wrap: break-word;
}

.faq-item p {
    max-width: 100%;
    margin-bottom: 0;

    color: var(--muted);

    overflow-wrap: break-word;
}


/* =========================================================
   AUTHOR
   ========================================================= */

.author {
    display: flex;
    align-items: center;
    gap: 18px;

    margin: 32px 0;

    overflow: hidden;
}

.author > * {
    min-width: 0;
    max-width: 100%;
}

.author img {
    width: 92px;
    height: 92px;
    flex: 0 0 92px;

    background: #fff;

    border-radius: 50%;

    object-fit: cover;
}

.author p,
.author h2,
.author h3,
.author strong {
    max-width: 100%;
    overflow-wrap: break-word;
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    width: 100%;

    padding: 28px 0;

    background: #07050c;
    color: var(--muted);

    border-top: 1px solid var(--line);
}

.footer-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;

    width: 100%;
    min-width: 0;
}

.footer-grid > * {
    min-width: 0;
    max-width: 100%;
}

.footer a {
    display: inline-block;

    margin-right: 14px;

    color: #fff;

    text-decoration: none;
    overflow-wrap: break-word;
}

.disclaimer {
    width: 100%;
    max-width: 100%;

    color: #ffd6df;

    font-weight: 800;

    overflow-wrap: break-word;
}


/* =========================================================
   TABLET / MOBILE
   ========================================================= */

@media (max-width: 900px) {

    .container {
        width: calc(100% - 32px);
        max-width: 1180px;
        margin-left: 16px;
        margin-right: 16px;
    }

    .hero-grid,
    .content-grid {
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
    }

    .hero {
        padding-top: 28px;
    }

    .hero-card {
        display: none;
    }


    /* Casino cards */

    .casino-list {
        width: 100%;
        max-width: 100%;
    }

    .casino-card {
        grid-template-columns: 70px minmax(0, 1fr);
        gap: 12px;

        width: 100%;
        max-width: 100%;
    }

    .casino-logo-box {
        width: 64px;
        height: 64px;
    }

    .casino-logo-box img {
        width: 54px;
        height: 54px;
    }

    .casino-info {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .code-copy,
    .cta {
        grid-column: 1 / -1;

        width: 100%;
        min-width: 0;
        max-width: 100%;
    }


    /* Content */

    .content {
        width: 100%;
    }

    .content-grid {
        width: 100%;
    }

    .article {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .text-card {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .toc {
        position: static;

        width: 100%;
        max-width: 100%;
    }


    /* FAQ */

    .faq {
        width: 100%;
        max-width: 100%;
    }

    .faq-list,
    .faq-item {
        width: 100%;
        max-width: 100%;
    }


    /* Navigation */

    .menu {
        position: absolute;
        top: 74px;
        right: 0;
        left: 0;

        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;

        padding: 18px 4%;

        background: #100a1d;

        border-bottom: 1px solid var(--line);
    }

    .menu.open {
        display: flex;
    }

    .burger {
        display: block;
    }

    .brand {
        min-width: 0;
    }

    .brand span {
        min-width: 0;
        max-width: 210px;
    }

    .section-title {
        display: block;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 520px) {

    /*
     * IMPORTANT:
     * All main sections use exactly the same container width.
     * Casino cards and text cards therefore have matching
     * left and right edges.
     */

    .container {
        width: calc(100% - 24px);
        max-width: none;
        margin-left: 12px;
        margin-right: 12px;
    }


    /* Header */

    .nav {
        gap: 8px;
    }

    .brand {
        flex: 1 1 auto;

        min-width: 0;
        max-width: calc(100% - 52px);

        gap: 8px;
    }

    .brand img {
        width: 36px;
        height: 36px;
        flex: 0 0 36px;
    }

    .brand span {
        min-width: 0;
        max-width: 170px;

        font-size: .9rem;
        line-height: 1.2;

        overflow-wrap: break-word;
    }

    .burger {
        flex: 0 0 auto;
    }


    /* Hero */

    .hero h1 {
        max-width: 100%;

        font-size: 2rem;

        overflow-wrap: break-word;
    }

    .hero p {
        max-width: 100%;

        font-size: .96rem;

        overflow-wrap: break-word;
    }

    .eyebrow {
        max-width: 100%;

        border-radius: 18px;

        white-space: normal;
        overflow-wrap: break-word;
    }


    /* Section title */

    .section-title {
        width: 100%;
        max-width: 100%;
    }

    .section-title h2,
    .section-title p {
        max-width: 100%;
        overflow-wrap: break-word;
    }

    .section-title p {
        font-size: .94rem;
    }


    /* Casino cards */

    .casino-list {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .casino-card {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 10px;

        width: 100%;
        min-width: 0;
        max-width: 100%;

        padding: 14px;
    }

    .casino-logo-box {
        width: 54px;
        height: 54px;

        border-radius: 15px;
    }

    .casino-logo-box img {
        width: 48px;
        height: 48px;
    }

    .casino-info {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .casino-info h3 {
        max-width: 100%;
        font-size: 1.08rem;
        overflow-wrap: break-word;
    }

    .offer {
        max-width: 100%;

        font-size: .95rem;

        overflow-wrap: break-word;
    }

    .mini-meta {
        width: 100%;
        max-width: 100%;
    }

    .mini-meta span {
        max-width: 100%;
    }

    .code-copy {
        grid-column: 1 / -1;
        grid-template-columns: minmax(0, 1fr) auto;

        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .code-copy strong {
        min-width: 0;
        max-width: 100%;

        overflow-wrap: anywhere;
    }

    .cta {
        grid-column: 1 / -1;

        width: 100%;
        min-width: 0;
        max-width: 100%;
    }


    /* Content */

    .content-grid {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .toc,
    .article {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .text-card {
        width: 100%;
        min-width: 0;
        max-width: 100%;

        padding: 18px;
    }

    .text-card h2,
    .text-card h3,
    .text-card p,
    .text-card li {
        max-width: 100%;
        overflow-wrap: break-word;
    }

    .text-card ul,
    .text-card ol {
        max-width: 100%;
        padding-left: 22px;
    }


    /* Tables */

    .table-wrap {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }


    /* FAQ */

    .faq,
    .faq-list,
    .faq-item {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .faq-item {
        padding: 18px;
    }


    /* Author */

    .author {
        width: 100%;
        min-width: 0;
        max-width: 100%;

        align-items: flex-start;
    }

    .author img {
        width: 70px;
        height: 70px;
        flex: 0 0 70px;
    }


    /* Footer */

    .footer-grid {
        display: block;

        width: 100%;
        max-width: 100%;
    }

    .footer nav {
        margin: 12px 0;
    }
}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 360px) {

    .container {
        width: calc(100% - 20px);
        margin-left: 10px;
        margin-right: 10px;
    }

    .brand span {
        max-width: 145px;
        font-size: .84rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .casino-card {
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 8px;

        width: 100%;
        padding: 12px;
    }

    .casino-logo-box {
        width: 48px;
        height: 48px;

        border-radius: 14px;
    }

    .casino-logo-box img {
        width: 42px;
        height: 42px;
    }

    .text-card,
    .faq-item {
        padding: 16px;
    }

    .author {
        gap: 12px;
    }

    .author img {
        width: 60px;
        height: 60px;
        flex-basis: 60px;
    }
}