/* =========================================
   KENO HOME
   ========================================= */

.home-page {
    --home-bg: #08090b;
    --home-panel: #0d0f12;
    --home-panel-2: #111419;
    --home-border: rgba(255, 255, 255, 0.08);
    --home-border-hover: rgba(255, 255, 255, 0.16);
    --home-text: #f5f5f5;
    --home-muted: #858990;
    --home-dim: #555960;

    min-height: 100vh;
    margin: 0;

    background:
        radial-gradient(
            circle at 75% 8%,
            rgba(255, 255, 255, 0.045),
            transparent 28%
        ),
        var(--home-bg);

    color: var(--home-text);

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

.home-page *,
.home-page *::before,
.home-page *::after {
    box-sizing: border-box;
}

.home-page a {
    color: inherit;
    text-decoration: none;
}

.home-page button {
    font: inherit;
}


/* =========================================
   NAVBAR
   ========================================= */

.home-nav {
    position: sticky;
    top: 0;
    z-index: 100;

    width: 100%;
    height: 72px;

    display: flex;
    align-items: center;

    padding: 0 42px;

    background: rgba(8, 9, 11, 0.86);

    border-bottom: 1px solid var(--home-border);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 42px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-left: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-links a {
    color: inherit;
    text-decoration: none;
}

.nav-links a:hover {
    color: var(--home-text);
    transform: translateY(-1px);
}

.balance-box {
    min-width: 125px;
    height: 42px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 0 13px;

    border: 1px solid var(--home-border);
    border-radius: 10px;

    background: rgba(255, 255, 255, 0.025);
}

.balance-label {
    color: var(--home-dim);

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

#balance {
    margin-top: 1px;

    font-size: 14px;
    font-weight: 700;
}

.add-money {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border: 1px solid var(--home-border);
    border-radius: 10px;

    background: rgba(255, 255, 255, 0.035);
    color: white;

    cursor: pointer;

    font-size: 22px;
    line-height: 1;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.add-money:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--home-border-hover);
    transform: translateY(-1px);
}


/* =========================================
   PROMO BUTTON
   ========================================= */

.promo-button {
    height: 42px;

    padding: 0 15px;

    border: 1px solid var(--home-border);
    border-radius: 10px;

    background: rgba(255, 255, 255, 0.025);

    color: var(--home-muted);

    font-family: inherit;
    font-size: 11px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.promo-button:hover {
    background: rgba(255, 255, 255, 0.07);

    color: white;

    border-color: var(--home-border-hover);

    transform: translateY(-1px);
}


/* =========================================
   HERO
   ========================================= */

.hero {
    position: relative;

    max-width: 1280px;
    min-height: 610px;

    margin: 0 auto;

    padding: 95px 42px 115px;

    display: grid;
    grid-template-columns: 1fr 0.9fr;

    gap: 50px;

    align-items: center;

    overflow: hidden;
}

.hero::before {
    content: "";

    position: absolute;

    width: 600px;
    height: 600px;

    right: -300px;
    top: 10px;

    border: 1px solid rgba(255, 255, 255, 0.025);
    border-radius: 50%;

    pointer-events: none;
}

.hero::after {
    content: "";

    position: absolute;

    width: 900px;
    height: 1px;

    left: 0;
    bottom: 20px;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.07),
        transparent
    );
}

.hero-content {
    position: relative;
    z-index: 2;

    max-width: 590px;
}

.hero-tag {
    display: flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 24px;

    color: var(--home-muted);

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.2em;
}

.hero-tag span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: white;

    box-shadow:
        0 0 15px rgba(255, 255, 255, 0.7);
}

.hero h1 {
    max-width: 600px;

    margin: 0;

    font-size: clamp(58px, 7vw, 94px);

    line-height: 0.92;

    letter-spacing: -0.065em;

    font-weight: 900;
}

.hero p {
    margin: 28px 0 0;

    color: var(--home-muted);

    font-size: 16px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-top: 34px;
}

.hero-button {
    height: 48px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;

    padding: 0 20px;

    border-radius: 9px;

    font-size: 13px;
    font-weight: 700;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.hero-button:hover {
    transform: translateY(-2px);
}

.hero-button.primary {
    min-width: 120px;

    background: white;
    color: #08090b;
}

.hero-button.primary:hover {
    background: #e8e8e8;
}

.hero-button.primary span {
    font-size: 17px;
}

.hero-button.secondary {
    border: 1px solid var(--home-border);

    background: rgba(255, 255, 255, 0.025);

    color: var(--home-text);
}

.hero-button.secondary:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--home-border-hover);
}

.help-hero-button {
    font-family: inherit;
    cursor: pointer;
}

.hero-info {
    display: flex;
    align-items: center;
    gap: 22px;

    margin-top: 48px;
}

.hero-info div:not(.info-line) {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-info strong {
    font-size: 19px;
    font-weight: 800;
}

.hero-info span {
    color: var(--home-dim);

    font-size: 10px;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.info-line {
    width: 1px;
    height: 29px;

    background: var(--home-border);
}


/* =========================================
   HERO VISUAL
   ========================================= */

.hero-visual {
    position: relative;

    min-height: 430px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-glow {
    position: absolute;

    width: 300px;
    height: 300px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.055);

    filter: blur(80px);
}


/* =========================================
   MAIN K CARD
   ========================================= */

.main-game-card {
    position: relative;
    z-index: 3;

    width: 310px;
    height: 390px;

    display: flex;
    flex-direction: column;

    padding: 23px;

    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.08),
            rgba(255, 255, 255, 0.015)
        );

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.55),
        inset 0 1px rgba(255, 255, 255, 0.08);

    transform: rotate(4deg);

    transition:
        transform 0.35s cubic-bezier(.2,.8,.2,1),
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}


/*
 * Наведение именно на K-карточку.
 * Не через .hero-visual:hover, иначе
 * карточка реагировала бы на наведение
 * на всю область.
 */

.secret-card:hover {
    transform:
        rotate(1deg)
        translateY(-10px);

    border-color:
        rgba(255, 255, 255, 0.22);

    box-shadow:
        0 38px 90px rgba(0, 0, 0, 0.6),
        inset 0 1px rgba(255, 255, 255, 0.1);
}


/*
 * Клик / прожатие.
 */

.secret-card.card-pressed {
    transform:
        rotate(1deg)
        translateY(-2px)
        scale(.965);

    box-shadow:
        0 8px 22px rgba(0, 0, 0, .28);
}


/* =========================================
   K CARD CONTENT
   ========================================= */

.game-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    color: #a0a3a8;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 0.15em;
}

.card-number {
    color: #565a60;
}

.big-k {
    flex: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-top: 10px;

    color: white;

    font-size: 190px;
    line-height: 1;

    font-weight: 900;
    letter-spacing: -0.12em;

    text-shadow:
        0 0 50px rgba(255, 255, 255, 0.09);
}

.visual-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-top: 16px;

    border-top: 1px solid var(--home-border);
}

.visual-bottom div:first-child {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.small-label {
    color: #5e6268;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 0.14em;
}

.visual-bottom strong {
    font-size: 14px;

    letter-spacing: 0.04em;
}

.arrow-circle {
    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    border: 1px solid var(--home-border);
    border-radius: 50%;

    font-size: 17px;
}


/* =========================================
   OLD FLOATING CARDS
   ========================================= */

.floating-card {
    position: absolute;
    z-index: 4;

    min-width: 145px;

    display: flex;
    align-items: center;
    gap: 11px;

    padding: 12px 14px;

    border: 1px solid var(--home-border);
    border-radius: 12px;

    background: rgba(13, 15, 18, 0.92);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.4);

    backdrop-filter: blur(12px);
}

.floating-card small {
    display: block;

    margin-bottom: 2px;

    color: #62666d;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 0.12em;
}

.floating-card strong {
    display: block;

    font-size: 12px;

    letter-spacing: 0.04em;
}

.floating-icon {
    width: 31px;
    height: 31px;

    display: grid;
    place-items: center;

    border: 1px solid var(--home-border);
    border-radius: 8px;

    color: #ddd;

    font-size: 15px;
    font-weight: 700;
}

.card-one {
    left: 8%;
    top: 17%;

    transform: rotate(-8deg);
}

.card-two {
    right: 3%;
    bottom: 17%;

    transform: rotate(7deg);
}


/* =========================
   SECRET CARD
========================= */

.secret-card {
    cursor: pointer;
    user-select: none;
}


.hero-visual .secret-card:hover {

    transform:
        rotate(1deg)
        translateY(-10px);

    border-color:
        rgba(255, 255, 255, 0.22);

    box-shadow:
        0 38px 90px rgba(0, 0, 0, 0.6),
        inset 0 1px rgba(255, 255, 255, 0.1);

}


.hero-visual .secret-card.card-pressed {

    transform:
        rotate(1deg)
        translateY(-2px)
        scale(.965);

    box-shadow:
        0 8px 22px rgba(0, 0, 0, .28);

}


/* =========================
   PROMO НАД K CARD
========================= */

.card-promo {

    position: absolute;

    left: 50%;
    top: -58px;

    transform:
        translateX(-50%)
        translateY(12px);

    padding:
        11px 18px;

    background:
        rgba(15, 15, 15, 0.96);

    border:
        1px solid
        rgba(255, 255, 255, 0.14);

    border-radius:
        11px;

    color:
        #fff;

    font-size:
        13px;

    font-weight:
        600;

    letter-spacing:
        0.01em;

    white-space:
        nowrap;

    opacity:
        0;

    pointer-events:
        none;

    z-index:
        100;

    box-shadow:
        0 12px 30px
        rgba(0, 0, 0, 0.35);

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;

}


/* =========================
   СТРЕЛОЧКА
========================= */

.card-promo::after {

    content: "";

    position: absolute;

    left: 50%;
    bottom: -6px;

    width: 10px;
    height: 10px;

    background:
        rgba(15, 15, 15, 0.96);

    border-right:
        1px solid
        rgba(255, 255, 255, 0.14);

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.14);

    transform:
        translateX(-50%)
        rotate(45deg);

}


/* =========================
   ПОКАЗ
========================= */

.card-promo.active {

    opacity: 1;

    transform:
        translateX(-50%)
        translateY(0);

}

/* =========================================
   SMALL PROMO CARDS
   ========================================= */

.promo-card {
    position: absolute;
    z-index: 5;

    width: 145px;
    height: 62px;

    display: flex;
    align-items: center;

    padding: 10px 12px;

    border:
        1px solid rgba(255,255,255,.09);

    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.065),
            rgba(255,255,255,.018)
        );

    box-shadow:
        0 15px 40px rgba(0,0,0,.25);

    cursor: pointer;
    user-select: none;

    transition:
        transform .28s cubic-bezier(.2,.8,.2,1),
        border-color .25s ease,
        background .25s ease,
        box-shadow .25s ease;
}

.promo-card:hover {
    border-color:
        rgba(255,255,255,.18);

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.09),
            rgba(255,255,255,.025)
        );

    box-shadow:
        0 24px 50px rgba(0,0,0,.4);
}

.promo-card:active {
    transition: none;

    transform:
        translateY(-3px)
        scale(.98);
}


/* =========================================
   PROMO CARD 01
   ========================================= */

.promo-card-one {
    left: -18px;
    top: 38px;

    transform:
        rotate(-5deg);
}

.promo-card-one:hover {
    transform:
        translateY(-9px)
        rotate(-3deg)
        scale(1.025);
}


/* =========================================
   PROMO CARD 02
   ========================================= */

.promo-card-two {
    right: -20px;
    top: 130px;

    transform:
        rotate(5deg);
}

.promo-card-two:hover {
    transform:
        translateY(-9px)
        rotate(3deg)
        scale(1.025);
}


/* =========================================
   PROMO CARD 03
   ========================================= */

.promo-card-three {
    left: -35px;
    bottom: 25px;

    transform:
        rotate(4deg);
}

.promo-card-three:hover {
    transform:
        translateY(-9px)
        rotate(2deg)
        scale(1.025);
}


/* =========================================
   PROMO CARD NUMBER
   ========================================= */

.promo-card-number {
    width: 27px;
    height: 27px;

    display: grid;
    place-items: center;

    flex-shrink: 0;

    margin-right: 9px;

    border:
        1px solid rgba(255,255,255,.08);

    border-radius: 7px;

    background:
        rgba(255,255,255,.035);

    color: #555b61;

    font-size: 8px;
    font-weight: 900;
}


/* =========================================
   PROMO CARD CONTENT
   ========================================= */

.promo-card-content {
    display: flex;
    flex-direction: column;

    gap: 2px;
}

.promo-card-content small {
    color: #666c72;

    font-size: 7px;
    font-weight: 800;

    letter-spacing: .12em;
}

.promo-card-content strong {
    color: white;

    font-size: 15px;
    font-weight: 900;

    letter-spacing: -.03em;
}


/* =========================================
   PROMO CARD ARROW
   ========================================= */

.promo-card-arrow {
    margin-left: auto;

    color: #555b61;

    font-size: 13px;

    transition:
        color .2s ease,
        transform .2s ease;
}

.promo-card:hover .promo-card-arrow {
    color: white;

    transform:
        translate(2px,-2px);
}


/* =========================================
   UNLOCKED PROMO
   ========================================= */

.promo-card.unlocked {
    border-color:
        rgba(255,255,255,.22);

    background:
        rgba(255,255,255,.075);

    box-shadow:
        0 0 25px
        rgba(255,255,255,.07);
}


/* =========================================
   GAMES SECTION
   ========================================= */

.games-section {
    max-width: 1280px;

    margin: 0 auto;

    padding: 75px 42px 100px;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    margin-bottom: 28px;

    padding-bottom: 17px;

    border-bottom: 1px solid var(--home-border);
}

.section-heading > div {
    display: flex;
    align-items: baseline;
    gap: 13px;
}

.section-number {
    color: var(--home-dim);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 0.1em;
}

.section-heading h2 {
    margin: 0;

    font-size: 31px;
    line-height: 1;

    letter-spacing: -0.04em;
}

.game-count {
    color: var(--home-dim);

    font-size: 11px;
    font-weight: 600;
}


/* =========================================
   GAME GRID
   ========================================= */

.games-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 12px;
}

.game-card {
    position: relative;

    min-height: 265px;

    display: flex;
    flex-direction: column;

    padding: 18px;

    overflow: hidden;

    border: 1px solid var(--home-border);
    border-radius: 15px;

    background:
        radial-gradient(
            circle at 80% 15%,
            rgba(255, 255, 255, 0.045),
            transparent 34%
        ),
        var(--home-panel);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}

.game-card::after {
    content: "";

    position: absolute;

    width: 160px;
    height: 160px;

    right: -75px;
    bottom: -75px;

    border: 1px solid rgba(255, 255, 255, 0.035);

    border-radius: 50%;

    transition: transform 0.4s ease;
}

.game-card:hover {
    transform: translateY(-5px);

    border-color: var(--home-border-hover);

    background:
        radial-gradient(
            circle at 80% 15%,
            rgba(255, 255, 255, 0.07),
            transparent 34%
        ),
        var(--home-panel-2);
}

.game-card:hover::after {
    transform: scale(1.3);
}

.game-card-header {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.game-index {
    color: #555960;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 0.08em;
}

.game-arrow {
    width: 29px;
    height: 29px;

    display: grid;
    place-items: center;

    border: 1px solid var(--home-border);
    border-radius: 50%;

    color: #8a8e94;

    font-size: 13px;

    transition:
        color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.game-card:hover .game-arrow {
    color: white;

    background: rgba(255, 255, 255, 0.07);

    transform: translate(2px, -2px);
}


/* =========================================
   GAME SYMBOL BASE
   ========================================= */

.game-symbol {
    position: relative;
    z-index: 2;

    flex: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 140px;
}


/* =========================================
   MINES
   ========================================= */

.mines-symbol {
    display: grid;

    grid-template-columns: repeat(3, 30px);
    grid-template-rows: repeat(2, 30px);

    gap: 7px;

    transform: rotate(-5deg);
}

.mines-symbol span {
    position: relative;

    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;

    background: rgba(255, 255, 255, 0.025);
}

.mines-symbol span::after {
    content: "";

    position: absolute;

    width: 8px;
    height: 8px;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    background: #555960;
}

.mines-symbol span:first-child {
    background: rgba(255, 255, 255, 0.08);
}

.mines-symbol span:first-child::after {
    width: 11px;
    height: 11px;

    background: #f0f0f0;

    box-shadow:
        0 0 0 4px rgba(255, 255, 255, 0.05),
        0 0 18px rgba(255, 255, 255, 0.35);
}

.mines-symbol span:first-child::before {
    content: "";

    position: absolute;

    width: 21px;
    height: 21px;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    background:
        linear-gradient(
            0deg,
            transparent 44%,
            #777b81 45% 55%,
            transparent 56%
        ),
        linear-gradient(
            90deg,
            transparent 44%,
            #777b81 45% 55%,
            transparent 56%
        );
}


/* =========================================
   ROULETTE
   ========================================= */

.roulette-symbol {
    transform: rotate(-9deg);
}

.roulette-wheel {
    position: relative;

    width: 100px;
    height: 100px;

    display: grid;
    place-items: center;

    border: 8px solid #272a2e;

    border-radius: 50%;

    background:
        repeating-conic-gradient(
            from 0deg,
            #15171a 0deg 12deg,
            #303338 12deg 24deg
        );

    box-shadow:
        inset 0 0 0 4px #090a0c,
        0 0 0 1px rgba(255, 255, 255, 0.08);
}

.roulette-wheel::before {
    content: "";

    width: 42px;
    height: 42px;

    border-radius: 50%;

    background: #0b0c0e;

    border: 1px solid rgba(255, 255, 255, 0.14);
}

.roulette-wheel span {
    position: absolute;

    width: 8px;
    height: 8px;

    top: 7px;

    border-radius: 50%;

    background: white;
}


/* =========================================
   KENO
   ========================================= */

.keno-symbol {
    gap: 7px;

    transform: rotate(-5deg);
}

.keno-symbol span {
    width: 47px;
    height: 57px;

    display: grid;
    place-items: center;

    border: 1px solid var(--home-border);
    border-radius: 8px;

    background: rgba(255, 255, 255, 0.035);

    color: #a8abb0;

    font-size: 12px;
    font-weight: 800;
}

.keno-symbol span:nth-child(2) {
    transform: translateY(-13px);

    color: white;

    background: rgba(255, 255, 255, 0.08);
}


/* =========================================
   DRAGON TOWER
   ========================================= */

.tower-symbol {
    position: relative;

    width: 130px;
    height: 130px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: flex-end;

    gap: 4px;

    transform: perspective(300px) rotateX(4deg);
}

.tower-symbol::before {
    content: "";

    position: absolute;

    top: 4px;

    width: 0;
    height: 0;

    border-left: 22px solid transparent;
    border-right: 22px solid transparent;
    border-bottom: 35px solid #50545a;
}

.tower-symbol::after {
    content: "";

    position: absolute;

    top: 35px;

    width: 5px;
    height: 83px;

    background: #464a50;
}

.tower-symbol i {
    position: relative;
    z-index: 2;

    display: block;

    width: 96px;
    height: 20px;

    border: 1px solid rgba(255, 255, 255, 0.11);

    border-radius: 4px;

    background:
        linear-gradient(
            90deg,
            transparent 46%,
            rgba(255, 255, 255, 0.07) 47% 53%,
            transparent 54%
        ),
        #17191c;

    box-shadow:
        0 5px 12px rgba(0, 0, 0, 0.35);
}

.tower-symbol i:nth-child(2) {
    width: 88px;
}

.tower-symbol i:nth-child(3) {
    width: 80px;
}

.tower-symbol i:nth-child(4) {
    width: 72px;

    background:
        linear-gradient(
            90deg,
            transparent 46%,
            rgba(255, 255, 255, 0.12) 47% 53%,
            transparent 54%
        ),
        #22252a;
}


/* =========================================
   DICE
   ========================================= */

.dice-symbol {
    width: 86px;
    height: 86px;

    display: grid;

    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);

    padding: 14px;

    border: 1px solid rgba(255, 255, 255, 0.15);

    border-radius: 17px;

    background:
        linear-gradient(
            145deg,
            #292c31,
            #111316
        );

    box-shadow:
        0 18px 30px rgba(0, 0, 0, 0.4),
        inset 0 1px rgba(255, 255, 255, 0.08);

    transform: rotate(-12deg);
}

.dice-symbol span {
    width: 8px;
    height: 8px;

    align-self: center;
    justify-self: center;

    border-radius: 50%;

    background: #767a80;
}

.dice-symbol span:nth-child(1),
.dice-symbol span:nth-child(3),
.dice-symbol span:nth-child(4),
.dice-symbol span:nth-child(6) {
    background: #e2e3e4;
}


/* =========================================
   DIAMONDS
   ========================================= */

.diamond-symbol {
    position: relative;

    width: 158px;
    height: 88px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 8px;

    border: 1px solid rgba(255, 255, 255, 0.14);

    border-radius: 10px;

    background:
        linear-gradient(
            180deg,
            #292c31 0%,
            #16181b 100%
        );

    box-shadow:
        0 16px 30px rgba(0, 0, 0, 0.35),
        inset 0 1px rgba(255, 255, 255, 0.08);

    transform: rotate(-3deg);

    font-size: 0;
}

.diamond-symbol::before {
    content: "◆  7  ◆";

    width: 130px;
    height: 61px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.09);

    border-radius: 5px;

    background:
        linear-gradient(
            180deg,
            #111316,
            #202328
        );

    color: #dfe1e3;

    font-size: 20px;
    font-weight: 900;

    letter-spacing: 8px;

    text-shadow:
        0 0 12px rgba(255, 255, 255, 0.12);
}

.diamond-symbol::after {
    content: "";

    position: absolute;

    top: 10px;
    bottom: 10px;

    left: 50%;

    width: 1px;

    background: rgba(255, 255, 255, 0.08);

    box-shadow:
        -43px 0 rgba(255, 255, 255, 0.05),
        43px 0 rgba(255, 255, 255, 0.05);
}


/* =========================================
   CRASH
   ========================================= */

.crash-symbol {
    position: relative;

    width: 150px;
    height: 110px;

    margin: 0 auto;

    overflow: hidden;
}

.crash-line {
    position: absolute;

    left: 18px;
    bottom: 20px;

    width: 120px;
    height: 70px;

    background: #fff;

    clip-path: polygon(
        0 92%,
        25% 92%,
        42% 70%,
        58% 70%,
        76% 38%,
        100% 5%,
        100% 12%,
        78% 45%,
        60% 77%,
        43% 77%,
        27% 99%,
        0 99%
    );
}


/* =========================================
   PLINKO
   ========================================= */

.plinko-symbol {
    width: 130px;

    display: grid;

    grid-template-columns: repeat(3, 7px);
    grid-template-rows: repeat(3, 7px);

    gap: 19px 25px;

    transform: rotate(7deg);
}

.plinko-symbol i {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #696d73;
}

.plinko-symbol i:nth-child(2),
.plinko-symbol i:nth-child(6),
.plinko-symbol i:nth-child(8) {
    background: #e0e0e0;
}


/* =========================================
   PUMP
   ========================================= */

.pump-symbol {
    position: relative;

    width: 120px;
    height: 125px;

    display: flex;
    align-items: flex-end;
    justify-content: center;

    gap: 4px;
}

.pump-symbol::before {
    content: "";

    position: absolute;

    width: 55px;
    height: 70px;

    left: 50%;
    top: 8px;

    transform: translateX(-50%);

    border: 2px solid #686c72;

    border-radius: 50% 50% 46% 46%;

    background:
        radial-gradient(
            circle at 50% 45%,
            #bfc1c4 0 4px,
            #303338 5px 11px,
            transparent 12px
        );

    box-shadow:
        inset 0 0 18px rgba(0, 0, 0, 0.5),
        0 8px 20px rgba(0, 0, 0, 0.3);
}

.pump-symbol::after {
    content: "";

    position: absolute;

    width: 10px;
    height: 45px;

    left: 50%;
    top: 68px;

    transform: translateX(-50%);

    border-radius: 4px;

    background: #5d6167;
}

.pump-symbol div {
    position: relative;
    z-index: 2;

    width: 27px;
    height: 35px;

    border: 1px solid rgba(255, 255, 255, 0.1);

    border-radius: 6px 6px 3px 3px;

    background: #1c1f23;
}

.pump-symbol div:nth-child(1) {
    height: 28px;
}

.pump-symbol div:nth-child(2) {
    height: 40px;
}

.pump-symbol div:nth-child(3) {
    height: 28px;
}


/* =========================================
   HILO
   ========================================= */

.hilo-symbol {
    gap: 5px;

    transform: rotate(-5deg);
}

.hilo-symbol span {
    width: 34px;
    height: 50px;

    display: grid;
    place-items: center;

    border: 1px solid var(--home-border);

    border-radius: 6px;

    color: #777b81;

    font-size: 15px;
    font-weight: 900;

    background: rgba(255, 255, 255, 0.025);
}

.hilo-symbol span:nth-child(2),
.hilo-symbol span:nth-child(4) {
    color: white;

    background: rgba(255, 255, 255, 0.07);
}


/* =========================================
   BLACKJACK
   ========================================= */

.cards-symbol {
    gap: 0;

    transform: rotate(-5deg);
}

.cards-symbol div {
    width: 70px;
    height: 90px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(255, 255, 255, 0.14);

    border-radius: 8px;

    background: #15171a;

    font-size: 28px;

    box-shadow:
        0 12px 20px rgba(0, 0, 0, 0.3);
}

.cards-symbol div:first-child {
    transform: rotate(-12deg) translateX(15px);
}

.cards-symbol div:last-child {
    transform: rotate(10deg) translateX(-15px);

    color: #b8bbc0;
}


/* =========================================
   WHEEL
   ========================================= */

.wheel-symbol {
    transform: rotate(-12deg);
}

.wheel-ring {
    position: relative;

    width: 96px;
    height: 96px;

    display: grid;
    place-items: center;

    border: 7px solid #26292d;

    border-radius: 50%;

    background:
        conic-gradient(
            #15171a 0deg 45deg,
            #3a3d42 45deg 90deg,
            #15171a 90deg 135deg,
            #3a3d42 135deg 180deg,
            #15171a 180deg 225deg,
            #3a3d42 225deg 270deg,
            #15171a 270deg 315deg,
            #3a3d42 315deg 360deg
        );

    box-shadow:
        inset 0 0 0 4px #08090b,
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.wheel-ring::after {
    content: "";

    width: 30px;
    height: 30px;

    border-radius: 50%;

    background: #0a0b0d;

    border: 1px solid rgba(255, 255, 255, 0.15);
}

.wheel-ring span {
    position: absolute;

    width: 4px;
    height: 18px;

    top: -2px;

    border-radius: 3px;

    background: white;
}


/* =========================================
   CASES
   ========================================= */

.case-symbol {
    flex-direction: column;

    gap: 0;

    transform: rotate(-5deg);
}

.case-top {
    width: 91px;
    height: 14px;

    border: 1px solid rgba(255, 255, 255, 0.14);
    border-bottom: none;

    border-radius: 7px 7px 0 0;

    background: #24272b;
}

.case-body {
    width: 105px;
    height: 64px;

    border: 1px solid rgba(255, 255, 255, 0.14);

    border-radius: 4px 4px 9px 9px;

    background:
        linear-gradient(
            90deg,
            transparent 42%,
            rgba(255, 255, 255, 0.08) 42% 58%,
            transparent 58%
        ),
        #16181b;

    box-shadow:
        inset 0 10px rgba(255, 255, 255, 0.025);
}


/* =========================================
   CARD TEXT
   ========================================= */

.game-card-bottom {
    position: relative;
    z-index: 2;
}

.game-card-bottom h3 {
    margin: 0;

    font-size: 19px;
    font-weight: 800;

    letter-spacing: -0.025em;
}

.game-card-bottom p {
    margin: 5px 0 0;

    color: var(--home-muted);

    font-size: 11px;
    line-height: 1.4;
}


/* =========================================
   PROMO OVERLAY
   ========================================= */

.promo-overlay {
    position: fixed;

    inset: 0;

    z-index: 500;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(0, 0, 0, .68);

    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity .2s ease,
        visibility .2s ease;
}

.promo-overlay.active {
    opacity: 1;
    visibility: visible;
}


/* =========================================
   PROMO MODAL
   ========================================= */

.promo-modal {
    position: relative;

    width: min(390px, 100%);

    padding: 28px;

    border: 1px solid rgba(255,255,255,.1);
    border-radius: 17px;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(255,255,255,.055),
            transparent 45%
        ),
        #0d1013;

    box-shadow:
        0 30px 90px rgba(0,0,0,.6);

    transform: translateY(12px) scale(.97);

    transition:
        transform .25s ease;
}

.promo-overlay.active .promo-modal {
    transform: translateY(0) scale(1);
}

.promo-close {
    position: absolute;

    top: 13px;
    right: 13px;

    width: 30px;
    height: 30px;

    display: grid;
    place-items: center;

    border: 1px solid var(--home-border);
    border-radius: 8px;

    background: rgba(255,255,255,.025);

    color: #777c82;

    font-family: inherit;
    font-size: 20px;
    line-height: 1;

    cursor: pointer;

    transition:
        background .2s ease,
        color .2s ease;
}

.promo-close:hover {
    background: rgba(255,255,255,.08);

    color: white;
}

.promo-icon {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    margin-bottom: 16px;

    border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px;

    background: rgba(255,255,255,.045);

    color: white;

    font-size: 21px;
    font-weight: 900;
}

.promo-title {
    font-size: 24px;
    font-weight: 900;

    letter-spacing: -.04em;
}

.promo-subtitle {
    margin-top: 7px;

    color: var(--home-muted);

    font-size: 11px;
    line-height: 1.5;
}

.promo-input-wrap {
    margin-top: 20px;
}

.promo-input-wrap input {
    width: 100%;
    height: 48px;

    padding: 0 14px;

    outline: none;

    border: 1px solid var(--home-border);
    border-radius: 9px;

    background: #090b0e;

    color: white;

    font-family: inherit;

    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.promo-input-wrap input::placeholder {
    color: #50555b;

    text-transform: none;
}

.promo-input-wrap input:focus {
    border-color: rgba(255,255,255,.22);

    box-shadow:
        0 0 0 3px rgba(255,255,255,.035);
}

.promo-submit {
    width: 100%;
    height: 48px;

    margin-top: 9px;

    border: 0;
    border-radius: 9px;

    background: white;

    color: #08090b;

    font-family: inherit;

    font-size: 10px;
    font-weight: 900;

    cursor: pointer;

    transition:
        background .2s ease,
        transform .15s ease;
}

.promo-submit:hover {
    background: #e7e7e7;
}

.promo-submit:active {
    transform: scale(.985);
}

.promo-message {
    min-height: 17px;

    margin-top: 11px;

    color: #777d83;

    font-size: 10px;
    font-weight: 600;

    text-align: center;
}

.promo-message.success {
    color: #69e4a5;
}

.promo-message.error {
    color: #ff7777;
}


/* =========================================
   HELP OVERLAY
   ========================================= */

.help-overlay {
    position: fixed;
    inset: 0;

    z-index: 600;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(0, 0, 0, .7);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity .2s ease,
        visibility .2s ease;
}

.help-overlay.active {
    opacity: 1;
    visibility: visible;
}


/* =========================================
   HELP MODAL
   ========================================= */

.help-modal {
    position: relative;

    width: min(620px, 100%);
    max-height: min(720px, 90vh);

    overflow: hidden;

    border: 1px solid rgba(255,255,255,.1);
    border-radius: 18px;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(255,255,255,.055),
            transparent 42%
        ),
        #0d1013;

    box-shadow:
        0 30px 100px rgba(0,0,0,.65);

    transform: translateY(14px) scale(.97);

    transition:
        transform .25s ease;
}

.help-overlay.active .help-modal {
    transform: translateY(0) scale(1);
}


/* =========================================
   HELP CLOSE
   ========================================= */

.help-close {
    position: absolute;

    top: 16px;
    right: 16px;

    width: 32px;
    height: 32px;

    display: grid;
    place-items: center;

    border: 1px solid var(--home-border);
    border-radius: 8px;

    background: rgba(255,255,255,.025);

    color: #777c82;

    font-family: inherit;
    font-size: 20px;

    cursor: pointer;

    transition:
        background .2s ease,
        color .2s ease;
}

.help-close:hover {
    background: rgba(255,255,255,.08);

    color: white;
}


/* =========================================
   HELP HEADER
   ========================================= */

.help-header {
    display: flex;
    align-items: center;

    gap: 14px;

    padding: 28px 28px 22px;

    border-bottom: 1px solid rgba(255,255,255,.07);
}

.help-icon {
    width: 46px;
    height: 46px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    border: 1px solid rgba(255,255,255,.11);
    border-radius: 12px;

    background: rgba(255,255,255,.045);

    color: white;

    font-size: 20px;
    font-weight: 900;
}

.help-title {
    font-size: 23px;
    font-weight: 900;

    letter-spacing: -.04em;
}

.help-subtitle {
    margin-top: 4px;

    color: var(--home-muted);

    font-size: 11px;
}


/* =========================================
   HELP CONTENT
   ========================================= */

.help-content {
    max-height: calc(min(720px, 90vh) - 105px);

    overflow-y: auto;

    padding: 8px 28px 28px;
}

.help-content::-webkit-scrollbar {
    width: 5px;
}

.help-content::-webkit-scrollbar-track {
    background: transparent;
}

.help-content::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,.12);

    border-radius: 10px;
}


/* =========================================
   HELP SECTIONS
   ========================================= */

.help-section {
    padding: 18px 0;

    border-bottom: 1px solid rgba(255,255,255,.055);
}

.help-section-title {
    display: flex;
    align-items: center;

    gap: 10px;

    color: white;

    font-size: 13px;
    font-weight: 800;
}

.help-section-title span {
    color: #555b61;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: .08em;
}

.help-section p {
    margin: 8px 0 0;

    padding-left: 29px;

    color: var(--home-muted);

    font-size: 11px;
    line-height: 1.7;
}


/* =========================================
   HELP NOTE
   ========================================= */

.help-note {
    display: flex;
    align-items: center;

    gap: 9px;

    margin-top: 18px;
    padding: 13px 15px;

    border: 1px solid rgba(255,255,255,.07);
    border-radius: 10px;

    background: rgba(255,255,255,.025);
}

.help-note strong {
    color: white;

    font-size: 10px;

    letter-spacing: .08em;
}

.help-note span {
    color: #666c72;

    font-size: 10px;
}


/* =========================================
   FOOTER
   ========================================= */

.home-footer {
    max-width: 1280px;

    margin: 0 auto;

    padding: 24px 42px 35px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-top: 1px solid var(--home-border);

    color: var(--home-dim);

    font-size: 10px;
}

.footer-logo {
    color: #888c91;

    font-size: 13px;
    font-weight: 900;

    letter-spacing: 0.15em;
}

.footer-center {
    display: flex;
    align-items: center;
    gap: 9px;
}

.footer-dot {
    width: 3px;
    height: 3px;

    border-radius: 50%;

    background: #4b4e53;
}

.footer-copy {
    color: #4b4e53;
}


/* =========================================
   TABLET
   ========================================= */

@media (max-width: 1050px) {

    .home-nav {
        padding: 0 24px;
    }

    .hero {
        grid-template-columns: 1fr 0.75fr;

        padding: 75px 28px 90px;

        gap: 20px;
    }

    .hero h1 {
        font-size: clamp(54px, 8vw, 78px);
    }

    .hero-visual {
        transform: scale(0.88);
    }

    .games-section {
        padding-left: 28px;
        padding-right: 28px;
    }

    .home-footer {
        padding-left: 28px;
        padding-right: 28px;
    }

    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .promo-card-one {
        left: -5px;
    }

    .promo-card-two {
        right: -5px;
    }

    .promo-card-three {
        left: -10px;
    }
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 760px) {

    .home-nav {
        height: 64px;

        padding: 0 16px;
    }

    .nav-left {
        gap: 20px;
    }

    .nav-links {
        display: none;
    }

    .nav-right {
        gap: 6px;
    }

    .balance-box {
        min-width: 93px;
        height: 38px;

        padding: 0 9px;
    }

    .add-money {
        width: 38px;
        height: 38px;
    }

    .promo-button {
        padding: 0 11px;

        font-size: 10px;
    }

    .hero {
        min-height: auto;

        display: flex;
        flex-direction: column;

        padding: 70px 18px 65px;

        gap: 30px;
    }

    .hero-content {
        width: 100%;
    }

    .hero h1 {
        font-size: clamp(52px, 17vw, 75px);
    }

    .hero p {
        margin-top: 22px;

        font-size: 14px;
    }

    .hero-buttons {
        margin-top: 27px;
    }

    .hero-info {
        margin-top: 35px;
    }

    .hero-visual {
        width: 100%;
        min-height: 360px;

        transform: scale(0.9);
    }

    .main-game-card {
        width: 270px;
        height: 340px;
    }

    .big-k {
        font-size: 160px;
    }

    .card-one {
        left: 0;
    }

    .card-two {
        right: 0;
    }

    .promo-card {
        display: flex;
    }

    .games-section {
        padding: 55px 16px 70px;
    }

    .section-heading h2 {
        font-size: 27px;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .game-card {
        min-height: 245px;
    }

    .home-footer {
        padding: 22px 16px 30px;

        flex-wrap: wrap;

        gap: 15px;
    }

    .footer-center {
        order: 3;

        width: 100%;

        justify-content: center;
    }

    .card-promo {
        top: -42px;

        font-size: 9px;
    }

    .promo-card-one {
        left: -12px;
    }

    .promo-card-two {
        right: -12px;
    }

    .promo-card-three {
        left: -15px;
    }
}

/* =========================================================
   LIVE ROULETTE
========================================================= */

.live-roulette-card {
    position: relative;
}


.live-badge {
    position: absolute;

    left: 50%;
    top: 0;

    transform: translateX(-50%);

    display: flex;

    align-items: center;

    gap: 5px;

    padding: 4px 7px;

    border: 1px solid #40342b;

    border-radius: 5px;

    background: #171411;

    color: #d8a96b;

    font-size: 7px;

    font-weight: 900;

    letter-spacing: 1.3px;

    line-height: 1;
}


.live-dot {
    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: #d8a96b;

    box-shadow:
        0 0 7px
        rgba(216,169,107,.7);

    animation:
        livePulse 1.5s ease-in-out infinite;
}


.live-roulette-title {
    display: flex;

    align-items: center;

    gap: 8px;
}


.live-roulette-title h3 {
    margin: 0;
}


.live-text {
    display: inline-flex;

    align-items: center;

    padding: 3px 5px;

    border-radius: 4px;

    background: #181512;

    border: 1px solid #393027;

    color: #cda36a;

    font-size: 6px;

    font-weight: 900;

    letter-spacing: 1px;
}


.live-roulette-card:hover .live-badge {
    border-color: #695238;

    background: #1d1813;
}


@keyframes livePulse {

    0%,
    100% {
        opacity: .45;

        transform: scale(.8);
    }

    50% {
        opacity: 1;

        transform: scale(1);
    }

}

/* =========================================
   SMALL PHONES
   ========================================= */

@media (max-width: 430px) {

    .logo {
        font-size: 18px;
    }

    .balance-box {
        display: none;
    }

    .promo-button {
        width: 38px;

        padding: 0;

        font-size: 0;
    }

    .promo-button::before {
        content: "%";

        font-size: 16px;
        font-weight: 900;
    }

    .hero {
        padding-top: 55px;
    }

    .hero h1 {
        font-size: 53px;
    }

    .hero-visual {
        min-height: 330px;

        transform: scale(0.82);

        margin-top: -10px;
        margin-bottom: -25px;
    }

    .hero-buttons {
        width: 100%;
    }

    .hero-button {
        flex: 1;
    }

    .floating-card {
        min-width: 125px;

        padding: 10px;
    }

    .floating-card small {
        font-size: 7px;
    }

    .floating-card strong {
        font-size: 10px;
    }

    .floating-icon {
        width: 27px;
        height: 27px;
    }

    .game-card {
        min-height: 230px;
    }

    .game-symbol {
        min-height: 125px;
    }

    .promo-card {
        display: none;
    }

    .card-promo {
        top: -43px;

        font-size: 9px;

        padding: 8px 11px;
    }

    .promo-modal {
        padding: 24px;
    }

    .help-modal {
        border-radius: 15px;
    }

    .help-header {
        padding: 24px 22px 19px;
    }

    .help-content {
        padding-left: 22px;
        padding-right: 22px;
    }
}

/* =========================================================
   PROFILE BUTTON
========================================================= */

.profile-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 10px 16px;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;

    background: rgba(255, 255, 255, 0.04);

    color: rgba(255, 255, 255, 0.8);

    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}


.profile-button:hover {
    background: rgba(255, 255, 255, 0.07);

    border-color: rgba(255, 255, 255, 0.14);

    color: #ffffff;
}
/* =========================================
   GIFT POPUP
========================================= */

.gift-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(5, 5, 10, 0.78);
    backdrop-filter: blur(12px);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}

.gift-popup-overlay.show {
    opacity: 1;
    visibility: visible;
}


.gift-popup {
    position: relative;

    width: min(430px, 100%);

    padding: 38px 32px 32px;

    text-align: center;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(130, 80, 255, 0.18),
            transparent 48%
        ),
        #111116;

    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 24px;

    box-shadow:
        0 30px 90px rgba(0, 0, 0, 0.65),
        0 0 60px rgba(130, 80, 255, 0.12);

    transform: translateY(25px) scale(0.96);

    transition:
        transform 0.3s cubic-bezier(.2,.8,.2,1);
}

.gift-popup-overlay.show .gift-popup {
    transform: translateY(0) scale(1);
}


.gift-popup-close {
    position: absolute;

    top: 14px;
    right: 16px;

    width: 34px;
    height: 34px;

    border: 0;
    border-radius: 50%;

    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.65);

    font-size: 22px;
    line-height: 1;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.gift-popup-close:hover {
    background: rgba(255,255,255,0.12);
    color: white;
}


.gift-popup-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 76px;
    height: 76px;

    margin: 0 auto 18px;

    border-radius: 22px;

    background: rgba(130, 80, 255, 0.12);

    border: 1px solid rgba(160, 120, 255, 0.18);

    font-size: 38px;

    box-shadow:
        0 0 35px rgba(130, 80, 255, 0.15);
}


.gift-popup-label {
    margin-bottom: 7px;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.18em;

    color: rgba(170, 140, 255, 0.9);
}


.gift-popup h2 {
    margin: 0;

    font-size: 28px;
    font-weight: 700;

    color: #fff;
}


.gift-popup-amount {
    margin-top: 16px;

    font-size: 42px;
    font-weight: 800;

    letter-spacing: -0.04em;

    color: #fff;

    text-shadow:
        0 0 30px rgba(150, 110, 255, 0.3);
}


.gift-popup-message {
    margin-top: 14px;
    padding: 12px 16px;

    border-radius: 12px;

    background: rgba(255,255,255,0.045);

    color: rgba(255,255,255,0.65);

    font-size: 14px;
    line-height: 1.5;
}


.gift-popup-claim {
    width: 100%;

    margin-top: 25px;
    padding: 14px 20px;

    border: 0;
    border-radius: 13px;

    background: #fff;
    color: #0d0d11;

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 0.08em;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.gift-popup-claim:hover {
    transform: translateY(-2px);
}

.gift-popup-claim:active {
    transform: translateY(0);
}

.gift-popup-claim:disabled {
    opacity: 0.55;
    cursor: default;
    transform: none;
}


@media (max-width: 500px) {

    .gift-popup {
        padding: 34px 22px 24px;
        border-radius: 20px;
    }

    .gift-popup h2 {
        font-size: 24px;
    }

    .gift-popup-amount {
        font-size: 36px;
    }

}
.withdraw-button {
    padding: 9px 15px;

    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 10px;

    background: rgba(255, 255, 255, 0.045);
    color: rgba(255, 255, 255, 0.8);

    font-size: 13px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.withdraw-button:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: #fff;
}
.withdraw-overlay {
    position: fixed;
    inset: 0;
    z-index: 99998;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(5, 5, 10, 0.78);
    backdrop-filter: blur(12px);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}

.withdraw-overlay.show {
    opacity: 1;
    visibility: visible;
}

.withdraw-modal {
    position: relative;

    width: min(400px, 100%);

    padding: 34px 30px 28px;

    text-align: center;

    background: #111116;

    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 22px;

    box-shadow:
        0 30px 80px rgba(0,0,0,0.6);

    transform: translateY(20px) scale(.97);

    transition: transform .25s ease;
}

.withdraw-overlay.show .withdraw-modal {
    transform: translateY(0) scale(1);
}

.withdraw-close {
    position: absolute;

    top: 13px;
    right: 14px;

    width: 34px;
    height: 34px;

    border: 0;
    border-radius: 50%;

    background: rgba(255,255,255,.06);
    color: rgba(255,255,255,.65);

    font-size: 22px;

    cursor: pointer;
}

.withdraw-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 64px;
    height: 64px;

    margin: 0 auto 16px;

    border-radius: 18px;

    background: rgba(255,255,255,.06);

    font-size: 28px;
}

.withdraw-label {
    margin-bottom: 6px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;

    color: rgba(255,255,255,.45);
}

.withdraw-modal h2 {
    margin: 0;

    color: #fff;
    font-size: 28px;
}

.withdraw-modal p {
    margin: 12px 0 0;

    color: rgba(255,255,255,.55);
    font-size: 14px;
    line-height: 1.5;
}

.withdraw-ok {
    width: 100%;

    margin-top: 24px;
    padding: 13px;

    border: 0;
    border-radius: 12px;

    background: #fff;
    color: #111;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;

    cursor: pointer;
}

.nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    padding: 9px 14px;

    color: #ffffff;
    text-decoration: none;

    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.32);
    border-radius: 10px;

    font-size: 14px;
    font-weight: 600;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.nav-button:hover {
    background: rgba(139, 92, 246, 0.22);
    border-color: rgba(167, 139, 250, 0.65);

    box-shadow:
        0 0 20px rgba(139, 92, 246, 0.22);

    transform: translateY(-1px);
}

.top-button:hover {
    background: rgba(139, 92, 246, 0.24);
    border-color: rgba(167, 139, 250, 0.7);

    box-shadow:
        0 0 22px rgba(139, 92, 246, 0.28);

    transform: translateY(-1px);
}

.logo {
    color: #ffffff;
    text-decoration: none;

    font-size: 22px;
    font-weight: 900;
    letter-spacing: 2px;

    text-shadow:
        0 0 12px rgba(139, 92, 246, 0.35);

    transition: 0.2s ease;
}

.logo:hover {
    color: #c4b5fd;

    text-shadow:
        0 0 10px rgba(139, 92, 246, 0.55),
        0 0 24px rgba(139, 92, 246, 0.3);
}

.logo-dot {
    color: #8b5cf6;
    text-shadow:
        0 0 10px rgba(139, 92, 246, 0.8);
}


/* =========================================
   KENO — NAVIGATION BUTTONS
========================================= */

.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Общая база для кнопок меню */
.promo-button,
.withdraw-button,
.profile-button,
.daily-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    min-height: 42px;
    padding: 0 15px;

    border: 1px solid rgba(172, 125, 255, 0.20);
    border-radius: 12px;

    background: linear-gradient(
        145deg,
        rgba(142, 86, 230, 0.12),
        rgba(75, 48, 120, 0.08)
    );

    color: #e9ddff;
    font: inherit;
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
    white-space: nowrap;

    cursor: pointer;
    overflow: hidden;

    transition:
        background 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        transform 0.22s ease,
        color 0.22s ease;
}

/* Мягкий блик */
.promo-button::before,
.withdraw-button::before,
.profile-button::before,
.daily-button::before {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        110deg,
        transparent 25%,
        rgba(255, 255, 255, 0.055) 50%,
        transparent 75%
    );

    transform: translateX(-120%);
    transition: transform 0.45s ease;
    pointer-events: none;
}

/* Hover */
.promo-button:hover,
.withdraw-button:hover,
.profile-button:hover,
.daily-button:hover {
    transform: translateY(-2px);
    background: linear-gradient(
        145deg,
        rgba(150, 94, 240, 0.23),
        rgba(88, 54, 145, 0.16)
    );
    border-color: rgba(183, 139, 255, 0.55);
    box-shadow: 0 5px 20px rgba(116, 62, 201, 0.13);
    color: #ffffff;
}

.promo-button:hover::before,
.withdraw-button:hover::before,
.profile-button:hover::before,
.daily-button:hover::before {
    transform: translateX(120%);
}

/* Нажатие */
.promo-button:active,
.withdraw-button:active,
.profile-button:active,
.daily-button:active {
    transform: translateY(0) scale(0.98);
}

/* Фокус с клавиатуры */
.promo-button:focus-visible,
.withdraw-button:focus-visible,
.profile-button:focus-visible,
.daily-button:focus-visible {
    outline: 2px solid #b78bff;
    outline-offset: 3px;
}

/* Промокод — основной фиолетовый акцент */
.promo-button {
    background: linear-gradient(
        135deg,
        rgba(146, 80, 237, 0.23),
        rgba(100, 58, 175, 0.12)
    );
    border-color: rgba(172, 125, 255, 0.35);
}

/* Вывод — более спокойная кнопка */
.withdraw-button {
    color: #c8bfd8;
    background: rgba(255, 255, 255, 0.025);
    border-color: rgba(255, 255, 255, 0.09);
}

.withdraw-button:hover {
    color: #eee5ff;
    border-color: rgba(172, 125, 255, 0.4);
}

/* Профиль — аккуратная карточка-ссылка */
.profile-button {
    background: rgba(255, 255, 255, 0.035);
    border-color: rgba(255, 255, 255, 0.10);
}

.profile-button:hover {
    background: rgba(145, 91, 225, 0.14);
}

/* Daily — выделяем бонус */
.daily-button {
    background: linear-gradient(
        135deg,
        rgba(151, 91, 239, 0.25),
        rgba(100, 56, 173, 0.16)
    );
    border-color: rgba(183, 139, 255, 0.4);
    color: #eadcff;
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.035);
}

/* Баланс тоже должен сочетаться с меню */
.balance-box {
    padding: 8px 13px;
    border: 1px solid rgba(172, 125, 255, 0.16);
    border-radius: 12px;
    background: rgba(133, 83, 204, 0.07);
}

/* Адаптация для небольших экранов */
@media (max-width: 900px) {
    .nav-right {
        gap: 7px;
        flex-wrap: wrap;
    }

    .promo-button,
    .withdraw-button,
    .profile-button,
    .daily-button {
        min-height: 38px;
        padding: 0 11px;
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .promo-button,
    .withdraw-button,
    .profile-button,
    .daily-button,
    .promo-button::before,
    .withdraw-button::before,
    .profile-button::before,
    .daily-button::before {
        transition: none;
    }
}


/* =========================================
   FIX: NAV BUTTONS — DEFAULT STATE
========================================= */

/* Вывод — заметная тёмно-фиолетовая кнопка */
.nav-right .withdraw-button {
    color: #ded0f5;
    background: linear-gradient(
        135deg,
        rgba(126, 78, 190, 0.20),
        rgba(79, 54, 116, 0.16)
    );
    border: 1px solid rgba(174, 132, 225, 0.30);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.035);
}

/* Профиль — чуть ярче, с фиолетовой рамкой */
.nav-right .profile-button {
    color: #f0e7ff;
    background: linear-gradient(
        135deg,
        rgba(142, 91, 218, 0.20),
        rgba(91, 58, 143, 0.15)
    );
    border: 1px solid rgba(180, 137, 242, 0.32);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.045);
}

/* Hover теперь лишь усиливает уже видимый стиль */
.nav-right .withdraw-button:hover {
    color: #ffffff;
    background: linear-gradient(
        135deg,
        rgba(145, 91, 220, 0.34),
        rgba(91, 58, 143, 0.25)
    );
    border-color: rgba(193, 153, 255, 0.60);
    box-shadow: 0 5px 20px rgba(116, 62, 201, 0.16);
}

.nav-right .profile-button:hover {
    color: #ffffff;
    background: linear-gradient(
        135deg,
        rgba(160, 103, 239, 0.36),
        rgba(100, 61, 161, 0.25)
    );
    border-color: rgba(200, 166, 255, 0.65);
    box-shadow: 0 5px 22px rgba(116, 62, 201, 0.20);
}

/* =========================================
   REDUCED MOTION
   ========================================= */

@media (prefers-reduced-motion: reduce) {

    .home-page *,
    .home-page *::before,
    .home-page *::after {
        scroll-behavior: auto !important;

        transition: none !important;

        animation: none !important;
    }
}
/* =========================================
   KENO — ROULETTE LOGO
========================================= */

.game-card.roulette {
    --roulette-accent: #92909f;
    min-width: 0;
}

.game-card.roulette .roulette-symbol {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 230px;
    padding: 15px 0;
    overflow: visible;
    box-sizing: border-box;
}

.game-card.roulette .roulette-icon {
    position: relative;
    width: 200px;
    height: 200px;
    flex: 0 0 200px;
    box-sizing: border-box;
    border: 5px solid #777582;
    border-radius: 50%;

    background:
        repeating-conic-gradient(
            from -4.8648deg,
            #65636f 0deg 4.8648deg,
            #292832 4.8648deg 9.7297deg
        );

    box-shadow:
        0 0 0 3px #292832,
        0 0 0 5px #55535f,
        inset 0 0 0 5px #25242d;

    transition: transform .35s ease, box-shadow .35s ease;
}

/* Внутреннее кольцо */
.game-card.roulette .roulette-icon::before {
    content: "";
    position: absolute;
    inset: 17px;
    border: 2px solid #85838f;
    border-radius: 50%;
    box-shadow: inset 0 0 0 3px #292832;
    pointer-events: none;
    z-index: 1;
}

/* Контейнер чисел */
.game-card.roulette .roulette-numbers {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    pointer-events: none;
    z-index: 3;
}

/* Все 37 чисел располагаются по окружности */
.game-card.roulette .roulette-numbers span {
    position: absolute;
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 22px;
    height: 14px;
    margin: -7px 0 0 -11px;
    padding: 0;

    box-sizing: border-box;
    border: none;
    border-radius: 0;
    background: transparent;

    color: #f0eff5;
    font-family: Arial, sans-serif;
    font-size: 10px;
    line-height: 14px;
    font-weight: 900;
    text-shadow: 0 1px 3px #000;

    transform:
        rotate(calc(var(--i) * 9.7297297deg))
        translateY(-83px)
        rotate(calc(var(--i) * -9.7297297deg));
}

/* Позиции чисел — европейская рулетка */
.game-card.roulette .roulette-numbers span:nth-child(1)  { --i: 0; }
.game-card.roulette .roulette-numbers span:nth-child(2)  { --i: 1; }
.game-card.roulette .roulette-numbers span:nth-child(3)  { --i: 2; }
.game-card.roulette .roulette-numbers span:nth-child(4)  { --i: 3; }
.game-card.roulette .roulette-numbers span:nth-child(5)  { --i: 4; }
.game-card.roulette .roulette-numbers span:nth-child(6)  { --i: 5; }
.game-card.roulette .roulette-numbers span:nth-child(7)  { --i: 6; }
.game-card.roulette .roulette-numbers span:nth-child(8)  { --i: 7; }
.game-card.roulette .roulette-numbers span:nth-child(9)  { --i: 8; }
.game-card.roulette .roulette-numbers span:nth-child(10) { --i: 9; }
.game-card.roulette .roulette-numbers span:nth-child(11) { --i: 10; }
.game-card.roulette .roulette-numbers span:nth-child(12) { --i: 11; }
.game-card.roulette .roulette-numbers span:nth-child(13) { --i: 12; }
.game-card.roulette .roulette-numbers span:nth-child(14) { --i: 13; }
.game-card.roulette .roulette-numbers span:nth-child(15) { --i: 14; }
.game-card.roulette .roulette-numbers span:nth-child(16) { --i: 15; }
.game-card.roulette .roulette-numbers span:nth-child(17) { --i: 16; }
.game-card.roulette .roulette-numbers span:nth-child(18) { --i: 17; }
.game-card.roulette .roulette-numbers span:nth-child(19) { --i: 18; }
.game-card.roulette .roulette-numbers span:nth-child(20) { --i: 19; }
.game-card.roulette .roulette-numbers span:nth-child(21) { --i: 20; }
.game-card.roulette .roulette-numbers span:nth-child(22) { --i: 21; }
.game-card.roulette .roulette-numbers span:nth-child(23) { --i: 22; }
.game-card.roulette .roulette-numbers span:nth-child(24) { --i: 23; }
.game-card.roulette .roulette-numbers span:nth-child(25) { --i: 24; }
.game-card.roulette .roulette-numbers span:nth-child(26) { --i: 25; }
.game-card.roulette .roulette-numbers span:nth-child(27) { --i: 26; }
.game-card.roulette .roulette-numbers span:nth-child(28) { --i: 27; }
.game-card.roulette .roulette-numbers span:nth-child(29) { --i: 28; }
.game-card.roulette .roulette-numbers span:nth-child(30) { --i: 29; }
.game-card.roulette .roulette-numbers span:nth-child(31) { --i: 30; }
.game-card.roulette .roulette-numbers span:nth-child(32) { --i: 31; }
.game-card.roulette .roulette-numbers span:nth-child(33) { --i: 32; }
.game-card.roulette .roulette-numbers span:nth-child(34) { --i: 33; }
.game-card.roulette .roulette-numbers span:nth-child(35) { --i: 34; }
.game-card.roulette .roulette-numbers span:nth-child(36) { --i: 35; }
.game-card.roulette .roulette-numbers span:nth-child(37) { --i: 36; }

/* Центральная втулка */
.game-card.roulette .roulette-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    box-sizing: border-box;
    transform: translate(-50%, -50%);

    border: 3px solid #aaa8b5;
    border-radius: 50%;
    background: radial-gradient(
        circle at 35% 30%,
        #c9c8d0,
        #85838f 55%,
        #4a4854
    );

    box-shadow: 0 0 8px #0008;
    z-index: 5;
    pointer-events: none;
}

/* Шарик */
.game-card.roulette .roulette-icon::after {
    content: "";
    position: absolute;
    top: 17%;
    left: 50%;
    width: 10px;
    height: 10px;
    box-sizing: border-box;
    transform: translateX(-50%);

    border: 1px solid #f0eff5;
    border-radius: 50%;
    background: radial-gradient(
        circle at 30% 30%,
        #fff,
        #d7d6df 45%,
        #777582
    );

    box-shadow: 0 0 6px #ffffff70;
    z-index: 6;
    pointer-events: none;
}

/* Наведение */
.game-card.roulette:hover .roulette-icon {
    transform: rotate(8deg) scale(1.03);
    box-shadow:
        0 0 0 3px #292832,
        0 0 0 5px #85838f,
        inset 0 0 0 5px #25242d,
        0 0 22px #aaa8b522;
}

.game-card.roulette:hover {
    border-color: #92909f50;
}

/* Мобильные экраны */
@media (max-width: 480px) {
    .game-card.roulette .roulette-symbol {
        min-height: 180px;
    }

    .game-card.roulette .roulette-icon {
        width: 160px;
        height: 160px;
        flex-basis: 160px;
    }

    .game-card.roulette .roulette-numbers span {
        width: 18px;
        height: 12px;
        margin: -6px 0 0 -9px;
        font-size: 8px;

        transform:
            rotate(calc(var(--i) * 9.7297297deg))
            translateY(-66px)
            rotate(calc(var(--i) * -9.7297297deg));
    }

    .game-card.roulette .roulette-hub {
        width: 25px;
        height: 25px;
    }
}