:root {
    --bg: #07020f;
    --panel: #16052c;
    --panel-2: #2b0755;
    --gold: #ffd33d;
    --gold-deep: #bd850d;
    --red: #db0014;
    --text: #fff7df;
    --muted: #c9b7df;
    --line: rgba(255, 211, 61, 0.34);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg) url("../images/bg-honeycomb.png") center top / cover fixed;
    color: var(--text);
    font-family: "Noto Sans Thai", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0;
}

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

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

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.header-main,
.main-nav__scroll,
.section-head,
.hero__actions,
.ticker__inner {
    display: flex;
    align-items: center;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(180deg, #061229 0%, #12001f 100%);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.header-main {
    gap: 24px;
    justify-content: center;
    padding: 12px 0;
}

.brand img,
.custom-logo {
    display: block;
    width: min(300px, 46vw);
    max-height: 92px;
    object-fit: contain;
}

.login-panel {
    display: grid;
    grid-template-columns: minmax(120px, 1fr) minmax(120px, 1fr) auto auto;
    gap: 8px;
    align-items: center;
    flex: 1;
    max-width: 720px;
}

.header-clock {
    color: var(--gold);
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.brand {
    flex: 0 0 auto;
}

.login-panel input {
    width: 100%;
    min-height: 36px;
    border: 1px solid var(--gold);
    border-radius: 6px;
    background: #040207;
    color: #fff;
    padding: 0 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 18px;
    border-radius: 6px;
    border: 1px solid transparent;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24);
}

.btn--gold {
    color: #2a1200;
    background: linear-gradient(180deg, #ffe873 0%, #ffb300 100%);
}

.btn--red {
    color: #fff;
    background: linear-gradient(180deg, #f0182e 0%, #b0000f 100%);
}

.btn--ghost {
    color: var(--gold);
    border-color: var(--gold);
    background: rgba(0, 0, 0, 0.42);
}

.btn--large {
    min-height: 48px;
    padding: 0 26px;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--gold);
    border-radius: 6px;
    background: #110424;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    background: var(--gold);
}

.main-nav {
    background: #2a0051;
    border-top: 1px solid rgba(255, 211, 61, 0.14);
}

.main-nav__scroll {
    justify-content: center;
}

.menu {
    list-style: none;
    margin: 0;
    padding: 8px 0;
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.menu li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    justify-content: center;
    min-width: 74px;
    min-height: 76px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.1;
}

.menu:not(.menu--icons) li a::before {
    content: "";
    width: 44px;
    height: 44px;
    display: block;
    background: var(--menu-icon, url("../images/menu-home.png")) center / contain no-repeat;
    border: 1px solid #050008;
    background-color: #16002e;
}

.menu:not(.menu--icons) li:nth-child(1) a {
    --menu-icon: url("../images/menu-home.png");
}

.menu:not(.menu--icons) li:nth-child(2) a {
    --menu-icon: url("../images/menu-entry.png");
}

.menu:not(.menu--icons) li:nth-child(3) a {
    --menu-icon: url("../images/menu-slots.png");
}

.menu:not(.menu--icons) li:nth-child(4) a {
    --menu-icon: url("../images/menu-vip.png");
}

.menu:not(.menu--icons) li:nth-child(5) a {
    --menu-icon: url("../images/menu-casino.png");
}

.menu:not(.menu--icons) li:nth-child(6) a {
    --menu-icon: url("../images/menu-contact.png");
}

.menu:not(.menu--icons) li:nth-child(7) a {
    --menu-icon: url("../images/menu-promo.png");
}

.menu:not(.menu--icons) li:nth-child(8) a {
    --menu-icon: url("../images/menu-lottery.png");
}

.menu img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border: 1px solid #050008;
    background: #16002e;
}


.hero {
    position: relative;
    min-height: clamp(360px, 26vw, 500px);
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.hero-carousel__slides,
.hero-carousel__slide {
    position: absolute;
    inset: 0;
}

.hero-carousel__slide {
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 700ms ease, transform 1600ms ease;
}

.hero-carousel__slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.hero-carousel__slide img {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-carousel__slide img {
    object-fit: cover;
    object-position: center;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(18, 0, 38, 0.84), rgba(18, 0, 38, 0.26), rgba(18, 0, 38, 0.05));
    pointer-events: none;
}

.hero__inner {
    position: relative;
    z-index: 2;
    min-height: clamp(360px, 26vw, 500px);
    display: flex;
    align-items: center;
}

.hero__copy {
    width: min(620px, 100%);
    padding: 54px 0;
}

.eyebrow {
    color: var(--gold);
    font-weight: 800;
    text-transform: uppercase;
    margin: 0 0 8px;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1 {
    margin: 0;
    font-size: clamp(38px, 6vw, 76px);
    line-height: 1.02;
    color: #fff55b;
    text-shadow: 0 5px 0 #5e1475, 0 0 28px rgba(255, 211, 61, 0.56);
}

h2 {
    margin: 0;
    font-size: 30px;
    color: #fff;
}

h3 {
    margin: 0;
}

.hero__copy p:not(.eyebrow) {
    color: #f0dfff;
    font-size: 19px;
    line-height: 1.7;
}

.hero__actions {
    gap: 12px;
    flex-wrap: wrap;
}

.hero-carousel__dots {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    display: flex;
    gap: 9px;
}

.hero-carousel__dots button {
    width: 11px;
    height: 11px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    cursor: pointer;
}

.hero-carousel__dots button.is-active {
    width: 34px;
    background: var(--gold);
}

.ticker {
    background: linear-gradient(90deg, #7b00c7, #c900d7, #7b00c7);
    border-top: 1px solid #d89dff;
    border-bottom: 1px solid #f2bcff;
}

.ticker__inner {
    min-height: 64px;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    font-weight: 800;
    color: #fff45d;
}

.jackpot-section {
    padding: 34px 0 10px;
}

.jackpot {
    position: relative;
    display: grid;
    grid-template-columns: minmax(160px, 260px) 1fr minmax(110px, 170px);
    align-items: center;
    gap: 18px;
    width: min(920px, 100%);
    margin: 0 auto;
    min-height: 112px;
    padding: 18px 26px;
    border: 2px solid #ffcf24;
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(255, 222, 65, 0.12), transparent 25%, rgba(255, 222, 65, 0.08)),
        linear-gradient(180deg, #590097 0%, #2a004c 100%);
    box-shadow: 0 0 0 5px rgba(255, 210, 36, 0.16), 0 0 28px rgba(255, 211, 61, 0.38);
    overflow: hidden;
}

.jackpot::before,
.jackpot::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    height: 9px;
    border-radius: 999px;
    background: repeating-linear-gradient(90deg, #fff16b 0 10px, #ff9b00 10px 20px);
    box-shadow: 0 0 12px rgba(255, 232, 74, 0.8);
}

.jackpot::before {
    top: 8px;
}

.jackpot::after {
    bottom: 8px;
}

.jackpot__brand {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 2px;
}

.jackpot__brand span {
    color: #fff;
    font-size: 32px;
    font-weight: 900;
    line-height: 1;
}

.jackpot__brand strong {
    color: #ffd331;
    font-size: 28px;
    line-height: 1;
    font-style: italic;
    text-shadow: 0 4px 0 #3d005b, 0 0 12px rgba(255, 211, 61, 0.7);
}

.jackpot__numbers {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    gap: 6px;
}

.jackpot__numbers span {
    display: grid;
    place-items: center;
    width: 36px;
    height: 48px;
    border-radius: 4px;
    background: #fff;
    color: #160018;
    font-size: 30px;
    font-weight: 900;
    box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.18);
    transition: transform 180ms ease, box-shadow 180ms ease, color 180ms ease;
    will-change: transform;
}

.jackpot__numbers span.is-rolling {
    color: #7b1200;
    animation: jackpot-roll 520ms steps(6, end);
    box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.2), 0 0 16px rgba(255, 211, 61, 0.72);
}

.jackpot__slot {
    position: relative;
    z-index: 1;
    color: #ffd331;
    font-size: 56px;
    font-weight: 900;
    letter-spacing: 0;
    text-shadow: 2px 3px 0 #6f2400, 0 0 14px rgba(255, 211, 61, 0.72);
}

@keyframes jackpot-roll {
    0% {
        transform: translateY(0);
        filter: brightness(1);
    }
    25% {
        transform: translateY(-8px);
        filter: brightness(1.35);
    }
    50% {
        transform: translateY(7px);
        filter: brightness(0.92);
    }
    75% {
        transform: translateY(-4px);
        filter: brightness(1.2);
    }
    100% {
        transform: translateY(0);
        filter: brightness(1);
    }
}

.games-section,
.providers-section,
.faq-section {
    padding: 42px 0;
}

.section-head {
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

.section-head a {
    color: var(--gold);
    font-weight: 800;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.game-card {
    background: linear-gradient(180deg, rgba(49, 7, 89, 0.94), rgba(24, 2, 41, 0.94));
    border: 1px solid rgba(255, 211, 61, 0.25);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.26);
}

.game-card img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
}

.game-card h3 {
    padding: 10px 10px 2px;
    color: var(--gold);
    font-size: 15px;
    min-height: 48px;
}

.game-card p {
    margin: 0;
    padding: 0 10px 12px;
    color: var(--muted);
    font-size: 13px;
}

.app-band {
    display: grid;
    grid-template-columns: 1fr minmax(260px, 430px);
    gap: 28px;
    align-items: center;
    margin-top: 24px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: radial-gradient(circle at 85% 25%, rgba(255, 211, 61, 0.2), transparent 32%), linear-gradient(135deg, #28024d, #08020f 72%);
}

.app-band h2 {
    color: #fff45d;
}

.app-band p {
    color: var(--muted);
    line-height: 1.8;
}

.app-download--home-hidden {
    display: none;
}

.app-download {
    margin-top: 28px;
    padding: 42px 0 46px;
    background: #171d2d;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 211, 61, 0.14);
}

.app-download--page {
    min-height: 520px;
    margin-top: 0;
    padding: 64px 0 72px;
}

.app-download__inner {
    display: grid;
    gap: 24px;
    justify-items: start;
}

.app-download__copy {
    max-width: 760px;
}

.app-download__copy h1,
.app-download__copy h2 {
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(40px, 6vw, 52px);
    line-height: 1;
    font-weight: 900;
}

.app-download__copy p {
    margin: 0;
    max-width: 720px;
    color: #fff;
    font-size: 15px;
    line-height: 1.9;
    font-weight: 800;
}

.app-download__qr-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(170px, 220px));
    gap: 48px 70px;
    align-items: start;
}

.app-download__card {
    display: grid;
    justify-items: center;
    gap: 12px;
}

.app-download__qr {
    display: block;
    padding: 14px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.25);
}

.app-download__qr img {
    display: block;
    width: 122px;
    height: 122px;
    object-fit: contain;
}

.app-download__card h3 {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    color: #dce6ff;
    font-size: 17px;
    line-height: 1.2;
}

.app-download__platform-icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    background: #c5cee1;
    mask-position: center;
    mask-repeat: no-repeat;
    mask-size: contain;
}

.app-download__platform-icon--android {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17.6 9H6.4C5.6 9 5 9.6 5 10.4V18c0 .8.6 1.4 1.4 1.4h.8V22h2v-2.6h5.6V22h2v-2.6h.8c.8 0 1.4-.6 1.4-1.4v-7.6c0-.8-.6-1.4-1.4-1.4ZM8.4 7.6 6.9 5.1l1.1-.6 1.6 2.7c.7-.3 1.5-.4 2.4-.4s1.7.1 2.4.4L16 4.5l1.1.6-1.5 2.5c1 .5 1.8 1.2 2.3 2H6.1c.5-.8 1.3-1.5 2.3-2ZM9 12.4c-.5 0-.9-.4-.9-.9s.4-.9.9-.9.9.4.9.9-.4.9-.9.9Zm6 0c-.5 0-.9-.4-.9-.9s.4-.9.9-.9.9.4.9.9-.4.9-.9.9ZM3.8 10H2v7h1.8v-7Zm18.2 0h-1.8v7H22v-7Z'/%3E%3C/svg%3E");
}

.app-download__platform-icon--ios {
    mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17.1 12.4c0-2.3 1.9-3.4 2-3.5-1.1-1.6-2.7-1.8-3.3-1.8-1.4-.1-2.7.8-3.4.8-.7 0-1.8-.8-3-.8-1.5 0-3 .9-3.8 2.2-1.6 2.8-.4 7 1.2 9.2.8 1.1 1.7 2.4 2.9 2.3 1.2 0 1.6-.8 3-.8s1.8.8 3 .8c1.3 0 2.1-1.1 2.8-2.3.9-1.3 1.2-2.5 1.2-2.6 0-.1-2.6-1-2.6-3.5ZM14.9 5.6c.7-.8 1.1-1.9 1-3-.9 0-2 .6-2.7 1.4-.6.7-1.1 1.8-1 2.9 1 0 2-.5 2.7-1.3Z'/%3E%3C/svg%3E");
}

.app-download__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 170px;
    min-height: 40px;
    padding: 0 22px;
    border-radius: 999px;
    color: #fff;
    background: #ff3333;
    font-size: 15px;
    font-weight: 900;
    box-shadow: 0 12px 24px rgba(255, 51, 51, 0.28);
}

.provider-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.provider-grid span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 8px;
    background: rgba(0, 0, 0, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
}

.provider-grid img {
    max-height: 34px;
    object-fit: contain;
}

.seo-band {
    padding: 48px 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(42, 0, 81, 0.48));
    border-block: 1px solid rgba(255, 211, 61, 0.18);
}

.seo-grid {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 28px;
    align-items: start;
}

.seo-copy,
.keyword-grid article,
.content-card,
.faq-section details {
    background: rgba(7, 2, 15, 0.74);
    border: 1px solid rgba(255, 211, 61, 0.22);
    border-radius: 8px;
}

.seo-copy {
    padding: 24px;
}

.seo-copy p,
.keyword-grid p,
.faq-section p,
.content-card p {
    color: var(--muted);
    line-height: 1.8;
}

.keyword-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.keyword-grid article {
    padding: 18px;
}

.keyword-grid h3 {
    color: var(--gold);
}

.faq-section h2 {
    margin-bottom: 18px;
}

.faq-section details {
    padding: 16px 18px;
    margin-bottom: 10px;
}

.faq-section summary {
    cursor: pointer;
    color: var(--gold);
    font-weight: 800;
}

.floating-contact {
    position: fixed;
    right: 0;
    top: 42%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    min-height: 170px;
    padding: 10px 0;
    background: linear-gradient(180deg, #ffe879, #f4ad00);
    color: #130500;
    font-weight: 800;
    writing-mode: vertical-rl;
    border-radius: 8px 0 0 8px;
    z-index: 45;
}

.site-footer {
    padding: 56px 0 28px;
    background:
        radial-gradient(circle at 50% -20%, rgba(66, 21, 139, 0.7), transparent 45%),
        linear-gradient(135deg, rgba(255, 211, 61, 0.05) 0 1px, transparent 1px 34px),
        #020104;
}

.category-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    text-align: center;
    margin-bottom: 44px;
}

.category-mini {
    min-width: 0;
}

.category-mini img {
    height: 58px;
    object-fit: contain;
}

.category-mini h3,
.footer-logo-panel h2 {
    color: var(--gold);
}

.category-mini p {
    color: var(--muted);
    margin: 0;
    line-height: 1.55;
}

.footer-links {
    border-top: 1px solid rgba(255, 211, 61, 0.24);
    border-bottom: 1px solid rgba(255, 211, 61, 0.24);
    margin-bottom: 28px;
}

.footer-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 34px;
    margin: 0;
    padding: 18px 0;
    color: var(--gold);
    font-weight: 700;
}

.footer-logo-wall {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.95fr);
    gap: 42px;
    align-items: start;
    padding: 8px 0 24px;
}

.footer-logo-panel h2 {
    font-size: 17px;
    line-height: 1.2;
    margin: 0 0 18px;
}

.footer-logo-side {
    display: grid;
    gap: 46px;
}

.footer-logo-grid {
    display: grid;
    align-items: center;
}

.footer-logo-grid--providers {
    grid-template-columns: repeat(5, minmax(92px, 1fr));
    gap: 18px 24px;
}

.footer-logo-grid--licenses {
    grid-template-columns: repeat(3, minmax(92px, 1fr));
    gap: 18px 24px;
}

.footer-logo-grid--payments {
    grid-template-columns: repeat(2, minmax(120px, 160px));
    gap: 18px 28px;
}

.footer-logo-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
    min-height: 34px;
}

.footer-logo-item img {
    display: block;
    width: auto;
    max-width: 132px;
    max-height: 38px;
    object-fit: contain;
    filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.42));
}

.footer-logo-grid--providers .footer-logo-item img {
    max-width: 118px;
}

.footer-logo-grid--licenses .footer-logo-item img {
    max-width: 126px;
}

.footer-contact-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 22px;
    border-top: 1px solid rgba(255, 211, 61, 0.18);
    padding-top: 20px;
    color: #ffc847;
}

.footer-contact-strip p {
    margin: 0;
}

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

.socials img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.page-content {
    padding: 48px 0;
}

.content-card {
    padding: 28px;
}

.content-card h2 {
    color: var(--gold);
    margin-top: 28px;
}

.content-card h3 {
    color: #fff45d;
    margin-top: 22px;
}

.article-lead {
    padding: 18px 20px;
    margin-bottom: 20px;
    border-left: 4px solid var(--gold);
    background: rgba(255, 211, 61, 0.08);
}

.article-main-image {
    display: block;
    width: 100%;
    max-height: 430px;
    object-fit: cover;
    border-radius: 8px;
    margin: 18px auto 24px;
    border: 1px solid rgba(255, 211, 61, 0.22);
}

.article-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    padding: 12px 14px;
    margin: 18px 0 24px;
    border: 1px solid rgba(255, 211, 61, 0.22);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.22);
    color: var(--muted);
}

.article-keywords span,
.article-keywords a,
.archive-card__link,
.content-card a:not(.btn) {
    color: var(--gold);
    font-weight: 800;
}

.article-checklist {
    display: grid;
    gap: 8px;
    padding-left: 20px;
    color: var(--muted);
    line-height: 1.75;
}

.article-steps {
    display: grid;
    gap: 10px;
    padding-left: 24px;
    color: var(--muted);
    line-height: 1.8;
}

.article-steps li::marker {
    color: var(--gold);
    font-weight: 900;
}

.article-faq {
    display: grid;
    gap: 10px;
    margin: 16px 0 24px;
}

.article-faq details {
    padding: 14px 16px;
    border: 1px solid rgba(255, 211, 61, 0.18);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2);
}

.article-faq summary {
    cursor: pointer;
    color: var(--gold);
    font-weight: 900;
}

.article-cta {
    margin-top: 28px;
    padding: 22px;
    border-radius: 8px;
    border: 1px solid rgba(255, 211, 61, 0.32);
    background: linear-gradient(135deg, rgba(255, 211, 61, 0.12), rgba(219, 0, 20, 0.16));
}

.article-cta strong {
    display: block;
    color: #fff;
    font-size: 22px;
    margin-bottom: 8px;
}

.archive-page {
    padding: 36px 0 64px;
}

.archive-hero {
    padding: 28px 0 20px;
}

.archive-hero h1 {
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(34px, 5vw, 50px);
}

.archive-hero p:not(.eyebrow) {
    max-width: 720px;
    color: var(--muted);
    line-height: 1.8;
}

.archive-list {
    display: grid;
    gap: 18px;
}

.archive-card {
    display: grid;
    grid-template-columns: minmax(180px, 280px) 1fr;
    gap: 20px;
    padding: 18px;
    background: rgba(7, 2, 15, 0.78);
    border: 1px solid rgba(255, 211, 61, 0.22);
    border-radius: 8px;
}

.archive-card__media img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 6px;
}

.archive-card__body {
    min-width: 0;
}

.archive-card time {
    color: var(--gold);
    font-size: 13px;
    font-weight: 800;
}

.archive-card h2 {
    margin: 8px 0 10px;
    color: #fff;
    font-size: 24px;
}

.archive-card p {
    color: var(--muted);
    line-height: 1.75;
}

.archive-card__link {
    color: var(--gold);
    font-weight: 900;
}

.archive-empty h2 {
    color: var(--gold);
}

.archive-pagination {
    display: flex;
    justify-content: center;
    padding-top: 14px;
}

.archive-pagination .nav-links {
    display: flex;
    gap: 8px;
}

.archive-pagination a,
.archive-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid rgba(255, 211, 61, 0.3);
    border-radius: 6px;
    color: var(--gold);
    background: rgba(0, 0, 0, 0.24);
}

.archive-pagination .current {
    color: #1b0b00;
    background: var(--gold);
}

.platform-page {
    padding: 34px 0 64px;
}

.platform-hero {
    padding: 34px 0 26px;
}

.platform-hero h1 {
    max-width: 960px;
    margin: 0 0 16px;
    color: #fff;
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1.08;
}

.platform-hero p:not(.eyebrow) {
    max-width: 880px;
    color: var(--muted);
    line-height: 1.82;
    font-size: 17px;
}

.platform-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.platform-figure {
    margin: 26px 0;
    border: 1px solid rgba(255, 211, 61, 0.22);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.46);
}

.platform-figure--hero {
    max-width: 980px;
    margin: 26px 0 0;
}

.platform-figure img {
    display: block;
    width: 100%;
    aspect-ratio: 1200 / 420;
    object-fit: cover;
    background: #16052c;
}

.platform-figure figcaption {
    padding: 11px 14px;
    color: #ffe879;
    font-size: 14px;
    line-height: 1.55;
    text-align: center;
    background: rgba(12, 3, 25, 0.82);
}

.platform-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 24px;
    align-items: start;
}

.platform-article {
    font-size: 16px;
}

.platform-article h2:first-child {
    margin-top: 0;
}

.platform-link-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 24px 0 28px;
}

.platform-link-card,
.platform-side-link {
    display: grid;
    gap: 6px;
    border: 1px solid rgba(255, 211, 61, 0.2);
    background: rgba(255, 211, 61, 0.07);
}

.platform-link-card {
    min-height: 116px;
    padding: 18px;
    border-radius: 8px;
}

.platform-link-card strong,
.platform-side-link {
    color: var(--gold);
    font-weight: 900;
}

.platform-link-card span {
    color: var(--muted);
    line-height: 1.6;
    font-size: 14px;
}

.platform-sidebar {
    position: sticky;
    top: 174px;
    display: grid;
    gap: 16px;
}

.platform-sidebar .content-card h2 {
    margin-top: 0;
    font-size: 22px;
}

.platform-side-link {
    padding: 12px 14px;
    border-radius: 6px;
    margin-top: 10px;
}

.promo-page {
    padding: 42px 0 64px;
}

.promo-hero {
    padding: 22px 0 14px;
}

.promo-hero h1 {
    font-size: 38px;
    color: #fff;
    text-shadow: none;
}

.promo-gallery {
    padding-bottom: 24px;
}

.promo-tabs {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.promo-tabs span {
    color: #ff3144;
    font-size: 18px;
    font-weight: 800;
    padding: 0 10px 10px;
    border-bottom: 3px solid #ff3144;
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 40px;
}

.promo-card {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 211, 61, 0.78);
    background: #2c0614;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}

.promo-card img {
    display: block;
    width: 100%;
    aspect-ratio: 2.8 / 1;
    object-fit: cover;
}

.screen-reader-text {
    position: absolute;
    left: -9999px;
}

@media (max-width: 980px) {
    .login-panel {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .main-nav {
        display: none;
    }

    body.nav-open .main-nav {
        display: block;
    }

    .main-nav__scroll {
        overflow-x: auto;
    }

    .game-grid,
    .provider-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .app-band,
    .seo-grid,
    .platform-layout,
    .footer-logo-wall {
        grid-template-columns: 1fr;
    }

    .platform-sidebar {
        position: static;
    }

    .footer-logo-side {
        gap: 30px;
    }

    .footer-logo-grid--providers,
    .footer-logo-grid--licenses {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .category-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 20px, 1180px);
    }

    .header-clock {
        display: none;
    }

    .hero {
        min-height: 0;
        padding: 0;
        overflow: visible;
        background: #260018;
        border-bottom: 0;
    }

    .hero-carousel__slides {
        position: relative;
        inset: auto;
        aspect-ratio: 1920 / 420;
        width: 100%;
        background: #2b061b;
        overflow: hidden;
    }

    .hero-carousel__slide {
        inset: 0;
    }

    .hero-carousel__slide img {
        object-fit: contain;
        object-position: center top;
        background: #2b061b;
    }

    .hero::after {
        display: none;
    }

    .hero__inner {
        position: relative;
        z-index: 2;
        min-height: 0;
        display: block;
        padding-top: 12px;
        padding-bottom: 22px;
    }

    .hero__copy {
        width: 100%;
        padding: 0;
    }

    h1 {
        font-size: 32px;
    }

    .hero__copy p:not(.eyebrow) {
        font-size: 15px;
        line-height: 1.55;
    }

    .hero__actions .btn {
        flex: 1 1 130px;
        padding: 0 12px;
    }

    .hero-carousel__dots {
        top: calc(100vw * 420 / 1920 - 20px);
        bottom: auto;
    }

    .game-grid,
    .provider-grid,
    .keyword-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .promo-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .jackpot {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 12px;
    }

    .jackpot__numbers {
        flex-wrap: wrap;
    }

    .jackpot__numbers span {
        width: 30px;
        height: 40px;
        font-size: 24px;
    }

    .app-band {
        padding: 20px;
    }

    .app-download {
        margin-top: 20px;
        padding: 30px 0 34px;
    }

    .app-download--page {
        margin-top: 0;
        padding: 36px 0 44px;
    }

    .app-download__inner {
        justify-items: center;
        text-align: center;
    }

    .app-download__copy h1,
    .app-download__copy h2 {
        font-size: 38px;
    }

    .app-download__copy p {
        font-size: 14px;
        line-height: 1.7;
    }

    .app-download__qr-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        width: 100%;
    }

    .app-download__qr img {
        width: 136px;
        height: 136px;
    }

    .app-download__button {
        min-width: min(220px, 100%);
    }

    .archive-page {
        padding: 24px 0 44px;
    }

    .archive-card {
        grid-template-columns: 1fr;
        padding: 14px;
    }

    .archive-card h2 {
        font-size: 21px;
    }

    .platform-page {
        padding: 24px 0 44px;
    }

    .platform-hero h1 {
        font-size: 32px;
    }

    .platform-link-grid {
        grid-template-columns: 1fr;
    }

    .platform-actions .btn {
        flex: 1 1 180px;
    }

    .category-row {
        grid-template-columns: 1fr;
    }

    .footer-logo-wall {
        gap: 30px;
        padding-top: 0;
    }

    .footer-logo-panel h2 {
        text-align: center;
        margin-bottom: 16px;
    }

    .footer-logo-grid--providers,
    .footer-logo-grid--licenses {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 18px;
    }

    .footer-logo-grid--payments {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .footer-logo-item {
        justify-content: center;
        min-height: 32px;
    }

    .footer-logo-item img,
    .footer-logo-grid--providers .footer-logo-item img,
    .footer-logo-grid--licenses .footer-logo-item img {
        max-width: min(120px, 100%);
        max-height: 34px;
    }

    .footer-contact-strip {
        gap: 10px 14px;
        font-size: 13px;
    }

    .floating-contact {
        min-height: 132px;
        width: 44px;
    }
}
