/* ============================================================
   1win official-style theme
   Palette based on the official 1win product UI:
   bg #0e1116 · panels #151a21 · fields #1e2530
   accent blue #0d6efd/#1f7aff · green #00b34a · text #ffffff/#858b9c
   ============================================================ */

:root {
    --bg: #0e1116;
    --bg-deep: #0b0e13;
    --panel: #151a21;
    --panel-2: #1a202a;
    --field: #1e2530;
    --line: #232b38;
    --blue: #1f7aff;
    --blue-deep: #0d6efd;
    --green: #00b34a;
    --green-bright: #00c853;
    --violet: #7a5cff;
    --gold: #ffb400;
    --orange: #ff7a00;
    --text: #ffffff;
    --muted: #858b9c;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 10px 30px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }

.page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============ Buttons ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    color: #fff;
    white-space: nowrap;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn--green {
    background: linear-gradient(180deg, var(--green-bright), var(--green));
    box-shadow: 0 6px 18px rgba(0, 200, 83, .35);
}
.btn--green:hover { box-shadow: 0 8px 24px rgba(0, 200, 83, .5); }
.btn--blue {
    background: linear-gradient(180deg, #2b86ff, var(--blue-deep));
    box-shadow: 0 6px 18px rgba(31, 122, 255, .35);
}
.btn--white {
    background: #fff;
    color: #10131a;
}
.btn--ghost {
    background: var(--field);
    color: #fff;
}
.btn--ghost:hover { background: #262f3d; }
.btn--lg { padding: 15px 34px; font-size: 16px; border-radius: 12px; }

/* ============ Top bar ============ */
.topbar {
    background: var(--bg-deep);
    border-bottom: 1px solid var(--line);
    font-size: 12.5px;
}
.topbar__inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 7px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.topbar__promos { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.topbar__promos::-webkit-scrollbar { display: none; }
.chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 999px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    font-size: 12px;
    transition: filter .15s;
}
.chip:hover { filter: brightness(1.15); }
.chip--gold { background: linear-gradient(135deg, #a67102, #7d5500); }
.chip--violet { background: linear-gradient(135deg, #6a3cff, #4b2bb3); }
.chip--blue { background: linear-gradient(135deg, #1f7aff, #0d4fb3); }
.topbar__apps { display: flex; align-items: center; gap: 10px; }
.topbar__app {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--muted);
    font-weight: 600;
    transition: color .15s;
}
.topbar__app:hover { color: #fff; }
.topbar__lang {
    padding: 3px 9px;
    border: 1px solid var(--line);
    border-radius: 7px;
    color: var(--muted);
    font-weight: 700;
    font-size: 11px;
}

/* ============ Header ============ */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(14, 17, 22, .92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}
.header__inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 22px;
}
.header__logo img { width: 92px; height: auto; display: block; }
.header__nav {
    display: flex;
    gap: 4px;
    flex: 1;
    overflow-x: auto;
    scrollbar-width: none;
}
.header__nav::-webkit-scrollbar { display: none; }
.nav-pill {
    padding: 9px 16px;
    border-radius: 999px;
    color: var(--muted);
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    transition: color .15s, background .15s;
}
.nav-pill:hover { color: #fff; background: var(--field); }
.nav-pill--active {
    background: var(--blue-deep);
    color: #fff;
}
.nav-pill--active:hover { background: var(--blue); }
.header__auth { display: flex; gap: 8px; }

/* ============ Hero ============ */
.hero {
    display: grid;
    grid-template-columns: 1.9fr 1fr;
    gap: 16px;
    margin: 22px 0;
}
.hero__main {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    background:
        radial-gradient(120% 160% at 100% 0%, rgba(31, 122, 255, .28), transparent 55%),
        linear-gradient(135deg, #16213a 0%, #101623 60%, #0f1420 100%);
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    min-height: 300px;
}
.hero__main-body { padding: 34px 8px 34px 34px; z-index: 2; }
.hero__eyebrow {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(31, 122, 255, .18);
    border: 1px solid rgba(31, 122, 255, .35);
    color: #7db4ff;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 14px;
}
.hero__title {
    margin: 0 0 12px;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
}
.grad-text {
    background: linear-gradient(90deg, #37d97b, #00c853);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero__sub { color: var(--muted); font-size: 14.5px; margin: 0 0 22px; }
.hero__main-media { align-self: end; padding: 12px 0 0; }
.hero__main-media img { display: block; width: 100%; object-fit: cover; border-radius: 0 0 20px 0; }
.hero__side { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }
.hero__card {
    position: relative;
    display: block;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--panel);
    transition: transform .2s ease, border-color .2s ease;
}
.hero__card:hover { transform: translateY(-3px); border-color: #31405a; }
.hero__card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}
.hero__card-label {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    min-height: 142px;
    padding: 16px 18px;
    background: linear-gradient(180deg, transparent 25%, rgba(8, 10, 15, .88));
}
.hero__card-label b { font-size: 16px; font-weight: 800; }
.hero__card-label span { font-size: 12.5px; color: #b9c0cf; }

/* ============ Promobar ============ */
.promobar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 22px;
    margin: 0 0 22px;
    background:
        radial-gradient(90% 200% at 0% 50%, rgba(0, 179, 74, .16), transparent 60%),
        var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.promobar__icon { font-size: 28px; }
.promobar__text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.promobar__text > b { font-size: 16px; }
.promocode { color: var(--muted); font-size: 13.5px; }
.promobar__code {
    color: #37d97b;
    background: rgba(0, 179, 74, .12);
    border: 1px dashed rgba(0, 200, 83, .45);
    border-radius: 7px;
    padding: 2px 9px;
    cursor: pointer;
    font-family: 'SF Mono', Consolas, monospace;
    letter-spacing: .02em;
    transition: background .15s;
}
.promobar__code:hover { background: rgba(0, 179, 74, .22); }

/* ============ Quick tiles ============ */
.quick-tiles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 34px;
}
.quick-tile {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 15px 18px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform .18s, border-color .18s, box-shadow .18s;
}
.quick-tile:hover {
    transform: translateY(-2px);
    border-color: rgba(31, 122, 255, .45);
    box-shadow: 0 0 0 1px rgba(31, 122, 255, .25), 0 8px 26px rgba(31, 122, 255, .12);
}
.quick-tile__emoji {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    font-size: 22px;
    background: var(--field);
    border-radius: 12px;
    flex-shrink: 0;
}
.quick-tile > span:last-child { display: flex; flex-direction: column; }
.quick-tile b { color: #fff; font-size: 15px; }
.quick-tile i { color: var(--muted); font-size: 12.5px; font-style: normal; }

/* ============ Sections / cards ============ */
.card-section {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 40px;
}
.section-head h2 {
    margin: 0 0 12px;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.25;
}
.section-sub { color: var(--muted); font-size: 15px; }

.fifa-season video {
    display: block;
    width: 100%;
    border-radius: var(--radius);
    margin: 18px 0;
    background: #000;
}
.fifa-facts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 18px 0;
}
.fifa-fact {
    background: var(--field);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.fifa-fact b {
    font-size: 19px;
    font-weight: 800;
    background: linear-gradient(90deg, #7db4ff, #1f7aff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.fifa-fact span { color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.fifa-btn { margin-top: 6px; }

/* ============ Article ============ */
.wrapper-post h1 {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.25;
    margin: 10px 0 24px;
}
.wrapper-post h2 {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.3;
    margin: 46px 0 16px;
    padding-left: 14px;
    border-left: 4px solid var(--blue);
    border-radius: 2px;
}
.wrapper-post h3 { font-size: 19px; font-weight: 700; margin: 30px 0 12px; }
.wrapper-post p { color: #c7cddb; }
.wrapper-post strong { color: #fff; }

/* Spec table */
.spec-table { margin: 0 0 26px; }
.spec-table table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    font-size: 14.5px;
}
.spec-table td { padding: 12px 18px; border-bottom: 1px solid var(--line); }
.spec-table tr:last-child td { border-bottom: 0; }
.spec-table td:first-child { color: var(--muted); width: 38%; }
.spec-table td:last-child { color: #fff; font-weight: 600; }
.spec-table tr:first-child td {
    background: var(--field);
    color: var(--muted);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: .05em;
}

/* App screenshots */
.app-shot { margin: 22px 0; }
.app-shot img {
    display: block;
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--line);
}
.app-shot figcaption,
.install-col__shot figcaption,
.media-text__media figcaption {
    color: var(--muted);
    font-size: 13px;
    margin-top: 9px;
    text-align: center;
}

/* Note / quote */
.note {
    margin: 26px 0;
    padding: 18px 22px;
    background:
        radial-gradient(120% 300% at 0% 0%, rgba(31, 122, 255, .12), transparent 55%),
        var(--panel);
    border: 1px solid var(--line);
    border-left: 4px solid var(--blue);
    border-radius: var(--radius-sm);
}
.note p { margin: 0; color: #c7cddb; font-size: 14.5px; }

/* Bonus grid */
.bonus-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 22px 0;
}
.bonus-card {
    position: relative;
    padding: 22px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--panel);
    overflow: hidden;
}
.bonus-card::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.bonus-card--blue::before { background: radial-gradient(130% 130% at 100% 0%, rgba(31,122,255,.18), transparent 55%); }
.bonus-card--green::before { background: radial-gradient(130% 130% at 100% 0%, rgba(0,200,83,.16), transparent 55%); }
.bonus-card--violet::before { background: radial-gradient(130% 130% at 100% 0%, rgba(122,92,255,.18), transparent 55%); }
.bonus-card--orange::before { background: radial-gradient(130% 130% at 100% 0%, rgba(255,122,0,.15), transparent 55%); }
.bonus-card__badge {
    display: inline-block;
    padding: 4px 11px;
    border-radius: 999px;
    background: var(--field);
    color: var(--muted);
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 14px;
}
.bonus-card__value {
    font-size: 40px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 6px;
}
.bonus-card--blue .bonus-card__value { color: #5ea2ff; }
.bonus-card--green .bonus-card__value { color: #37d97b; }
.bonus-card--violet .bonus-card__value { color: #a48dff; }
.bonus-card--orange .bonus-card__value { color: #ffa149; }
.bonus-card__title { font-weight: 700; margin-bottom: 8px; }
.bonus-card__terms { color: var(--muted) !important; font-size: 13.5px; margin: 0; line-height: 1.55; }

/* Promo cards */
.promo-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 22px 0;
}
.promo-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .18s, border-color .18s;
}
.promo-card:hover { transform: translateY(-3px); border-color: #31405a; }
.promo-card img { display: block; width: 100%; }
.promo-card__body { padding: 18px 20px 20px; }
.promo-card__body h3 { margin: 0 0 8px; font-size: 16.5px; }
.promo-card__body p { margin: 0; color: var(--muted) !important; font-size: 13.5px; line-height: 1.6; }

/* Install grid */
.install-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 22px 0;
}
.install-col {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
}
.install-col__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.install-col__head h3 { margin: 0; font-size: 17px; }
.os-badge {
    padding: 5px 12px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: .03em;
}
.os-badge--android { background: rgba(0, 200, 83, .15); color: #37d97b; border: 1px solid rgba(0, 200, 83, .35); }
.os-badge--ios { background: rgba(31, 122, 255, .15); color: #5ea2ff; border: 1px solid rgba(31, 122, 255, .35); }
.install-col__note { color: var(--muted) !important; font-size: 13.5px; }
.install-col__shot { margin: 14px 0; }
.install-col__shot img {
    display: block;
    max-width: 260px;
    margin: 0 auto;
    border-radius: 14px;
    border: 1px solid var(--line);
}
.steps {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}
.steps li {
    counter-increment: step;
    position: relative;
    padding: 9px 0 9px 42px;
    color: #c7cddb;
    font-size: 14px;
}
.steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 8px;
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    background: var(--blue-deep);
    border-radius: 8px;
    font-weight: 800;
    font-size: 13px;
    color: #fff;
}

/* Media-text */
.media-text {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: center;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    margin: 22px 0;
}
.media-text__body h3 { margin-top: 0; }
.media-text__body p { color: var(--muted) !important; font-size: 14.5px; }
.media-text__media { margin: 0; }
.media-text__media img {
    display: block;
    width: 100%;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
}
.media-text--phone .media-text__media img { max-width: 280px; margin: 0 auto; }

/* Games */
.games-h3 { margin-top: 26px !important; }
.igry {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 13px;
    margin: 18px 0 26px;
}
.igra {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--panel);
    transition: transform .18s, box-shadow .18s;
}
.igra:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(31, 122, 255, .18);
}
.igra img { display: block; width: 100%; }
.o_igre {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    text-align: center;
}
.o_igre span { font-weight: 700; font-size: 13.5px; }
.o_igre a {
    display: block;
    padding: 8px 10px;
    background: linear-gradient(180deg, var(--green-bright), var(--green));
    border-radius: 8px;
    color: #fff;
    font-weight: 700;
    font-size: 12.5px;
    transition: filter .15s;
}
.o_igre a:hover { filter: brightness(1.12); }

/* WC odds */
.wc-odds {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 20px 0 26px;
}
.wc-odds figure {
    margin: 0;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}
.wc-odds img { display: block; width: 100%; }
.wc-odds figcaption {
    padding: 12px 15px 14px;
    font-size: 12.5px;
    color: var(--muted);
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: left;
    margin-top: 0;
}
.wc-odds figcaption b { color: #fff; font-size: 13.5px; }

/* Crypto table */
.crypto-table-wrap { overflow-x: auto; margin: 20px 0 26px; }
.crypto-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    font-size: 14px;
}
.crypto-table th {
    background: var(--field);
    color: var(--muted);
    text-align: left;
    padding: 13px 18px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.crypto-table td { padding: 11px 18px; border-top: 1px solid var(--line); color: #c7cddb; }
.crypto-table .ticker {
    font-family: 'SF Mono', Consolas, monospace;
    font-weight: 700;
    color: #5ea2ff;
}
.crypto-table tbody tr:hover td { background: rgba(31, 122, 255, .05); }

/* FAQ */
.casino_h2 {
    font-size: 24px;
    font-weight: 800;
    margin: 46px 0 16px;
    padding-left: 14px;
    border-left: 4px solid var(--blue);
    border-radius: 2px;
}
.faq { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.faq__block {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color .2s;
}
.faq__block:has(.fag-checkbox:checked) { border-color: rgba(31, 122, 255, .5); }
.fag-checkbox { display: none; }
.faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 17px 20px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: color .15s;
}
.faq__question:hover { color: #7db4ff; }
.faq__question::after {
    content: '';
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    border-right: 2.5px solid var(--muted);
    border-bottom: 2.5px solid var(--muted);
    transform: rotate(45deg);
    transition: transform .25s;
    margin-top: -4px;
}
.fag-checkbox:checked ~ .faq__question::after { transform: rotate(225deg); margin-top: 4px; }
.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}
.fag-checkbox:checked ~ .faq__answer { max-height: 400px; }
.faq__answer p {
    margin: 0;
    padding: 0 20px 18px;
    color: var(--muted) !important;
    font-size: 14px;
    line-height: 1.65;
}

/* ============ CTA stripe ============ */
.cta-stripe {
    background:
        radial-gradient(100% 300% at 0% 50%, rgba(0, 200, 83, .14), transparent 50%),
        radial-gradient(100% 300% at 100% 50%, rgba(31, 122, 255, .18), transparent 50%),
        var(--bg-deep);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-top: 30px;
}
.cta-stripe__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 34px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.cta-stripe__text { display: flex; flex-direction: column; gap: 4px; }
.cta-stripe__text b { font-size: 21px; font-weight: 800; }
.cta-stripe__text span { color: var(--muted); font-size: 14px; }
.cta-stripe__actions { display: flex; gap: 10px; }

/* ============ Footer ============ */
.footer { background: var(--bg-deep); }
.footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 38px 20px 26px;
    display: grid;
    grid-template-columns: 1.4fr 1fr auto;
    gap: 30px;
    align-items: start;
}
.footer__brand img { width: 86px; margin-bottom: 12px; }
.footer__brand p { color: #5a6172; font-size: 12.5px; margin: 0; max-width: 380px; }
.footer__nav { display: flex; flex-direction: column; gap: 9px; }
.footer__nav a { color: var(--muted); font-size: 14px; transition: color .15s; }
.footer__nav a:hover { color: #fff; }
.footer__actions { display: flex; gap: 10px; }
.footer__bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 20px 26px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 14px;
    color: #5a6172;
    font-size: 12.5px;
}
.footer__age {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 2px solid #5a6172;
    border-radius: 50%;
    font-weight: 800;
    font-size: 12px;
    flex-shrink: 0;
}

/* ============ Popup (used by theme JS if present) ============ */
.popup__modal { position: fixed; inset: 0; z-index: 1000; }
.popup__layout { position: absolute; inset: 0; background: rgba(5, 7, 10, .8); }
.popup__container { position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; }
.popup__body {
    position: relative;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
    max-width: 460px;
    width: 100%;
}
.popup__heading { font-weight: 800; font-size: 18px; margin-bottom: 12px; }
.popup__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 30px;
    height: 30px;
    background: var(--field);
    border: 0;
    border-radius: 8px;
    cursor: pointer;
}
.popup__close::before, .popup__close::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 14px; height: 2px;
    background: var(--muted);
}
.popup__close::before { transform: translate(-50%,-50%) rotate(45deg); }
.popup__close::after { transform: translate(-50%,-50%) rotate(-45deg); }
.with--no_scroll { overflow: hidden; }

/* Copied promo toast */
.promo-toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%) translateY(80px);
    background: var(--green);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 200, 83, .4);
    opacity: 0;
    transition: transform .3s ease, opacity .3s ease;
    z-index: 1200;
    pointer-events: none;
}
.promo-toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ============ Responsive ============ */
@media (max-width: 1024px) {
    .hero { grid-template-columns: 1fr; }
    .hero__side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
    .igry { grid-template-columns: repeat(3, 1fr); }
    .fifa-facts { grid-template-columns: repeat(2, 1fr); }
    .quick-tiles { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .topbar__apps { display: none; }
    .header__inner { flex-wrap: wrap; gap: 10px; padding: 10px 16px; }
    .header__logo img { width: 76px; }
    .header__nav { order: 3; width: 100%; }
    .header__auth { margin-left: auto; }
    .header__auth .btn { padding: 9px 14px; font-size: 13px; }
    .hero__main { grid-template-columns: 1fr; min-height: 0; }
    .hero__main-body { padding: 24px; }
    .hero__title { font-size: 23px; }
    .hero__main-media { display: none; }
    .hero__side { grid-template-columns: 1fr; }
    .promobar { flex-wrap: wrap; }
    .promobar .btn { width: 100%; }
    .bonus-grid, .promo-cards, .install-grid, .media-text { grid-template-columns: 1fr; }
    .media-text--reverse .media-text__media { order: -1; }
    .wc-odds { grid-template-columns: 1fr; }
    .igry { grid-template-columns: repeat(2, 1fr); }
    .wrapper-post h1 { font-size: 24px; }
    .wrapper-post h2, .casino_h2 { font-size: 20px; }
    .footer__inner { grid-template-columns: 1fr; gap: 22px; }
    .cta-stripe__inner { flex-direction: column; text-align: center; }
    .cta-stripe__actions { width: 100%; }
    .cta-stripe__actions .btn { flex: 1; }
}

@media (max-width: 480px) {
    .quick-tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
    .quick-tile { padding: 12px 13px; gap: 10px; }
    .quick-tile__emoji { width: 38px; height: 38px; font-size: 19px; }
    .fifa-facts { grid-template-columns: 1fr; }
    .bonus-card__value { font-size: 33px; }
    .igry { grid-template-columns: repeat(2, 1fr); gap: 9px; }
    .card-section { padding: 20px 16px; }
    .header__nav .nav-pill { padding: 8px 13px; font-size: 13px; }
}
