@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

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

html,
body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', system-ui, sans-serif;
    line-height: 1.5;
    min-height: 100%;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none
}

button {
    font-family: inherit;
    cursor: pointer
}

/* ─── DESIGN TOKENS ─────────────────────────────────────── */
:root {
    --bg: #070510;
    --bg-2: #0b0814;
    --card: rgba(255, 255, 255, 0.025);
    --card-hover: rgba(255, 255, 255, 0.048);
    --border: rgba(255, 255, 255, 0.052);
    --border-mid: rgba(255, 255, 255, 0.085);
    --border-hover: rgba(245, 200, 66, 0.38);

    --text: #f2eeff;
    --text-dim: #8e8eb8;
    --text-muted: #3a3a56;

    --gold-1: #f5c842;
    --gold-2: #c8960a;
    --gold-bright: #ffd966;
    --teal: #2dd4bf;
    --purple: #8b5cf6;
    --purple-2: #a78bfa;
    --pink: #f472b6;

    --silver-1: #dde5f0;
    --silver-2: #8fa0b8;
    --bronze-1: #d07030;
    --bronze-2: #7c3a10;

    --grad-brand: linear-gradient(135deg, #5c35e0, #9d6fff);
    --grad-btn: linear-gradient(135deg, #b88010 0%, #f5c842 48%, #c08010 100%);
    --grad-gold: linear-gradient(135deg, #ffd966 0%, #c8960a 100%);
    --grad-silver: linear-gradient(135deg, #dde5f0, #8fa0b8);
    --grad-bronze: linear-gradient(135deg, #d07030, #7c3a10);
    --grad-text: linear-gradient(180deg, #fff 20%, #b6c0e0 100%);

    --glow-purple: 0 0 28px rgba(139, 92, 246, .28);
    --glow-btn: 0 8px 32px rgba(180, 130, 8, .5);
    --glow-btn-h: 0 14px 44px rgba(245, 200, 66, .55);
    --glow-gold: 0 0 24px rgba(245, 200, 66, .55);
    --glow-card: 0 24px 64px rgba(0, 0, 0, .68);

    --r: 20px;
    --r-sm: 13px;
    --r-xs: 9px;
}

/* ─── UTILITY ───────────────────────────────────────────── */
.m1-no-scroll {
    overflow: hidden
}

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

/* ─── AMBIENT BACKGROUND ────────────────────────────────── */
.m1-ambient {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden
}

.m1-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(145px);
    will-change: transform;
}

.m1-glow--1 {
    width: 560px;
    height: 560px;
    background: #4a1ead;
    opacity: .36;
    top: -200px;
    left: -160px;
    animation: float1 20s ease-in-out infinite;
}

.m1-glow--2 {
    width: 420px;
    height: 420px;
    background: #c8960a;
    opacity: .13;
    top: 30%;
    right: -180px;
    animation: float2 26s ease-in-out infinite reverse;
}

.m1-glow--3 {
    width: 360px;
    height: 360px;
    background: #c0305a;
    opacity: .1;
    bottom: -130px;
    left: 22%;
    animation: float1 32s ease-in-out infinite;
}

@keyframes float1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1)
    }

    50% {
        transform: translate(28px, -22px) scale(1.04)
    }
}

@keyframes float2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1)
    }

    50% {
        transform: translate(-32px, 18px) scale(1.06)
    }
}

#main-content {
    position: relative;
    z-index: 1
}

/* ─── HEADER ────────────────────────────────────────────── */
.m1-header {
    padding: 14px 0;
    background: rgba(7, 5, 16, .88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 255, 255, .042);
    position: sticky;
    top: 0;
    z-index: 50;
}

.m1-header .m1-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.m1-brand {
    display: flex;
    align-items: center;
    gap: 12px
}

.m1-brand-logo {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: var(--grad-brand);
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 16px;
    box-shadow: 0 8px 24px rgba(92, 53, 224, .4);
}

.m1-brand-text {
    font-weight: 800;
    font-size: 15px;
    letter-spacing: .6px;
    background: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.m1-header-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, .035);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 12px;
    color: var(--text-dim);
    font-weight: 500;
}

.m1-header-pill i {
    font-size: 11px;
    color: var(--purple-2)
}

.m1-header-pill--accent {
    background: rgba(45, 212, 191, .08);
    border-color: rgba(45, 212, 191, .2);
    color: var(--teal);
}

.m1-header-pill--accent i {
    color: var(--teal)
}

@media(max-width:640px) {
    .m1-header-pill {
        display: none
    }

    .m1-header-pill--accent {
        display: inline-flex
    }
}

/* ─── HERO ──────────────────────────────────────────────── */
.m1-hero {
    padding: 48px 0 24px;
    text-align: center
}

.m1-hero-title {
    font-size: clamp(22px, 3.2vw, 36px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -.6px;
    margin-bottom: 20px;
    background: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.m1-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 10px;
    padding: 2px 0;
}

.m1-pills::-webkit-scrollbar {
    display: none
}

.m1-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 13px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 11px;
    color: var(--text-dim);
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.m1-pill i {
    color: var(--purple-2);
    font-size: 10px
}

.m1-pill--accent {
    background: rgba(245, 200, 66, .1);
    border-color: rgba(245, 200, 66, .28);
    color: var(--gold-bright);
}

.m1-pill-date {
    background: rgba(245, 200, 66, .22);
    padding: 1px 8px;
    border-radius: 6px;
    font-weight: 700;
    color: var(--gold-1);
    font-size: 10px;
}

.features-icons-wrapper {
    margin-top: 22px
}

.features-icons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.feature-icon-single {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, .028);
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 12px;
    color: var(--text-dim);
    transition: border-color .25s ease, background .25s ease;
}

.feature-icon-single:hover {
    border-color: rgba(245, 200, 66, .2);
    background: rgba(245, 200, 66, .04);
}

.feature-icon {
    width: 18px;
    height: 18px;
    object-fit: contain
}

.feature-icon-label {
    font-weight: 500
}

/* ─── TABLE SECTION ─────────────────────────────────────── */
.m1-table-section {
    padding: 24px 0 72px;
    position: relative
}

.m1-disclaimer {
    text-align: right;
    color: var(--text-muted);
    font-size: 11px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: .06em;
}

/* ─── TABLE HEADER ──────────────────────────────────────── */
.m1-table {
    position: relative
}

.m1-table-head {
    display: grid;
    grid-template-columns: 60px 200px 1fr 160px 110px 160px;
    gap: 0 20px;
    padding: 0 28px 12px;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.m1-th.m1-col-rank {
    grid-column: 1
}

.m1-th.m1-col-pick {
    grid-column: 2
}

.m1-th.m1-col-bonus {
    grid-column: 3
}

.m1-th.m1-col-score {
    grid-column: 4;
    text-align: center
}

.m1-th.m1-col-pay {
    grid-column: 4
}

.m1-th.m1-col-cta {
    grid-column: 6;
    text-align: center
}

/* ─── CARD WRAPPER ──────────────────────────────────────── */
.casino-table__rows {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.deals_boxes_wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.m1-deals-desktop {
    display: flex;
    flex-direction: column;
    gap: 10px
}

/* ─── DEAL CARD ─────────────────────────────────────────── */
.deals_box {
    position: relative;
    display: flex;
    justify-content: space-between;
    /* grid-template-columns: 60px 200px 1fr 160px 110px 160px;
    grid-template-areas: "rank logo offer pay rating cta"; */
    gap: 20px;
    align-items: center;
    padding: 22px 28px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
    overflow: visible;
    cursor: pointer;
}

.deals_box:hover {
    background: var(--card-hover);
    border-color: var(--border-hover);
    box-shadow: var(--glow-card), 0 0 0 1px rgba(245, 200, 66, .12);
}

/* shimmer sweep on hover */
.deals_box::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--r);
    background: linear-gradient(105deg,
            transparent 30%,
            rgba(255, 255, 255, .028) 50%,
            transparent 70%);
    opacity: 0;
    transform: translateX(-100%);
    transition: opacity .3s ease;
    pointer-events: none;
}

.deals_box:hover::after {
    opacity: 1;
    animation: card-shimmer .7s ease forwards;
}

@keyframes card-shimmer {
    from {
        transform: translateX(-100%)
    }

    to {
        transform: translateX(100%)
    }
}

/* absolute link overlay */
.deals_box_link {
    /* position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: var(--r) */
}

/* ─── RANK BADGE ────────────────────────────────────────── */
.deal_box_number {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 900;
    pointer-events: none;
    flex-shrink: 0;
    justify-self: center;
    letter-spacing: -1px;
}

/* gold #1 */
.deals_box:nth-child(1) .deal_box_number {
    background: var(--grad-gold);
    color: #1a0d00;
    box-shadow: var(--glow-gold);
}

/* silver #2 */
.deals_box:nth-child(2) .deal_box_number {
    background: var(--grad-silver);
    color: #14202e;
    box-shadow: 0 4px 18px rgba(140, 162, 184, .28);
}

/* bronze #3 */
.deals_box:nth-child(3) .deal_box_number {
    background: var(--grad-bronze);
    color: #fff0d8;
    box-shadow: 0 4px 18px rgba(208, 112, 48, .35);
}

/* 4+ */
.deals_box:nth-child(n+4) .deal_box_number {
    background: rgba(255, 255, 255, .05);
    color: var(--text);
    border: 1px solid var(--border-mid);
    font-size: 17px;
}

/* ─── LOGO WRAPPER ──────────────────────────────────────── */
.deals_box_logo_offer {
    display: contents
}

.deals_box_logo {
    max-width: 120px;
    width: 100%;
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 4px 4px 20px rgba(0, 0, 0, .42), inset 0 1px 0 rgba(255, 255, 255, .08);
    transition: border-color .3s ease, box-shadow .3s ease;
}

.deals_box_logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.deals_box:hover .deals_box_logo {
    border-color: rgba(245, 200, 66, .28);
    box-shadow: 0 4px 24px rgba(0, 0, 0, .52), 0 0 16px rgba(245, 200, 66, .12), inset 0 1px 0 rgba(255, 255, 255, .1);
}


.deals_box_logo.logo-fallback::before {
    content: attr(data-brand);
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 16px;
    text-align: center;
    padding: 8px;
    background: linear-gradient(135deg, rgba(92, 53, 224, .22), rgba(6, 182, 212, .1));
}

/* ─── OFFER / NAME + BONUS ──────────────────────────────── */
.deals_box_offer {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.deals_box_logo_name {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: .03em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ─── OFFER COMMENTS ────────────────────────────────────── */
.offer-comments {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.offer-comment-tag {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 600;
    color: var(--purple-2);
    letter-spacing: .02em;
    white-space: nowrap;
}

.offer-comment-tag[data-tag="h1"] {
    font-size: 14px;
    font-weight: 700;
    color: var(--gold-1);
}

.offer-comment-tag[data-tag="h2"] {
    font-size: 16px;
    font-weight: 900;
    color: var(--silver-1);
}

.offer-comment-tag[data-tag="h3"] {
    font-size: 14px;
    font-weight: 700;
    color: var(--teal);
}

.offer-comment-source {
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: .03em;
    margin-top: 3px;
}

/* ─── OFFER H1 / H2 / H3 ────────────────────────────────── */
.offer-h1 {
    font-size: 11px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: .08em;
    text-transform: uppercase;
    text-align: center;
}

.offer-h2 {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.3px;
    line-height: 1.2;
      text-align: center;
}

.offer-h3 {
    font-size: 12px;
    font-weight: 600;
    color: var(--teal);
    letter-spacing: .04em;
      text-align: center;
}

/* ─── PAYMENT ICONS ─────────────────────────────────────── */
.offer-payments {
    width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.offer-payments img {
    background: #fff;
    border-radius: 3px;
    padding: 2px;
    height: 16px;
}

.offer-pay-icon {}

.offer-pay-icon--light {}

/* ─── BONUS ─────────────────────────────────────────────── */
.m1-bonus {
    display: flex;
    flex-direction: column;
    gap: 3px
}

.m1-bonus-pre {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: .12em;
    text-transform: uppercase;
}

.m1-bonus-val {
    font-size: 18px;
    font-weight: 900;
    background: var(--grad-btn);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.18;
    letter-spacing: -.4px;
}

.m1-bonus-sub {
    font-size: 11px;
    font-weight: 700;
    color: var(--teal);
    letter-spacing: .05em;
}

/* ─── STAR RATING ────────────────────────────────────────── */
.star-rating {
    display: flex;
    gap: 2px;
    align-items: center;
    /* margin-top: 3px; */
}

.dbox_star {
    line-height: 1;
    font-size: 11px;
}

.dbox_star.full-star i,
.dbox_star.half-star i {
    color: var(--gold-1);
    filter: drop-shadow(0 0 3px rgba(245, 200, 66, .45));
}

.dbox_star.empty-star i {
    color: var(--text-muted);
}

/* ─── RATING / SCORE ────────────────────────────────────── */
.deals_box_rating {
    grid-area: rating;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.dbox_rating_number span {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.5px;
    background: var(--grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    line-height: 1;
}

.dbox_rating_label {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: .12em;
    text-transform: uppercase;
}

/* ─── CTA BUTTON ────────────────────────────────────────── */
.deals_box_button {
max-width: 200px;
width: 100%;
    text-align: center
}

.deals_box_name {
    display: none
}

.button.button--claim {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 200px;
    padding: 13px 20px;
    border-radius: 999px;
    background: var(--grad-btn);
    color: #1a0d00;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: .08em;
    text-transform: uppercase;
    box-shadow: var(--glow-btn);
    transition: box-shadow .25s ease, filter .25s ease, transform .15s ease;
    position: relative;
    overflow: hidden;
    z-index: 3;
}

.button.button--claim::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .24), transparent);
    transform: translateX(-100%);
    transition: transform .55s ease;
}

.button.button--claim:hover {
    filter: brightness(1.1);
    box-shadow: var(--glow-btn-h);
    transform: translateY(-1px);
}

.button.button--claim:hover::before {
    transform: translateX(100%)
}

/* ─── PAYMENT METHODS (hidden — no data) ────────────────── */
.deals_box_payment_methods {
    display: none !important
}

.deals_box_payment_methods_mobile {
    display: none !important
}

.deals_box_featureds {
    display: none !important
}

.deals_box_featureds_mobile {
    display: none !important
}

.deals_box_tag {
    display: none
}

/* ─── MOBILE ONLY SLOTS ─────────────────────────────────── */
.deals_box_button_mobile {
    display: none
}

.deals_box_rating_mobile {
    display: none
}

/* ─── FIRST CARD — GOLD TREATMENT ──────────────────────── */
.m1-deals-desktop .deals_box:first-child {
    border-color: rgba(245, 200, 66, .22);
    background: linear-gradient(110deg,
            rgba(245, 200, 66, .058) 0%,
            rgba(255, 255, 255, .018) 50%,
            rgba(255, 255, 255, .012) 100%);
}

.m1-deals-desktop .deals_box:first-child::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12%;
    height: 76%;
    width: 3px;
    background: var(--grad-gold);
    border-radius: 0 3px 3px 0;
    box-shadow: 0 0 12px rgba(245, 200, 66, .55);
}

.m1-deals-desktop .deals_box:first-child:hover {
    border-color: rgba(245, 200, 66, .38);
    box-shadow: 0 0 36px rgba(245, 200, 66, .13), var(--glow-card);
}

/* ─── FAQ ────────────────────────────────────────────────── */
.m1-faq {
    padding: 40px 0 64px
}

.faq_title {
    font-size: clamp(20px, 2.5vw, 26px);
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -.3px;
    background: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.m1-faq-content {
    display: flex;
    flex-direction: column;
    gap: 12px
}

.content-block {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    padding: 24px 28px;
    transition: border-color .25s ease, background .25s ease;
}

.content-block:hover {
    border-color: var(--border-mid);
    background: rgba(255, 255, 255, .032);
}

.content-block-content h2 {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gold-1);
    margin-bottom: 10px;
    opacity: .85;
}

.content-block-content p {
    font-size: 14px;
    line-height: 1.75;
    color: var(--text-dim);
}

/* ─── FOOTER ────────────────────────────────────────────── */
.m1-footer {
    padding: 36px 0 44px;
    border-top: 1px solid var(--border);
    background: rgba(255, 255, 255, .008);
}

.m1-footer #footer-text {
    font-size: 12px;
    line-height: 1.75;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.m1-footer-disclaimer {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: .05em;
    margin-top: 14px;
}

.footer-icons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px
}

/* ─── MODAL (keep for compatibility) ────────────────────── */
.m1-modal {
    display: none
}

.m1-modal--open {
    display: flex
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media(max-width:900px) {
    .m1-table-head {
        display: none
    }

    .deals_box {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 16px 20px;
    }

    .deal_box_number {
        grid-area: rank;
        align-self: center;
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

.m1-deals-desktop{
  display: grid;
    grid-template-columns: repeat(2, 1fr);;
}

.deals_box_button{
    max-width: 100%;
}

    .deals_box_offer {
        grid-area: offer
    }

    .offer-payments {
        grid-area: pay;
        gap: 8px
    }

    .deals_box_rating {
        grid-area: rating;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        gap: 8px;
    }

    .dbox_rating_number span {
        font-size: 18px
    }

    .deals_box_button {
        grid-area: cta;
        align-self: center
    }

    .button.button--claim {
        max-width: 100%;
        /* font-size: 16px; */
        padding: 10px 14px
    }

    .m1-bonus-val {
        font-size: 16px
    }
}

@media(max-width:560px) {
    .m1-container {
        padding: 0 16px
    }

    .deals_box_button {

        width: 100%;

    }

    .button.button--claim {
        max-width: 100%;
        width: 100%
    }

    .m1-hero {
        padding: 28px 0 14px
    }
    .m1-deals-desktop{
display: flex;
flex-direction: column;
}

    .m1-deals-desktop .deals_box:first-child::before {
        display: none
    }
}

@media(prefers-reduced-motion: reduce) {
    .m1-glow {
        animation: none !important
    }

    .deals_box::after {
        display: none
    }

    .button.button--claim {
        transition: box-shadow .15s ease
    }
}