@media (min-width: 1440px) {
    .story { --section-height: 655px; }
    .countdown { --section-height: 295px; }
    .steps { --section-height: 534px; }
    .deposits { --section-height: 627px; }
    .district { --section-height: 487px; }
    .prizes { --section-height: 906px; }
    .results { --section-height: 477px; }
    .banner { --section-height: 710px; }

    .section:is(.story, .countdown, .steps, .deposits, .district, .prizes, .results, .banner) {
        min-block-size: var(--section-height);
        padding-block: 80px 64px;
    }

    .section.steps { padding-block-end: 48px; }
    .steps:lang(uz) .step-card { padding-block: 36px 16px; }
    .steps:lang(uz) .step-card p { max-inline-size: none; font-size: 17px; }
}

@media (min-width: 768px) and (max-width: 1099px) {
    .hero__copy { width: 56%; }
    .button { --button-height: 52px; }
    .step-card { padding: 15px; }
    .district-card { padding: 13px; }
    .prize-card { padding: 18px 17px; }
    .prize-card p { font-size: 13px; max-width: 160px; }
    .prize-card--console p { max-width: 200px; }
    .prize-card--freebets p { max-width: none; }
    .results-card { min-height: 240px; }
    .banner-card__copy { max-width: 47%; }
    .banner-card .actions { margin-top: 16px; }
    .banner-card .banner-card__note { margin-top: 11px; }
}
@media (max-width: 767px) {
    :root {
        --gutter: 16px;
        --header-height: 45px;
        --section-space: clamp(56px, 15vw, 88px);
        --radius: 21px;
        --button-height: 60px;
    }
    body { font-size: 15px; }
    h1, h2 { font-size: clamp(29px, 8vw, 43px); }
    .button { width: 100%; font-size: 18px; }
    .actions { flex-direction: column; gap: 17px; }
    .split { grid-template-columns: 1fr; gap: 25px; }
    .section-heading { flex-direction: column; gap: 12px; margin-bottom: 34px; }
    .brand img { width: 100px; }
    .site-header__inner {
        grid-template-columns: 1fr auto auto;
        gap: 10px;
        align-items: center;
    }
    .language { gap: 0; padding: 1px; }
    .language a { width: 27px; height: 25px; font-size: 12px; }
    .js .menu-toggle { display: inline-grid; }
    .menu-toggle svg { width: 25px; height: 25px; }
    .menu-toggle .menu-close-icon, .menu-toggle[aria-expanded="true"] .menu-open-icon { display: none; }
    .menu-toggle[aria-expanded="true"] .menu-close-icon { display: block; }
    .header-nav {
        grid-column: 1 / -1;
        grid-row: 2;
        flex-wrap: wrap;
        padding-bottom: 12px;
    }
    .js .header-nav {
        display: none;
        grid-column: auto;
        position: absolute;
        right: 0;
        top: 100%;
        width: min(220px, 75vw);
        background: var(--dark);
        padding: 0;
        gap: 0;
    }
    .js .site-header.menu-active .header-nav { display: grid; }
    .js .header-nav a { font-size: 15px; padding: 10px; border-bottom: 1px solid #ffffff40; }
    .js .header-nav .nav-current, .js .header-nav a:hover { color: var(--ink); background: var(--pink); }
    .menu-overlay:not([hidden]) {
        display: block;
        position: fixed;
        z-index: 4;
        inset: 0;
        background: #000b;
        backdrop-filter: blur(4px);
    }

    .hero { height: auto; }
    .hero__inner { display: flex; flex-direction: column; padding-bottom: 12px; }
    .hero__copy { order: 1; width: 100%; padding: 0; }
    .hero__art {
        position: relative;
        right: auto;
        bottom: auto;
        width: min(100%, 520px);
        margin: 12px auto 6px;
    }
    .hero__badge { min-width: 74px; font-size: clamp(8px, 2.4vw, 12px); }
    .hero__badge--bundle { top: 0; }
    .hero__background { bottom: auto; height: min(82vw, 490px); }
    .hero__background::after { background: linear-gradient(180deg, transparent 58%, var(--dark) 100%); }
    .hero__eyebrow { font-size: 20px; }
    .hero h1 { font-size: clamp(38px, 12.1vw, 63px); margin: 8px 0 8px; }
    .hero__lead { min-height: 0; }
    .hero__copy .actions { margin-top: 20px; }
    .copy-status { bottom: 19px; }
    .story__copy { padding-top: 0; }
    .story__lead { margin-top: 19px; margin-bottom: 8px; font-size: 18px; }
    .story__copy .muted { font-size: 13px; }
    .countdown { padding-block: var(--section-space); }
    .countdown h2 .text-line { display: inline; }
    .countdown h2 .text-line + .text-line::before { content: ' '; }
    .countdown__grid { gap: 9px; }
    .countdown__cell { border-radius: 19px; min-height: clamp(65px, 22vw, 105px); gap: 6px; }
    .countdown__cell strong { font-size: clamp(27px, 8vw, 43px); }
    .countdown__cell span { font-size: 9px; }
    .steps .container { display: grid; }
    .steps .section-heading { display: contents; }
    .steps .section-heading h2 { margin-bottom: 34px; }
    .steps .section-heading .button { grid-row: 4; margin-top: 20px; }
    .steps__grid, .district__grid { grid-template-columns: 1fr; gap: 12px; }
    .step-card { min-height: clamp(146px, 42.5vw, 220px); align-items: center; padding: 15px 13px; }
    .step-card__number { font-size: clamp(53px, 17vw, 82px); }
    .step-card h3, .district-card h3, .prize-card h3 { font-size: 23px; }
    .step-card p, .district-card p, .prize-card p { font-size: 13px; }
    .deposits__intro { margin-top: 16px; font-size: 14px; }
    .deposits__intro .text-line + .text-line { margin-top: 10px; }
    .deposits__examples { padding-left: 0; }
    thead th { height: 42px; }
    tbody th, tbody td { height: 43px; }
    th, td { padding: 8px 14px; }
    .table-note { font-size: 11px; }
    .district__grid { margin-top: 28px; }
    .district-card { min-height: clamp(155px, 48vw, 245px); padding: 15px 13px; display: grid; align-items: center; }
    .district-card__copy img { height: 48px; }
    .prizes__grid { display: grid; grid-template-columns: 1fr; grid-template-rows: none; gap: 12px; }
    .prizes__note { font-size: 14px; }
    .prize-card { grid-area: auto; padding: 14px 13px; }
    .prize-card--console { aspect-ratio: 670 / 860; }
    .prize-card--game { aspect-ratio: 670 / 362; }
    .prize-card--freebets {
        aspect-ratio: 670 / 325;
        border-radius: 24px;
        background: linear-gradient(145deg, #813748, #4e1730);
        border: 1px solid #da526e;
        overflow: hidden;
    }
    .prize-card--freebets .card-art { width: 150%; left: -50%; }
    .prize-card--freebets .card-art img { object-fit: cover; object-position: right; }
    .prize-card--game .prize-card__copy, .prize-card--freebets .prize-card__copy { padding-left: 0; }
    .prize-card strong { font-size: 43px; }
    .prize-card p { max-width: 47%; }
    .prize-card--console p { max-width: 85%; }
    .prize-card--freebets p { max-width: 58%; }
    .prizes__actions { margin-top: 20px; }
    .results-card { padding: 0; aspect-ratio: 670 / 800; min-height: 0; display: flex; align-items: end; }
    .results-card__copy { width: 100%; padding: 15px; text-align: left; }
    .results-card .button { min-height: 52px; margin-top: 18px; }
    .banner-card { display: block; aspect-ratio: auto; }
    .banner-card__image { position: static; }
    .banner-card__image img { height: auto; aspect-ratio: 670/472; }
    .banner-card__copy { max-width: none; padding: 16px 0 0; }
    .banner-card h2 { font-size: clamp(37px, 11.4vw, 56px); }
    .banner-card .actions { margin-top: 18px; }
    .banner-card .banner-card__note { font-size: 11px; }
    .faq__items summary { min-height: 49px; padding-inline: 3px; }
    .faq__items details p { padding-left: 3px; }
    .site-footer__inner { grid-template-columns: 1fr auto; padding-block: 22px 30px; gap: 15px; }
    .site-footer__copy { grid-area: 2 / 1 / auto / -1; }
    .site-footer__copy p { font-size: 10px; margin-top: 6px; }
    .footer-nav { gap: 9px 14px; flex-wrap: wrap; }
    .footer-nav a { font-size: 11px; }
    .site-footer__marks { gap: 8px; }
    .site-footer__marks svg { width: 25px; height: 25px; }
    .age-label { width: 34px; height: 34px; font-size: 11px; }
    .dialog { padding: 15px; }
    .dialog__panel { border-radius: 23px; padding: 27px 12px 12px; }
    .dialog__close { top: 2px; right: 2px; width: 38px; height: 38px; }
    .rules-dialog .dialog__panel { padding: 20px 14px; }
    .rules-dialog ul, .rules-dialog ol { font-size: 13px; }
    .mission-dialog .dialog__panel:not(.dialog__panel--mobile-guide) { width: min(100%, 580px); }
    .mission-tabs { margin-top: 61px; }
    .js .slides { grid-template-columns: 30px minmax(0, 1fr) 30px; }
    .mission-dialog__action { width: 76.7%; }
}
@media (max-width: 374px) {
    .hero__lead { font-size: 14px; }
    .countdown__grid { gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; }
}
