/* ===== Адвент-календарь Hunter Money ===== */
.hadv,
.hadvPromo,
.hadvModal {
    --hadv-card: rgba(39, 44, 48, 0.86);
    --hadv-card-2: rgba(30, 35, 38, 0.9);
    --hadv-border: rgba(255, 255, 255, 0.1);
    --hadv-text: #fff;
    --hadv-muted: rgba(230, 236, 232, 0.62);
    --hadv-gold: #FFDA75;
    --hadv-amber: #FFA935;
    --hadv-green: #87997E;
    --hadv-green-2: #B9CCAE;
    --hadv-red: #E8697A;
}

.hadv {
    padding: 34px 0 60px;
    color: var(--hadv-text);
}

/* ---------- иконки ---------- */
.hadvI {
    display: block;
    width: 1em;
    height: 1em;
    flex: none;
}

.hadvKicker {
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
}

.hadvKicker .hadvI {
    width: 15px;
    height: 15px;
}

.hadv .hadvInfoCol h3 {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hadv .hadvInfoCol h3 .hadvI {
    width: 34px;
    height: 34px;
    padding: 7px;
    border-radius: 10px;
    background: rgba(255, 218, 117, 0.12);
    color: var(--hadv-gold);
    box-sizing: border-box;
}

/* ---------- шапка страницы ---------- */
.hadvHero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 22px;
    align-items: stretch;
}

.hadvHeroMain,
.hadvWallet,
.hadvInfoCol,
.hadvNotice {
    border: 1px solid var(--hadv-border);
    border-radius: 20px;
    background: var(--hadv-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hadvHeroMain {
    position: relative;
    overflow: hidden;
    padding: 30px 32px;
}

.hadvHeroMain::after {
    content: "";
    position: absolute;
    right: -120px;
    top: -140px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 218, 117, 0.18), rgba(255, 218, 117, 0) 68%);
    pointer-events: none;
}

.hadvKicker {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 30px;
    border: 1px solid rgba(255, 218, 117, 0.45);
    background: rgba(255, 218, 117, 0.1);
    color: var(--hadv-gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hadv .hadvTitle {
    margin: 16px 0 10px;
    font-size: 42px;
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
}

.hadvLead {
    max-width: 640px;
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--hadv-muted);
}

.hadvLead b {
    color: var(--hadv-gold);
}

.hadvDates {
    margin: 0;
    font-size: 13px;
    color: var(--hadv-muted);
}

/* баланс */
.hadvWallet {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 24px;
    background: linear-gradient(160deg, rgba(48, 56, 50, 0.92), rgba(30, 35, 38, 0.92));
}

.hadvWalletLabel {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--hadv-muted);
}

.hadvWalletSum {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--hadv-gold);
    font-variant-numeric: tabular-nums;
}

.hadvProgress {
    height: 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.hadvProgress i {
    display: block;
    height: 100%;
    border-radius: 8px;
    background: linear-gradient(90deg, var(--hadv-green), var(--hadv-gold));
    transition: width 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hadvWalletHint {
    font-size: 13px;
    color: var(--hadv-muted);
}

.hadvWalletStats {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    font-size: 12px;
    color: var(--hadv-muted);
}

.hadvWalletStats b {
    color: #fff;
}

/* кнопки */
.hadvBtnRow {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hadvBtn {
    display: inline-flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 40px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff !important;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.hadvBtn:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.16);
}

.hadvBtn--gold {
    border-color: transparent;
    background: linear-gradient(135deg, #E6B24A, var(--hadv-gold));
    color: #23282B !important;
    box-shadow: 0 8px 22px rgba(255, 218, 117, 0.25);
}

.hadvBtn--gold:hover {
    background: linear-gradient(135deg, #F0C25E, #FFE59A);
}

.hadvBtn--ghost {
    background: transparent;
}

.hadvBtn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.hadvNotice {
    margin-top: 18px;
    padding: 14px 20px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--hadv-muted);
}

.hadvNotice b {
    color: var(--hadv-gold);
}

/* ---------- сетка дней ---------- */
.hadvGrid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.hadvCard {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 170px;
    padding: 14px;
    overflow: hidden;
    border: 1px solid var(--hadv-border);
    border-radius: 18px;
    background: var(--hadv-card);
    color: var(--hadv-text);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    animation: hadvCardIn 0.6s calc(var(--i) * 35ms) cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hadvCard:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.22);
}

.hadvCard:focus-visible {
    outline: 2px solid var(--hadv-gold);
    outline-offset: 2px;
}

.hadvCardNum {
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
}

.hadvCardDate {
    margin-top: 4px;
    font-size: 12px;
    color: var(--hadv-muted);
}

.hadvCardBody {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 10px;
    text-align: center;
}

.hadvCardBody small {
    font-size: 12px;
    color: var(--hadv-muted);
}

.hadvCardIco {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    color: var(--hadv-muted);
}

.hadvCardIco .hadvI {
    width: 20px;
    height: 20px;
}

/* открыт */
.hadvCard.is-opened {
    border-color: rgba(135, 153, 126, 0.55);
    background: linear-gradient(160deg, rgba(135, 153, 126, 0.24), rgba(39, 44, 48, 0.86));
}

.hadvCard.is-opened .hadvCardIco {
    width: 34px;
    height: 34px;
    background: var(--hadv-green);
    color: #fff;
}

.hadvCard.is-opened .hadvCardIco .hadvI {
    width: 18px;
    height: 18px;
    stroke-width: 2.6;
}

.hadvCardSum {
    font-size: 22px;
    font-weight: 800;
    color: var(--hadv-gold);
}

/* пропущен */
.hadvCard.is-missed {
    background: rgba(24, 28, 30, 0.82);
    opacity: 0.55;
    filter: grayscale(0.6);
}

.hadvCard.is-missed .hadvCardIco {
    background: rgba(232, 105, 122, 0.14);
    color: var(--hadv-red);
}

/* будущий */
.hadvCard.is-future {
    background: repeating-linear-gradient(135deg, rgba(39, 44, 48, 0.86) 0 12px, rgba(35, 40, 43, 0.86) 12px 24px);
}

.hadvCard.is-future .hadvCardIco {
    background: rgba(255, 218, 117, 0.1);
    color: rgba(255, 218, 117, 0.85);
}

.hadvCardTimer {
    font-variant-numeric: tabular-nums;
}

/* сегодня */
.hadvCard.is-today {
    border-color: rgba(255, 218, 117, 0.75);
    background: linear-gradient(160deg, rgba(255, 218, 117, 0.22), rgba(255, 169, 53, 0.08) 55%, rgba(39, 44, 48, 0.9));
    box-shadow: 0 0 0 1px rgba(255, 218, 117, 0.3), 0 12px 34px rgba(255, 169, 53, 0.25);
    animation: hadvCardIn 0.6s calc(var(--i) * 35ms) cubic-bezier(0.2, 0.8, 0.2, 1) both,
               hadvGlow 2.4s 1s ease-in-out infinite;
}

.hadvCard.is-today::before {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 50%;
    height: 100%;
    background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
    transform: skewX(-18deg);
    animation: hadvShine 3.2s 1.2s ease-in-out infinite;
    pointer-events: none;
}

.hadvCard.is-today .hadvCardNum {
    color: var(--hadv-gold);
}

.hadvCard.is-today .hadvCardGift {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #E6B24A, var(--hadv-gold));
    color: #23282B;
    box-shadow: 0 6px 20px rgba(255, 169, 53, 0.45);
    animation: hadvWiggle 2.4s 1.4s ease-in-out infinite;
}

.hadvCard.is-today .hadvCardGift .hadvI {
    width: 26px;
    height: 26px;
    stroke-width: 2;
}

.hadvCardOpen {
    padding: 6px 16px;
    border-radius: 30px;
    background: linear-gradient(135deg, #E6B24A, var(--hadv-gold));
    color: #23282B;
    font-size: 13px;
    font-weight: 800;
}

.hadvCard.is-loading {
    pointer-events: none;
}

.hadvCard.is-loading.is-today .hadvCardGift {
    animation: hadvShake 0.4s linear infinite;
}

.hadvCard.is-flip {
    animation: hadvFlip 0.7s ease both;
}

/* ---------- правила и шансы ---------- */
.hadvInfo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-top: 26px;
}

.hadvInfoCol {
    padding: 22px 24px;
}

.hadv .hadvInfoCol h3 {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 800;
    color: #fff;
}

.hadv .hadvInfoCol ol {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: hadvStep;
    font-size: 14px;
    line-height: 1.55;
    color: var(--hadv-muted);
}

.hadv .hadvInfoCol ol li {
    position: relative;
    min-height: 28px;
    margin: 0;
    padding: 3px 0 0 42px;
    counter-increment: hadvStep;
}

.hadv .hadvInfoCol ol li::before {
    content: counter(hadvStep);
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(255, 218, 117, 0.4);
    background: rgba(255, 218, 117, 0.1);
    color: var(--hadv-gold);
    font-size: 13px;
    font-weight: 800;
}

.hadvFine {
    margin: 12px 0 0;
    font-size: 12px;
    color: var(--hadv-muted);
}

.hadvOdds {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hadvOddsRow {
    position: relative;
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 8px 12px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.035);
    transition: background 0.2s ease, transform 0.2s ease;
}

.hadvOddsRow:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateX(2px);
}

.hadvOddsAmt {
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.hadvOddsBar {
    display: block;
    height: 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.07);
    overflow: hidden;
}

.hadvOddsBar i {
    display: block;
    height: 100%;
    border-radius: 8px;
    background: linear-gradient(90deg, #6F8266, var(--hadv-green-2));
}

.hadvOddsPct {
    font-size: 13px;
    font-weight: 700;
    text-align: right;
    color: var(--hadv-muted);
    font-variant-numeric: tabular-nums;
}

/* редкие призы - золотом */
.hadvOddsRow.is-rare .hadvOddsBar i,
.hadvOddsRow.is-jackpot .hadvOddsBar i {
    background: linear-gradient(90deg, #C98A2B, var(--hadv-gold));
}

.hadvOddsRow.is-rare .hadvOddsAmt {
    color: var(--hadv-gold);
}

.hadvOddsRow.is-jackpot {
    margin-top: 6px;
    padding-top: 12px;
    border-color: rgba(255, 218, 117, 0.45);
    background: linear-gradient(100deg, rgba(255, 218, 117, 0.16), rgba(255, 169, 53, 0.04));
}

.hadvOddsRow.is-jackpot .hadvOddsAmt,
.hadvOddsRow.is-jackpot .hadvOddsPct {
    color: var(--hadv-gold);
}

.hadvOddsTag {
    position: absolute;
    top: -9px;
    left: 86px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 20px;
    background: linear-gradient(135deg, #E6B24A, var(--hadv-gold));
    color: #23282B;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hadvOddsTag .hadvI {
    width: 11px;
    height: 11px;
    stroke-width: 2.4;
}

/* ---------- модальные окна ---------- */
.hadvModal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(10, 12, 14, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: hadvFade 0.25s ease both;
}

.hadvModal[hidden] {
    display: none;
}

.hadvModalBox {
    position: relative;
    width: 100%;
    max-width: 420px;
    padding: 28px 26px 24px;
    overflow: hidden;
    border: 1px solid var(--hadv-border);
    border-radius: 22px;
    background: linear-gradient(160deg, #2E3532, #23282B);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
    color: #fff;
    text-align: center;
    animation: hadvPop 0.45s cubic-bezier(0.2, 1.2, 0.3, 1) both;
}

.hadvModalBox--win {
    border-color: rgba(255, 218, 117, 0.5);
}

.hadvModalBox h3 {
    position: relative;
    margin: 8px 0 6px;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
}

.hadvModalBox p {
    position: relative;
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--hadv-muted);
}

.hadvModalBox .hadvBtnRow {
    position: relative;
    margin-top: 16px;
}

.hadvModalX {
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 2;
    border: 0;
    background: none;
    color: var(--hadv-muted);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.hadvConfetti {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hadvChest {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 86px;
    height: 86px;
    margin: 0 auto;
    border-radius: 50%;
    background: linear-gradient(135deg, #E6B24A, var(--hadv-gold));
    color: #23282B;
    box-shadow: 0 0 0 8px rgba(255, 218, 117, 0.12), 0 14px 36px rgba(255, 169, 53, 0.45);
    animation: hadvBounce 0.9s 0.1s cubic-bezier(0.2, 1.4, 0.4, 1) both;
}

.hadvChest .hadvI {
    width: 44px;
    height: 44px;
    stroke-width: 1.7;
}

.hadvChest--sm {
    width: 64px;
    height: 64px;
    background: rgba(255, 218, 117, 0.14);
    color: var(--hadv-gold);
    box-shadow: 0 0 0 6px rgba(255, 218, 117, 0.06);
}

.hadvChest--sm .hadvI {
    width: 30px;
    height: 30px;
}

.hadvChest[data-tone="check"] {
    background: rgba(135, 153, 126, 0.22);
    color: var(--hadv-green-2);
    box-shadow: 0 0 0 6px rgba(135, 153, 126, 0.08);
}

.hadvChest[data-tone="alert"],
.hadvChest[data-tone="hourglass"] {
    background: rgba(232, 105, 122, 0.16);
    color: #F4A3AE;
    box-shadow: 0 0 0 6px rgba(232, 105, 122, 0.06);
}

.hadvWinSum {
    position: relative;
    display: block;
    margin: 4px 0 8px;
    font-size: 54px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--hadv-gold);
    text-shadow: 0 0 28px rgba(255, 218, 117, 0.45);
    font-variant-numeric: tabular-nums;
}

/* ---------- баннер на главной ---------- */
.hadvPromo {
    padding: 22px 0 0;
}

.hadvPromoCard {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 218, 117, 0.45);
    border-radius: 20px;
    background: linear-gradient(120deg, rgba(255, 218, 117, 0.16), rgba(39, 44, 48, 0.92) 45%, rgba(135, 153, 126, 0.2));
    color: #fff !important;
    text-decoration: none !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hadvPromoCard:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(255, 169, 53, 0.2);
}

.hadvPromoCard::after {
    content: "";
    position: absolute;
    top: 0;
    left: -40%;
    width: 30%;
    height: 100%;
    background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
    transform: skewX(-18deg);
    animation: hadvShine 4s ease-in-out infinite;
}

.hadvPromoGift {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, #E6B24A, var(--hadv-gold));
    color: #23282B;
    box-shadow: 0 8px 22px rgba(255, 169, 53, 0.35);
    animation: hadvWiggle 2.6s ease-in-out infinite;
}

.hadvPromoGift .hadvI {
    width: 28px;
    height: 28px;
    stroke-width: 2;
}

.hadvPromoText {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 3px;
}

.hadvPromoText b {
    font-size: 18px;
}

.hadvPromoText small {
    font-size: 13px;
    color: var(--hadv-muted);
}

.hadvPromoBtn {
    flex: none;
    padding: 10px 18px;
    border-radius: 30px;
    background: linear-gradient(135deg, #E6B24A, var(--hadv-gold));
    color: #23282B;
    font-size: 14px;
    font-weight: 800;
}

/* ---------- светлая тема ---------- */
html[data-theme="light"] .hadv {
    --hadv-card: rgba(255, 255, 255, 0.92);
    --hadv-border: rgba(38, 43, 47, 0.12);
    --hadv-text: #1E2A22;
    --hadv-muted: rgba(30, 42, 34, 0.65);
}

html[data-theme="light"] .hadv .hadvTitle,
html[data-theme="light"] .hadv .hadvInfoCol h3,
html[data-theme="light"] .hadvOddsAmt,
html[data-theme="light"] .hadvWalletStats b {
    color: #1E2A22;
}

html[data-theme="light"] .hadvWallet {
    background: linear-gradient(160deg, #3A4440, #262C2E);
    --hadv-muted: rgba(230, 236, 232, 0.7);
    color: #fff;
}

html[data-theme="light"] .hadvWallet .hadvWalletStats b {
    color: #fff;
}

html[data-theme="light"] .hadvCard.is-future {
    background: repeating-linear-gradient(135deg, #fff 0 12px, #F3F5F1 12px 24px);
}

html[data-theme="light"] .hadvCard.is-missed {
    background: #E9ECE7;
}

html[data-theme="light"] .hadvCard.is-opened {
    background: linear-gradient(160deg, rgba(135, 153, 126, 0.28), #fff);
}

html[data-theme="light"] .hadvCard.is-today {
    background: linear-gradient(160deg, rgba(255, 218, 117, 0.45), #fff 70%);
}

html[data-theme="light"] .hadvCard.is-today .hadvCardNum,
html[data-theme="light"] .hadvCardSum {
    color: #B07A1C;
}

html[data-theme="light"] .hadvBtn--ghost {
    color: inherit !important;
}

/* светлая тема: золото на белом - темнее, иначе не читается */
html[data-theme="light"] .hadv,
html[data-theme="light"] .hadvPromo {
    --hadv-gold-ink: #A06A12;
}

html[data-theme="light"] .hadvKicker {
    border-color: rgba(176, 122, 28, 0.35);
    background: rgba(255, 218, 117, 0.28);
    color: var(--hadv-gold-ink);
}

html[data-theme="light"] .hadvHeroMain::after {
    background: radial-gradient(circle, rgba(255, 218, 117, 0.35), rgba(255, 218, 117, 0) 68%);
}

html[data-theme="light"] .hadvLead b,
html[data-theme="light"] .hadvNotice b {
    color: var(--hadv-gold-ink);
}

html[data-theme="light"] .hadvHeroMain,
html[data-theme="light"] .hadvInfoCol,
html[data-theme="light"] .hadvNotice,
html[data-theme="light"] .hadvCard {
    box-shadow: 0 6px 20px rgba(30, 42, 34, 0.06);
}

html[data-theme="light"] .hadvCard:hover {
    border-color: rgba(38, 43, 47, 0.25);
}

html[data-theme="light"] .hadvCard.is-future {
    background: repeating-linear-gradient(135deg, #fff 0 12px, #F6F7F4 12px 24px);
}

html[data-theme="light"] .hadvCardIco {
    background: rgba(38, 43, 47, 0.06);
}

html[data-theme="light"] .hadvCard.is-future .hadvCardIco {
    background: rgba(255, 218, 117, 0.35);
    color: var(--hadv-gold-ink);
}

html[data-theme="light"] .hadvCard.is-missed .hadvCardIco {
    background: rgba(232, 105, 122, 0.16);
    color: #C24457;
}

html[data-theme="light"] .hadvCardDate,
html[data-theme="light"] .hadvCardBody small {
    color: rgba(30, 42, 34, 0.7);
}

html[data-theme="light"] .hadv .hadvInfoCol h3 .hadvI {
    background: rgba(255, 218, 117, 0.35);
    color: var(--hadv-gold-ink);
}

html[data-theme="light"] .hadv .hadvInfoCol ol li::before {
    border-color: rgba(176, 122, 28, 0.35);
    background: rgba(255, 218, 117, 0.3);
    color: var(--hadv-gold-ink);
}

html[data-theme="light"] .hadvOddsRow {
    background: #F4F6F2;
}

html[data-theme="light"] .hadvOddsRow:hover {
    background: #ECEFE8;
}

html[data-theme="light"] .hadvOddsBar {
    background: rgba(38, 43, 47, 0.1);
}

html[data-theme="light"] .hadvOddsBar i {
    background: linear-gradient(90deg, #687B5B, #87997E);
}

html[data-theme="light"] .hadvOddsRow.is-rare .hadvOddsBar i,
html[data-theme="light"] .hadvOddsRow.is-jackpot .hadvOddsBar i {
    background: linear-gradient(90deg, #C98A2B, #F0B84A);
}

html[data-theme="light"] .hadvOddsRow.is-rare .hadvOddsAmt,
html[data-theme="light"] .hadvOddsRow.is-jackpot .hadvOddsAmt {
    color: var(--hadv-gold-ink);
}

html[data-theme="light"] .hadvOddsRow.is-jackpot {
    border-color: rgba(176, 122, 28, 0.4);
    background: linear-gradient(100deg, rgba(255, 218, 117, 0.4), #FFF8E6);
}

/* светлая тема: баннер на главной */
html[data-theme="light"] .hadvPromoCard {
    border-color: rgba(176, 122, 28, 0.35);
    background: linear-gradient(110deg, #FFF3D1, #FFFFFF 48%, #EEF3EA);
    color: #1E2A22 !important;
    box-shadow: 0 8px 26px rgba(30, 42, 34, 0.08);
}

html[data-theme="light"] .hadvPromoCard:hover {
    box-shadow: 0 14px 34px rgba(176, 122, 28, 0.18);
}

html[data-theme="light"] .hadvPromoCard::after {
    background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0));
}

html[data-theme="light"] .hadvPromoText b {
    color: #1E2A22;
}

html[data-theme="light"] .hadvPromoText small {
    color: rgba(30, 42, 34, 0.68);
}

/* ---------- анимации ---------- */
@keyframes hadvCardIn {
    from { opacity: 0; transform: translateY(18px) scale(0.96); }
    to { opacity: 1; transform: none; }
}

@keyframes hadvGlow {
    0%, 100% { box-shadow: 0 0 0 1px rgba(255, 218, 117, 0.3), 0 12px 34px rgba(255, 169, 53, 0.2); }
    50% { box-shadow: 0 0 0 1px rgba(255, 218, 117, 0.6), 0 14px 44px rgba(255, 169, 53, 0.45); }
}

@keyframes hadvShine {
    0% { left: -60%; }
    60%, 100% { left: 130%; }
}

@keyframes hadvWiggle {
    0%, 70%, 100% { transform: rotate(0); }
    75% { transform: rotate(-12deg) scale(1.08); }
    82% { transform: rotate(10deg) scale(1.08); }
    89% { transform: rotate(-6deg); }
    95% { transform: rotate(4deg); }
}

@keyframes hadvShake {
    0%, 100% { transform: translateX(0) rotate(0); }
    25% { transform: translateX(-3px) rotate(-6deg); }
    75% { transform: translateX(3px) rotate(6deg); }
}

@keyframes hadvFlip {
    0% { transform: perspective(600px) rotateY(0); }
    50% { transform: perspective(600px) rotateY(90deg); }
    100% { transform: perspective(600px) rotateY(0); }
}

@keyframes hadvFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes hadvPop {
    from { opacity: 0; transform: translateY(20px) scale(0.9); }
    to { opacity: 1; transform: none; }
}

@keyframes hadvBounce {
    0% { transform: scale(0.3) rotate(-20deg); opacity: 0; }
    100% { transform: scale(1) rotate(0); opacity: 1; }
}

/* ---------- адаптив ---------- */
@media screen and (max-width: 1240px) {
    .hadvGrid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media screen and (max-width: 980px) {
    .hadvHero,
    .hadvInfo {
        grid-template-columns: 1fr;
    }

    .hadvGrid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .hadv .hadvTitle {
        font-size: 32px;
    }
}

@media screen and (max-width: 640px) {
    .hadv {
        padding-top: 20px;
    }

    .hadvHeroMain {
        padding: 22px 18px;
    }

    .hadvWallet {
        padding: 20px 18px;
    }

    .hadvGrid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .hadvCard {
        min-height: 128px;
        padding: 10px;
        border-radius: 14px;
    }

    .hadvCardNum {
        font-size: 24px;
    }

    .hadvCardDate {
        font-size: 10px;
    }

    .hadvCardSum {
        font-size: 16px;
    }

    .hadvCardIco {
        width: 32px;
        height: 32px;
    }

    .hadvCardIco .hadvI {
        width: 16px;
        height: 16px;
    }

    .hadv .hadvCard.is-today .hadvCardGift {
        width: 40px;
        height: 40px;
    }

    .hadv .hadvCard.is-today .hadvCardGift .hadvI {
        width: 21px;
        height: 21px;
    }

    .hadvCardOpen {
        padding: 4px 10px;
        font-size: 12px;
    }

    .hadvCardBody small {
        font-size: 10px;
        line-height: 1.3;
    }

    .hadvPromoCard {
        flex-wrap: wrap;
        padding: 16px;
    }

    .hadvPromoBtn {
        width: 100%;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hadvCard,
    .hadvCard.is-today,
    .hadvCard.is-today::before,
    .hadvCard.is-today .hadvCardGift,
    .hadvPromoCard::after,
    .hadvPromoGift,
    .hadvModal,
    .hadvModalBox,
    .hadvChest {
        animation: none !important;
    }
}
