:root {
    color-scheme: dark;
    --bg: #101114;
    --surface: #191a1f;
    --surface-raised: #202127;
    --text: #f7f7f8;
    --muted: #9698a2;
    --accent: #ff3b45;
    --accent-light: #ff6870;
    --line: rgba(255, 255, 255, .075);
    --tg-bg: var(--tg-theme-bg-color, var(--bg));
}

* { box-sizing: border-box; }

html {
    min-height: 100%;
    background: var(--bg);
    -webkit-tap-highlight-color: transparent;
}

body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(ellipse at 100% 0%, rgba(255, 59, 69, .075), transparent 34rem),
        var(--tg-bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}

button, a { font: inherit; }
button { color: inherit; }
[hidden] { display: none !important; }

.app-shell {
    width: min(100%, 560px);
    min-height: 100vh;
    margin: 0 auto;
    padding: calc(12px + env(safe-area-inset-top)) 20px calc(104px + env(safe-area-inset-bottom));
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    margin-bottom: 27px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    text-decoration: none;
}

.brand-mark {
    position: relative;
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 1px solid rgba(255, 59, 69, .68);
    border-radius: 50%;
    box-shadow: 0 0 18px rgba(255, 59, 69, .16), inset 0 0 10px rgba(255, 59, 69, .12);
}

.brand-mark::before, .brand-mark::after {
    position: absolute;
    content: "";
    background: var(--accent);
}

.brand-mark::before { width: 18px; height: 1px; }
.brand-mark::after { width: 1px; height: 18px; }
.brand-mark span { z-index: 1; width: 6px; height: 6px; border: 1px solid var(--accent-light); border-radius: 50%; background: var(--bg); }
.brand-name { font-size: 15px; font-weight: 850; letter-spacing: .17em; }
.topbar-label { color: #7f818b; font-size: 10px; font-weight: 800; letter-spacing: .2em; }

.page { animation: page-in .24s ease both; }
.page[hidden] { display: none; }
@keyframes page-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

.welcome-line { display: flex; align-items: center; justify-content: space-between; margin-bottom: 21px; }
.eyebrow { margin: 0 0 8px; color: var(--accent-light); font-size: 9px; font-weight: 850; letter-spacing: .19em; }
h1, h2, p { margin-top: 0; }
.welcome-line h1, .page-heading h1 { margin-bottom: 0; font-size: clamp(24px, 6vw, 30px); font-weight: 760; letter-spacing: -.04em; }
#player-name { color: #fff; }
.avatar { display: grid; width: 43px; height: 43px; place-items: center; border: 1px solid var(--line); border-radius: 15px; background: linear-gradient(145deg, #282930, #1a1b20); font-size: 20px; }

.hero-card {
    position: relative;
    min-height: 245px;
    overflow: hidden;
    padding: 25px 22px;
    border: 1px solid rgba(255, 90, 99, .17);
    border-radius: 23px;
    background: linear-gradient(117deg, #26191d 0%, #1b1b20 51%, #17181c 100%);
    box-shadow: 0 17px 44px rgba(0, 0, 0, .2);
}

.hero-glow { position: absolute; top: -125px; right: -71px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 59, 69, .2), rgba(255, 59, 69, 0) 70%); }
.hero-content { position: relative; z-index: 2; max-width: 275px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 16px; color: #c4aeb0; font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px rgba(255, 59, 69, .75); }
.hero-card h2 { margin-bottom: 10px; font-size: clamp(27px, 7vw, 34px); line-height: 1.02; font-weight: 850; letter-spacing: -.055em; }
.hero-card h2 span { color: var(--accent-light); }
.hero-card p { max-width: 240px; margin-bottom: 17px; color: #aaaab1; font-size: 12px; line-height: 1.5; }
.primary-button, .secondary-button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 42px; padding: 0 15px; border: 0; border-radius: 13px; cursor: pointer; font-size: 12px; font-weight: 750; transition: transform .16s ease, filter .16s ease; }
.primary-button { background: linear-gradient(105deg, #ff3944, #e72431); color: #fff; box-shadow: 0 7px 22px rgba(255, 41, 53, .2); }
.primary-button span { font-size: 16px; }
.primary-button:active, .secondary-button:active, .section-card:active { transform: scale(.985); }

.target-art { position: absolute; top: 42px; right: -20px; width: 210px; height: 210px; opacity: .77; }
.target-ring { position: absolute; top: 50%; left: 50%; border: 1px solid rgba(255, 93, 103, .23); border-radius: 50%; transform: translate(-50%, -50%); }
.ring-one { width: 190px; height: 190px; }
.ring-two { width: 137px; height: 137px; border-color: rgba(255, 93, 103, .35); }
.ring-three { width: 82px; height: 82px; border-color: rgba(255, 93, 103, .52); }
.target-center { position: absolute; top: 50%; left: 50%; width: 13px; height: 13px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 23px 7px rgba(255, 59, 69, .35); transform: translate(-50%, -50%); }
.target-line { position: absolute; top: 50%; left: 4%; width: 92%; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 93, 103, .32), transparent); }
.target-line-y { transform: rotate(90deg); }
.hero-index { position: absolute; right: 19px; bottom: 17px; color: rgba(255, 255, 255, .18); font-size: 11px; font-weight: 800; letter-spacing: .18em; }

.section-heading { display: flex; align-items: end; justify-content: space-between; margin: 29px 1px 13px; }
.section-heading .eyebrow { margin-bottom: 5px; }
.section-heading h2 { margin-bottom: 0; font-size: 18px; letter-spacing: -.025em; }
.section-card { display: flex; width: 100%; align-items: center; gap: 13px; padding: 14px; border: 1px solid var(--line); border-radius: 17px; background: linear-gradient(110deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .018)); text-align: left; cursor: pointer; transition: transform .16s ease, border-color .16s ease; }
.section-card:hover { border-color: rgba(255, 94, 104, .28); }
.home-terms-link { margin-top: 10px; }
.section-icon { display: grid; width: 43px; height: 43px; flex: 0 0 43px; place-items: center; border: 1px solid rgba(255, 64, 76, .22); border-radius: 14px; background: rgba(255, 59, 69, .1); color: var(--accent-light); font-size: 20px; }
.section-copy { display: grid; gap: 5px; }
.section-copy strong { font-size: 14px; }
.section-copy span { color: var(--muted); font-size: 11px; }
.section-arrow { margin-left: auto; color: #888a94; font-size: 19px; }
.footer-note { margin: 18px 0 0; color: #777983; font-size: 10px; text-align: center; }

.page-heading { display: flex; align-items: center; gap: 13px; margin: 6px 0 21px; }
.page-heading .eyebrow { margin-bottom: 5px; }
.back-button { display: grid; width: 41px; height: 41px; flex: 0 0 41px; place-items: center; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: #ddd; font-size: 20px; cursor: pointer; }
.cases-banner { position: relative; display: grid; min-height: 224px; overflow: hidden; place-items: center; border: 1px solid rgba(255, 91, 100, .16); border-radius: 23px; background: radial-gradient(ellipse at 50% 54%, rgba(255, 52, 64, .15), transparent 39%), linear-gradient(145deg, #211b20, #17181d 72%); }
.banner-label { position: absolute; top: 15px; right: 15px; padding: 7px 9px; border: 1px solid rgba(255, 106, 114, .25); border-radius: 8px; background: rgba(255, 59, 69, .09); color: var(--accent-light); font-size: 8px; font-weight: 850; letter-spacing: .17em; }
.case-illustration { position: relative; display: grid; width: 174px; height: 162px; place-items: center; }
.case-aura { position: absolute; width: 150px; height: 96px; border-radius: 50%; background: rgba(255, 53, 66, .17); filter: blur(27px); }
.case-box { position: relative; display: block; width: 112px; height: 80px; margin-top: 24px; border: 1px solid #8e333b; border-radius: 12px 12px 17px 17px; background: linear-gradient(145deg, #3a252b, #211b21 68%); box-shadow: 0 20px 35px rgba(0, 0, 0, .4), inset 0 -8px 15px rgba(255, 40, 55, .08); transform: perspective(240px) rotateX(-5deg) rotateZ(-4deg); }
.case-lid { position: absolute; top: -21px; left: -5px; width: 120px; height: 26px; border: 1px solid #a73b46; border-radius: 9px 9px 5px 5px; background: linear-gradient(100deg, #63303a, #3b252c); }
.case-box::before, .case-box::after { position: absolute; top: 1px; bottom: 1px; width: 9px; content: ""; border-right: 1px solid rgba(255, 93, 104, .28); border-left: 1px solid rgba(255, 93, 104, .12); background: rgba(255, 69, 81, .055); }
.case-box::before { left: 12px; }
.case-box::after { right: 12px; }
.case-lock { position: absolute; z-index: 1; top: 25px; left: 50%; width: 17px; height: 19px; border: 1px solid #ff6670; border-radius: 5px; background: #822e39; box-shadow: 0 0 13px rgba(255, 59, 69, .3); transform: translateX(-50%); }
.case-lock::before { position: absolute; top: -9px; left: 3px; width: 9px; height: 10px; content: ""; border: 1px solid #ff6670; border-bottom: 0; border-radius: 8px 8px 0 0; }
.case-star { position: absolute; top: 3px; left: 50%; color: #ffb1b5; font-size: 14px; text-shadow: 0 0 13px #ff4b57; transform: translateX(-50%); }

.empty-state { display: flex; flex-direction: column; align-items: center; padding: 27px 16px 4px; text-align: center; }
.empty-icon { display: grid; width: 38px; height: 38px; margin-bottom: 16px; place-items: center; border: 1px solid rgba(255, 68, 79, .25); border-radius: 13px; background: rgba(255, 59, 69, .08); color: var(--accent-light); font-size: 17px; }
.empty-state .eyebrow { margin-bottom: 7px; }
.empty-state h2 { margin-bottom: 9px; font-size: 20px; letter-spacing: -.035em; }
.empty-state > p:not(.eyebrow) { max-width: 300px; margin-bottom: 19px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.secondary-button { min-height: 39px; border: 1px solid var(--line); background: var(--surface-raised); color: #e3e3e5; }

.cases-intro { margin: -3px 1px 17px; color: #b2b3bb; font-size: 12px; line-height: 1.55; }
.case-rules { margin: 0 0 15px; padding: 11px 12px; border: 1px solid rgba(255, 255, 255, .07); border-radius: 13px; background: rgba(255, 255, 255, .025); color: #a9aab3; font-size: 10px; line-height: 1.5; }
.case-rules summary { color: #d7d7dc; font-size: 10px; font-weight: 750; cursor: pointer; }
.case-rules p { margin: 9px 0 0; }
.case-rules p + p { color: #92949e; }
.case-list { display: grid; gap: 14px; }
.case-card { position: relative; overflow: hidden; padding: 16px; border: 1px solid var(--line); border-radius: 19px; background: linear-gradient(145deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .018) 50%, rgba(255, 59, 69, .035)); box-shadow: 0 14px 32px rgba(0, 0, 0, .14); }
.case-card::before { position: absolute; top: 0; right: 12%; left: 12%; height: 1px; content: ""; background: linear-gradient(90deg, transparent, rgba(255, 105, 115, .44), transparent); }
.case-tier-two { border-color: rgba(255, 173, 77, .17); }
.case-tier-two::before { background: linear-gradient(90deg, transparent, rgba(255, 189, 98, .52), transparent); }
.case-tier-three { border-color: rgba(188, 132, 255, .2); background: linear-gradient(145deg, rgba(88, 51, 112, .15), rgba(255, 255, 255, .018) 53%, rgba(255, 59, 69, .04)); }
.case-tier-three::before { background: linear-gradient(90deg, transparent, rgba(204, 155, 255, .58), transparent); }
.case-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 13px; }
.case-card-title { display: flex; align-items: center; gap: 11px; min-width: 0; }
.case-number { display: grid; width: 39px; height: 39px; flex: 0 0 39px; place-items: center; border: 1px solid rgba(255, 86, 97, .25); border-radius: 13px; background: rgba(255, 59, 69, .1); color: var(--accent-light); font-size: 12px; font-weight: 850; letter-spacing: .05em; }
.case-tier-two .case-number { border-color: rgba(255, 189, 98, .3); background: rgba(255, 171, 64, .09); color: #ffc274; }
.case-tier-three .case-number { border-color: rgba(204, 155, 255, .3); background: rgba(175, 112, 237, .11); color: #d4aaff; }
.case-card-title .eyebrow { margin-bottom: 3px; font-size: 8px; }
.case-card-title h2 { margin: 0; font-size: 17px; font-weight: 780; letter-spacing: -.03em; }
.case-price { flex: 0 0 auto; color: #fff; font-size: 16px; font-weight: 850; letter-spacing: -.025em; }
.case-price small { color: #74ccff; font-size: 15px; }
.case-guarantees { display: grid; gap: 7px; padding: 11px 12px; border: 1px solid rgba(255, 255, 255, .055); border-radius: 12px; background: rgba(0, 0, 0, .14); color: #c8c8ce; font-size: 11px; line-height: 1.4; }
.case-guarantees b { color: #fff; font-weight: 750; }
.reward-group, .bonus-group { margin-top: 14px; }
.reward-group h3, .bonus-group h3 { margin: 0 0 8px; color: #b1b2ba; font-size: 10px; font-weight: 800; letter-spacing: .035em; }
.drop-row { display: flex; align-items: center; justify-content: space-between; padding: 7px 1px; border-bottom: 1px solid rgba(255, 255, 255, .045); color: #e7e7e9; font-size: 12px; }
.drop-row b { color: #ffb5b9; font-size: 11px; }
.case-tier-two .drop-row b { color: #ffd092; }
.case-tier-three .drop-row b { color: #d9b6ff; }
.expected-value { margin: 9px 0 0; color: #9b9da7; font-size: 10px; }
.expected-value b { color: #fff; font-size: 11px; }
.bonus-chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.bonus-chip-row > span { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 6px 8px; border: 1px solid rgba(255, 255, 255, .07); border-radius: 9px; background: rgba(255, 255, 255, .035); color: #b9bac2; font-size: 9px; line-height: 1.25; }
.bonus-chip-row b { color: #f5d27d; font-size: 9px; }
.case-buy-button { width: 100%; min-height: 42px; margin-top: 15px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 12px; background: rgba(255, 255, 255, .045); color: #888a94; font-size: 11px; font-weight: 750; cursor: not-allowed; }
.case-buy-button:not(:disabled) { border-color: rgba(255, 74, 85, .38); background: linear-gradient(105deg, #ff3944, #e72431); color: #fff; cursor: pointer; box-shadow: 0 7px 20px rgba(255, 41, 53, .15); transition: transform .16s ease, filter .16s ease, opacity .16s ease; }
.case-buy-button:not(:disabled):hover { filter: brightness(1.08); }
.case-buy-button:not(:disabled):active { transform: scale(.99); }
.case-buy-button:disabled { opacity: .6; }
.case-disclaimer, .payment-note { margin: 13px 2px 0; color: #83858f; font-size: 10px; line-height: 1.5; }
.payment-note { margin-top: 6px; color: #aaaab2; text-align: center; }
.payment-note.is-error { color: #ff9399; }
.case-loading { margin: 0; padding: 24px 12px; color: var(--muted); font-size: 12px; text-align: center; }
.case-loading.is-error { color: #ff9399; }

.catalog-card { display: grid; width: 100%; gap: 9px; padding: 17px; border: 1px solid rgba(255, 92, 102, .22); border-radius: 20px; background: linear-gradient(125deg, #251b20, #191a1f 70%); color: var(--text); cursor: pointer; text-align: left; box-shadow: 0 15px 30px rgba(0, 0, 0, .17); }
.catalog-card::before { content: none; }
.catalog-card.case-tier-two { border-color: rgba(255, 183, 84, .28); background: linear-gradient(125deg, #29221b, #191a1f 70%); }
.catalog-card.case-tier-three { border-color: rgba(200, 143, 255, .3); background: linear-gradient(125deg, #282032, #191a1f 70%); }
.catalog-card:focus-visible, .voucher-list button:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 2px; }
.catalog-card-top { display: flex; justify-content: space-between; align-items: center; }
.catalog-card > .eyebrow { margin: 2px 0 0; }
.catalog-card > strong { font-size: 21px; letter-spacing: -.035em; }
.catalog-main { color: #fff; font-size: 17px; font-weight: 800; }
.catalog-perks { color: #b7b7bf; font-size: 11px; }
.catalog-open { display: flex; justify-content: space-between; margin-top: 5px; padding-top: 11px; border-top: 1px solid var(--line); color: var(--accent-light); font-size: 11px; font-weight: 760; }
.detail-hero { display: grid; gap: 9px; padding: 22px 18px; border: 1px solid rgba(255, 91, 100, .22); border-radius: 20px; background: radial-gradient(circle at 80% 10%, rgba(255, 65, 75, .18), transparent 50%), #211b20; }
.detail-hero > strong { font-size: clamp(25px, 7vw, 35px); letter-spacing: -.055em; }
.detail-price { margin-top: 4px; color: #fff; font-size: 19px; font-weight: 850; }
.detail-price small { display: block; margin-top: 3px; color: #aaaab3; font-size: 11px; font-weight: 600; }
.detail-block { margin-top: 17px; }
.detail-block h2 { margin-bottom: 9px; font-size: 13px; letter-spacing: -.01em; }
.reward-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.reward-tile { display: flex; min-height: 90px; flex-direction: column; justify-content: space-between; gap: 10px; padding: 12px; border: 1px solid rgba(255, 255, 255, .085); border-radius: 14px; background: linear-gradient(140deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .018)); }
.reward-tile strong { overflow-wrap: anywhere; font-size: 12px; line-height: 1.28; }
.reward-symbol { font-size: 22px; line-height: 1; }
.bonus-tile { border-color: rgba(255, 172, 88, .17); background: linear-gradient(140deg, rgba(255, 177, 87, .08), rgba(255, 255, 255, .018)); }
.payment-panel { display: grid; gap: 9px; margin-top: 20px; padding: 17px; border: 1px solid rgba(255, 91, 100, .19); border-radius: 18px; background: rgba(255, 255, 255, .025); }
.payment-panel h2 { margin: -3px 0 5px; font-size: 17px; }
.payment-action { width: 100%; min-height: 45px; text-decoration: none; cursor: pointer; }
.payment-panel .payment-note { min-height: 15px; }

.voucher-panel { margin-top: 3px; padding: 11px 0 0; border-top: 1px solid var(--line); }
.voucher-panel h2 { margin-bottom: 7px; font-size: 17px; }
.voucher-panel > p:not(.eyebrow) { color: #aaaab3; font-size: 11px; line-height: 1.5; }
.voucher-form { display: flex; gap: 8px; margin-top: 12px; }
.voucher-form input { flex: 1; min-width: 0; min-height: 42px; padding: 0 11px; border: 1px solid var(--line); border-radius: 12px; outline: none; background: var(--surface); color: var(--text); font: inherit; font-size: 12px; text-transform: uppercase; }
.voucher-form input:focus { border-color: var(--accent); }
.voucher-form button { gap: 0; }
.voucher-list { display: grid; gap: 7px; margin-top: 12px; }
.voucher-list button { padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-raised); color: var(--text); cursor: pointer; text-align: left; font-size: 11px; }
.voucher-note { min-height: 15px; margin: 10px 0 0; color: var(--muted); font-size: 11px; }
.voucher-note.is-error { color: #ff9399; }

.case-purchase-dialog {
    width: min(92vw, 430px);
    max-height: min(84vh, 720px);
    padding: 0;
    overflow: auto;
    border: 1px solid rgba(255, 91, 100, .24);
    border-radius: 20px;
    background: #191a20;
    color: #f3f3f5;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .55);
}
.case-purchase-dialog::backdrop { background: rgba(5, 6, 9, .78); backdrop-filter: blur(5px); }
.dialog-content { padding: 21px; }
.dialog-content h2 { margin: 0 0 5px; font-size: 21px; }
.dialog-price { margin: 0 0 14px; color: #84d1ff; font-size: 13px; font-weight: 800; }
.terms-page-copy { padding: 18px; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); color: #c5c5cc; font-size: 12px; line-height: 1.65; white-space: pre-wrap; }
.terms-consent { display: flex; align-items: flex-start; gap: 9px; margin: 14px 1px; color: #e0e0e4; font-size: 11px; line-height: 1.4; cursor: pointer; }
.terms-consent input { width: 17px; height: 17px; flex: 0 0 17px; margin: 0; accent-color: #fa424d; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; }
.dialog-actions .secondary-button { min-height: 42px; padding: 0 13px; font-size: 11px; cursor: pointer; }
.dialog-actions .primary-button { min-height: 42px; padding: 0 13px; border-radius: 12px; font-size: 11px; }
.dialog-actions .primary-button:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }

.reveal-overlay { width: min(420px, calc(100vw - 32px)); max-width: calc(100vw - 32px); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); margin: auto; padding: 0; overflow: auto; overscroll-behavior: contain; border: 1px solid rgba(255, 95, 105, .36); border-radius: 24px; background: #1d1c23; color: var(--text); box-shadow: 0 24px 80px rgba(0, 0, 0, .6), 0 0 35px rgba(255, 52, 64, .13); }
.reveal-overlay::backdrop { background: rgba(5, 6, 9, .88); backdrop-filter: blur(12px); }
.reveal-card { width: 100%; padding: 24px 20px; border-radius: inherit; background: radial-gradient(circle at 50% 10%, rgba(255, 62, 73, .2), transparent 55%); text-align: center; }
.reveal-card h2 { margin: 0 0 18px; font-size: clamp(20px, 6vw, 24px); overflow-wrap: anywhere; }
.reveal-window { position: relative; width: 100%; min-width: 0; overflow: hidden; height: 104px; margin: 0 auto 18px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 17px; background: linear-gradient(180deg, #131318, #272129 48%, #131318); }
.reveal-window::after { position: absolute; inset: 0; content: ""; pointer-events: none; background: linear-gradient(90deg, #17151b, transparent 22% 78%, #17151b), linear-gradient(180deg, rgba(0,0,0,.6), transparent 28% 72%, rgba(0,0,0,.6)); }
.reveal-track { display: flex; width: max-content; height: 100%; align-items: center; gap: 9px; padding: 0 12px; }
.reveal-track span { display: grid; width: 72px; height: 72px; flex: 0 0 72px; place-items: center; border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; background: linear-gradient(135deg, #453039, #252129); font-size: 30px; box-shadow: inset 0 0 16px rgba(255,255,255,.03); }
.is-spinning .reveal-track { animation: case-roll 4.8s linear forwards; will-change: transform; }
@keyframes case-roll {
    0% { transform: translateX(0); }
    70% { transform: translateX(var(--reel-fast-stop, -1134px)); }
    88% { transform: translateX(var(--reel-slow-stop, -1377px)); }
    100% { transform: translateX(var(--reel-stop, -1458px)); }
}
.reveal-status { margin: 0; color: #c5bac1; font-size: 12px; }
.reveal-result { margin: 18px 0 0; padding: 15px; border: 1px solid rgba(255, 255, 255, .09); border-radius: 14px; background: rgba(0, 0, 0, .2); color: #fff; font: inherit; font-size: 12px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; text-align: left; }
.reveal-close { width: 100%; margin-top: 17px; }
.reveal-overlay:not(.is-spinning) .reveal-window { box-shadow: 0 0 30px rgba(255, 72, 84, .25); }

@media (max-width: 480px) {
    .reveal-overlay { --reel-fast-stop: -966px; --reel-slow-stop: -1173px; --reel-stop: -1242px; }
    .reveal-overlay { width: calc(100vw - 28px); max-width: calc(100vw - 28px); max-height: calc(100vh - 28px); max-height: calc(100dvh - 28px); border-radius: 20px; }
    .reveal-card { padding: 20px 15px; }
    .reveal-window { height: 88px; margin-bottom: 15px; }
    .reveal-track span { width: 60px; height: 60px; flex-basis: 60px; font-size: 26px; }
    .reveal-result { max-height: 36dvh; overflow: auto; padding: 12px; font-size: 11px; }
}

.bottom-nav { position: fixed; z-index: 10; right: 0; bottom: 0; left: 0; display: flex; justify-content: center; gap: 8px; padding: 9px 20px calc(9px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .07); background: rgba(17, 18, 22, .91); backdrop-filter: blur(20px); }
.nav-item { display: flex; width: auto; max-width: 150px; flex: 1; min-height: 55px; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border: 0; border-radius: 14px; background: transparent; color: #858792; cursor: pointer; font-size: 10px; font-weight: 650; transition: background .18s ease, color .18s ease; }
.nav-item.is-active { background: rgba(255, 255, 255, .055); color: var(--accent-light); }
.nav-icon { height: 20px; font-size: 21px; line-height: 20px; }
.nav-cases-icon { font-size: 17px; }

.battlepass-home-card { margin-top: 10px; }
.battlepass-hero {
    position: relative;
    overflow: hidden;
    padding: 22px 17px 17px;
    border: 1px solid rgba(255, 83, 92, .28);
    border-radius: 21px;
    background: radial-gradient(ellipse at 92% 2%, rgba(255, 55, 67, .2), transparent 43%), linear-gradient(145deg, #251b20, #191a1f 72%);
    box-shadow: 0 16px 38px rgba(0, 0, 0, .22);
}
.battlepass-hero::after { position: absolute; top: 20px; right: 13px; width: 74px; height: 74px; border: 1px solid rgba(255, 101, 109, .17); border-radius: 50%; content: ""; box-shadow: 0 0 0 13px rgba(255, 75, 85, .035), 0 0 0 27px rgba(255, 75, 85, .025); pointer-events: none; }
.battlepass-hero-mark { position: absolute; z-index: 1; top: 40px; right: 39px; font-size: 24px; filter: drop-shadow(0 0 12px rgba(255, 70, 83, .65)); }
.battlepass-hero > .eyebrow, .battlepass-hero h2, .battlepass-copy, .battlepass-progress-label, .battlepass-progress-track, .battlepass-claim, .battlepass-note { position: relative; z-index: 2; }
.battlepass-hero > .eyebrow { max-width: calc(100% - 100px); margin-bottom: 7px; font-size: 8px; }
.battlepass-hero h2 { margin: 0 75px 7px 0; font-size: clamp(22px, 6vw, 28px); letter-spacing: -.045em; }
.battlepass-copy { max-width: 360px; margin: 0 0 20px; color: #b6b4bb; font-size: 11px; line-height: 1.5; }
.battlepass-progress-label { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 7px; color: #c6c3ca; font-size: 10px; font-weight: 700; }
.battlepass-progress-label span:last-child { color: #ff8d91; }
.battlepass-progress-track { height: 7px; overflow: hidden; border-radius: 8px; background: rgba(255, 255, 255, .09); }
.battlepass-progress-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #e92b38, #ff8b60); box-shadow: 0 0 13px rgba(255, 67, 75, .38); transition: width .35s ease; }
.battlepass-claim { width: 100%; min-height: 46px; margin-top: 16px; }
.battlepass-claim:disabled { opacity: .58; cursor: default; box-shadow: none; }
.battlepass-note { min-height: 15px; margin: 9px 1px 0; color: #aaa8b0; font-size: 10px; line-height: 1.45; text-align: center; }
.battlepass-note.is-error { color: #ff959b; }
.battlepass-premium { display: grid; gap: 9px; margin-top: 12px; padding: 16px; border: 1px solid rgba(255, 200, 111, .22); border-radius: 18px; background: radial-gradient(ellipse at 100% 0%, rgba(255, 185, 85, .1), transparent 55%), #1d1d22; }
.battlepass-premium-badge { color: #f4c46d; font-size: 8px; font-weight: 900; letter-spacing: .16em; }
.battlepass-premium h2 { margin: 0; font-size: 16px; }
.battlepass-premium p { margin: 0; color: #aaa8b0; font-size: 10px; line-height: 1.5; }
.battlepass-buy { min-height: 43px; margin-top: 3px; border: 1px solid rgba(245, 194, 104, .28); border-radius: 12px; background: linear-gradient(105deg, #62431f, #8a5d25); color: #fff5dc; font-size: 11px; font-weight: 800; cursor: pointer; }
.battlepass-buy:disabled { opacity: .58; cursor: wait; }
.battlepass-premium-active { margin-top: 12px; padding: 13px 14px; border: 1px solid rgba(255, 197, 102, .2); border-radius: 14px; background: rgba(255, 190, 80, .07); color: #f2d394; font-size: 10px; line-height: 1.5; }
.battlepass-rules { margin: 11px 2px 22px; color: #898a94; font-size: 9px; line-height: 1.55; }
.battlepass-days-heading { display: flex; align-items: end; justify-content: space-between; gap: 8px; margin: 0 1px 11px; }
.battlepass-days-heading .eyebrow { margin-bottom: 4px; font-size: 8px; }
.battlepass-days-heading h2 { margin: 0; font-size: 17px; }
.battlepass-sunday-key { padding: 6px 8px; border: 1px solid rgba(255, 182, 94, .17); border-radius: 9px; background: rgba(255, 182, 94, .06); color: #e9bc79; font-size: 8px; white-space: nowrap; }
.battlepass-days { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.battlepass-day { position: relative; display: grid; min-width: 0; align-content: start; gap: 9px; overflow: hidden; padding: 11px 10px; border: 1px solid rgba(255, 255, 255, .075); border-radius: 14px; background: linear-gradient(145deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .016)); }
.battlepass-day.is-active { border-color: rgba(255, 84, 95, .54); background: linear-gradient(145deg, rgba(255, 54, 68, .13), rgba(255, 255, 255, .02)); box-shadow: inset 0 0 18px rgba(255, 48, 61, .055); }
.battlepass-day.is-claimed { border-color: rgba(104, 204, 154, .2); background: linear-gradient(145deg, rgba(72, 167, 120, .07), rgba(255, 255, 255, .016)); }
.battlepass-day-head { display: flex; min-width: 0; justify-content: space-between; align-items: center; gap: 4px; color: #b7b5bd; font-size: 8px; letter-spacing: .07em; }
.battlepass-day-head strong { font-size: 8px; }
.battlepass-day-bonus { color: #efc47d; font-size: 8px; white-space: nowrap; }
.battlepass-track-reward { display: flex; min-width: 0; justify-content: space-between; align-items: baseline; gap: 4px; color: #94939c; font-size: 8px; }
.battlepass-track-reward b { color: #f0eff1; font-size: 10px; white-space: nowrap; }
.battlepass-track-reward.premium-reward { padding-top: 7px; border-top: 1px solid rgba(255, 255, 255, .06); color: #c6a76b; }
.battlepass-track-reward.premium-reward b { color: #f1cd83; }
.battlepass-claimed-mark { position: absolute; top: 7px; right: 7px; color: #83d9a7; font-size: 7px; font-weight: 900; letter-spacing: .06em; }

@media (max-width: 360px) {
    .battlepass-hero { padding: 19px 14px 15px; }
    .battlepass-days { gap: 6px; }
    .battlepass-day { padding: 10px 8px; }
    .battlepass-track-reward { font-size: 7px; }
    .battlepass-track-reward b { font-size: 9px; }
}

@media (min-width: 600px) {
    .app-shell { padding-right: 26px; padding-left: 26px; }
    .hero-card { min-height: 270px; padding: 31px 27px; }
    .target-art { right: 0; transform: scale(1.1); }
    .cases-banner { min-height: 260px; }
}

@media (max-width: 360px) {
    .app-shell { padding-right: 15px; padding-left: 15px; }
    .case-card { padding: 14px; }
    .case-guarantees { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* SNIPER field-console visual pass */
:root {
    --accent: #ff3348;
    --accent-light: #ff6877;
    --case-red: #ff3b50;
    --case-hot: #ff6b58;
    --glass: rgba(18, 18, 23, .84);
}

body {
    position: relative;
    overflow-x: hidden;
    background:
        radial-gradient(ellipse at 83% 7%, rgba(255, 44, 64, .14), transparent 27rem),
        radial-gradient(ellipse at 0% 54%, rgba(122, 17, 35, .09), transparent 31rem),
        #0e0e12;
}
body::before {
    position: fixed;
    z-index: 0;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
    background-size: 38px 38px;
    content: "";
    mask-image: linear-gradient(180deg, black, transparent 82%);
    pointer-events: none;
}
.app-shell { position: relative; z-index: 1; width: min(100%, 600px); padding-right: clamp(15px, 4vw, 26px); padding-left: clamp(15px, 4vw, 26px); }
.topbar { margin-bottom: 23px; }
.topbar-label { display: inline-flex; align-items: center; gap: 7px; padding: 7px 9px; border: 1px solid rgba(255, 66, 83, .2); border-radius: 999px; background: rgba(255, 56, 73, .06); color: #c6aeb2; font-size: 8px; letter-spacing: .14em; }
.topbar-signal { width: 6px; height: 6px; border-radius: 50%; background: #ff4357; box-shadow: 0 0 0 4px rgba(255, 67, 87, .12), 0 0 12px #ff354c; animation: signal-pulse 2s ease-in-out infinite; }
.brand-mark { border-color: rgba(255, 68, 86, .88); background: rgba(255, 48, 68, .055); }
.welcome-line { margin-bottom: 15px; }
.welcome-line .eyebrow { font-size: 8px; }
.avatar { position: relative; overflow: hidden; border-color: rgba(255, 71, 88, .27); background: linear-gradient(145deg, #321d23, #17171d); box-shadow: 0 8px 22px rgba(0,0,0,.2), inset 0 0 18px rgba(255,51,72,.08); }
.avatar::after { position: absolute; width: 29px; height: 29px; border: 1px solid rgba(255, 104, 119, .35); border-radius: 50%; content: ""; box-shadow: 0 0 0 6px rgba(255, 66, 83, .045); }

.hero-card {
    min-height: 275px;
    padding: 25px 20px 21px;
    border-color: rgba(255, 67, 82, .32);
    border-radius: 25px;
    background: linear-gradient(118deg, rgba(50, 20, 28, .98) 0%, rgba(28, 20, 26, .98) 48%, rgba(17, 18, 23, .99) 100%);
    box-shadow: 0 22px 55px rgba(0,0,0,.32), inset 0 1px rgba(255,255,255,.045), 0 0 36px rgba(224, 30, 52, .07);
}
.hero-card::before { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: repeating-linear-gradient(135deg, transparent 0 18px, rgba(255,255,255,.014) 19px, transparent 20px 39px); content: ""; pointer-events: none; }
.hero-card::after { position: absolute; right: 17px; bottom: 18px; width: 42px; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,99,114,.8)); content: ""; }
.hero-glow { top: -97px; right: -76px; width: 330px; height: 330px; background: radial-gradient(circle, rgba(255, 46, 66, .27), rgba(255, 59, 69, 0) 70%); animation: hero-breathe 5.8s ease-in-out infinite; }
.hero-content { max-width: min(76%, 335px); }
.hero-kicker { margin-bottom: 18px; font-size: 8px; letter-spacing: .13em; }
.live-dot { box-shadow: 0 0 0 4px rgba(255,59,69,.11), 0 0 15px rgba(255,59,69,.9); }
.hero-card h2 { font-size: clamp(29px, 8vw, 39px); line-height: .99; }
.hero-card h2 span { color: #ff5368; text-shadow: 0 0 25px rgba(255, 57, 78, .18); }
.hero-card p { max-width: 265px; font-size: 11px; }
.hero-card .primary-button { min-height: 45px; gap: 24px; padding-inline: 17px; border: 1px solid rgba(255, 255, 255, .18); box-shadow: 0 8px 24px rgba(255, 41, 53, .28), inset 0 1px rgba(255,255,255,.15); }
.target-art { top: 42px; right: -25px; opacity: .94; animation: target-hover 6s ease-in-out infinite; }
.target-ring { border-color: rgba(255, 96, 110, .26); box-shadow: 0 0 20px rgba(255, 39, 61, .05); }
.ring-one { animation: target-breathe 5s ease-in-out infinite; }
.ring-two { animation: target-breathe 5s ease-in-out infinite reverse; }
.ring-three { border-color: rgba(255, 102, 115, .62); }
.target-center { box-shadow: 0 0 29px 9px rgba(255, 49, 70, .48); animation: target-lock 2.4s ease-in-out infinite; }
.target-line { background: linear-gradient(90deg, transparent, rgba(255, 101, 115, .48), transparent); }
.hero-index { right: 20px; bottom: 21px; color: rgba(255,255,255,.3); font-size: 8px; letter-spacing: .24em; }
.home-intel { display: flex; align-items: center; gap: 12px; margin: 10px 3px 0; padding: 10px 12px; border: 1px solid rgba(255, 255, 255, .055); border-radius: 14px; background: linear-gradient(100deg, rgba(255, 255, 255, .035), rgba(255, 48, 67, .035)); }
.home-intel > div { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 0 8px; }
.home-intel strong { grid-row: span 2; color: #ff596b; font-size: 18px; letter-spacing: -.04em; }
.home-intel span:not(.home-intel-divider):not(.home-intel-mark) { color: #aaa7b0; font-size: 8px; line-height: 1.3; }
.home-intel-divider { width: 1px; height: 25px; background: rgba(255,255,255,.1); }
.home-intel-mark { margin-left: auto; color: rgba(255, 89, 107, .6); font-size: 21px; animation: mark-rotate 14s linear infinite; }
.section-heading { margin-top: 24px; }
.section-card { position: relative; overflow: hidden; min-height: 72px; border-color: rgba(255, 255, 255, .075); background: linear-gradient(105deg, rgba(31, 31, 38, .93), rgba(22, 22, 28, .87)); box-shadow: inset 0 1px rgba(255,255,255,.025); }
.section-card::after { position: absolute; top: -80%; left: -55%; width: 36%; height: 250%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.075), transparent); content: ""; transform: rotate(18deg); transition: left .55s ease; pointer-events: none; }
.section-card:hover::after { left: 120%; }
.section-card:hover { border-color: rgba(255, 83, 101, .3); transform: translateY(-2px); }
.section-icon { border-color: rgba(255, 61, 81, .28); background: linear-gradient(145deg, rgba(255, 52, 72, .16), rgba(255, 52, 72, .035)); }
.footer-note { letter-spacing: .02em; }

.page-heading { margin-bottom: 16px; }
.back-button { border-color: rgba(255,255,255,.09); background: linear-gradient(145deg, #242127, #17171d); transition: border-color .18s ease, transform .18s ease; }
.back-button:hover { border-color: rgba(255, 78, 94, .42); transform: translateX(-2px); }
.arsenal-banner { position: relative; display: flex; min-height: 171px; align-items: center; overflow: hidden; margin-bottom: 13px; padding: 18px 16px; border: 1px solid rgba(255, 64, 83, .28); border-radius: 21px; background: radial-gradient(ellipse at 85% 54%, rgba(255, 43, 64, .19), transparent 35%), linear-gradient(125deg, #29191f, #17171e 67%, #111217); box-shadow: 0 16px 35px rgba(0,0,0,.2); }
.arsenal-banner::before { position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent 0 17px, rgba(255,255,255,.02) 18px), repeating-linear-gradient(90deg, transparent 0 17px, rgba(255,255,255,.02) 18px); content: ""; mask-image: linear-gradient(90deg, transparent, black); }
.arsenal-banner-copy { position: relative; z-index: 2; max-width: 65%; }
.arsenal-banner-copy .eyebrow { margin-bottom: 9px; font-size: 7px; }
.arsenal-banner-copy h2 { margin: 0 0 8px; font-size: clamp(20px, 5.6vw, 27px); line-height: 1.08; letter-spacing: -.045em; }
.arsenal-banner-copy h2 span { color: #ff596c; }
.arsenal-banner-copy p { max-width: 265px; margin: 0; color: #aaa6af; font-size: 9px; line-height: 1.45; }
.arsenal-radar { position: absolute; top: 50%; right: 5%; width: clamp(112px, 35vw, 164px); aspect-ratio: 1; overflow: hidden; border: 1px solid rgba(255,82,100,.16); border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 16px, rgba(255,87,101,.12) 17px, transparent 18px 33px); transform: translateY(-50%); }
.radar-ring { position: absolute; inset: 16%; border: 1px solid rgba(255,88,102,.19); border-radius: 50%; }
.radar-ring-two { inset: 34%; }
.radar-cross { position: absolute; top: 50%; left: 8%; width: 84%; height: 1px; background: rgba(255,86,101,.2); transform: rotate(-28deg); }
.radar-sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 280deg, rgba(255, 55, 75, .02) 300deg, rgba(255, 55, 75, .29) 360deg); animation: radar-turn 8s linear infinite; }
.radar-dot { position: absolute; top: 32%; left: 63%; width: 5px; height: 5px; border-radius: 50%; background: #ff586d; box-shadow: 0 0 12px 4px rgba(255,50,73,.55); animation: target-lock 1.8s ease-in-out infinite; }
.arsenal-coordinate { position: absolute; right: 11px; bottom: 8px; color: rgba(255, 162, 170, .42); font-size: 6px; letter-spacing: .15em; }

.case-list { gap: 11px; }
.catalog-card {
    --case-accent: #ff4358;
    position: relative;
    display: grid;
    grid-template-columns: clamp(84px, 32%, 136px) minmax(0, 1fr);
    align-items: stretch;
    gap: 0 13px;
    min-height: 174px;
    overflow: hidden;
    padding: 11px;
    border: 1px solid rgba(255, 75, 91, .2);
    border-radius: 20px;
    background: linear-gradient(115deg, rgba(35, 23, 29, .98), rgba(21, 21, 27, .97) 65%);
    box-shadow: 0 13px 28px rgba(0,0,0,.25), inset 0 1px rgba(255,255,255,.035);
    transition: transform .24s cubic-bezier(.2,.8,.2,1), border-color .24s ease, box-shadow .24s ease;
    animation: case-card-in .45s both cubic-bezier(.2,.7,.2,1);
}
.catalog-card:nth-child(2) { animation-delay: .08s; }
.catalog-card:nth-child(3) { animation-delay: .16s; }
.catalog-card.case-tier-two { --case-accent: #ff765a; border-color: rgba(255, 107, 82, .26); background: linear-gradient(115deg, rgba(39, 24, 28, .98), rgba(21, 21, 27, .97) 65%); }
.catalog-card.case-tier-three { --case-accent: #ff2849; border-color: rgba(255, 53, 75, .34); background: linear-gradient(115deg, rgba(47, 19, 28, .98), rgba(21, 20, 27, .98) 67%); }
.catalog-card:hover { border-color: color-mix(in srgb, var(--case-accent) 62%, transparent); box-shadow: 0 17px 34px rgba(0,0,0,.3), 0 0 24px color-mix(in srgb, var(--case-accent) 12%, transparent); transform: translateY(-3px); }
.catalog-card:active { transform: scale(.985); }
.catalog-card:focus-visible { outline: 2px solid var(--case-accent); outline-offset: 3px; }
.catalog-card::before { position: absolute; z-index: 2; inset: 0; border-radius: inherit; background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.06) 42%, transparent 62%); content: ""; opacity: 0; transform: translateX(-100%); pointer-events: none; }
.catalog-card:hover::before { opacity: 1; transform: translateX(100%); transition: transform .7s ease, opacity .18s ease; }
.catalog-info { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; padding: 3px 2px 2px 0; text-align: left; }
.catalog-meta { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 5px; }
.case-tier-tag { overflow: hidden; color: var(--case-accent); font-size: 7px; font-weight: 900; letter-spacing: .11em; text-overflow: ellipsis; white-space: nowrap; }
.case-price-chip { flex: 0 0 auto; padding: 5px 7px; border: 1px solid color-mix(in srgb, var(--case-accent) 28%, transparent); border-radius: 8px; background: color-mix(in srgb, var(--case-accent) 9%, transparent); color: #fff; font-size: 9px; font-weight: 850; white-space: nowrap; }
.catalog-title { margin-top: 12px; font-size: 19px; font-weight: 850; letter-spacing: -.045em; }
.catalog-reward-label { margin-top: 8px; color: #87848d; font-size: 6px; font-weight: 850; letter-spacing: .16em; }
.catalog-main { margin-top: 2px; color: #fff; font-size: 15px; font-weight: 820; letter-spacing: -.025em; }
.catalog-perks { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 7px; margin-top: 7px; color: #a9a5ae; font-size: 8px; }
.catalog-perks i { width: 3px; height: 3px; border-radius: 50%; background: rgba(255,255,255,.32); }
.catalog-open { width: 100%; align-items: center; margin-top: auto; padding-top: 8px; color: var(--case-accent); font-size: 9px; }
.catalog-open b { display: grid; width: 21px; height: 21px; place-items: center; border: 1px solid color-mix(in srgb, var(--case-accent) 30%, transparent); border-radius: 50%; background: color-mix(in srgb, var(--case-accent) 8%, transparent); font-size: 11px; transition: transform .2s ease; }
.catalog-card:hover .catalog-open b { transform: rotate(45deg); }

.case-art {
    --art-accent: #ff4358;
    position: relative;
    display: block;
    min-width: 0;
    min-height: 151px;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--art-accent) 25%, transparent);
    border-radius: 15px;
    background: radial-gradient(circle at 50% 55%, color-mix(in srgb, var(--art-accent) 23%, transparent), transparent 49%), linear-gradient(145deg, #301c24, #15151b 76%);
    isolation: isolate;
}
.case-art-tier-2 { --art-accent: #ff765a; }
.case-art-tier-3 { --art-accent: #ff2949; }
.case-art-grid { position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 17px 17px; mask-image: linear-gradient(145deg, black, transparent 90%); }
.case-art-glow { position: absolute; top: 35%; left: 50%; width: 90%; aspect-ratio: 1; border-radius: 50%; background: color-mix(in srgb, var(--art-accent) 35%, transparent); filter: blur(27px); transform: translate(-50%,-50%); animation: art-glow 4.2s ease-in-out infinite; }
.case-art-reticle { position: absolute; top: 44%; left: 50%; width: 70px; height: 70px; border: 1px solid color-mix(in srgb, var(--art-accent) 46%, transparent); border-radius: 50%; box-shadow: 0 0 0 11px rgba(255,255,255,.018), 0 0 0 22px rgba(255,255,255,.012); transform: translate(-50%,-50%); animation: reticle-breathe 4s ease-in-out infinite; }
.case-art-reticle::before, .case-art-reticle::after { position: absolute; top: 50%; left: 50%; background: color-mix(in srgb, var(--art-accent) 52%, transparent); content: ""; }
.case-art-reticle::before { width: 96px; height: 1px; transform: translate(-50%,-50%); }
.case-art-reticle::after { width: 1px; height: 96px; transform: translate(-50%,-50%); }
.case-art-reticle i { position: absolute; z-index: 1; top: 50%; left: 50%; width: 7px; height: 7px; border: 1px solid #fff; border-radius: 50%; background: var(--art-accent); box-shadow: 0 0 12px var(--art-accent); transform: translate(-50%,-50%); }
.case-art-reticle b { position: absolute; top: -4px; right: 5px; width: 5px; height: 5px; border-radius: 50%; background: #fff; box-shadow: 0 0 9px var(--art-accent); }
.case-art-sparks { position: absolute; inset: 0; }
.case-art-sparks i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #ffd9dc; box-shadow: 0 0 8px var(--art-accent); animation: spark-drift 3.4s ease-in-out infinite; }
.case-art-sparks i:nth-child(1) { top: 23%; left: 19%; }
.case-art-sparks i:nth-child(2) { top: 68%; left: 23%; animation-delay: -.8s; }
.case-art-sparks i:nth-child(3) { top: 22%; right: 18%; animation-delay: -1.5s; }
.case-art-sparks i:nth-child(4) { right: 23%; bottom: 18%; animation-delay: -2.2s; }
.case-crate-art { position: absolute; top: 51%; left: 50%; width: 70px; height: 62px; border: 1px solid color-mix(in srgb, var(--art-accent) 72%, #fff); border-radius: 8px 8px 12px 12px; background: linear-gradient(145deg, #65303a 0%, #39232b 48%, #201b22 100%); box-shadow: 0 15px 24px rgba(0,0,0,.5), inset 0 1px rgba(255,255,255,.27), inset 0 -8px 15px color-mix(in srgb, var(--art-accent) 14%, transparent); transform: translate(-50%,-33%) perspective(250px) rotateX(-11deg) rotateY(-17deg) rotateZ(-7deg); animation: crate-float 4.4s ease-in-out infinite; }
.crate-art-lid { position: absolute; top: -11px; left: -4px; width: calc(100% + 8px); height: 14px; border: 1px solid color-mix(in srgb, var(--art-accent) 70%, #fff); border-radius: 6px 6px 3px 3px; background: linear-gradient(90deg, #7a3b46, #4a2832); transform: skewY(-7deg); }
.crate-art-band { position: absolute; top: 0; bottom: 0; left: 13px; width: 9px; border-right: 1px solid rgba(255,200,203,.3); border-left: 1px solid rgba(255,200,203,.25); background: color-mix(in srgb, var(--art-accent) 17%, transparent); }
.crate-art-seal { position: absolute; z-index: 1; top: 17px; left: 50%; display: grid; width: 20px; height: 20px; place-items: center; border: 1px solid rgba(255,213,216,.65); border-radius: 6px; background: linear-gradient(145deg, var(--art-accent), #7d2434); color: #fff; font-size: 8px; font-style: normal; font-weight: 950; box-shadow: 0 0 15px color-mix(in srgb, var(--art-accent) 48%, transparent); transform: translateX(-50%); }
.crate-art-rivet { position: absolute; top: 8px; right: 8px; width: 3px; height: 3px; border-radius: 50%; background: #ffc1c6; box-shadow: 0 0 5px #ff5368; }
.case-art-stamp { position: absolute; right: 7px; bottom: 6px; color: color-mix(in srgb, var(--art-accent) 62%, #fff); font-size: 6px; font-weight: 900; letter-spacing: .18em; opacity: .8; }
.catalog-card:hover .case-crate-art { animation-duration: 1.2s; }
.catalog-card:hover .case-art-reticle { transform: translate(-50%,-50%) scale(1.08); }
.case-art-detail { min-height: 164px; height: 100%; border-radius: 16px; }

.detail-hero {
    display: grid;
    grid-template-columns: minmax(95px, 34%) minmax(0, 1fr);
    align-items: center;
    gap: 13px;
    overflow: hidden;
    padding: 13px;
    border-color: rgba(255, 71, 88, .3);
    background: radial-gradient(ellipse at 0% 100%, rgba(255, 46, 67, .11), transparent 56%), linear-gradient(125deg, #281a21, #16161d 72%);
    box-shadow: inset 0 1px rgba(255,255,255,.04), 0 15px 34px rgba(0,0,0,.22);
}
.detail-hero .case-art { grid-row: span 1; }
.detail-hero-copy { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; }
.detail-hero-copy .eyebrow { margin-bottom: 8px; font-size: 7px; }
.detail-hero-copy > strong { font-size: 23px; font-weight: 850; letter-spacing: -.05em; }
.detail-guaranteed-label { margin-top: 11px; color: #96919b; font-size: 6px; font-weight: 850; letter-spacing: .1em; }
.detail-coin-range { margin-top: 3px; color: #fff; font-size: clamp(15px, 4vw, 21px); font-weight: 850; letter-spacing: -.04em; white-space: nowrap; }
.detail-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 9px; margin-top: 9px; color: #ff7784; font-size: 15px; }
.detail-price small { display: inline; margin: 0; color: #b8b1ba; font-size: 9px; }
.detail-block { margin-top: 18px; }
.detail-block h2 { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.detail-block h2::before { width: 3px; height: 13px; border-radius: 3px; background: #ff4056; box-shadow: 0 0 8px rgba(255,57,78,.45); content: ""; }
.reward-grid { gap: 7px; }
.reward-tile { min-height: 82px; border-color: rgba(255,255,255,.065); border-radius: 13px; background: linear-gradient(145deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); transition: transform .18s ease, border-color .18s ease; }
.reward-tile:hover { border-color: rgba(255, 72, 90, .3); transform: translateY(-2px); }
.reward-symbol { filter: drop-shadow(0 0 9px rgba(255, 64, 82, .19)); }
.bonus-tile { border-color: rgba(255, 87, 101, .12); background: linear-gradient(145deg, rgba(255,64,83,.08), rgba(255,255,255,.016)); }
.payment-panel { position: relative; overflow: hidden; gap: 10px; margin-top: 19px; padding: 17px; border-color: rgba(255, 66, 83, .25); border-radius: 19px; background: linear-gradient(140deg, rgba(34,24,30,.97), rgba(20,20,26,.97)); box-shadow: 0 14px 32px rgba(0,0,0,.2); }
.payment-panel::before { position: absolute; top: 0; right: 16px; left: 16px; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,86,102,.62), transparent); content: ""; }
.payment-panel h2 { font-size: 16px; }
.payment-panel .primary-button { min-height: 46px; border: 1px solid rgba(255,255,255,.15); box-shadow: 0 9px 25px rgba(255, 38, 58, .23), inset 0 1px rgba(255,255,255,.12); }
.payment-panel .secondary-button { min-height: 44px; border-color: rgba(255,255,255,.09); background: rgba(255,255,255,.035); }
.payment-panel .secondary-button:hover { border-color: rgba(255,89,105,.28); background: rgba(255,255,255,.055); }
.voucher-panel { padding-top: 13px; }
.voucher-form input { border-color: rgba(255,255,255,.1); background: rgba(0,0,0,.2); }

.reveal-overlay { border-color: rgba(255, 73, 91, .52); background: linear-gradient(145deg, #211920, #111218 72%); box-shadow: 0 28px 90px rgba(0,0,0,.68), 0 0 50px rgba(255, 35, 58, .16); }
.reveal-overlay::backdrop { background: rgba(5,5,8,.9); backdrop-filter: blur(13px) saturate(.8); }
.reveal-card { position: relative; overflow: hidden; padding: 18px 17px 20px; background: radial-gradient(ellipse at 50% 0%, rgba(255, 48, 69, .2), transparent 56%); }
.reveal-card::before { position: absolute; top: 0; right: 0; left: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,122,133,.75), transparent); content: ""; }
.reveal-topline { display: flex; align-items: center; justify-content: space-between; margin-bottom: 7px; }
.reveal-topline .eyebrow { margin: 0; font-size: 7px; }
.reveal-live { display: inline-flex; align-items: center; gap: 5px; color: #ff7d89; font-size: 7px; font-weight: 900; letter-spacing: .13em; }
.reveal-live i { width: 5px; height: 5px; border-radius: 50%; background: #ff425a; box-shadow: 0 0 9px #ff425a; animation: signal-pulse 1.5s infinite; }
.reveal-card h2 { margin-bottom: 13px; font-size: clamp(19px, 5.7vw, 23px); }
.reveal-console { position: relative; display: grid; gap: 9px; overflow: hidden; padding: 13px 10px 9px; border: 1px solid rgba(255, 73, 90, .22); border-radius: 17px; background: radial-gradient(ellipse at 50% 50%, rgba(255,44,65,.09), transparent 56%), linear-gradient(135deg, rgba(255,255,255,.035), rgba(255,255,255,.008)); isolation: isolate; }
.reveal-console::before { position: absolute; z-index: -1; inset: 0; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 20px 20px; content: ""; mask-image: radial-gradient(ellipse, black, transparent 84%); }
.reveal-target { position: absolute; z-index: 0; top: 50%; left: 50%; width: 100px; aspect-ratio: 1; border: 1px solid rgba(255, 76, 93, .18); border-radius: 50%; box-shadow: 0 0 0 14px rgba(255,255,255,.012), 0 0 0 29px rgba(255,255,255,.008); transform: translate(-50%,-50%); }
.reveal-target::before, .reveal-target::after { position: absolute; top: 50%; left: 50%; background: rgba(255,81,98,.25); content: ""; }
.reveal-target::before { width: 135px; height: 1px; transform: translate(-50%,-50%); }
.reveal-target::after { width: 1px; height: 135px; transform: translate(-50%,-50%); }
.reveal-target span { position: absolute; top: 50%; left: 50%; width: 9px; height: 9px; border: 1px solid #ffb7be; border-radius: 50%; background: #ff4158; box-shadow: 0 0 17px 5px rgba(255,42,65,.54); transform: translate(-50%,-50%); }
.reveal-scanline { position: absolute; z-index: 4; top: -5px; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, transparent, rgba(255, 81, 101, .76), transparent); opacity: 0; filter: blur(1px); pointer-events: none; }
.is-loading .reveal-scanline, .is-spinning .reveal-scanline { opacity: .8; animation: scan-sweep 2.1s ease-in-out infinite; }
.reveal-lane { position: relative; z-index: 1; }
.reveal-lane-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 2px 5px; color: #d9d3db; font-size: 7px; font-weight: 900; letter-spacing: .09em; }
.reveal-lane-label b { color: #ff7783; font-size: 6px; letter-spacing: .06em; }
.reveal-window { position: relative; height: 78px; margin: 0; border-color: rgba(255,255,255,.1); border-radius: 12px; background: linear-gradient(180deg, rgba(8,8,12,.92), rgba(33,21,27,.96) 50%, rgba(8,8,12,.92)); box-shadow: inset 0 0 18px rgba(0,0,0,.58); }
.reveal-window::after { z-index: 2; background: linear-gradient(90deg, #17151b, transparent 19% 81%, #17151b), linear-gradient(180deg, rgba(0,0,0,.4), transparent 24% 76%, rgba(0,0,0,.4)); }
.reveal-track { position: relative; z-index: 1; gap: 7px; height: 100%; padding: 0 8px; }
.is-spinning .reveal-track { animation: none; will-change: transform; }
.reel-item { display: grid; width: 93px; height: 60px; flex: 0 0 93px; align-content: center; justify-items: center; gap: 3px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; background: linear-gradient(145deg, #2b252c, #17171e); color: #f3edf0; box-shadow: inset 0 1px rgba(255,255,255,.04), 0 4px 9px rgba(0,0,0,.24); }
.reel-item-symbol { color: #ff7d88; font-size: 14px; font-style: normal; line-height: 1; filter: drop-shadow(0 0 6px rgba(255,64,83,.35)); }
.reel-item b { max-width: 86px; overflow: hidden; color: #efebee; font-size: 8px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.reel-item-bonus { border-color: rgba(255, 83, 100, .16); background: linear-gradient(145deg, rgba(74,35,46,.85), rgba(24,21,28,.96)); }
.reel-item.is-winner { border-color: rgba(255, 133, 143, .62); box-shadow: inset 0 0 16px rgba(255, 61, 80, .14), 0 0 13px rgba(255, 55, 74, .12); }
.reel-item.is-locked { background: linear-gradient(145deg, #5d252f, #28191f); box-shadow: inset 0 0 17px rgba(255, 75, 93, .24), 0 0 16px rgba(255, 49, 69, .18); }
.reel-marker { position: absolute; z-index: 3; top: 3px; bottom: 3px; left: 50%; width: 96px; border: 1px solid rgba(255, 113, 127, .62); border-radius: 8px; background: linear-gradient(180deg, rgba(255, 61, 81, .035), rgba(255, 61, 81, .08)); box-shadow: 0 0 15px rgba(255,40,60,.09), inset 0 0 10px rgba(255,70,88,.05); transform: translateX(-50%); pointer-events: none; }
.reel-marker::before, .reel-marker::after { position: absolute; left: 50%; width: 0; height: 0; border-right: 5px solid transparent; border-left: 5px solid transparent; content: ""; transform: translateX(-50%); }
.reel-marker::before { top: -1px; border-top: 5px solid #ff6274; }
.reel-marker::after { bottom: -1px; border-bottom: 5px solid #ff6274; }
.reveal-console-foot { display: flex; align-items: center; justify-content: space-between; margin: 1px 2px 0; color: #807b85; font-size: 6px; font-weight: 850; letter-spacing: .13em; }
.reveal-console-pips { display: flex; gap: 4px; }
.reveal-console-pips i { width: 4px; height: 4px; border-radius: 50%; background: #532a33; }
.is-loading .reveal-console-pips i, .is-spinning .reveal-console-pips i { background: #ff475e; box-shadow: 0 0 7px rgba(255,63,83,.75); animation: pip-blink .9s ease-in-out infinite alternate; }
.reveal-console-pips i:nth-child(2) { animation-delay: .18s; }
.reveal-console-pips i:nth-child(3) { animation-delay: .36s; }
.is-won .reveal-console { border-color: rgba(255,100,114,.4); box-shadow: inset 0 0 25px rgba(255,40,62,.07), 0 0 22px rgba(255,45,65,.1); }
.reveal-console.is-confirmation .reveal-lane { display: none; }
.reveal-console.is-confirmation .reveal-target { width: 116px; border-color: rgba(255, 86, 103, .58); animation: confirm-target .8s cubic-bezier(.16,1,.3,1) both; }
.reveal-console.is-confirmation .reveal-target span { width: 16px; height: 16px; animation: confirm-hit .5s .2s cubic-bezier(.16,1,.3,1) both; }
.reveal-console.is-confirmation .reveal-console-foot { padding-top: 61px; color: #ff9aa4; }
.reveal-status { min-height: 17px; padding-top: 11px; color: #c8bfc8; font-size: 10px; }
.reveal-result { border-color: rgba(255, 74, 91, .17); background: rgba(7,7,11,.48); }
.reveal-close { min-height: 44px; margin-top: 13px; }

@keyframes signal-pulse { 50% { opacity: .55; box-shadow: 0 0 0 6px rgba(255, 67, 87, .06), 0 0 7px #ff354c; } }
@keyframes hero-breathe { 50% { opacity: .62; transform: scale(.9); } }
@keyframes target-hover { 50% { transform: translateY(-5px) rotate(1deg); } }
@keyframes target-breathe { 50% { opacity: .5; } }
@keyframes target-lock { 50% { opacity: .55; transform: translate(-50%,-50%) scale(.72); } }
@keyframes mark-rotate { to { transform: rotate(360deg); } }
@keyframes radar-turn { to { transform: rotate(360deg); } }
@keyframes case-card-in { from { opacity: 0; transform: translateY(12px) scale(.99); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes art-glow { 50% { opacity: .58; transform: translate(-50%,-50%) scale(.8); } }
@keyframes reticle-breathe { 50% { box-shadow: 0 0 0 14px rgba(255,255,255,.025), 0 0 0 28px rgba(255,255,255,.016); } }
@keyframes crate-float { 50% { margin-top: -5px; } }
@keyframes spark-drift { 50% { opacity: .35; transform: translateY(-7px) scale(.7); } }
@keyframes scan-sweep { 0% { transform: translateY(0); } 90%, 100% { transform: translateY(250px); } }
@keyframes pip-blink { to { opacity: .35; } }
@keyframes confirm-target { from { opacity: .25; transform: translate(-50%,-50%) scale(.55); } to { opacity: 1; transform: translate(-50%,-50%) scale(1); } }
@keyframes confirm-hit { from { opacity: .3; box-shadow: 0 0 0 0 rgba(255,50,70,.7); } to { opacity: 1; box-shadow: 0 0 0 18px rgba(255,50,70,0); } }

@media (max-width: 380px) {
    .hero-card { min-height: 258px; padding: 21px 15px 18px; }
    .hero-content { max-width: 78%; }
    .hero-kicker { max-width: 210px; font-size: 7px; }
    .target-art { right: -56px; opacity: .76; }
    .catalog-card { grid-template-columns: 84px minmax(0, 1fr); gap: 0 10px; min-height: 156px; padding: 9px; }
    .case-art { min-height: 136px; }
    .case-art-reticle { width: 56px; height: 56px; }
    .case-crate-art { transform: translate(-50%,-33%) perspective(250px) rotateX(-11deg) rotateY(-17deg) rotateZ(-7deg) scale(.85); }
    .catalog-title { margin-top: 9px; font-size: 17px; }
    .catalog-main { font-size: 14px; }
    .catalog-perks { gap: 4px; font-size: 7px; }
    .detail-hero { grid-template-columns: 88px minmax(0, 1fr); gap: 9px; padding: 10px; }
    .detail-hero .case-art { min-height: 145px; }
    .detail-hero-copy > strong { font-size: 20px; }
    .detail-coin-range { font-size: 14px; }
    .detail-price { font-size: 13px; }
    .detail-price small { font-size: 8px; }
    .reveal-card { padding: 17px 12px 15px; }
    .reveal-console { padding: 11px 7px 8px; }
    .reel-item { width: 82px; flex-basis: 82px; }
    .reel-marker { width: 85px; }
}

@media (min-width: 600px) {
    .hero-card { min-height: 295px; }
    .catalog-card { grid-template-columns: 144px minmax(0, 1fr); min-height: 190px; padding: 13px; }
    .case-art { min-height: 162px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}
