:root {
    --bg: #090b14;
    --panel: #111827;
    --line: rgba(255, 255, 255, .09);
    --gold: #f7c948;
    --blue: #37b7ff;
    --red: #ff3158;
    --green: #34f5c5;
    --violet: #9b5cff;
    --text-soft: #c9d6e5;
}

.auto-bot-hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 24px;
    align-items: center;
    margin-bottom: 22px;
    padding: 28px;
    border: 1px solid rgba(0, 240, 255, .25);
    border-radius: 28px;
    background:
        radial-gradient(circle at 82% 30%, rgba(255, 45, 215, .35), transparent 28%),
        radial-gradient(circle at 20% 15%, rgba(0, 240, 255, .22), transparent 30%),
        linear-gradient(135deg, rgba(4, 18, 36, .96), rgba(20, 3, 34, .94));
    box-shadow: 0 24px 70px rgba(0, 0, 0, .35), inset 0 0 35px rgba(0, 240, 255, .08);
}

.auto-bot-hero span,
.auto-bot-card small {
    color: #46f7ff;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.auto-bot-hero h1 {
    margin: 6px 0;
    font-size: clamp(2rem, 6vw, 4.2rem);
    font-weight: 1000;
    color: #fff;
    text-shadow: 0 0 26px rgba(255, 45, 215, .45);
}

.auto-bot-hero p {
    max-width: 760px;
    color: #bac2d9;
}

.auto-bot-hero strong {
    display: inline-flex;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(37, 255, 151, .12);
    color: #56ffb7;
    border: 1px solid rgba(37, 255, 151, .35);
}

.auto-bot-orb {
    position: relative;
    width: 190px;
    height: 190px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: radial-gradient(circle, #55fff2 0 18%, #654dff 19% 42%, rgba(255, 45, 215, .42) 43% 62%, transparent 63%);
    box-shadow: 0 0 55px rgba(0, 240, 255, .5);
    animation: botPulse 2.8s ease-in-out infinite;
}

.auto-bot-orb i {
    position: absolute;
    inset: 14px;
    border: 1px dashed rgba(255, 255, 255, .58);
    border-radius: 50%;
    animation: botSpin 9s linear infinite;
}

.auto-bot-orb b {
    font-size: 2rem;
    font-weight: 1000;
    color: #010514;
}

.auto-bot-orb em {
    position: absolute;
    bottom: 38px;
    font-style: normal;
    font-weight: 1000;
    color: #fff;
}

.auto-bot-card {
    position: relative;
    overflow: hidden;
    height: 100%;
    padding: 20px;
    border-radius: 24px;
    border: 1px solid rgba(0, 240, 255, .22);
    background: linear-gradient(145deg, rgba(13, 22, 44, .96), rgba(20, 8, 35, .96));
    box-shadow: 0 16px 45px rgba(0, 0, 0, .26);
}

.auto-bot-card:before {
    content: "";
    position: absolute;
    inset: -45%;
    background: conic-gradient(from 90deg, transparent, rgba(0, 240, 255, .16), transparent, rgba(255, 45, 215, .16), transparent);
    animation: botSpin 8s linear infinite;
}

.auto-bot-card>* {
    position: relative;
    z-index: 1;
}

.auto-bot-card h3 {
    margin-top: 10px;
    font-size: 1.25rem;
    font-weight: 1000;
}

.auto-bot-card strong {
    display: block;
    font-size: 2rem;
    color: #fff;
}

.auto-bot-card p {
    margin: 4px 0;
    color: #55ffb6;
    font-weight: 900;
}

.auto-bot-range {
    margin-top: 10px;
    padding: 8px 10px;
    border: 1px solid rgba(70, 247, 255, .22);
    border-radius: 12px;
    color: #cfd8ff;
    background: rgba(0, 0, 0, .18);
    font-size: .86rem;
    font-weight: 800;
}

.auto-bot-calc {
    display: grid;
    gap: 6px;
    margin-top: 10px;
    padding: 10px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(37, 255, 151, .13), rgba(0, 240, 255, .1));
    border: 1px solid rgba(37, 255, 151, .24);
}

.auto-bot-calc span {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    color: #dff;
    font-weight: 800;
}

.auto-bot-calc b {
    color: #55ffb6;
}

.auto-bot-calc small {
    letter-spacing: 0;
    text-transform: none;
    color: #aeb8d4;
}

.bot-radar {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: radial-gradient(circle, #58fff1 0 16%, rgba(88, 255, 241, .12) 17% 100%);
    border: 1px solid rgba(88, 255, 241, .65);
    box-shadow: 0 0 28px rgba(88, 255, 241, .45);
}

.bot-radar span {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: conic-gradient(from 0deg, rgba(255, 255, 255, .85), transparent 28%);
    animation: botSpin 1.8s linear infinite;
}

@keyframes botSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes botPulse {
    50% {
        transform: scale(1.04);
        filter: saturate(1.35);
    }
}

.promo-bot-popup {
    position: fixed;
    right: 18px;
    bottom: 92px;
    z-index: 2500;
    width: min(430px, calc(100vw - 24px));
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 15px;
    overflow: hidden;
    border: 1px solid rgba(55, 246, 255, .48);
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(6, 16, 36, .97), rgba(40, 8, 59, .98));
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .04) inset, 0 0 34px rgba(48, 244, 255, .26), 0 22px 65px rgba(0, 0, 0, .55);
    backdrop-filter: blur(18px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(22px) scale(.96);
    transition: .32s ease;
}

.promo-bot-popup.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.promo-bot-popup:before {
    content: "";
    position: absolute;
    inset: -55%;
    background: conic-gradient(from 180deg, transparent, rgba(54, 244, 255, .19), transparent, rgba(255, 47, 209, .24), transparent);
    animation: promoBotGlow 7s linear infinite;
    pointer-events: none;
}

.promo-bot-popup>* {
    position: relative;
    z-index: 1;
}

.promo-bot-close {
    position: absolute;
    right: 9px;
    top: 8px;
    z-index: 3;
    width: 27px;
    height: 27px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    color: #fff;
    line-height: 20px;
}

.promo-bot-radar {
    width: 56px;
    height: 56px;
    border: 1px solid rgba(52, 245, 255, .6);
    border-radius: 50%;
    background: radial-gradient(circle at 40% 40%, #63fff8 0 8%, transparent 9%), conic-gradient(from 20deg, rgba(255, 255, 255, .95), rgba(78, 255, 246, .25), rgba(5, 12, 28, .3), rgba(255, 255, 255, .8));
    box-shadow: 0 0 24px rgba(64, 244, 255, .35);
    animation: promoBotPulse 1.6s ease-in-out infinite;
}

.promo-bot-copy span {
    display: block;
    color: #39f6ff;
    font-size: .62rem;
    font-weight: 1000;
    letter-spacing: .18em;
}

.promo-bot-copy strong {
    display: block;
    margin: 2px 0;
    overflow: hidden;
    color: #fff;
    font-size: 1.14rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.promo-bot-copy small {
    color: #adb7ce;
}

.promo-bot-stock {
    min-width: 94px;
    padding: 9px 10px;
    border: 1px solid rgba(255, 210, 112, .35);
    border-radius: 14px;
    background: rgba(255, 210, 112, .08);
    text-align: center;
}

.promo-bot-stock small {
    display: block;
    color: #ffd878;
    font-size: .56rem;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.promo-bot-stock b {
    display: block;
    color: #fff;
    font-size: 1.35rem;
    line-height: 1.1;
}

.promo-bot-popup .btn {
    grid-column: 1 / -1;
    border-radius: 14px;
}

@keyframes promoBotGlow {
    to {
        transform: rotate(360deg);
    }
}

@keyframes promoBotPulse {
    50% {
        transform: scale(1.07);
        box-shadow: 0 0 34px rgba(64, 244, 255, .55);
    }
}

@media (max-width: 760px) {
    .auto-bot-hero {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .auto-bot-orb {
        width: 132px;
        height: 132px;
        justify-self: center;
    }
}

@media (max-width: 560px) {
    .promo-bot-popup {
        left: 10px;
        right: 10px;
        bottom: 78px;
        width: auto;
        grid-template-columns: 48px minmax(0, 1fr) 78px;
        padding: 12px;
        border-radius: 18px;
    }

    .promo-bot-radar {
        width: 44px;
        height: 44px;
    }

    .promo-bot-copy strong {
        font-size: .95rem;
    }

    .promo-bot-stock {
        min-width: 72px;
        padding: 8px;
    }

    .promo-bot-stock b {
        font-size: 1.05rem;
    }

    .promo-bot-popup .btn {
        padding: 9px 12px;
    }
}

.concept-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(24px, 5vw, 54px);
    margin-bottom: 22px;
    border: 1px solid rgba(0, 240, 255, .25);
    border-radius: 30px;
    background:
        radial-gradient(circle at 80% 20%, rgba(255, 45, 215, .35), transparent 30%),
        radial-gradient(circle at 15% 15%, rgba(37, 255, 151, .18), transparent 28%),
        linear-gradient(135deg, rgba(4, 18, 36, .96), rgba(23, 4, 38, .95));
    box-shadow: 0 26px 80px rgba(0, 0, 0, .35);
}

.concept-hero span {
    color: #46f7ff;
    font-weight: 1000;
    letter-spacing: .14em;
}

.concept-hero h1 {
    max-width: 980px;
    margin: 8px 0;
    font-size: clamp(2rem, 5vw, 4.6rem);
    font-weight: 1000;
    color: #fff;
}

.concept-hero p {
    max-width: 900px;
    color: #c6cee5;
}

.concept-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.concept-grid article,
.concept-section,
.concept-mini-card,
.reward-prize-card {
    border: 1px solid rgba(0, 240, 255, .18);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(10, 19, 39, .95), rgba(24, 8, 36, .94));
    box-shadow: 0 16px 42px rgba(0, 0, 0, .24);
}

.concept-grid article {
    padding: 18px;
}

.concept-grid b {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #03101b;
    background: linear-gradient(135deg, #71fff4, #ff3ee7);
}

.concept-grid h3,
.concept-section h2,
.concept-mini-card h4,
.reward-prize-card h4 {
    color: #fff;
    font-weight: 1000;
}

.concept-grid p,
.concept-grid em,
.concept-mini-card p,
.reward-prize-card p {
    color: #b9c3dc;
}

.concept-grid em {
    display: block;
    font-style: normal;
    font-size: .9rem;
}

.concept-section {
    padding: 22px;
    margin-bottom: 22px;
}

.concept-example {
    padding: 16px;
    margin-top: 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .045);
}

.level-chip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
}

.level-chip-grid div {
    padding: 13px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0, 240, 255, .13), rgba(255, 45, 215, .1));
    border: 1px solid rgba(255, 255, 255, .1);
}

.level-chip-grid span,
.level-chip-grid small {
    display: block;
    color: #9aa8c8;
    font-weight: 800;
}

.level-chip-grid strong {
    color: #55ffb6;
    font-size: 1.35rem;
}

.concept-mini-card,
.reward-prize-card {
    padding: 18px;
}

.concept-mini-card strong,
.reward-prize-card strong {
    display: block;
    color: #55ffb6;
    font-size: 1.5rem;
}

.reward-prize-icon {
    display: inline-grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 10px;
    border-radius: 18px;
    color: #03101b;
    background: linear-gradient(135deg, #ffcf5b, #50fff0);
    font-weight: 1000;
}

.reward-rules {
    display: grid;
    gap: 7px;
    margin-top: 12px;
}

.reward-rules span {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .045);
    color: #dbe5ff;
    font-size: .9rem;
}

.reward-rules b {
    color: #46f7ff;
}

@media (max-width: 920px) {
    .concept-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .concept-grid {
        grid-template-columns: 1fr;
    }
}

* {
    letter-spacing: 0;
    box-sizing: border-box;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    background:
        radial-gradient(circle at 12% 8%, rgba(52, 245, 197, .20), transparent 28%),
        radial-gradient(circle at 88% 12%, rgba(255, 49, 88, .18), transparent 30%),
        radial-gradient(circle at 50% 100%, rgba(55, 183, 255, .16), transparent 34%),
        linear-gradient(180deg, #070913 0%, #0b1020 48%, #080912 100%);
    color: #f7fafc;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    min-height: 100vh;
    padding-bottom: 72px;
}

.glass,
.cardx,
.stat,
.side,
.table-wrap {
    background:
        linear-gradient(145deg, rgba(18, 31, 54, .92), rgba(10, 14, 29, .88)),
        radial-gradient(circle at 18% 0%, rgba(55, 183, 255, .18), transparent 34%);
    border: 1px solid rgba(103, 232, 249, .22);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, .03) inset,
        0 0 22px rgba(55, 183, 255, .15),
        0 18px 50px rgba(0, 0, 0, .34);
    backdrop-filter: blur(16px);
}

.cardx,
.stat,
.table-wrap {
    border-radius: 8px;
    padding: 18px;
    position: relative;
    overflow: hidden;
}

.cardx::before,
.stat::before,
.table-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(120deg, rgba(52, 245, 197, .16), transparent 30%, rgba(247, 201, 72, .12) 64%, transparent);
    opacity: .78;
}

.cardx>*,
.stat>*,
.table-wrap>* {
    position: relative;
    z-index: 1;
}

.hero {
    min-height: 68vh;
    display: grid;
    align-items: center;
    background:
        linear-gradient(135deg, rgba(255, 49, 88, .28), rgba(55, 183, 255, .20)),
        radial-gradient(circle at 75% 30%, rgba(247, 201, 72, .20), transparent 30%);
    border: 1px solid rgba(103, 232, 249, .26);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 34px rgba(55, 183, 255, .18), 0 26px 70px rgba(0, 0, 0, .38);
}

.plane {
    font-size: clamp(56px, 14vw, 150px);
    animation: fly 3s ease-in-out infinite;
    filter:
        drop-shadow(0 0 16px rgba(247, 201, 72, .65)) drop-shadow(0 14px 20px rgba(255, 49, 88, .50));
}

@keyframes fly {

    0%,
    100% {
        transform: translateY(12px) rotate(-8deg);
    }

    50% {
        transform: translateY(-18px) rotate(8deg);
    }
}

.btn {
    min-height: 42px;
    border-radius: 8px;
}

.btn-gold {
    background: linear-gradient(135deg, #ffe066, var(--gold));
    color: #17120a;
    font-weight: 800;
    border: 0;
    box-shadow: 0 0 18px rgba(247, 201, 72, .25);
}

.btn-red {
    background: linear-gradient(135deg, var(--red), #ff7a3d);
    color: white;
    border: 0;
    box-shadow: 0 0 18px rgba(255, 49, 88, .28);
}

.stat {
    min-height: 106px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.stat:hover {
    transform: translateY(-2px);
    border-color: rgba(52, 245, 197, .42);
    box-shadow: 0 0 28px rgba(52, 245, 197, .16), 0 20px 54px rgba(0, 0, 0, .36);
}

.stat span {
    color: var(--text-soft);
    font-size: .82rem;
    line-height: 1.25;
}

.stat strong {
    display: block;
    font-size: clamp(1.06rem, 2.8vw, 1.42rem);
    line-height: 1.15;
    color: #ffffff;
    text-shadow: 0 0 14px rgba(52, 245, 197, .24);
    overflow-wrap: anywhere;
}

.table {
    --bs-table-bg: transparent;
    --bs-table-color: #f7fafc;
    --bs-table-border-color: var(--line);
}

.form-control,
.form-select,
textarea {
    background: rgba(7, 13, 27, .88) !important;
    border-color: rgba(103, 232, 249, .20) !important;
    color: #f7fafc !important;
    border-radius: 8px !important;
    min-height: 42px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .02) inset;
}

.form-control:focus,
.form-select:focus,
textarea:focus {
    border-color: rgba(52, 245, 197, .72) !important;
    box-shadow: 0 0 0 .18rem rgba(52, 245, 197, .14) !important;
}

.bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    background: rgba(8, 13, 26, .96);
    border-top: 1px solid rgba(103, 232, 249, .22);
    box-shadow: 0 -10px 30px rgba(55, 183, 255, .12);
    z-index: 40;
}

.bottom-nav a {
    color: #d8e1ee;
    text-align: center;
    padding: 12px 4px;
    text-decoration: none;
    font-size: .76rem;
    font-weight: 700;
}

.bottom-nav a:hover {
    color: var(--green);
}

.admin-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 20px;
}

.side {
    border-radius: 8px;
    padding: 16px;
    min-height: calc(100vh - 32px);
}

.side a {
    display: block;
    color: #d8e1ee;
    padding: 10px 12px;
    text-decoration: none;
    border-radius: 6px;
}

.side a.active,
.side a:hover {
    background: rgba(247, 201, 72, .14);
    color: var(--gold);
}

.alert {
    border-radius: 8px;
    border: 1px solid rgba(103, 232, 249, .18);
}

.navbar-brand {
    color: var(--gold) !important;
    text-shadow: 0 0 14px rgba(247, 201, 72, .36);
}

.nav-link {
    font-weight: 700;
}

.aviator-shell {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(103, 232, 249, .22);
    background: linear-gradient(145deg, rgba(7, 12, 24, .96), rgba(14, 18, 37, .96));
    box-shadow: 0 0 34px rgba(255, 49, 88, .18), 0 26px 70px rgba(0, 0, 0, .42);
}

.aviator-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(3, 8, 18, .86);
    border-bottom: 1px solid rgba(103, 232, 249, .16);
    color: var(--text-soft);
    font-size: .88rem;
}

.aviator-topbar strong {
    color: var(--red);
    margin-right: 10px;
    text-shadow: 0 0 14px rgba(255, 49, 88, .38);
}

.aviator-stage {
    --flight-progress: 0%;
    min-height: 430px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 55% 44%, rgba(155, 92, 255, .34), transparent 22%),
        repeating-conic-gradient(from 8deg at 50% 100%, rgba(255, 255, 255, .035) 0deg 8deg, transparent 8deg 16deg),
        linear-gradient(120deg, #070913 0%, #140a24 56%, #090b14 100%);
}

.runway-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(103, 232, 249, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(103, 232, 249, .045) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to top, rgba(0, 0, 0, .88), transparent 75%);
}

.flight-curve {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.curve-shadow,
.curve-line {
    fill: none;
    stroke-linecap: round;
}

.curve-shadow {
    stroke: rgba(255, 49, 88, .18);
    stroke-width: 18;
}

.curve-line {
    stroke: #ff3158;
    stroke-width: 5;
    filter: drop-shadow(0 0 12px rgba(255, 49, 88, .75));
    stroke-dasharray: 1200;
    stroke-dashoffset: 1200;
}

.flight-fill {
    position: absolute;
    left: 0;
    bottom: 0;
    width: var(--flight-progress);
    height: 48%;
    background: linear-gradient(60deg, rgba(255, 49, 88, .48), rgba(255, 49, 88, .12));
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
    transition: width .08s linear;
    z-index: 1;
}

.aviator-plane {
    position: absolute;
    left: 4%;
    top: 78%;
    width: 84px;
    height: 34px;
    border-radius: 50% 12px 12px 50%;
    background: linear-gradient(135deg, #ff3158, #ff7a3d);
    box-shadow: 0 0 18px rgba(255, 49, 88, .65);
    z-index: 5;
    transition: filter .2s ease;
}

.aviator-plane::before {
    content: "";
    position: absolute;
    right: 18px;
    top: -22px;
    width: 46px;
    height: 28px;
    border-radius: 70% 30% 0 0;
    border-top: 4px solid #ff3158;
    border-left: 3px solid #ff3158;
    transform: skewX(-20deg);
}

.aviator-plane::after {
    content: "";
    position: absolute;
    left: -20px;
    top: 11px;
    width: 26px;
    height: 8px;
    border-radius: 99px;
    background: linear-gradient(90deg, transparent, rgba(247, 201, 72, .8), rgba(255, 255, 255, .9));
    filter: blur(.2px);
}

.plane-body {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: .7rem;
    font-weight: 900;
    color: white;
}

.aviator-plane.crashed {
    filter: grayscale(.2) drop-shadow(0 0 22px rgba(255, 49, 88, .9));
    animation: crashShake .28s linear infinite;
}

@keyframes crashShake {

    0%,
    100% {
        margin-top: 0;
    }

    50% {
        margin-top: 8px;
    }
}

.multiplier-display {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    z-index: 4;
    font-size: clamp(3rem, 12vw, 6.8rem);
    font-weight: 900;
    color: #fff;
    text-shadow: 0 0 28px rgba(155, 92, 255, .82), 0 0 52px rgba(55, 183, 255, .32);
}

.crash-banner {
    position: absolute;
    left: 50%;
    top: 58%;
    transform: translate(-50%, -50%) scale(.9);
    z-index: 7;
    color: #fff;
    background: linear-gradient(135deg, #ff3158, #8b1028);
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 900;
    letter-spacing: 0;
    opacity: 0;
    box-shadow: 0 0 30px rgba(255, 49, 88, .58);
    transition: opacity .18s ease, transform .18s ease;
}

.crash-banner.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.aviator-controls {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 12px;
    padding: 14px;
    background: rgba(5, 10, 20, .92);
    border-top: 1px solid rgba(103, 232, 249, .16);
}

.control-panel {
    border: 1px solid rgba(103, 232, 249, .16);
    border-radius: 8px;
    padding: 12px;
    background: rgba(255, 255, 255, .04);
}

.control-panel span {
    display: block;
    color: var(--text-soft);
    font-size: .82rem;
}

.control-panel strong {
    display: block;
    font-size: 1.15rem;
    color: white;
}

.control-action {
    align-self: stretch;
    display: grid;
}

@media (max-width: 800px) {
    body {
        padding-bottom: 78px;
    }

    main.container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .hero {
        min-height: auto;
        padding: 24px 18px !important;
    }

    .hero .display-4 {
        font-size: 2.15rem;
        line-height: 1.05;
    }

    .lead {
        font-size: .98rem;
    }

    .cardx,
    .stat,
    .table-wrap {
        padding: 15px;
    }

    .row.g-3 {
        --bs-gutter-x: .75rem;
        --bs-gutter-y: .75rem;
    }

    .table-responsive {
        border-radius: 8px;
        overflow-x: auto;
    }

    .btn-lg {
        width: 100%;
        margin-bottom: 8px;
    }

    .bottom-nav {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .aviator-topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .aviator-stage {
        min-height: 330px;
    }

    .aviator-plane {
        width: 62px;
        height: 27px;
    }

    .aviator-plane::before {
        right: 12px;
        top: -17px;
        width: 34px;
        height: 22px;
    }

    .aviator-controls {
        grid-template-columns: 1fr;
    }

    .control-panel strong {
        font-size: 1.05rem;
    }

    .admin-layout {
        grid-template-columns: 1fr;
    }

    .side {
        min-height: auto;
    }
}


/* Yolo Earn neon system */
:root {
    --bg: #03040b;
    --panel: #090d1a;
    --line: rgba(0, 246, 255, .24);
    --gold: #00f6ff;
    --blue: #00b8ff;
    --red: #ff2bd6;
    --green: #39ff88;
    --violet: #8b5cff;
    --text-soft: #aab8d4;
    --neon-cyan: #00f6ff;
    --neon-pink: #ff2bd6;
    --neon-green: #39ff88;
    --neon-violet: #8b5cff;
}

html {
    background: #03040b;
}

body {
    overflow-x: hidden;
    background:
        radial-gradient(circle at 8% 5%, rgba(0, 246, 255, .17), transparent 27%),
        radial-gradient(circle at 92% 8%, rgba(255, 43, 214, .16), transparent 28%),
        radial-gradient(circle at 48% 100%, rgba(139, 92, 255, .18), transparent 36%),
        linear-gradient(180deg, #02030a 0%, #070a18 48%, #03040b 100%);
    background-attachment: fixed;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    opacity: .18;
    background-image: linear-gradient(rgba(0, 246, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 246, 255, .08) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: linear-gradient(to bottom, #000, transparent 80%);
}

.glass,
.cardx,
.stat,
.side,
.table-wrap {
    background: linear-gradient(145deg, rgba(11, 18, 38, .94), rgba(5, 7, 18, .94)), radial-gradient(circle at 12% 0%, rgba(0, 246, 255, .14), transparent 36%);
    border-color: rgba(0, 246, 255, .25);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .025) inset, 0 0 20px rgba(0, 246, 255, .11), 0 18px 48px rgba(0, 0, 0, .45);
}

.cardx,
.stat,
.table-wrap,
.side,
.hero,
.aviator-shell {
    border-radius: 14px;
}

.cardx::before,
.stat::before,
.table-wrap::before {
    background: linear-gradient(120deg, rgba(0, 246, 255, .13), transparent 32%, rgba(255, 43, 214, .10) 68%, transparent);
}

.navbar {
    border-bottom: 1px solid rgba(0, 246, 255, .28);
    box-shadow: 0 8px 30px rgba(0, 246, 255, .08);
}

.navbar-brand {
    color: #fff !important;
    letter-spacing: .12em;
    text-shadow: 0 0 8px var(--neon-cyan), 0 0 22px var(--neon-cyan);
}

.navbar-toggler {
    border-color: rgba(0, 246, 255, .45);
    box-shadow: 0 0 12px rgba(0, 246, 255, .2);
}

.nav-link {
    color: #dbe8ff !important;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--neon-cyan) !important;
    text-shadow: 0 0 10px rgba(0, 246, 255, .7);
}

.hero {
    background: radial-gradient(circle at 75% 32%, rgba(255, 43, 214, .24), transparent 26%), linear-gradient(135deg, rgba(0, 246, 255, .14), rgba(139, 92, 255, .13));
    border-color: rgba(0, 246, 255, .38);
    box-shadow: 0 0 30px rgba(0, 246, 255, .13), 0 0 70px rgba(255, 43, 214, .08), 0 28px 70px rgba(0, 0, 0, .5);
}

.hero h1 {
    color: #fff;
    letter-spacing: .04em;
    text-shadow: 0 0 8px rgba(255, 255, 255, .6), 0 0 24px var(--neon-pink), 0 0 48px rgba(255, 43, 214, .55);
}

.text-warning {
    color: var(--neon-green) !important;
    text-shadow: 0 0 12px rgba(57, 255, 136, .48);
}

.plane {
    color: #fff;
    filter: drop-shadow(0 0 10px var(--neon-cyan)) drop-shadow(0 0 30px var(--neon-pink));
}

.btn {
    border-radius: 10px;
    font-weight: 800;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
}

.btn-gold {
    color: #001013;
    background: linear-gradient(135deg, #a9ffff, var(--neon-cyan));
    box-shadow: 0 0 10px rgba(0, 246, 255, .6), 0 0 28px rgba(0, 246, 255, .25);
}

.btn-red {
    color: #fff;
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-violet));
    box-shadow: 0 0 10px rgba(255, 43, 214, .55), 0 0 28px rgba(255, 43, 214, .25);
}

.btn-outline-light {
    border-color: rgba(0, 246, 255, .5);
    color: #fff;
    box-shadow: inset 0 0 14px rgba(0, 246, 255, .08);
}

.btn-outline-light:hover {
    color: #001013;
    background: var(--neon-cyan);
    border-color: var(--neon-cyan);
}

.stat {
    border-color: rgba(139, 92, 255, .32);
}

.row>div:nth-child(4n+1) .stat {
    border-color: rgba(0, 246, 255, .34);
}

.row>div:nth-child(4n+2) .stat {
    border-color: rgba(255, 43, 214, .33);
}

.row>div:nth-child(4n+3) .stat {
    border-color: rgba(57, 255, 136, .3);
}

.stat strong {
    text-shadow: 0 0 12px rgba(0, 246, 255, .42);
}

.stat:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 24px rgba(0, 246, 255, .18), 0 20px 50px rgba(0, 0, 0, .42);
}

.form-control,
.form-select,
textarea {
    background: rgba(2, 6, 18, .9) !important;
    border-color: rgba(0, 246, 255, .28) !important;
    box-shadow: inset 0 0 14px rgba(0, 246, 255, .035);
}

.form-control:focus,
.form-select:focus,
textarea:focus {
    border-color: var(--neon-cyan) !important;
    box-shadow: 0 0 0 .18rem rgba(0, 246, 255, .13), 0 0 20px rgba(0, 246, 255, .12) !important;
}

.form-control::placeholder,
textarea::placeholder {
    color: #66728b !important;
}

option {
    color: #fff;
    background: #080c18;
}

.table {
    min-width: 620px;
}

.table> :not(caption)>*>* {
    padding: .72rem .65rem;
}

.table thead th {
    color: var(--neon-cyan);
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.table tbody tr:hover {
    background: rgba(0, 246, 255, .045);
}

.bottom-nav {
    background: rgba(3, 6, 16, .96);
    border-color: rgba(0, 246, 255, .32);
    box-shadow: 0 -5px 24px rgba(0, 246, 255, .13);
    backdrop-filter: blur(18px);
}

.bottom-nav a {
    color: #c9d5ed;
    border-top: 2px solid transparent;
}

.bottom-nav a:hover,
.bottom-nav a:focus {
    color: var(--neon-cyan);
    border-top-color: var(--neon-cyan);
    text-shadow: 0 0 10px rgba(0, 246, 255, .7);
}

.side h4 {
    color: #fff;
    text-shadow: 0 0 12px var(--neon-cyan), 0 0 25px rgba(255, 43, 214, .45);
}

.side a {
    margin-bottom: 4px;
}

.side a.active,
.side a:hover {
    color: var(--neon-cyan);
    background: rgba(0, 246, 255, .1);
    box-shadow: inset 3px 0 0 var(--neon-cyan), 0 0 12px rgba(0, 246, 255, .08);
}

.aviator-shell {
    border-color: rgba(255, 43, 214, .38);
    box-shadow: 0 0 28px rgba(255, 43, 214, .18), 0 0 60px rgba(0, 246, 255, .08), 0 28px 70px rgba(0, 0, 0, .52);
}

.aviator-topbar strong {
    color: var(--neon-pink);
    text-shadow: 0 0 14px rgba(255, 43, 214, .7);
}

.aviator-stage {
    background: radial-gradient(circle at 55% 44%, rgba(139, 92, 255, .42), transparent 24%), radial-gradient(circle at 28% 78%, rgba(0, 246, 255, .12), transparent 24%), repeating-conic-gradient(from 8deg at 50% 100%, rgba(255, 255, 255, .032) 0deg 8deg, transparent 8deg 16deg), linear-gradient(120deg, #030611 0%, #140821 58%, #050612 100%);
}

.curve-shadow {
    stroke: rgba(255, 43, 214, .2);
}

.curve-line {
    stroke: var(--neon-pink);
    filter: drop-shadow(0 0 12px rgba(255, 43, 214, .85));
}

.flight-fill {
    background: linear-gradient(60deg, rgba(255, 43, 214, .46), rgba(139, 92, 255, .12));
}

.aviator-plane {
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-violet));
    box-shadow: 0 0 12px var(--neon-pink), 0 0 28px rgba(255, 43, 214, .7);
}

.aviator-plane::before {
    border-color: var(--neon-pink);
}

.aviator-plane::after {
    background: linear-gradient(90deg, transparent, var(--neon-cyan), #fff);
}

.multiplier-display {
    text-shadow: 0 0 12px #fff, 0 0 32px var(--neon-violet), 0 0 60px rgba(0, 246, 255, .4);
}

.control-panel {
    border-color: rgba(0, 246, 255, .25);
    background: rgba(0, 246, 255, .045);
}

.control-panel strong {
    color: var(--neon-green);
    text-shadow: 0 0 12px rgba(57, 255, 136, .4);
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        margin-top: 10px;
        padding: 10px;
        border: 1px solid rgba(0, 246, 255, .18);
        border-radius: 10px;
        background: rgba(3, 7, 18, .96);
    }

    .navbar-nav {
        gap: 2px;
    }

    .nav-link {
        padding: 10px 12px !important;
        border-radius: 8px;
    }
}

@media (max-width: 800px) {
    body {
        font-size: .92rem;
    }

    main.container {
        padding-top: 16px !important;
        padding-bottom: 24px !important;
    }

    .navbar .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .navbar-brand {
        font-size: 1rem;
    }

    .hero {
        padding: 22px 16px !important;
        text-align: center;
    }

    .hero .display-4 {
        font-size: clamp(2rem, 11vw, 3rem);
    }

    .hero .btn {
        display: flex;
        width: 100%;
        margin: 8px 0 0 !important;
    }

    .plane {
        font-size: 70px;
        margin-top: 4px;
    }

    .d-flex.justify-content-between.align-items-center {
        align-items: stretch !important;
        flex-direction: column;
        gap: 12px;
    }

    .d-flex.justify-content-between.align-items-center>.btn {
        width: 100%;
    }

    .cardx,
    .stat,
    .table-wrap {
        padding: 13px;
    }

    .stat {
        min-height: 94px;
    }

    .stat span {
        font-size: .74rem;
    }

    .stat strong {
        font-size: 1rem;
    }

    .table-wrap,
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .table {
        font-size: .78rem;
    }

    .form-control,
    .form-select,
    textarea,
    .btn {
        min-height: 46px;
    }

    .bottom-nav a {
        min-width: 0;
        padding: 11px 2px 9px;
        font-size: .68rem;
    }

    .aviator-shell {
        margin-left: -3px;
        margin-right: -3px;
    }

    .aviator-topbar {
        padding: 10px 12px;
        font-size: .78rem;
    }

    .aviator-stage {
        min-height: 300px;
    }

    .multiplier-display {
        font-size: clamp(3.1rem, 18vw, 5.2rem);
    }

    .aviator-controls {
        padding: 10px;
        gap: 9px;
    }

    .control-panel {
        padding: 10px;
    }

    .admin-layout {
        display: block;
        padding: 10px !important;
    }

    .admin-layout>main {
        min-width: 0;
    }

    .side {
        display: flex;
        align-items: center;
        gap: 6px;
        overflow-x: auto;
        min-height: 0;
        margin-bottom: 14px;
        padding: 10px;
        position: sticky;
        top: 0;
        z-index: 30;
        scrollbar-width: thin;
    }

    .side h4 {
        flex: 0 0 auto;
        margin: 0 8px 0 0;
        font-size: .9rem;
    }

    .side a {
        flex: 0 0 auto;
        white-space: nowrap;
        margin: 0;
        padding: 8px 11px;
        font-size: .76rem;
    }

    .side a.active,
    .side a:hover {
        box-shadow: inset 0 -2px 0 var(--neon-cyan);
    }

    .admin-layout h2 {
        font-size: 1.45rem;
    }
}

@media (max-width: 380px) {
    .row>.col-6 {
        width: 100%;
    }

    .bottom-nav a {
        font-size: .62rem;
    }

    .aviator-stage {
        min-height: 270px;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* Live internal crash experience */
.aviator-shell {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(113, 130, 170, .34);
    background: #080b13;
}

.aviator-stage {
    min-height: 430px;
    margin: 12px 12px 0;
    border: 1px solid rgba(0, 246, 255, .11);
    border-radius: 16px;
    background:
        radial-gradient(circle at 52% 66%, rgba(255, 43, 104, .2), transparent 17%),
        linear-gradient(rgba(70, 88, 125, .08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(70, 88, 125, .08) 1px, transparent 1px),
        linear-gradient(180deg, #111728 0%, #080b14 100%);
    background-size: auto, 38px 38px, 38px 38px, auto;
}

.aviator-stage::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    box-shadow: inset 0 -80px 90px rgba(2, 4, 10, .36), inset 0 0 45px rgba(0, 0, 0, .2);
    z-index: 3;
}

.runway-grid {
    opacity: .42;
}

.flight-glow {
    position: absolute;
    left: 42%;
    top: 52%;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255, 43, 104, .18);
    filter: blur(30px);
    animation: flightPulse 1.5s ease-in-out infinite;
}

@keyframes flightPulse {
    50% {
        transform: scale(1.18);
        opacity: .55;
    }
}

.flight-curve {
    z-index: 4;
}

.curve-shadow {
    stroke-width: 14;
    stroke: rgba(255, 43, 104, .12);
}

.curve-line {
    stroke-width: 4;
    stroke: #ff355d;
    filter: drop-shadow(0 0 8px rgba(255, 53, 93, .78));
}

.flight-fill {
    z-index: 2;
    opacity: .48;
    background: linear-gradient(50deg, rgba(255, 43, 104, .35), rgba(255, 43, 214, .05));
}

.aviator-plane {
    z-index: 7;
    width: 74px;
    height: 32px;
    border-radius: 50% 70% 35% 50%;
    background: linear-gradient(145deg, #ff5473, #ff234c 58%, #c80038);
    border: 1px solid rgba(255, 255, 255, .28);
    box-shadow: 0 0 9px rgba(255, 46, 82, .95), 0 0 24px rgba(255, 43, 104, .5);
}

.aviator-plane::before {
    right: 14px;
    top: -21px;
    width: 43px;
    height: 29px;
    border-top: 9px solid #ff355d;
    border-left: 5px solid #ff355d;
    border-radius: 90% 10% 10% 5%;
    transform: skewX(-25deg) rotate(-5deg);
}

.aviator-plane::after {
    left: -30px;
    top: 12px;
    width: 34px;
    height: 7px;
    background: linear-gradient(90deg, transparent, rgba(255, 43, 104, .55), #fff);
    box-shadow: -14px 0 13px rgba(255, 43, 104, .65);
}

.plane-wing {
    position: absolute;
    left: 25px;
    bottom: -16px;
    width: 36px;
    height: 22px;
    border-radius: 0 10% 90% 10%;
    background: #ed1644;
    transform: skewX(-27deg);
}

.plane-body {
    font-size: .56rem;
    letter-spacing: .05em;
    text-shadow: 0 1px 2px #710018;
}

.multiplier-display {
    inset: 0;
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    pointer-events: none;
}

.multiplier-display strong {
    font-size: clamp(4rem, 12vw, 7.4rem);
    line-height: .92;
    color: #f8f9ff;
    letter-spacing: -.055em;
    text-shadow: 0 3px 3px rgba(0, 0, 0, .4), 0 0 28px rgba(139, 92, 255, .2);
}

.multiplier-display small {
    margin-top: 14px;
    color: #71809d;
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .22em;
}

.aviator-stage.high-risk .multiplier-display strong {
    color: #ffecf0;
    text-shadow: 0 0 18px rgba(255, 43, 104, .58), 0 0 42px rgba(255, 43, 104, .25);
}

.aviator-stage.high-risk .flight-glow {
    background: rgba(255, 20, 70, .34);
}

.aviator-controls {
    grid-template-columns: .8fr 1fr 1.25fr;
    padding: 17px 20px 20px;
    gap: 18px;
    background: #0c1019;
    border-top: 0;
}

.control-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    border: 0;
    padding: 0;
    background: transparent;
}

.control-panel span {
    color: #78849a;
    font-size: .64rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.control-panel strong {
    color: #f3f6ff;
    font-size: 1.05rem;
    text-shadow: none;
}

.control-panel small {
    color: #74819a;
    font-size: .68rem;
}

.cashout-live,
.start-flight {
    min-height: 64px;
    border-radius: 11px;
    line-height: 1.05;
}

.cashout-live {
    background: linear-gradient(135deg, #2fe09b, #1bcf79);
    color: #02170d;
    box-shadow: 0 0 20px rgba(39, 221, 145, .22);
}

.cashout-live>span,
.start-flight>small {
    display: block;
}

.cashout-live strong {
    display: inline-block;
    margin-left: 8px;
    font-size: 1.05rem;
}

.cashout-live small {
    display: block;
    margin-top: 5px;
    opacity: .7;
    font-size: .7rem;
}

.start-flight small {
    margin-top: 5px;
    font-size: .67rem;
    font-weight: 600;
    opacity: .75;
}

.crash-banner {
    top: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: transparent;
    border: 0;
    box-shadow: none;
    color: #ff355d;
    text-shadow: 0 0 18px rgba(255, 53, 93, .7);
}

.crash-banner strong {
    font-size: clamp(2.2rem, 8vw, 4.5rem);
    letter-spacing: -.04em;
}

.crash-banner span {
    color: #fff;
    font-size: 1.15rem;
}

.crash-burst {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 8;
    opacity: 0;
    pointer-events: none;
}

.crash-burst i {
    position: absolute;
    width: 8px;
    height: 70px;
    border-radius: 10px;
    background: linear-gradient(#fff, #ff355d, transparent);
    transform-origin: 50% 0;
}

.crash-burst i:nth-child(1) {
    transform: rotate(0deg);
}

.crash-burst i:nth-child(2) {
    transform: rotate(60deg);
}

.crash-burst i:nth-child(3) {
    transform: rotate(120deg);
}

.crash-burst i:nth-child(4) {
    transform: rotate(180deg);
}

.crash-burst i:nth-child(5) {
    transform: rotate(240deg);
}

.crash-burst i:nth-child(6) {
    transform: rotate(300deg);
}

.crash-burst.show {
    opacity: 1;
    animation: burstPop .7s ease-out forwards;
}

@keyframes burstPop {
    from {
        transform: scale(.25) rotate(0);
    }

    to {
        transform: scale(1.55) rotate(20deg);
        opacity: 0;
    }
}

.aviator-stage.crashed .flight-curve,
.aviator-stage.crashed .flight-fill,
.aviator-stage.crashed .multiplier-display {
    opacity: 0;
    transition: opacity .2s ease;
}

.aviator-plane.crashed {
    animation: planeCrash .75s ease-in forwards;
}

@keyframes planeCrash {
    to {
        transform: translate(160px, 180px) rotate(95deg) scale(.45) !important;
        opacity: 0;
    }
}

@media (max-width: 800px) {
    .aviator-shell {
        border-radius: 18px;
    }

    .aviator-stage {
        min-height: 315px;
        margin: 10px 10px 0;
        border-radius: 14px;
        background-size: auto, 30px 30px, 30px 30px, auto;
    }

    .aviator-topbar {
        flex-direction: row;
        align-items: center;
        font-size: .72rem;
    }

    .aviator-topbar div:last-child {
        text-align: right;
    }

    .multiplier-display strong {
        font-size: clamp(3.4rem, 18vw, 5.3rem);
    }

    .multiplier-display small {
        margin-top: 10px;
    }

    .aviator-plane {
        width: 56px;
        height: 25px;
    }

    .aviator-plane::before {
        right: 10px;
        top: -16px;
        width: 33px;
        height: 23px;
        border-top-width: 7px;
    }

    .plane-wing {
        left: 18px;
        bottom: -12px;
        width: 28px;
        height: 17px;
    }

    .aviator-controls {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        padding: 15px;
    }

    .control-action {
        grid-column: 1 / -1;
    }

    .cashout-live,
    .start-flight {
        min-height: 60px;
    }
}

@media (max-width: 430px) {
    .aviator-stage {
        min-height: 260px;
    }

    .aviator-controls {
        gap: 10px;
        padding: 13px;
    }

    .control-panel strong {
        font-size: .92rem;
    }

    .control-panel span,
    .control-panel small {
        font-size: .58rem;
    }

    .multiplier-display strong {
        font-size: 3.65rem;
    }

    .crash-banner strong {
        font-size: 2.35rem;
    }
}

/* Ball Drop game */
.ball-game-shell {
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(0, 246, 255, .28);
    border-radius: 18px;
    background: #080b14;
    box-shadow: 0 0 35px rgba(0, 246, 255, .1), 0 24px 70px rgba(0, 0, 0, .5);
}

.ball-game-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background: #060912;
    border-bottom: 1px solid rgba(0, 246, 255, .16);
}

.ball-game-head span {
    color: var(--neon-pink);
    font-size: .66rem;
    font-weight: 900;
    letter-spacing: .16em;
}

.ball-game-head h2 {
    margin: 2px 0 0;
    font-size: 1.2rem;
}

.run-counter {
    color: #9eabc3;
    font-size: .76rem;
}

.ball-board {
    position: relative;
    min-height: 540px;
    overflow: hidden;
    background: radial-gradient(circle at 50% 35%, rgba(139, 92, 255, .2), transparent 25%), linear-gradient(rgba(0, 246, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 246, 255, .045) 1px, transparent 1px), #080c18;
    background-size: auto, 34px 34px, 34px 34px, auto;
}

.ball-drop-title {
    position: absolute;
    z-index: 3;
    top: 20px;
    width: 100%;
    text-align: center;
}

.ball-drop-title strong {
    display: block;
    color: #fff;
    font-size: 1.5rem;
    text-shadow: 0 0 18px rgba(255, 43, 214, .45);
}

.ball-drop-title span {
    color: #7e8aa3;
    font-size: .74rem;
}

.drop-ball {
    position: absolute;
    z-index: 8;
    top: 78px;
    left: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    opacity: 0;
    background: radial-gradient(circle at 35% 28%, #fff 0 8%, #86ffff 18%, #00f6ff 50%, #087491 100%);
    box-shadow: 0 0 10px #00f6ff, 0 0 28px rgba(0, 246, 255, .85);
}

.ball-board.dropping .drop-ball {
    opacity: 1;
}

.peg-field {
    position: absolute;
    left: 12%;
    right: 12%;
    top: 118px;
    height: 310px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.peg-row {
    display: flex;
    justify-content: space-evenly;
}

.peg-row i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d7e5ff;
    box-shadow: 0 0 7px rgba(0, 246, 255, .75);
}

.profit-boxes {
    position: absolute;
    z-index: 5;
    left: 18px;
    right: 18px;
    bottom: 18px;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 7px;
}

.profit-box {
    min-width: 0;
    padding: 13px 4px 10px;
    text-align: center;
    border-radius: 10px 10px 5px 5px;
    color: #fff;
    background: linear-gradient(180deg, #202943, #111624);
    border: 1px solid rgba(255, 255, 255, .12);
    transition: .25s ease;
}

.profit-box strong {
    display: block;
    font-size: 1.1rem;
}

.profit-box span {
    display: block;
    font-size: .48rem;
    letter-spacing: .08em;
    opacity: .75;
}

.profit-box.box-0 {
    border-color: #77839a;
}

.profit-box.box-1,
.profit-box.box-2 {
    border-color: #00b8ff88;
}

.profit-box.box-3,
.profit-box.box-4 {
    border-color: #8b5cffaa;
}

.profit-box.box-5 {
    border-color: #ff2bd6aa;
}

.profit-box.winner {
    transform: translateY(-9px) scale(1.08);
    color: #02140c;
    background: linear-gradient(180deg, #7fffc1, #24dc8c);
    border-color: #a8ffd2;
    box-shadow: 0 0 18px #39ff88, 0 0 42px rgba(57, 255, 136, .45);
}

.ball-result {
    position: absolute;
    z-index: 12;
    left: 50%;
    top: 47%;
    width: min(86%, 420px);
    padding: 18px;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(.85);
    border: 1px solid rgba(57, 255, 136, .5);
    border-radius: 14px;
    background: rgba(3, 8, 16, .94);
    box-shadow: 0 0 40px rgba(57, 255, 136, .22);
    transition: .3s ease;
}

.ball-result strong {
    display: block;
    color: var(--neon-green);
    font-size: 2rem;
    text-shadow: 0 0 16px rgba(57, 255, 136, .6);
}

.ball-result span {
    color: #dbe8ff;
    font-size: .8rem;
}

.ball-board.result-ready .ball-result {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.ball-controls {
    display: grid;
    grid-template-columns: .8fr .7fr 1.35fr;
    gap: 16px;
    align-items: center;
    padding: 16px 20px 20px;
}

.ball-controls>div span {
    display: block;
    color: #78849a;
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.ball-controls>div strong {
    color: #fff;
}

.btn-ball-drop {
    width: 100%;
    min-height: 62px;
    color: #00120d;
    background: linear-gradient(135deg, #52ffc0, #18d883);
    box-shadow: 0 0 20px rgba(57, 255, 136, .25);
    font-weight: 900;
}

.btn-ball-drop small {
    display: block;
    margin-top: 4px;
    font-size: .62rem;
    opacity: .67;
}

.ball-percent-tag {
    display: inline-block;
    min-width: 42px;
    padding: 4px 8px;
    text-align: center;
    color: var(--neon-green);
    border: 1px solid rgba(57, 255, 136, .3);
    border-radius: 12px;
    background: rgba(57, 255, 136, .08);
}

/* Installable app */
.install-app-hero {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 40px;
    align-items: center;
    min-height: 440px;
    padding: 48px;
}

.install-kicker {
    color: var(--neon-green);
    font-size: .67rem;
    font-weight: 900;
    letter-spacing: .18em;
}

.install-app-hero h1 {
    margin: 10px 0 16px;
    font-size: clamp(2.5rem, 7vw, 5.2rem);
    line-height: .96;
    text-shadow: 0 0 25px rgba(0, 246, 255, .25);
}

.install-app-hero p {
    max-width: 580px;
    color: #aab8d4;
}

.app-phone {
    width: 220px;
    height: 360px;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 7px solid #1c2540;
    border-radius: 36px;
    background: radial-gradient(circle at 50% 35%, rgba(255, 43, 214, .25), transparent 30%), #050814;
    box-shadow: 0 0 30px rgba(0, 246, 255, .18);
}

.app-logo {
    width: 92px;
    height: 92px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 24px;
    color: #02050b;
    background: linear-gradient(135deg, #00f6ff, #39ff88);
    font-size: 2rem;
    font-weight: 1000;
    box-shadow: 0 0 28px rgba(0, 246, 255, .5);
}

.app-phone span {
    color: #78849a;
    font-size: .72rem;
}

.install-platforms {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 16px;
}

.install-platforms article b {
    color: var(--neon-cyan);
    font-size: .62rem;
    letter-spacing: .13em;
}

.install-platforms h3 {
    margin: 8px 0;
}

.install-platforms p {
    color: #9aa8c1;
    font-size: .8rem;
}

.install-help {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    place-items: center;
    padding: 20px;
    background: rgba(0, 0, 0, .75);
}

.install-help.show {
    display: grid;
}

.install-help>div {
    position: relative;
    max-width: 430px;
    padding: 28px;
    border: 1px solid rgba(0, 246, 255, .4);
    border-radius: 16px;
    background: #090d1a;
    box-shadow: 0 0 40px rgba(0, 246, 255, .18);
}

.install-help button {
    position: absolute;
    top: 8px;
    right: 12px;
    border: 0;
    background: none;
    color: #fff;
    font-size: 1.6rem;
}

@media(max-width:800px) {
    .ball-board {
        min-height: 450px;
    }

    .peg-field {
        left: 4%;
        right: 4%;
        top: 110px;
        height: 250px;
    }

    .profit-boxes {
        left: 8px;
        right: 8px;
        bottom: 10px;
        gap: 4px;
    }

    .profit-box {
        padding: 10px 1px 8px;
    }

    .profit-box strong {
        font-size: .86rem;
    }

    .profit-box span {
        display: none;
    }

    .ball-controls {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 13px;
    }

    .ball-controls form {
        grid-column: 1/-1;
    }

    .ball-drop-title strong {
        font-size: 1.2rem;
    }

    .install-app-hero {
        grid-template-columns: 1fr;
        padding: 26px 18px;
        text-align: center;
    }

    .install-app-hero .btn {
        width: 100%;
    }

    .app-phone {
        width: 180px;
        height: 290px;
    }

    .install-platforms {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width:430px) {
    .ball-board {
        min-height: 410px
    }

    .peg-field {
        height: 225px
    }

    .peg-row i {
        width: 6px;
        height: 6px
    }

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

    .profit-box {
        padding: 9px 0 7px
    }

    .profit-box strong {
        font-size: .62rem
    }

    .ball-result strong {
        font-size: 1.55rem
    }

    .install-platforms {
        grid-template-columns: 1fr
    }
}

/* Admin user impersonation */
.btn-login-as {
    min-width: 112px;
    color: #06020f;
    background: linear-gradient(135deg, #ff7ce8, #ff2bd6);
    border: 0;
    box-shadow: 0 0 16px rgba(255, 43, 214, .28);
    font-weight: 900;
}

.impersonation-bar {
    position: relative;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 9px max(14px, calc((100% - 1140px)/2));
    color: #fff;
    background: linear-gradient(90deg, #6c145e, #28104f, #073e4b);
    border-bottom: 1px solid rgba(0, 246, 255, .5);
    box-shadow: 0 5px 24px rgba(255, 43, 214, .25);
}

.impersonation-bar>div {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.impersonation-bar strong {
    color: #39ff88;
    font-size: .68rem;
    letter-spacing: .12em;
    white-space: nowrap;
}

.impersonation-bar span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .8rem;
}

.impersonation-bar form {
    flex: 0 0 auto;
}

.impersonation-bar button {
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 8px;
    padding: 7px 12px;
    color: #061016;
    background: #39ff88;
    font-size: .72rem;
    font-weight: 900;
}

@media(max-width:600px) {
    .impersonation-bar {
        align-items: flex-start;
        padding: 9px 10px
    }

    .impersonation-bar>div {
        display: block
    }

    .impersonation-bar strong,
    .impersonation-bar span {
        display: block
    }

    .impersonation-bar span {
        max-width: 190px
    }

    .impersonation-bar button {
        padding: 8px 9px;
        font-size: .66rem
    }
}

/* Transparent real/manual/demo activity notices */
.activity-popup {
    position: fixed;
    z-index: 1200;
    top: 82px;
    right: 18px;
    width: min(390px, calc(100vw - 24px));
    display: grid;
    grid-template-columns: 44px 1fr 24px;
    gap: 11px;
    align-items: center;
    padding: 13px 14px;
    opacity: 0;
    transform: translateX(calc(100% + 30px));
    border: 1px solid rgba(0, 246, 255, .38);
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, rgba(7, 15, 31, .98), rgba(5, 7, 18, .98));
    box-shadow: 0 0 25px rgba(0, 246, 255, .16), 0 18px 45px rgba(0, 0, 0, .45);
    transition: opacity .28s ease, transform .35s cubic-bezier(.2, .8, .2, 1);
}

.activity-popup.show {
    opacity: 1;
    transform: translateX(0);
}

.activity-popup .activity-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(0, 246, 255, .1);
    box-shadow: inset 0 0 15px rgba(0, 246, 255, .16);
}

.activity-popup .activity-icon::before {
    content: 'â†—';
    color: var(--neon-cyan);
    font-size: 1.25rem;
    font-weight: 900;
}

.activity-popup.withdrawal .activity-icon::before {
    content: 'â†“';
    color: var(--neon-green)
}

.activity-popup.registration .activity-icon::before {
    content: '+';
    color: var(--neon-pink)
}

.activity-popup .activity-label {
    display: block;
    color: var(--neon-cyan);
    font-size: .57rem;
    font-weight: 900;
    letter-spacing: .09em;
}

.activity-popup.registration .activity-label {
    color: var(--neon-pink)
}

.activity-popup.withdrawal .activity-label {
    color: var(--neon-green)
}

.activity-popup .activity-title {
    display: block;
    margin: 2px 0;
    font-size: .84rem;
    line-height: 1.25
}

.activity-popup .activity-meta {
    display: block;
    color: #8592aa;
    font-size: .65rem
}

.activity-popup button {
    align-self: start;
    border: 0;
    background: none;
    color: #8190a8;
    font-size: 1.15rem;
    line-height: 1
}

.activity-popup button:hover {
    color: #fff
}

@media(max-width:600px) {
    .activity-popup {
        top: auto;
        right: 12px;
        left: 12px;
        bottom: 82px;
        width: auto;
        grid-template-columns: 38px 1fr 20px;
        padding: 11px
    }

    .activity-popup .activity-icon {
        width: 36px;
        height: 36px
    }

    .activity-popup .activity-title {
        font-size: .78rem
    }
}

/* Polished neon activity card override */
.activity-popup {
    top: 82px;
    right: 18px;
    bottom: auto;
    left: auto;
    width: min(410px, calc(100vw - 24px));
    grid-template-columns: 50px minmax(0, 1fr) 24px;
    gap: 13px;
    padding: 15px 16px;
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-14px) scale(.96);
    border: 1px solid rgba(0, 246, 255, .45);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(10, 21, 42, .98), rgba(5, 8, 20, .99));
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .03) inset, 0 0 30px rgba(0, 246, 255, .2), 0 22px 55px rgba(0, 0, 0, .55);
    backdrop-filter: blur(18px);
    transition: opacity .28s ease, transform .32s ease, visibility .28s
}

.activity-popup::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink));
    box-shadow: 0 0 12px var(--neon-cyan)
}

.activity-popup.show {
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1)
}

.activity-popup .activity-icon {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(0, 246, 255, .35);
    border-radius: 15px;
    background: linear-gradient(145deg, rgba(0, 246, 255, .18), rgba(139, 92, 255, .12));
    box-shadow: inset 0 0 18px rgba(0, 246, 255, .12), 0 0 18px rgba(0, 246, 255, .13)
}

.activity-popup .activity-icon::before {
    content: '$';
    color: var(--neon-cyan);
    font-size: 1.3rem;
    font-weight: 1000;
    text-shadow: 0 0 12px currentColor
}

.activity-popup.withdrawal {
    border-color: rgba(57, 255, 136, .5)
}

.activity-popup.withdrawal::after {
    background: linear-gradient(90deg, var(--neon-green), var(--neon-cyan))
}

.activity-popup.withdrawal .activity-icon::before {
    content: '$';
    color: var(--neon-green)
}

.activity-popup.registration {
    border-color: rgba(255, 43, 214, .48)
}

.activity-popup.registration .activity-icon::before {
    content: '+';
    color: var(--neon-pink)
}

.activity-popup>div:nth-child(2) {
    min-width: 0
}

.activity-popup .activity-label {
    font-size: .58rem;
    letter-spacing: .14em
}

.activity-popup .activity-title {
    margin: 4px 0 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: .9rem;
    line-height: 1.3;
    white-space: nowrap
}

.activity-popup .activity-meta {
    font-size: .66rem;
    letter-spacing: .02em
}

.activity-popup button {
    width: 24px;
    height: 24px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    background: rgba(255, 255, 255, .04);
    line-height: 20px
}

@media(max-width:600px) {
    .activity-popup {
        top: 72px;
        right: 10px;
        bottom: auto;
        left: 10px;
        width: auto;
        grid-template-columns: 42px minmax(0, 1fr) 22px;
        padding: 12px;
        border-radius: 15px
    }

    .activity-popup .activity-icon {
        width: 40px;
        height: 40px;
        border-radius: 12px
    }

    .activity-popup .activity-title {
        font-size: .8rem
    }

    .activity-popup .activity-label {
        font-size: .52rem
    }
}

/* Yolo Earn supplied wordmark */
.brand-logo {
    display: flex;
    align-items: center;
    padding: 0 !important;
    text-shadow: none !important
}

.brand-logo img {
    display: block;
    width: 164px;
    height: 38px;
    object-fit: contain;
    object-position: left center;
    filter: drop-shadow(0 0 8px rgba(91, 112, 255, .42))
}

.hero-brand-logo {
    display: block;
    width: min(540px, 92%);
    max-height: 180px;
    margin: 0 0 18px;
    object-fit: contain;
    object-position: left center;
    filter: drop-shadow(0 0 22px rgba(91, 112, 255, .3))
}

.admin-brand {
    display: flex !important;
    align-items: center;
    height: 48px;
    margin: 0 0 18px !important
}

.admin-brand img {
    width: 170px;
    max-height: 44px;
    object-fit: contain;
    object-position: left center;
    filter: drop-shadow(0 0 9px rgba(91, 112, 255, .4))
}

.app-wordmark {
    width: 178px;
    max-height: 92px;
    margin-bottom: 24px;
    object-fit: contain;
    filter: drop-shadow(0 0 14px rgba(91, 112, 255, .42))
}

@media(max-width:600px) {
    .brand-logo img {
        width: 132px;
        height: 32px
    }

    .hero-brand-logo {
        width: 100%;
        margin-left: auto;
        margin-right: auto
    }

    .admin-brand {
        height: 35px;
        margin: 0 8px 0 0 !important
    }

    .admin-brand img {
        width: 120px;
        max-height: 32px
    }
}

/* Mobile gaming portal dashboard */
.portal-shell {
    max-width: 1040px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(105, 113, 255, .3);
    border-radius: 22px;
    background: linear-gradient(155deg, #0c1022, #080a14 58%, #111024);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .56), 0 0 38px rgba(91, 112, 255, .12)
}

.portal-account-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 13px 18px;
    background: rgba(4, 6, 14, .92);
    border-bottom: 1px solid rgba(255, 255, 255, .08)
}

.portal-user {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0
}

.portal-user>div {
    min-width: 0
}

.portal-user strong,
.portal-user small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.portal-user small {
    color: #7f8ba5;
    font-size: .66rem
}

.portal-avatar {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid rgba(112, 128, 255, .55);
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(145deg, #697bff, #7138d6);
    font-weight: 900;
    box-shadow: 0 0 18px rgba(91, 112, 255, .3)
}

.portal-balance {
    text-align: right
}

.portal-balance small,
.portal-balance strong {
    display: block
}

.portal-balance small {
    color: #8490aa;
    font-size: .56rem;
    letter-spacing: .09em
}

.portal-balance strong {
    color: #ffd178;
    font-size: 1.05rem;
    text-shadow: 0 0 12px rgba(255, 192, 91, .3)
}

.portal-ticker {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
    color: #b5bfd4;
    background: #10142a;
    font-size: .67rem;
    white-space: nowrap;
    overflow: hidden
}

.portal-ticker span {
    padding: 2px 7px;
    border-radius: 20px;
    color: #070913;
    background: #39ff88;
    font-size: .54rem;
    font-weight: 1000;
    letter-spacing: .08em
}

.portal-ticker div {
    overflow: hidden;
    text-overflow: ellipsis
}

.portal-hero {
    position: relative;
    min-height: 285px;
    display: grid;
    grid-template-columns: 1.12fr .88fr;
    align-items: center;
    overflow: hidden;
    padding: 32px 42px;
    background: radial-gradient(circle at 76% 48%, rgba(255, 52, 95, .3), transparent 22%), linear-gradient(115deg, #171733 0%, #301123 58%, #0b0c18 100%)
}

.portal-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 0 50%, rgba(255, 255, 255, .045) 50% 50.8%, transparent 50.8%)
}

.portal-hero-copy {
    position: relative;
    z-index: 3
}

.portal-hero-copy>span {
    color: #ffce77;
    font-size: .62rem;
    font-weight: 1000;
    letter-spacing: .2em
}

.portal-hero-copy h1 {
    margin: 8px 0 10px;
    font-size: clamp(2.2rem, 6vw, 4.4rem);
    line-height: .9;
    text-transform: uppercase;
    text-shadow: 0 0 24px rgba(255, 43, 104, .26)
}

.portal-hero-copy p {
    max-width: 520px;
    color: #aeb8cc;
    font-size: .82rem
}

.portal-hero-copy .btn {
    margin: 5px 7px 0 0
}

.portal-hero-art {
    position: relative;
    z-index: 2;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center
}

.portal-hero-art>strong {
    position: relative;
    z-index: 5;
    margin-top: 82px;
    color: #fff;
    font-size: 1.4rem;
    text-shadow: 0 0 18px #ff3158
}

.portal-hero-art>small {
    position: relative;
    z-index: 5;
    color: #ffce77;
    font-weight: 900;
    letter-spacing: .13em
}

.portal-orbit {
    position: absolute;
    width: 220px;
    height: 220px;
    border: 1px solid rgba(255, 78, 112, .42);
    border-radius: 50%;
    box-shadow: 0 0 40px rgba(255, 49, 88, .15), inset 0 0 40px rgba(91, 112, 255, .12)
}

.portal-plane {
    position: absolute;
    top: 64px;
    width: 142px;
    height: 58px;
    transform: rotate(-12deg);
    border-radius: 65% 85% 28% 40%;
    background: linear-gradient(145deg, #ff5878, #e71045 62%, #850026);
    box-shadow: 0 0 18px rgba(255, 49, 88, .8), 0 0 48px rgba(255, 49, 88, .35)
}

.portal-plane::before {
    content: "";
    position: absolute;
    right: 26px;
    top: -46px;
    width: 76px;
    height: 58px;
    border-top: 20px solid #ff4267;
    border-left: 8px solid #ff4267;
    border-radius: 100% 0 0
}

.portal-plane i {
    position: absolute;
    left: 43px;
    bottom: -34px;
    width: 70px;
    height: 43px;
    border-radius: 0 10% 90% 10%;
    background: #dc0f3e;
    transform: skewX(-28deg)
}

.portal-plane b {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: .8rem
}

.portal-content {
    display: grid;
    grid-template-columns: 116px 1fr;
    gap: 14px;
    padding: 14px;
    background: linear-gradient(180deg, #eceef4, #cfd3dd);
    color: #151823
}

.portal-categories {
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(180deg, #202537, #141824);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .25)
}

.portal-categories a {
    min-height: 84px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: #e7ecf7;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    font-size: .66rem;
    font-weight: 800
}

.portal-categories a i {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    font-size: .58rem;
    font-style: normal
}

.portal-categories a.active,
.portal-categories a:hover {
    color: #fff;
    background: linear-gradient(145deg, #6266ff, #3936c9);
    box-shadow: inset 4px 0 0 #a7abff
}

.portal-games {
    display: grid;
    gap: 14px
}

.portal-game-card {
    position: relative;
    min-height: 238px;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    overflow: hidden;
    padding: 28px;
    border-radius: 25px;
    color: #fff !important;
    text-decoration: none;
    box-shadow: 0 15px 34px rgba(18, 20, 38, .25);
    transition: .2s ease
}

.portal-game-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 42px rgba(18, 20, 38, .34)
}

.portal-game-card>div:first-child {
    position: relative;
    z-index: 3
}

.portal-game-card span {
    font-size: .58rem;
    font-weight: 1000;
    letter-spacing: .16em
}

.portal-game-card h2 {
    margin: 6px 0;
    font-size: 2rem
}

.portal-game-card p {
    max-width: 430px;
    color: #d6d8e4;
    font-size: .76rem
}

.portal-game-card b {
    display: inline-block;
    margin-top: 8px;
    padding: 8px 13px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 20px;
    font-size: .6rem;
    letter-spacing: .08em
}

.flight-card {
    background: radial-gradient(circle at 78% 46%, rgba(255, 48, 91, .48), transparent 24%), linear-gradient(125deg, #12182d, #391326 62%, #0c0f1b)
}

.ball-card {
    background: radial-gradient(circle at 78% 50%, rgba(76, 100, 255, .38), transparent 25%), linear-gradient(125deg, #12162b, #24204d 60%, #0b0e1c)
}

.mini-flight,
.mini-ball {
    position: relative;
    min-height: 175px
}

.mini-flight::before {
    content: "";
    position: absolute;
    inset: 15% 2% 3% 0;
    border-bottom: 3px solid #ff4267;
    border-radius: 50%;
    transform: rotate(-14deg);
    filter: drop-shadow(0 0 6px #ff3158)
}

.mini-flight i {
    position: absolute;
    z-index: 2;
    right: 23%;
    top: 31%;
    width: 82px;
    height: 30px;
    border-radius: 70% 90% 30% 50%;
    background: #ff3158;
    transform: rotate(-14deg);
    box-shadow: 0 0 18px #ff3158
}

.mini-flight strong {
    position: absolute;
    right: 3%;
    top: 4%;
    font-size: 2.1rem
}

.mini-ball i {
    position: absolute;
    left: 46%;
    top: 5%;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 10px #fff, 0 0 26px #677cff
}

.mini-ball em {
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #dce2ff;
    box-shadow: 0 0 8px #7485ff
}

.mini-ball em:nth-child(2) {
    left: 28%;
    top: 42%
}

.mini-ball em:nth-child(3) {
    left: 52%;
    top: 55%
}

.mini-ball em:nth-child(4) {
    left: 72%;
    top: 36%
}

.mini-ball strong {
    position: absolute;
    right: 13%;
    bottom: 5%;
    padding: 13px 18px;
    border-radius: 10px;
    background: linear-gradient(145deg, #65ffbb, #25d987);
    color: #06160e;
    box-shadow: 0 0 22px rgba(57, 255, 136, .45)
}

.portal-bonus-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 10px 14px 14px;
    background: #e2e4ea
}

.portal-bonus-strip a {
    min-width: 0;
    padding: 11px 13px;
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(135deg, #24283a, #111521);
    border-left: 4px solid #6878ff
}

.portal-bonus-strip a:nth-child(2) {
    border-left-color: #ff3158
}

.portal-bonus-strip a:nth-child(3) {
    border-left-color: #39ff88
}

.portal-bonus-strip span,
.portal-bonus-strip strong,
.portal-bonus-strip small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.portal-bonus-strip span {
    color: #9fa9c0;
    font-size: .52rem
}

.portal-bonus-strip strong {
    font-size: .9rem
}

.portal-bonus-strip small {
    color: #8f9ab1;
    font-size: .56rem
}

.portal-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 16px
}

.portal-stats>div {
    padding: 14px;
    border: 1px solid rgba(105, 113, 255, .22);
    border-radius: 13px;
    background: rgba(255, 255, 255, .035)
}

.portal-stats span,
.portal-stats strong {
    display: block
}

.portal-stats span {
    color: #8490a9;
    font-size: .62rem
}

.portal-stats strong {
    margin-top: 5px;
    font-size: 1rem
}

.portal-referral {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 26px;
    align-items: center;
    margin: 0 16px 18px;
    padding: 20px;
    border: 1px solid rgba(105, 113, 255, .25);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(105, 113, 255, .1), rgba(255, 49, 88, .06))
}

.portal-referral>div:first-child span {
    color: #ffce77;
    font-size: .58rem;
    font-weight: 1000;
    letter-spacing: .14em
}

.portal-referral h3 {
    margin: 5px 0
}

.portal-referral p {
    margin: 0;
    color: #8f9bb3;
    font-size: .76rem
}

.portal-copy label {
    margin: 6px 0 3px;
    color: #8995ad;
    font-size: .61rem
}

.portal-copy small {
    display: block;
    min-height: 18px;
    margin-top: 5px
}

.bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px
}

.bottom-nav a i {
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    font-size: .68rem;
    font-style: normal
}

.bottom-nav .home-tab {
    position: relative;
    color: #fff;
    background: linear-gradient(180deg, #625dff, #3932c6);
    box-shadow: 0 -7px 20px rgba(92, 86, 255, .35)
}

.bottom-nav .home-tab i {
    border-color: rgba(255, 255, 255, .5)
}

@media(max-width:800px) {
    body {
        background: #060812
    }

    .navbar {
        position: relative !important
    }

    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 10px;
        right: 10px;
        z-index: 100
    }

    .portal-shell {
        margin: -16px -12px 0;
        border: 0;
        border-radius: 0;
        box-shadow: none
    }

    .portal-account-bar {
        padding: 10px 12px
    }

    .portal-hero {
        min-height: 232px;
        grid-template-columns: 1fr .72fr;
        padding: 24px 18px
    }

    .portal-hero-copy h1 {
        font-size: clamp(1.85rem, 9vw, 3rem)
    }

    .portal-hero-copy p {
        font-size: .7rem
    }

    .portal-hero-copy .btn {
        min-height: 38px;
        padding: 8px 10px;
        font-size: .68rem
    }

    .portal-orbit {
        width: 154px;
        height: 154px
    }

    .portal-plane {
        top: 66px;
        width: 98px;
        height: 40px
    }

    .portal-plane::before {
        right: 18px;
        top: -31px;
        width: 53px;
        height: 40px;
        border-top-width: 14px
    }

    .portal-plane i {
        left: 30px;
        bottom: -24px;
        width: 48px;
        height: 30px
    }

    .portal-hero-art>strong {
        margin-top: 72px;
        font-size: .96rem
    }

    .portal-hero-art>small {
        font-size: .52rem
    }

    .portal-content {
        grid-template-columns: 84px 1fr;
        gap: 8px;
        padding: 8px
    }

    .portal-categories {
        border-radius: 16px
    }

    .portal-categories a {
        min-height: 72px;
        font-size: .56rem
    }

    .portal-categories a i {
        width: 27px;
        height: 27px
    }

    .portal-games {
        gap: 8px
    }

    .portal-game-card {
        min-height: 194px;
        grid-template-columns: 1fr .72fr;
        padding: 18px;
        border-radius: 18px
    }

    .portal-game-card h2 {
        font-size: 1.45rem
    }

    .portal-game-card p {
        font-size: .63rem
    }

    .portal-game-card b {
        padding: 6px 9px
    }

    .mini-flight,
    .mini-ball {
        min-height: 130px
    }

    .mini-flight i {
        right: 17%;
        width: 59px;
        height: 22px
    }

    .mini-flight strong {
        font-size: 1.25rem
    }

    .portal-bonus-strip {
        padding: 8px;
        gap: 5px
    }

    .portal-bonus-strip a {
        padding: 9px 7px
    }

    .portal-stats {
        grid-template-columns: 1fr 1fr;
        padding: 10px
    }

    .portal-referral {
        grid-template-columns: 1fr;
        margin: 0 10px 14px;
        padding: 15px;
        gap: 10px
    }

    .bottom-nav a {
        padding: 7px 2px 6px
    }

    .bottom-nav a i {
        width: 24px;
        height: 24px
    }

    .bottom-nav a span {
        font-size: .61rem
    }
}

@media(max-width:430px) {
    .portal-user strong {
        max-width: 125px
    }

    .portal-balance strong {
        font-size: .88rem
    }

    .portal-hero {
        grid-template-columns: 1fr .55fr;
        padding: 20px 14px
    }

    .portal-hero-copy h1 {
        font-size: 1.78rem
    }

    .portal-hero-copy p {
        max-width: 225px
    }

    .portal-hero-copy .btn-outline-light {
        display: none
    }

    .portal-orbit {
        width: 120px;
        height: 120px
    }

    .portal-plane {
        top: 77px;
        width: 78px;
        height: 31px
    }

    .portal-plane::before {
        top: -25px;
        width: 42px;
        height: 31px;
        border-top-width: 11px
    }

    .portal-plane i {
        left: 24px;
        bottom: -18px;
        width: 38px;
        height: 23px
    }

    .portal-hero-art>strong {
        font-size: .72rem
    }

    .portal-hero-art>small {
        font-size: .43rem
    }

    .portal-content {
        grid-template-columns: 72px 1fr
    }

    .portal-categories a {
        min-height: 66px
    }

    .portal-game-card {
        min-height: 176px;
        grid-template-columns: 1fr .55fr;
        padding: 14px
    }

    .portal-game-card span {
        font-size: .46rem
    }

    .portal-game-card h2 {
        font-size: 1.2rem
    }

    .portal-game-card p {
        font-size: .57rem
    }

    .mini-flight strong {
        font-size: .92rem
    }

    .mini-ball strong {
        right: 2%;
        padding: 8px
    }

    .portal-bonus-strip small {
        display: none
    }

    .portal-bonus-strip strong {
        font-size: .72rem
    }
}

.portal-stats small,
.stat small {
    display: block;
    margin-top: 5px;
    color: #ffcf78;
    font-size: .58rem
}

.earning-cap-bar {
    margin: 0 16px 16px;
    padding: 15px;
    border: 1px solid rgba(255, 207, 120, .26);
    border-radius: 14px;
    background: rgba(255, 207, 120, .055)
}

.earning-cap-bar>div:first-child {
    display: flex;
    justify-content: space-between;
    gap: 12px
}

.earning-cap-bar span {
    color: #aab4c8;
    font-size: .68rem
}

.earning-cap-bar strong {
    font-size: .78rem
}

.earning-cap-bar .progress {
    height: 8px;
    margin: 9px 0;
    background: #151a2a
}

.earning-cap-bar .progress-bar {
    background: linear-gradient(90deg, #6577ff, #ff4c78, #ffd178);
    box-shadow: 0 0 12px rgba(255, 76, 120, .45)
}

.earning-cap-bar small {
    color: #8591aa;
    font-size: .62rem
}

.security-certificate {
    position: relative;
    max-width: 900px;
    margin: 20px auto;
    padding: 55px;
    text-align: center;
    overflow: hidden;
    border: 2px solid #ffd178;
    border-radius: 22px;
    background: radial-gradient(circle at 50% 0, rgba(101, 119, 255, .22), transparent 35%), linear-gradient(145deg, #10162c, #080b15);
    box-shadow: 0 0 0 8px #080b15, 0 0 0 9px rgba(255, 209, 120, .4), 0 30px 80px rgba(0, 0, 0, .5)
}

.security-certificate::before {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(255, 209, 120, .35);
    border-radius: 15px;
    pointer-events: none
}

.security-certificate>img {
    width: 260px;
    max-height: 90px;
    object-fit: contain
}

.security-certificate>span {
    display: block;
    margin-top: 20px;
    color: #ffd178;
    font-size: .66rem;
    font-weight: 1000;
    letter-spacing: .22em
}

.security-certificate h1 {
    margin: 8px 0 16px
}

.security-certificate>p {
    max-width: 720px;
    margin: 0 auto 26px;
    color: #b8c2d7
}

.certificate-seal {
    position: absolute;
    right: 40px;
    top: 35px;
    width: 74px;
    height: 74px;
    display: grid;
    place-content: center;
    border: 2px solid #ffd178;
    border-radius: 50%;
    color: #ffd178;
    font-weight: 1000;
    line-height: .9;
    box-shadow: 0 0 18px rgba(255, 209, 120, .25)
}

.certificate-seal small {
    font-size: .55rem
}

.certificate-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    text-align: left
}

.certificate-grid>div {
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 10px;
    background: rgba(255, 255, 255, .035)
}

.certificate-grid small,
.certificate-grid strong {
    display: block
}

.certificate-grid small {
    color: #8290aa;
    font-size: .6rem
}

.certificate-grid strong {
    margin-top: 4px;
    overflow-wrap: anywhere;
    font-size: .76rem
}

.certificate-note {
    margin: 22px 0;
    color: #7f8ca5;
    font-size: .65rem
}

@media(max-width:650px) {
    .earning-cap-bar {
        margin: 0 10px 12px
    }

    .security-certificate {
        margin: 10px 0;
        padding: 38px 20px
    }

    .security-certificate>img {
        width: 190px
    }

    .certificate-seal {
        position: static;
        margin: 0 auto 18px
    }

    .certificate-grid {
        grid-template-columns: 1fr 1fr
    }

    .certificate-grid strong {
        font-size: .68rem
    }
}

@media print {
    body {
        background: #fff !important;
        padding: 0;
        color: #111
    }

    .navbar,
    .bottom-nav,
    .security-certificate .btn {
        display: none !important
    }

    .security-certificate {
        margin: 0;
        border-color: #6b5b2a;
        background: #fff;
        color: #111;
        box-shadow: none
    }

    .security-certificate>p,
    .certificate-note,
    .certificate-grid small {
        color: #444
    }

    .certificate-grid>div {
        border-color: #bbb;
        background: #fff
    }
}

/* Transparent real and demo game lobby */
.live-players-panel {
    max-width: 900px;
    margin: 0 auto 16px;
    overflow: hidden;
    border: 1px solid rgba(101, 119, 255, .3);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(13, 18, 38, .97), rgba(5, 8, 18, .98));
    box-shadow: 0 18px 45px rgba(0, 0, 0, .35), 0 0 24px rgba(101, 119, 255, .1)
}

.live-players-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 13px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    background: rgba(255, 255, 255, .025)
}

.live-players-head>div:first-child {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 8px;
    align-items: center
}

.live-players-head strong {
    font-size: .83rem
}

.live-players-head small {
    display: block;
    grid-column: 2;
    color: #7f8ba4;
    font-size: .58rem
}

.live-players-head>div:last-child {
    text-align: right
}

.live-players-head b {
    display: block;
    color: #39ff88;
    font-size: .7rem
}

.live-player-updated {
    color: #6f7b94 !important;
    font-size: .52rem !important
}

.live-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #39ff88;
    box-shadow: 0 0 0 4px rgba(57, 255, 136, .12), 0 0 12px #39ff88;
    animation: livePulse 1.4s ease-in-out infinite
}

@keyframes livePulse {
    50% {
        opacity: .45
    }
}

.live-player-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 310px;
    overflow: auto
}

.live-player-row {
    min-width: 0;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto auto;
    gap: 8px;
    align-items: center;
    padding: 10px 13px;
    border-bottom: 1px solid rgba(255, 255, 255, .055)
}

.live-player-row:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, .055)
}

.live-player-avatar {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(145deg, #6577ff, #873bd5);
    font-size: .7rem;
    font-weight: 900
}

.live-player-row>div:nth-child(2) {
    min-width: 0
}

.live-player-row>div:nth-child(2) strong,
.live-player-row>div:nth-child(2) small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.live-player-row>div:nth-child(2) strong {
    font-size: .69rem
}

.live-player-row>div:nth-child(2) small {
    color: #6f7b92;
    font-size: .52rem
}

.player-source {
    padding: 3px 6px;
    border-radius: 9px;
    font-size: .46rem;
    font-weight: 1000;
    letter-spacing: .06em
}

.player-source.real {
    color: #03130b;
    background: #39ff88
}

.player-source.demo {
    color: #dfe5ff;
    border: 1px solid rgba(128, 143, 255, .4);
    background: rgba(101, 119, 255, .15)
}

.player-result {
    text-align: right
}

.player-result strong,
.player-result small {
    display: block
}

.player-result strong {
    color: #fff;
    font-size: .68rem
}

.player-result small {
    color: #ffd178;
    font-size: .54rem
}

@media(max-width:650px) {
    .live-players-panel {
        margin: 0 -3px 12px;
        border-radius: 13px
    }

    .live-players-head {
        padding: 11px
    }

    .live-players-head small {
        max-width: 245px
    }

    .live-player-list {
        display: flex;
        max-height: none;
        overflow-x: auto;
        scroll-snap-type: x proximity
    }

    .live-player-row {
        flex: 0 0 230px;
        grid-template-columns: 31px minmax(0, 1fr) auto;
        padding: 9px;
        scroll-snap-align: start;
        border-right: 1px solid rgba(255, 255, 255, .06)
    }

    .live-player-row .player-result {
        grid-column: 2/4;
        display: flex;
        justify-content: space-between;
        padding-left: 2px
    }

    .live-player-avatar {
        width: 29px;
        height: 29px
    }
}

/* Premium vector navigation icons */
.portal-categories a {
    gap: 7px
}

.portal-categories a .nav-icon {
    position: relative;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .17);
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .025));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .11), 0 8px 18px rgba(0, 0, 0, .22);
    transition: .22s ease
}

.portal-categories a .nav-icon svg {
    width: 23px;
    height: 23px;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 5px currentColor)
}

.portal-categories .icon-games {
    color: #8d9bff
}

.portal-categories .icon-flight {
    color: #ff597b
}

.portal-categories .icon-ball {
    color: #55eaff
}

.portal-categories .icon-reward {
    color: #ffd16f
}

.portal-categories .icon-team {
    color: #50f3a6
}

.portal-categories a:hover .nav-icon,
.portal-categories a.active .nav-icon {
    transform: translateY(-2px) scale(1.05);
    color: #fff;
    border-color: rgba(255, 255, 255, .52);
    background: linear-gradient(145deg, rgba(255, 255, 255, .25), rgba(255, 255, 255, .08));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 0 20px rgba(131, 139, 255, .42), 0 10px 22px rgba(0, 0, 0, .25)
}

.bottom-nav a i {
    width: 36px;
    height: 31px;
    border: 0;
    border-radius: 11px;
    background: transparent;
    transition: .2s ease
}

.bottom-nav a i svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 5px currentColor)
}

.bottom-nav a:nth-child(1) {
    color: #91a0c0
}

.bottom-nav a:nth-child(2) {
    color: #55eaff
}

.bottom-nav a:nth-child(4) {
    color: #ff5d83
}

.bottom-nav a:nth-child(5) {
    color: #ffd16f
}

.bottom-nav a:hover i {
    transform: translateY(-2px);
    color: #fff
}

.bottom-nav .home-tab i {
    width: 42px;
    height: 38px;
    margin-top: -9px;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 13px;
    color: #fff;
    background: linear-gradient(145deg, #7a78ff, #4541e8);
    box-shadow: 0 0 22px rgba(106, 99, 255, .6), inset 0 1px 0 rgba(255, 255, 255, .35)
}

.bottom-nav .home-tab i svg {
    width: 23px;
    height: 23px
}

.bottom-nav .home-tab {
    padding-top: 5px
}

@media(max-width:800px) {
    .portal-categories a .nav-icon {
        width: 36px;
        height: 36px;
        border-radius: 12px
    }

    .portal-categories a .nav-icon svg {
        width: 20px;
        height: 20px
    }

    .bottom-nav a i {
        width: 32px;
        height: 29px
    }

    .bottom-nav a i svg {
        width: 20px;
        height: 20px
    }

    .bottom-nav .home-tab i {
        width: 39px;
        height: 35px
    }
}

/* Game audio controls */
.ball-sound-start {
    position: absolute;
    z-index: 20;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 0;
    color: #fff;
    background: radial-gradient(circle at 50% 48%, rgba(0, 246, 255, .2), transparent 20%), rgba(3, 7, 17, .78);
    backdrop-filter: blur(3px);
    transition: .3s ease
}

.ball-sound-start strong {
    padding: 14px 24px;
    border: 1px solid rgba(0, 246, 255, .55);
    border-radius: 14px;
    background: linear-gradient(135deg, #00c7d8, #6864ff);
    box-shadow: 0 0 25px rgba(0, 246, 255, .32);
    font-size: .85rem;
    letter-spacing: .08em
}

.ball-sound-start span {
    margin-top: 9px;
    color: #9caccc;
    font-size: .65rem
}

.ball-sound-start.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(1.05)
}

.flight-sound-toggle {
    position: absolute;
    z-index: 20;
    right: 14px;
    top: 14px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    border: 1px solid rgba(0, 246, 255, .32);
    border-radius: 20px;
    color: #aab7cf;
    background: rgba(4, 8, 19, .72);
    font-size: .55rem;
    font-weight: 900;
    letter-spacing: .08em;
    backdrop-filter: blur(8px)
}

.flight-sound-toggle span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #7c879d
}

.flight-sound-toggle.on {
    color: #06140d;
    border-color: #39ff88;
    background: #39ff88;
    box-shadow: 0 0 18px rgba(57, 255, 136, .42)
}

.flight-sound-toggle.on span {
    background: #fff;
    box-shadow: 0 0 8px #fff
}

@media(max-width:600px) {
    .flight-sound-toggle {
        right: 9px;
        top: 9px;
        padding: 6px 8px;
        font-size: .48rem
    }

    .ball-sound-start strong {
        padding: 12px 18px;
        font-size: .72rem
    }
}

/* Yolo247-inspired public frontend, built with original Yolo Earn assets/styles. */
.front-shell,
.sponsor-page {
    display: grid;
    gap: 22px;
}

.powered-pill {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    gap: 8px;
    padding: 8px 13px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(52, 245, 197, .16), rgba(155, 92, 255, .18));
    border: 1px solid rgba(103, 232, 249, .28);
    color: #72f6ff;
    font-weight: 900;
    text-transform: uppercase;
    font-size: .76rem;
    letter-spacing: .08em;
}

.front-hero,
.sponsor-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(280px, .72fr);
    gap: 26px;
    align-items: center;
    min-height: 560px;
    padding: clamp(22px, 4vw, 46px);
    border-radius: 24px;
    background:
        linear-gradient(130deg, rgba(5, 9, 22, .82), rgba(19, 6, 28, .90)),
        radial-gradient(circle at 78% 24%, rgba(255, 49, 88, .36), transparent 32%),
        radial-gradient(circle at 12% 78%, rgba(52, 245, 197, .24), transparent 36%);
    border: 1px solid rgba(103, 232, 249, .20);
    overflow: hidden;
    position: relative;
    box-shadow: 0 28px 90px rgba(0, 0, 0, .38), 0 0 36px rgba(55, 183, 255, .14);
}

.front-hero::after,
.sponsor-hero::after {
    content: "";
    position: absolute;
    inset: auto -12% -18% 46%;
    height: 52%;
    background: linear-gradient(90deg, transparent, rgba(213, 42, 255, .20), transparent);
    transform: rotate(-16deg);
    pointer-events: none;
}

.front-hero-copy,
.front-phone,
.sponsor-hero>* {
    position: relative;
    z-index: 1;
}

.front-hero h1,
.sponsor-hero h1 {
    font-size: clamp(2.4rem, 7vw, 5.7rem);
    line-height: .92;
    font-weight: 950;
    margin: 18px 0;
    letter-spacing: -.05em;
}

.front-hero p,
.sponsor-hero p {
    color: var(--text-soft);
    font-size: clamp(1rem, 1.7vw, 1.2rem);
    max-width: 720px;
}

.front-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.front-mini-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.front-mini-stats span {
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 14px;
    color: var(--text-soft);
    background: rgba(3, 8, 18, .58);
}

.front-mini-stats strong {
    color: #fff;
    margin-right: 5px;
}

.front-phone {
    width: min(100%, 370px);
    margin-inline: auto;
    border-radius: 34px;
    padding: 16px;
    background: #070b16;
    border: 6px solid rgba(255, 255, 255, .22);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .10), 0 24px 70px rgba(0, 0, 0, .48);
}

.phone-top {
    padding: 12px;
    border-radius: 22px;
    background: linear-gradient(90deg, #13192d, #0d1020);
    color: #78f2ff;
    font-weight: 900;
    text-align: center;
}

.phone-banner {
    min-height: 92px;
    margin-top: 12px;
    border-radius: 22px;
    padding: 18px;
    display: flex;
    align-items: end;
    font-weight: 950;
    font-size: 1.28rem;
}

.phone-banner.sports {
    background: linear-gradient(135deg, rgba(255, 49, 88, .86), rgba(247, 201, 72, .62));
}

.phone-banner.casino {
    background: linear-gradient(135deg, rgba(155, 92, 255, .86), rgba(55, 183, 255, .58));
}

.phone-banner.flight {
    background: radial-gradient(circle at 70% 22%, rgba(255, 255, 255, .96), transparent 9%), linear-gradient(135deg, rgba(52, 245, 197, .76), rgba(255, 49, 88, .66));
}

.phone-tabs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    margin-top: 12px;
    font-size: .68rem;
    color: #b7c6d8;
    text-align: center;
}

.phone-tabs b {
    color: #fff;
    background: linear-gradient(135deg, #4c3cff, #6e5cff);
    border-radius: 12px;
    padding: 9px 2px;
}

.phone-tabs span {
    padding: 9px 2px;
}

.front-layout {
    display: grid;
    grid-template-columns: 132px 1fr;
    gap: 18px;
}

.front-rail {
    position: sticky;
    top: 86px;
    align-self: start;
    border-radius: 26px;
    overflow: hidden;
    background: rgba(8, 13, 26, .86);
    border: 1px solid rgba(103, 232, 249, .18);
}

.front-rail a {
    display: grid;
    place-items: center;
    gap: 6px;
    min-height: 76px;
    padding: 10px;
    color: #d9e4f2;
    text-decoration: none;
    font-weight: 800;
    font-size: .78rem;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.front-rail span {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(103, 232, 249, .2), rgba(155, 92, 255, .28));
    color: #fff;
}

.front-rail a:hover,
.front-rail a:first-child {
    background: linear-gradient(135deg, rgba(76, 60, 255, .88), rgba(155, 92, 255, .70));
    color: #fff;
}

.front-main {
    min-width: 0;
    display: grid;
    gap: 18px;
}

.ticker-strip {
    min-height: 46px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    padding: 10px 14px;
    border-radius: 16px;
    background: rgba(3, 8, 18, .72);
    border: 1px solid rgba(103, 232, 249, .17);
    color: var(--text-soft);
}

.ticker-strip strong {
    color: #34f5c5;
}

.front-banner-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.feature-banner {
    min-height: 235px;
    padding: 28px;
    border-radius: 26px;
    text-decoration: none;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .10);
    overflow: hidden;
    position: relative;
}

.feature-banner::after {
    content: "";
    position: absolute;
    width: 190px;
    height: 190px;
    right: -42px;
    top: 24px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .20);
    box-shadow: 0 0 60px rgba(255, 255, 255, .10) inset;
}

.feature-banner.red {
    background: radial-gradient(circle at 72% 35%, rgba(255, 49, 88, .70), transparent 24%), linear-gradient(135deg, #180d23, #080b16);
}

.feature-banner.blue {
    background: radial-gradient(circle at 76% 32%, rgba(52, 245, 197, .50), transparent 23%), linear-gradient(135deg, #101540, #070b16);
}

.feature-banner small,
.front-title {
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: .76rem;
    color: #f8f8ff;
    font-weight: 900;
}

.feature-banner h2 {
    font-size: clamp(1.7rem, 4vw, 2.45rem);
    font-weight: 950;
    margin: 13px 0 8px;
}

.feature-banner p {
    color: #cdd8ea;
    max-width: 460px;
}

.feature-banner b {
    display: inline-flex;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .24);
    margin-top: 8px;
}

.game-grid,
.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.game-card,
.sponsor-card,
.app-strip,
.sponsor-preview,
.sponsor-callout,
.front-footer-grid {
    border: 1px solid rgba(103, 232, 249, .18);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(18, 31, 54, .84), rgba(10, 14, 29, .88));
    box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
}

.game-card {
    min-height: 170px;
    padding: 20px;
}

.game-card span,
.sponsor-badge {
    width: 50px;
    height: 50px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #2de9ff, #d52aff);
    color: #061018;
    font-weight: 950;
    margin-bottom: 15px;
}

.game-card h4,
.sponsor-card h3 {
    font-weight: 900;
}

.game-card p,
.sponsor-card p,
.app-strip p,
.sponsor-preview p,
.sponsor-callout p {
    color: var(--text-soft);
    margin-bottom: 0;
}

.app-strip,
.sponsor-preview,
.sponsor-callout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 24px;
}

.app-strip small {
    color: #34f5c5;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: .16em;
}

.front-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    padding: 24px;
}

.front-footer-grid h5 {
    color: #fff;
    font-weight: 900;
}

.front-footer-grid a {
    display: block;
    color: var(--text-soft);
    text-decoration: none;
    margin-top: 8px;
}

.front-footer-grid a:hover {
    color: #34f5c5;
}

.sponsor-hero {
    grid-template-columns: 1fr;
    min-height: 430px;
    text-align: center;
    place-items: center;
}

.sponsor-hero p {
    margin-inline: auto;
}

.sponsor-hero .front-actions {
    justify-content: center;
}

.sponsor-card {
    padding: 22px;
    min-height: 190px;
}

.sponsor-card small {
    color: #34f5c5;
    font-weight: 900;
}

@media (max-width: 991px) {
    .front-hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .front-layout {
        grid-template-columns: 1fr;
    }

    .front-rail {
        position: relative;
        top: auto;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        border-radius: 18px;
    }

    .front-rail a {
        min-height: 70px;
        border-bottom: 0;
        border-right: 1px solid rgba(255, 255, 255, .07);
    }

    .front-banner-grid,
    .game-grid,
    .sponsor-grid,
    .front-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    body {
        padding-bottom: 12px;
    }

    .front-hero,
    .sponsor-hero {
        padding: 20px;
        border-radius: 18px;
    }

    .front-actions .btn {
        width: 100%;
    }

    .front-mini-stats {
        display: grid;
        grid-template-columns: 1fr;
    }

    .front-rail {
        grid-template-columns: repeat(2, 1fr);
    }

    .front-banner-grid,
    .game-grid,
    .sponsor-grid,
    .front-footer-grid {
        grid-template-columns: 1fr;
    }

    .app-strip,
    .sponsor-preview,
    .sponsor-callout {
        display: grid;
    }

    .front-phone {
        border-width: 4px;
    }
}

/* Yolo247-style casino lobby front page */
.y247-lobby {
    width: calc(100vw - 24px);
    margin-left: calc(50% - 50vw + 12px);
    margin-right: calc(50% - 50vw + 12px);
    max-width: calc(100vw - 24px);
    display: grid;
    gap: 0;
    color: #fff;
    background: #0a0808;
    border-radius: 0 0 18px 18px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .45);
}

.y247-topline {
    min-height: 76px;
    display: grid;
    grid-template-columns: 155px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 10px 18px 8px;
    background: #030303;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.y247-logo img {
    width: 142px;
    max-height: 54px;
    object-fit: contain;
}

.y247-tabs {
    display: grid;
    grid-template-columns: repeat(5, minmax(110px, 1fr));
    gap: 10px;
    align-items: center;
}

.y247-tabs a {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 44px;
    padding: 8px 18px;
    color: #161616;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 900;
    font-size: .86rem;
    background: linear-gradient(120deg, #a8a8a8, #f6f6f6 48%, #cfcfcf);
    border: 1px solid rgba(0, 0, 0, .45);
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, .75), 0 4px 12px rgba(0, 0, 0, .42);
}

.y247-tabs a:hover {
    color: #000;
    background: linear-gradient(120deg, #ffd257, #fff4af 48%, #ffb317);
}

.y247-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.live-dot-mini {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #35d866;
    box-shadow: 0 0 18px #35d866;
    margin-right: 16px;
}

.y247-actions a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    border-radius: 8px;
    padding: 9px 18px;
}

.y247-actions .login {
    background: linear-gradient(135deg, #5367e9, #7187ff);
}

.y247-actions .signup {
    background: linear-gradient(135deg, #ff9a17, #ffb01f);
}

.app-now {
    gap: 7px;
    padding: 7px 12px !important;
    background: linear-gradient(135deg, #212c65, #6673ff);
    border-left: 2px solid rgba(255, 255, 255, .22);
    text-transform: uppercase;
}

.app-now b {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .16);
    font-size: .68rem;
}

.app-now span {
    font-size: .63rem;
    line-height: 1.05;
}

.y247-alertline {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 34px;
    padding: 5px 16px;
    color: #d8d8d8;
    background: #060606;
    font-size: .78rem;
    font-weight: 800;
    text-align: center;
}

.betting-slider {
    position: relative;
    display: grid;
    width: 100%;
    max-width: 100%;
    min-height: clamp(170px, 34vw, 420px);
    overflow: hidden;
    background: #080808;
}

.betting-slide {
    grid-area: 1 / 1;
    min-width: 0;
    opacity: 0;
    animation: promoFade 15s infinite;
}

.betting-slide:nth-child(2) {
    animation-delay: 5s;
}

.betting-slide:nth-child(3) {
    animation-delay: 10s;
}

.betting-slide img {
    width: 100%;
    height: 100%;
    min-height: clamp(170px, 34vw, 420px);
    display: block;
    object-fit: cover;
}

@keyframes promoFade {

    0%,
    27% {
        opacity: 1;
    }

    33%,
    100% {
        opacity: 0;
    }
}

.slider-dots {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
}

.slider-dots span,
.slider-dots b {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .82);
}

.slider-dots b {
    width: 34px;
    background: #199be2;
}

.mobile-betting-slide {
    display: none;
}

.betting-icon-row {
    display: grid;
    grid-template-columns: repeat(6, minmax(110px, 1fr));
    gap: 10px;
    padding: 10px;
    background: #111;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

.betting-icon-row a {
    min-height: 90px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    background: linear-gradient(#333, #080808);
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16);
}

.betting-icon-row i {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #071018;
    background: linear-gradient(135deg, #44efff, #ffd35a);
    font-style: normal;
    font-size: .72rem;
    font-weight: 1000;
    box-shadow: 0 0 18px rgba(68, 239, 255, .22);
}

.betting-icon-row span {
    font-size: .8rem;
    font-weight: 900;
    text-align: center;
}

.y247-hero {
    position: relative;
    min-height: 512px;
    overflow: hidden;
    background:
        radial-gradient(circle at 86% 18%, rgba(255, 199, 41, .34), transparent 9%),
        radial-gradient(circle at 38% 32%, rgba(255, 49, 120, .27), transparent 28%),
        linear-gradient(90deg, rgba(57, 14, 74, .65), rgba(52, 50, 121, .70)),
        linear-gradient(160deg, #361849, #1d255f 55%, #071328);
}

.y247-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(0, 0, 0, .34), transparent 42%),
        repeating-linear-gradient(-10deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 30px);
}

.award-ribbon {
    position: absolute;
    z-index: 4;
    left: -26px;
    top: 22px;
    width: 210px;
    padding: 17px 20px;
    transform: rotate(-43deg);
    background: linear-gradient(135deg, #b6091f, #e41330);
    border: 2px solid rgba(255, 255, 255, .72);
    color: #fff;
    text-align: center;
    font-size: 1.24rem;
    line-height: 1.05;
    font-weight: 950;
    letter-spacing: .06em;
    text-transform: uppercase;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .34);
}

.hero-person {
    position: absolute;
    z-index: 2;
    left: 4%;
    bottom: 0;
    width: min(31vw, 390px);
    height: min(39vw, 510px);
    min-width: 235px;
    min-height: 330px;
}

.hero-person span {
    position: absolute;
    left: 23%;
    top: 4%;
    width: 48%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 38% 30%, #ffd4bc, #a15e60 60%, #2b1028 61%);
    box-shadow: 0 0 0 16px rgba(105, 30, 120, .56), -24px 15px 0 rgba(40, 12, 38, .82);
}

.hero-person b {
    position: absolute;
    left: 18%;
    bottom: 0;
    width: 62%;
    height: 72%;
    border-radius: 42% 42% 0 0;
    background: linear-gradient(140deg, #5e27c9, #8f2bdc 48%, #25104e);
    box-shadow: inset -25px 0 45px rgba(0, 0, 0, .24), 0 20px 38px rgba(0, 0, 0, .35);
}

.hero-person i {
    position: absolute;
    left: 35%;
    bottom: 0;
    width: 30%;
    height: 46%;
    border-radius: 50% 50% 0 0;
    background: #fff;
}

.hero-planes span {
    position: absolute;
    z-index: 3;
    width: 96px;
    height: 38px;
    border-radius: 60% 15px 15px 60%;
    background: linear-gradient(135deg, #dfe8ff, #f72e9e 50%, #7036ff);
    box-shadow: 0 0 22px rgba(255, 210, 67, .45);
}

.hero-planes span::before {
    content: "";
    position: absolute;
    left: 28px;
    top: -23px;
    width: 46px;
    height: 34px;
    transform: skewX(-26deg);
    border-radius: 12px 50% 0 0;
    background: linear-gradient(135deg, #eaf3ff, #9344ff);
}

.hero-planes span::after {
    content: "";
    position: absolute;
    left: -36px;
    top: 24px;
    width: 40px;
    height: 9px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, #ffd443);
}

.hero-planes span:first-child {
    left: 29%;
    top: 14%;
    transform: rotate(11deg);
}

.hero-planes span:last-child {
    right: 24%;
    top: 10%;
    transform: rotate(153deg) scale(1.12);
    background: linear-gradient(135deg, #eaf3ff, #3c54ff 48%, #ff9c13);
}

.hero-copy {
    position: absolute;
    z-index: 5;
    left: 34%;
    top: 18%;
    width: 46%;
    text-align: center;
    text-transform: uppercase;
}

.hero-copy small {
    display: block;
    color: #fff;
    font-size: clamp(2.2rem, 5vw, 4.8rem);
    line-height: .9;
    font-weight: 950;
    font-style: italic;
    text-shadow: 0 5px 20px rgba(0, 0, 0, .45);
    text-transform: none;
}

.hero-copy h1,
.hero-copy h2 {
    margin: 8px 0;
    color: #ffde2f;
    font-weight: 1000;
    font-style: italic;
    letter-spacing: -.04em;
    text-shadow: 0 4px 0 rgba(130, 70, 0, .28), 0 8px 24px rgba(0, 0, 0, .55);
}

.hero-copy h1 {
    font-size: clamp(2.1rem, 4.5vw, 4.5rem);
}

.hero-copy h2 {
    display: inline-block;
    padding: 0 14px 4px;
    font-size: clamp(1.7rem, 3.8vw, 3.9rem);
    background: linear-gradient(90deg, transparent, rgba(255, 221, 47, .95), transparent);
    color: #6d2942;
}

.hero-copy a {
    display: inline-flex;
    margin-top: 14px;
    padding: 11px 34px;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1.35rem;
    font-style: italic;
    font-weight: 950;
    border-radius: 999px;
    background: linear-gradient(#ff251e, #d90009);
    border: 2px solid rgba(255, 255, 255, .25);
    box-shadow: 0 8px 0 rgba(90, 0, 0, .32), 0 12px 30px rgba(0, 0, 0, .35);
}

.hero-side-card {
    position: absolute;
    z-index: 4;
    right: 14px;
    top: 21%;
    width: min(30vw, 500px);
    min-width: 320px;
    height: 245px;
    display: grid;
    grid-template-columns: .72fr 1fr;
    gap: 0;
    padding: 10px;
    background: rgba(3, 5, 11, .78);
    border: 4px solid #050506;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .42);
}

.side-phone {
    display: grid;
    gap: 8px;
    padding: 14px;
    border-radius: 24px;
    background: linear-gradient(145deg, #10172d, #050810);
    border: 5px solid #16181e;
}

.side-phone img {
    width: 82px;
}

.side-phone span {
    padding: 10px;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(90deg, #303dff, #8a2fff);
    font-weight: 900;
    font-size: .76rem;
}

.bonus-chip {
    display: grid;
    place-items: center;
    align-content: center;
    text-align: center;
    color: #fff;
    font-size: clamp(2.6rem, 4vw, 4.3rem);
    font-weight: 950;
    background:
        radial-gradient(circle, #ff6b3b 0 34%, transparent 35%),
        repeating-conic-gradient(#e73631 0 14deg, #fff 14deg 18deg, #e73631 18deg 32deg);
}

.bonus-chip small {
    display: block;
    max-width: 150px;
    font-size: .92rem;
    line-height: 1.1;
    text-transform: uppercase;
}

.coin {
    position: absolute;
    z-index: 6;
    width: 42px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #fff08a, #e6a91d 48%, #8c5406);
    box-shadow: 0 0 12px rgba(255, 208, 54, .65);
}

.coin-1 {
    left: 18%;
    top: 62%;
}

.coin-2 {
    left: 37%;
    bottom: 14%;
    transform: scale(1.45);
}

.coin-3 {
    right: 4%;
    top: 7%;
    transform: scale(.78);
}

.coin-4 {
    right: 7%;
    bottom: 11%;
}

.hero-dots {
    position: absolute;
    z-index: 8;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    display: flex;
    gap: 9px;
    align-items: center;
}

.hero-dots span,
.hero-dots b {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .85);
}

.hero-dots b {
    width: 34px;
    border-radius: 99px;
    background: #2197d9;
}

.provider-strip {
    display: grid;
    grid-template-columns: 76px repeat(9, minmax(120px, 1fr)) 76px;
    gap: 10px;
    align-items: center;
    padding: 8px 0;
    background: #111;
    border-top: 1px solid rgba(255, 255, 255, .09);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    overflow-x: auto;
    overflow-y: hidden;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
}

.provider-strip div {
    min-height: 72px;
    display: grid;
    place-items: center;
    color: #f4f4f4;
    font-size: 1.08rem;
    font-weight: 950;
    text-align: center;
    background: linear-gradient(#323232, #080808);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 10px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
}

.provider-strip button {
    min-height: 88px;
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, #5149f0, #645aff);
    font-size: 2.4rem;
}

.y247-content-grid {
    display: grid;
    grid-template-columns: 255px minmax(0, 1fr) 240px;
    gap: 14px;
    padding-top: 6px;
    background: #221106;
}

.provider-panel,
.instant-panel,
.quick-panel {
    background: #151515;
    border: 1px solid rgba(255, 255, 255, .06);
    min-height: 240px;
}

.provider-panel h3 {
    margin: 0;
    padding: 18px 16px;
    color: #a9a9a9;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.provider-panel a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 16px;
    color: #d7d7d7;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.provider-panel a:hover {
    color: #fff;
    background: rgba(81, 73, 240, .28);
}

.provider-panel span {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 950;
}

.instant-panel {
    padding: 26px;
}

.instant-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.instant-head h3 {
    margin: 0;
    font-size: 1.22rem;
    font-weight: 950;
}

.instant-head span {
    display: inline-flex;
    padding: 4px 10px;
    margin-left: 8px;
    border-radius: 999px;
    background: #e8004f;
    font-size: .8rem;
}

.instant-head button {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 4px;
    color: #fff;
    background: #2f3741;
    font-size: 1.5rem;
}

.instant-games {
    display: grid;
    grid-template-columns: repeat(12, minmax(84px, 1fr));
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
}

.round-game {
    position: relative;
    min-width: 86px;
    display: grid;
    justify-items: center;
    gap: 8px;
    color: #fff;
    text-align: center;
    text-decoration: none;
}

.round-game i {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    font-style: normal;
    font-weight: 950;
    border: 2px solid #e90016;
    background:
        radial-gradient(circle at 35% 25%, rgba(255, 255, 255, .28), transparent 26%),
        linear-gradient(135deg, #1b1b1b, #555);
    box-shadow: 0 5px 14px rgba(0, 0, 0, .35);
}

.round-game:nth-child(even) i {
    border-color: #1cd75b;
}

.round-game:nth-child(3n) i {
    border-color: #919191;
}

.round-game b {
    position: absolute;
    top: 55px;
    padding: 2px 7px;
    border-radius: 8px;
    color: #fff;
    background: #f00;
    font-size: .56rem;
    text-transform: uppercase;
}

.round-game span {
    min-height: 34px;
    font-weight: 750;
    line-height: 1.05;
}

.quick-panel {
    display: grid;
    align-content: start;
    gap: 16px;
    padding: 24px 12px;
}

.quick-panel a {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 0 18px;
    color: #ddd;
    text-decoration: none;
    border-radius: 6px;
    background: #4b4230;
    font-weight: 800;
}

.quick-panel a:nth-child(3) {
    background: #161616;
    border-top: 1px solid rgba(255, 255, 255, .08);
    border-radius: 0;
}

.quick-panel a:hover {
    color: #fff;
    background: #5c4cff;
}

@media (max-width: 1180px) {
    .y247-topline {
        grid-template-columns: 135px 1fr;
    }

    .y247-actions {
        grid-column: 1 / -1;
        justify-content: flex-end;
    }

    .hero-copy {
        left: 29%;
        width: 56%;
    }

    .hero-side-card {
        display: none;
    }

    .y247-content-grid {
        grid-template-columns: 210px minmax(0, 1fr);
    }

    .quick-panel {
        grid-column: 1 / -1;
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 820px) {
    .y247-lobby {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        border-radius: 0;
    }

    .y247-topline {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 12px;
    }

    .y247-logo img {
        width: 124px;
    }

    .y247-tabs {
        display: flex;
        gap: 8px;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 3px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .y247-tabs::-webkit-scrollbar {
        display: none;
    }

    .y247-tabs a {
        flex: 0 0 142px;
        min-height: 38px;
        font-size: .76rem;
        clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
    }

    .y247-actions {
        justify-content: stretch;
        display: grid;
        grid-template-columns: 10px 1fr 1fr 1.2fr;
    }

    .live-dot-mini {
        margin: auto;
    }

    .y247-actions a {
        padding: 8px 10px;
    }

    .y247-hero {
        min-height: 560px;
    }

    .hero-person {
        left: -10px;
        opacity: .72;
    }

    .award-ribbon {
        transform: rotate(-43deg) scale(.75);
        left: -46px;
        top: 17px;
    }

    .hero-copy {
        left: 5%;
        right: 5%;
        top: 28%;
        width: auto;
    }

    .hero-copy small {
        font-size: 2.4rem;
    }

    .hero-copy h1 {
        font-size: 2.35rem;
    }

    .hero-copy h2 {
        font-size: 2rem;
    }

    .hero-planes span:first-child {
        left: 14%;
        top: 18%;
        transform: scale(.72) rotate(11deg);
    }

    .hero-planes span:last-child {
        right: 5%;
        top: 12%;
        transform: scale(.78) rotate(153deg);
    }

    .provider-strip {
        grid-template-columns: 52px repeat(9, 138px) 52px;
    }

    .provider-strip div {
        min-height: 58px;
        font-size: .9rem;
    }

    .provider-strip button {
        min-height: 68px;
    }

    .y247-content-grid {
        grid-template-columns: 1fr;
    }

    .provider-panel {
        display: none;
    }

    .instant-panel {
        padding: 18px 12px;
    }

    .quick-panel {
        grid-column: auto;
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 520px) {
    .y247-lobby {
        margin-top: 0;
    }

    .navbar .container,
    main.container {
        max-width: 100%;
        overflow-x: hidden;
    }

    .y247-topline {
        padding: 10px;
    }

    .y247-tabs a {
        flex-basis: 116px;
        min-height: 34px;
        padding: 7px 12px;
        font-size: .68rem;
    }

    .y247-actions {
        grid-template-columns: 9px 1fr 1fr;
    }

    .app-now {
        display: none !important;
    }

    .app-now span {
        display: none;
    }

    .betting-slider {
        min-height: 260px;
        background: #061509;
    }

    .betting-slide img {
        min-height: 260px;
        object-fit: contain;
        object-position: center;
        background: #061509;
    }

    .betting-icon-row {
        grid-template-columns: repeat(6, 92px);
        padding: 8px;
    }

    .betting-icon-row a {
        min-height: 76px;
    }

    .betting-icon-row i {
        width: 42px;
        height: 42px;
        font-size: .58rem;
    }

    .betting-icon-row span {
        font-size: .68rem;
    }

    .y247-hero {
        min-height: 520px;
    }

    .hero-person {
        min-width: 210px;
        min-height: 300px;
        left: -54px;
    }

    .hero-copy {
        top: 30%;
    }

    .hero-copy h1 {
        font-size: 2rem;
    }

    .hero-copy h2 {
        font-size: 1.54rem;
    }

    .hero-copy a {
        font-size: 1rem;
        padding: 9px 26px;
    }

    .quick-panel {
        grid-template-columns: 1fr;
    }
}

/* Sponsorship page styled like the Yolo247 sponsorship lobby */
.sponsor247-main {
    width: 100%;
    max-width: none;
    padding: 0;
    margin: 0;
}

.sponsor247-main .alert {
    margin: 12px 24px;
}

.sponsor247-shell {
    min-height: 100vh;
    color: #0d0d0d;
    background: #efefef;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.sponsor247-top {
    position: sticky;
    top: 0;
    z-index: 80;
    min-height: 100px;
    display: grid;
    grid-template-columns: 40px 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 14px 28px;
    background: #000;
    box-shadow: 0 2px 9px rgba(0, 0, 0, .18);
}

.sponsor247-menu {
    color: #fff;
    font-size: 1.35rem;
    font-weight: 900;
}

.sponsor247-logo img {
    width: 168px;
    max-height: 64px;
    object-fit: contain;
}

.sponsor247-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sponsor247-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    border-radius: 8px;
}

.sponsor247-actions .login {
    background: linear-gradient(135deg, #6472f0, #5365df);
    clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%);
    padding-inline: 24px;
}

.sponsor247-actions .signup {
    background: linear-gradient(135deg, #ffb12d, #f39d13);
    clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%);
    padding-inline: 24px;
}

.sponsor247-actions .download {
    min-height: 58px;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 26px;
    background: linear-gradient(135deg, #20288e, #514bdf);
    text-transform: uppercase;
}

.sponsor247-actions .download b {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    font-size: .72rem;
}

.sponsor247-actions .download span {
    font-size: .74rem;
    line-height: .95;
}

.sponsor247-layout {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr) 270px;
    gap: 16px;
    align-items: start;
}

.sponsor247-side {
    position: sticky;
    top: 100px;
    height: calc(100vh - 100px);
    overflow: auto;
    padding: 10px 30px 28px;
    background: #f4f4f4;
}

.sponsor247-side h3 {
    margin: 26px 10px 12px;
    color: #111;
    font-size: 1.05rem;
    font-weight: 500;
}

.sponsor247-side a {
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 14px;
    color: #000;
    text-decoration: none;
    font-size: 1.02rem;
    border-radius: 8px;
    background: #fff;
    margin-bottom: 10px;
}

.sponsor247-side a:not(.top-link) {
    margin-bottom: 0;
    border-radius: 0;
    background: #fff;
}

.sponsor247-side a:hover {
    background: #e9eefc;
}

.sponsor247-side span {
    width: 24px;
    display: inline-grid;
    place-items: center;
    font-size: 1rem;
}

.sponsor247-content {
    min-width: 0;
    padding: 30px 0 60px;
}

.crumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 24px;
    color: #000;
    text-decoration: none;
    font-size: 1.05rem;
}

.sponsor247-banner {
    min-height: 334px;
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background:
        radial-gradient(circle at 18% 48%, rgba(133, 255, 44, .78), transparent 30%),
        radial-gradient(circle at 70% 48%, rgba(255, 255, 255, .65), transparent 24%),
        linear-gradient(100deg, #ccff49, #9beef3 52%, #f6b3c8);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .12);
}

.sponsor247-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, .06), transparent 60%);
    pointer-events: none;
}

.banner-copy {
    position: absolute;
    z-index: 4;
    left: 58px;
    top: 60px;
    width: 37%;
    text-transform: uppercase;
}

.banner-copy small {
    display: block;
    color: #096900;
    font-weight: 950;
    letter-spacing: .12em;
    margin-bottom: 10px;
}

.banner-copy h1 {
    margin: 0;
    color: #3cff00;
    font-size: clamp(2.2rem, 5vw, 4.7rem);
    line-height: .88;
    font-weight: 1000;
    text-shadow: 3px 4px 0 #061f00, -2px -2px 0 #061f00, 0 0 14px rgba(255, 255, 255, .65);
}

.banner-copy p {
    max-width: 360px;
    margin-top: 18px;
    color: #123114;
    font-weight: 850;
    text-transform: none;
}

.banner-person {
    position: absolute;
    z-index: 3;
    left: 43%;
    bottom: 0;
    width: 170px;
    height: 265px;
    border-radius: 90px 90px 18px 18px;
    background:
        radial-gradient(circle at 50% 28%, #ffdabd 0 35px, transparent 36px),
        linear-gradient(160deg, transparent 0 82px, #ffdf68 83px 118px, #ff796a 119px 100%);
    box-shadow: 0 14px 28px rgba(0, 0, 0, .16);
}

.banner-person::before,
.banner-person::after {
    content: "";
    position: absolute;
    width: 54px;
    height: 110px;
    top: 95px;
    border-radius: 999px;
    background: #ffd2ad;
}

.banner-person::before {
    left: -26px;
    transform: rotate(-24deg);
}

.banner-person::after {
    right: -26px;
    transform: rotate(24deg);
}

.banner-plane {
    position: absolute;
    z-index: 4;
    right: 115px;
    bottom: 34px;
    width: 250px;
    height: 90px;
    border-radius: 70% 20px 20px 70%;
    background: linear-gradient(135deg, #ff1d27, #cd0011);
    transform: rotate(-11deg);
    box-shadow: 0 14px 30px rgba(170, 0, 0, .25);
}

.banner-plane::before {
    content: "";
    position: absolute;
    left: 75px;
    top: -62px;
    width: 110px;
    height: 85px;
    border-radius: 18px 80% 12px 12px;
    background: linear-gradient(135deg, #ff3545, #ff7aa4);
    transform: skewX(-24deg);
}

.banner-plane::after {
    content: "X";
    position: absolute;
    left: 95px;
    top: 16px;
    color: #5a0505;
    font-size: 3rem;
    font-weight: 1000;
}

.banner-chicken {
    position: absolute;
    z-index: 5;
    right: 145px;
    bottom: 102px;
    width: 118px;
    height: 118px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background:
        radial-gradient(circle at 45% 38%, #fff 0 38px, transparent 39px),
        linear-gradient(#ffc800, #ff7100);
    border: 7px solid #ff2632;
    font-weight: 1000;
    font-size: 2rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .22);
}

.sponsor247-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 22px;
}

.s247-card {
    min-height: 385px;
    display: grid;
    grid-template-rows: 1fr 90px 95px;
    overflow: hidden;
    border-radius: 14px;
    background: linear-gradient(155deg, #071a35, #02142c);
    border: 2px solid #b98037;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .16);
}

.s247-emblem {
    display: grid;
    place-items: center;
    position: relative;
    background:
        radial-gradient(circle at 50% 42%, rgba(255, 255, 255, .10), transparent 30%),
        linear-gradient(150deg, #09244a, #03152e);
}

.s247-emblem span {
    width: 132px;
    height: 132px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    font-size: 2rem;
    font-weight: 1000;
    background: radial-gradient(circle, rgba(255, 255, 255, .10), rgba(255, 255, 255, .02));
    border: 5px solid currentColor;
    text-shadow: 0 3px 10px rgba(0, 0, 0, .5);
}

.s247-emblem.viper span,
.s247-emblem.warrior span {
    color: #d9aa33;
    clip-path: polygon(50% 0, 100% 35%, 82% 100%, 18% 100%, 0 35%);
    border-radius: 16px;
}

.s247-emblem.shield span,
.s247-emblem.knight span,
.s247-emblem.eagle span {
    clip-path: polygon(50% 0, 100% 18%, 86% 86%, 50% 100%, 14% 86%, 0 18%);
    border-radius: 14px;
}

.s247-emblem.horse span,
.s247-emblem.wolf span,
.s247-emblem.cheetah span {
    border-radius: 42% 58% 47% 53%;
    color: #ff395b;
}

.s247-emblem.ball span,
.s247-emblem.cricket span,
.s247-emblem.flags span {
    color: #dce8ff;
}

.s247-card h2 {
    display: grid;
    place-items: center;
    margin: 0;
    padding: 12px;
    color: #fff;
    text-align: center;
    font-size: clamp(1rem, 1.35vw, 1.28rem);
    line-height: 1.2;
    font-weight: 500;
}

.s247-card p {
    display: grid;
    place-items: center;
    margin: 0;
    padding: 12px;
    color: #fff;
    text-align: center;
    font-size: 1rem;
    line-height: 1.55;
    background: linear-gradient(#071a35, #041326);
}

.s247-card.gold h2 {
    background: #d0a016;
}

.s247-card.red h2 {
    background: #c80425;
}

.s247-card.lime h2 {
    background: #cdd51c;
}

.s247-card.blue h2 {
    background: #3d4fa9;
}

.s247-card.teal h2 {
    background: #335f6d;
}

.s247-card.pink h2 {
    background: #ff2d5d;
}

.s247-card.royal h2 {
    background: #315da7;
}

.s247-logo-row {
    display: grid;
    grid-template-columns: repeat(9, minmax(70px, 1fr));
    gap: 18px;
    align-items: center;
    margin-top: 70px;
    padding: 46px 42px 30px;
    background: #fff;
}

.s247-logo-row span {
    height: 70px;
    display: grid;
    place-items: center;
    color: #10264a;
    font-weight: 1000;
    border-radius: 50%;
    background: radial-gradient(circle, #fff, #edf1f7);
    border: 2px solid #d7dbe4;
}

.s247-useful {
    padding: 0 18px 60px;
    background: #fff;
}

.s247-useful h3 {
    margin: 0 0 18px;
    padding: 12px;
    border-radius: 8px;
    background: #f6f6f6;
    color: #000;
    font-size: 1rem;
}

.s247-link-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 42px;
    padding: 0 20px;
}

.s247-link-grid h4 {
    margin: 0 0 18px;
    color: #050505;
    font-size: 1.05rem;
    font-weight: 900;
}

.s247-link-grid a {
    display: block;
    margin: 8px 0;
    color: #050505;
    font-size: .98rem;
}

.sponsor247-right {
    position: sticky;
    top: 116px;
    display: grid;
    gap: 86px;
    padding: 118px 14px 24px 0;
}

.download-plane {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    border-radius: 999px;
    background: linear-gradient(90deg, #177fdc, #2bc8db);
}

.download-plane span {
    width: 70px;
    height: 30px;
    margin-left: -22px;
    border-radius: 50% 8px 8px 50%;
    background: linear-gradient(135deg, #f04a1e, #991d10);
    transform: rotate(12deg);
}

.wheel-card {
    min-height: 338px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 14px;
    padding: 18px;
    color: #fff;
    text-align: center;
    background: #020202;
    border-radius: 8px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, .18);
}

.wheel-card h3 {
    margin: 0;
    color: #ffe23c;
    text-transform: uppercase;
    font-size: 2rem;
    line-height: .9;
    font-weight: 1000;
    text-shadow: 0 3px 0 #8a1a00;
}

.wheel-card em {
    display: block;
    margin-top: 8px;
    color: #fff;
    font-family: Georgia, serif;
    font-size: 1.05rem;
    text-transform: none;
    font-weight: 400;
}

.wheel {
    width: 210px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background:
        radial-gradient(circle, #ffdd4b 0 18%, transparent 19%),
        repeating-conic-gradient(#e51f2a 0 30deg, #fff 30deg 60deg);
    border: 10px solid #ff3a24;
    box-shadow: 0 0 0 7px #ffd252 inset, 0 0 24px rgba(255, 58, 36, .45);
}

.wheel b {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #4d1600;
    background: #ffcc30;
    text-transform: uppercase;
    border: 4px solid #bc6d00;
}

.scroll-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 70;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    color: #fff;
    text-decoration: none;
    border-radius: 50%;
    background: #3868f3;
    box-shadow: 0 10px 30px rgba(56, 104, 243, .32);
}

@media (max-width: 1180px) {
    .sponsor247-layout {
        grid-template-columns: 260px minmax(0, 1fr);
    }

    .sponsor247-right {
        display: none;
    }

    .sponsor247-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .sponsor247-top {
        grid-template-columns: 34px 1fr;
    }

    .sponsor247-actions {
        grid-column: 1 / -1;
        justify-content: flex-end;
    }

    .sponsor247-layout {
        grid-template-columns: 1fr;
    }

    .sponsor247-side {
        position: relative;
        top: auto;
        height: auto;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding: 12px;
    }

    .sponsor247-side h3 {
        grid-column: 1 / -1;
        margin: 10px 0 0;
    }

    .sponsor247-side a {
        margin: 0;
    }

    .sponsor247-content {
        padding: 18px 12px 42px;
    }

    .sponsor247-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .banner-copy {
        left: 28px;
        top: 38px;
        width: 55%;
    }

    .banner-person {
        left: 58%;
        opacity: .7;
    }

    .banner-plane,
    .banner-chicken {
        transform: scale(.72);
        transform-origin: right bottom;
    }

    .s247-link-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }
}

@media (max-width: 560px) {
    .sponsor247-top {
        min-height: auto;
        padding: 12px;
    }

    .sponsor247-logo img {
        width: 128px;
    }

    .sponsor247-actions {
        display: grid;
        grid-template-columns: 1fr 1fr 1.25fr;
    }

    .sponsor247-actions a {
        padding: 9px;
        font-size: .82rem;
    }

    .sponsor247-actions .download span {
        display: none;
    }

    .sponsor247-side {
        grid-template-columns: 1fr;
    }

    .sponsor247-banner {
        min-height: 330px;
    }

    .banner-copy {
        width: auto;
        right: 22px;
        text-align: center;
    }

    .banner-copy h1 {
        font-size: 2.35rem;
    }

    .banner-copy p {
        display: none;
    }

    .banner-person {
        display: none;
    }

    .banner-plane {
        right: 44px;
        bottom: 8px;
    }

    .banner-chicken {
        right: 70px;
        bottom: 76px;
    }

    .sponsor247-card-grid {
        grid-template-columns: 1fr;
    }

    .s247-card {
        min-height: 340px;
    }

    .s247-logo-row {
        grid-template-columns: repeat(3, 1fr);
        padding: 24px 14px;
    }

    .s247-link-grid {
        grid-template-columns: 1fr;
    }
}

/* Final strict phone layout override */
@media (max-width: 600px) {

    html,
    body,
    main.container,
    .y247-lobby,
    .y247-topline,
    .betting-slider,
    .betting-icon-row,
    .provider-strip,
    .y247-content-grid,
    .instant-panel,
    .instant-games,
    .quick-panel {
        max-width: 100% !important;
        min-width: 0 !important;
        overflow-x: hidden;
    }

    .y247-lobby {
        width: 100% !important;
        margin: 0 !important;
    }

    .y247-topline {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 9px !important;
        padding: 10px !important;
    }

    .y247-logo img {
        width: 116px !important;
    }

    .y247-tabs {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 7px !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .y247-tabs a {
        min-width: 0 !important;
        width: 100% !important;
        flex: initial !important;
        min-height: 35px !important;
        padding: 7px 8px !important;
        clip-path: none !important;
        border-radius: 7px !important;
        font-size: .64rem !important;
        white-space: nowrap;
    }

    .y247-tabs a:nth-child(5) {
        grid-column: 1 / -1;
    }

    .y247-actions {
        display: grid !important;
        grid-template-columns: 9px 1fr 1fr !important;
        gap: 8px !important;
        width: 100% !important;
        white-space: normal !important;
    }

    .y247-actions .app-now {
        display: none !important;
    }

    .y247-actions a {
        min-width: 0 !important;
        width: 100% !important;
        min-height: 38px !important;
        padding: 7px 8px !important;
        font-size: .75rem !important;
    }

    .live-dot-mini {
        margin: auto !important;
    }

    .y247-alertline {
        min-height: 28px;
        padding: 5px 10px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: clip;
        justify-content: flex-start;
        font-size: .62rem;
    }

    .betting-slider {
        display: grid !important;
        min-height: 210px !important;
        aspect-ratio: auto;
        background:
            radial-gradient(circle at 78% 30%, rgba(255, 49, 88, .42), transparent 22%),
            radial-gradient(circle at 20% 70%, rgba(255, 211, 74, .28), transparent 24%),
            linear-gradient(135deg, #260051, #3f1970 55%, #0a1735);
    }

    .betting-slide {
        display: none !important;
    }

    .mobile-betting-slide {
        min-height: 210px;
        display: grid !important;
        place-items: center;
        align-content: center;
        gap: 5px;
        padding: 18px 16px 28px;
        color: #fff;
        text-align: center;
        text-decoration: none;
        position: relative;
        overflow: hidden;
    }

    .mobile-betting-slide::before {
        content: "";
        position: absolute;
        right: -22px;
        top: 20px;
        width: 115px;
        height: 44px;
        border-radius: 60% 10px 10px 60%;
        background: linear-gradient(135deg, #ff314b, #ff83aa);
        transform: rotate(-10deg);
        box-shadow: 0 0 18px rgba(255, 49, 88, .45);
    }

    .mobile-betting-slide::after {
        content: "";
        position: absolute;
        left: -22px;
        bottom: 18px;
        width: 74px;
        height: 74px;
        border-radius: 50%;
        background: radial-gradient(circle at 35% 30%, #fff5a5, #e4a514 52%, #7a4600);
        opacity: .92;
    }

    .mobile-betting-slide span,
    .mobile-betting-slide strong,
    .mobile-betting-slide b,
    .mobile-betting-slide em,
    .mobile-betting-slide i {
        position: relative;
        z-index: 2;
    }

    .mobile-betting-slide span {
        color: #73f4ff;
        font-size: .58rem;
        font-weight: 950;
        letter-spacing: .08em;
        text-transform: uppercase;
    }

    .mobile-betting-slide strong {
        color: #fff;
        font-size: 1.65rem;
        line-height: 1;
        font-weight: 1000;
        font-style: italic;
    }

    .mobile-betting-slide b {
        color: #ffd84f;
        font-size: 1.58rem;
        line-height: .98;
        font-style: italic;
        text-transform: uppercase;
    }

    .mobile-betting-slide em {
        color: #fff;
        font-size: .86rem;
        font-style: normal;
        font-weight: 850;
    }

    .mobile-betting-slide i {
        margin-top: 6px;
        padding: 7px 20px;
        color: #fff;
        border-radius: 999px;
        background: linear-gradient(#ff2b22, #d80014);
        font-style: normal;
        font-size: .75rem;
        font-weight: 950;
        text-transform: uppercase;
    }

    .betting-icon-row {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 7px !important;
        padding: 8px !important;
        overflow: hidden !important;
    }

    .betting-icon-row a {
        min-width: 0 !important;
        min-height: 66px !important;
        padding: 6px !important;
        border-radius: 9px !important;
    }

    .betting-icon-row i {
        width: 34px !important;
        height: 34px !important;
        font-size: .48rem !important;
    }

    .betting-icon-row span {
        font-size: .58rem !important;
    }

    .y247-hero {
        display: none !important;
    }

    .provider-strip {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 6px !important;
        padding: 7px !important;
        overflow: hidden !important;
    }

    .provider-strip button {
        display: none !important;
    }

    .provider-strip div {
        min-width: 0 !important;
        min-height: 44px !important;
        padding: 4px !important;
        font-size: .62rem !important;
        border-radius: 7px !important;
    }

    .y247-content-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 8px !important;
        padding: 8px !important;
    }

    .instant-panel {
        padding: 12px 8px !important;
        min-height: 0 !important;
    }

    .instant-head h3 {
        font-size: .98rem !important;
    }

    .instant-games {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 8px !important;
        overflow: hidden !important;
    }

    .round-game {
        min-width: 0 !important;
        gap: 5px !important;
    }

    .round-game i {
        width: 54px !important;
        height: 54px !important;
        font-size: .72rem !important;
    }

    .round-game b {
        top: 42px !important;
        font-size: .44rem !important;
    }

    .round-game span {
        font-size: .62rem !important;
        min-height: 26px !important;
    }

    .quick-panel {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
        padding: 10px !important;
        min-height: 0 !important;
    }

    .quick-panel a {
        min-width: 0 !important;
        min-height: 40px !important;
        justify-content: center;
        padding: 7px !important;
        font-size: .68rem !important;
        text-align: center;
    }
}

.team-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px
}

.team-summary-grid .cardx {
    display: flex;
    flex-direction: column;
    gap: 5px
}

.team-summary-grid span {
    color: #65f5ff;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase
}

.team-summary-grid strong {
    font-size: 1.5rem
}

.team-summary-grid small {
    color: #8e99b4
}

.team-level-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px
}

.team-level-grid a {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px;
    border: 1px solid rgba(51, 225, 255, .2);
    border-radius: 12px;
    background: rgba(3, 12, 27, .72);
    color: #fff;
    text-decoration: none
}

.team-level-grid a:hover {
    border-color: #38eaff;
    box-shadow: 0 0 18px rgba(28, 220, 255, .14)
}

.team-level-grid span {
    color: #61efff;
    font-size: .76rem;
    font-weight: 800;
    text-transform: uppercase
}

.team-level-grid small {
    color: #929cb3
}

@media(max-width:900px) {
    .team-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .team-level-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr))
    }
}

@media(max-width:560px) {
    .team-summary-grid {
        grid-template-columns: 1fr
    }

    .team-level-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .team-level-grid a {
        padding: 11px
    }

    .team-level-grid strong {
        font-size: .9rem
    }
}

.support-chat-shell {
    display: grid;
    gap: 16px;
    max-width: 980px;
    margin: 0 auto
}

.support-chat-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px
}

.support-chat-hero span {
    color: #43f4ff;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .16em
}

.support-thread header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px
}

.support-thread h4 {
    margin: 2px 0 0;
    font-weight: 900
}

.support-thread small {
    color: #8b96ad
}

.support-bubbles {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px;
    border: 1px solid rgba(77, 235, 255, .12);
    border-radius: 16px;
    background: rgba(0, 0, 0, .18);
    max-height: 430px;
    overflow: auto
}

.support-bubble {
    max-width: 78%;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(25, 35, 61, .94);
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .16)
}

.support-bubble b {
    display: block;
    margin-bottom: 4px;
    color: #74f4ff;
    font-size: .76rem
}

.support-bubble p {
    margin: 0;
    white-space: normal
}

.support-bubble small {
    display: block;
    margin-top: 7px;
    font-size: .65rem
}

.support-bubble.user {
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    background: linear-gradient(135deg, rgba(57, 226, 179, .24), rgba(47, 89, 255, .26));
    border-color: rgba(49, 255, 195, .28)
}

.support-bubble.admin {
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    background: linear-gradient(135deg, rgba(90, 103, 255, .25), rgba(214, 40, 255, .18));
    border-color: rgba(114, 132, 255, .28)
}

.support-reply,
.support-admin-reply {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    margin-top: 12px
}

.support-admin-reply {
    grid-template-columns: 1fr
}

.admin-support-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px
}

.admin-view {
    max-height: 330px
}

@media(max-width:900px) {
    .support-chat-hero {
        display: block
    }

    .support-chat-hero .btn {
        margin-top: 12px
    }

    .admin-support-grid {
        grid-template-columns: 1fr
    }

    .support-bubble {
        max-width: 92%
    }
}

@media(max-width:560px) {
    .support-reply {
        grid-template-columns: 1fr
    }

    .support-reply .btn {
        width: 100%
    }

    .support-bubbles {
        padding: 10px
    }

    .support-bubble {
        max-width: 96%;
        padding: 10px 12px
    }
}

.flash-image-popup {
    position: fixed;
    inset: 0;
    z-index: 4000;
    display: grid;
    place-items: center;
    padding: 18px;
    background: radial-gradient(circle at 50% 30%, rgba(16, 246, 255, .17), rgba(3, 4, 12, .72) 42%, rgba(0, 0, 0, .86));
    backdrop-filter: blur(12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .24s ease
}

.flash-image-popup.show {
    opacity: 1;
    pointer-events: auto
}

.flash-image-card {
    width: min(540px, 94vw);
    max-height: min(760px, 88vh);
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto auto;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(66, 244, 255, .44);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(5, 13, 30, .96), rgba(37, 5, 52, .96));
    box-shadow: 0 0 0 1px rgba(255, 47, 209, .18), 0 28px 80px rgba(0, 0, 0, .62), 0 0 42px rgba(0, 246, 255, .17);
    transform: translateY(18px) scale(.97);
    transition: transform .24s ease
}

.flash-image-popup.show .flash-image-card {
    transform: translateY(0) scale(1)
}

.flash-image-card:before {
    content: "";
    position: absolute;
    inset: -40%;
    background: conic-gradient(from 180deg, transparent, rgba(0, 246, 255, .2), transparent, rgba(255, 47, 209, .22), transparent);
    animation: flashGlow 6s linear infinite;
    pointer-events: none
}

.flash-image-close {
    position: absolute;
    right: 12px;
    top: 12px;
    z-index: 4;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .22);
    background: rgba(2, 8, 20, .72);
    color: #fff;
    font-size: 1.35rem;
    line-height: 1;
    box-shadow: 0 0 18px rgba(0, 246, 255, .22)
}

.flash-image-stage {
    position: relative;
    z-index: 1;
    min-height: 220px;
    background: rgba(0, 0, 0, .28);
    display: grid;
    place-items: center
}

.flash-image-stage img {
    width: 100%;
    height: 100%;
    max-height: 68vh;
    object-fit: contain;
    display: block
}

.flash-image-caption {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px;
    background: linear-gradient(90deg, rgba(3, 11, 26, .96), rgba(28, 9, 42, .96));
    border-top: 1px solid rgba(60, 234, 255, .24)
}

.flash-image-caption span {
    display: block;
    color: #41f7ff;
    font-size: .68rem;
    font-weight: 950;
    letter-spacing: .18em
}

.flash-image-caption strong {
    display: block;
    margin-top: 3px;
    color: #fff;
    font-size: 1.08rem
}

.flash-image-counter {
    color: #ffd778;
    font-weight: 900
}

.flash-image-progress {
    position: relative;
    z-index: 3;
    height: 4px;
    background: rgba(255, 255, 255, .12)
}

.flash-image-progress i {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #35f6ff, #ff2fd1, #ffd978);
    box-shadow: 0 0 14px rgba(0, 246, 255, .6)
}

.flash-image-card.swap img {
    animation: flashImageIn .38s ease both
}

@keyframes flashProgress {
    from {
        width: 0
    }

    to {
        width: 100%
    }
}

@keyframes flashImageIn {
    from {
        opacity: .2;
        transform: scale(1.04)
    }

    to {
        opacity: 1;
        transform: scale(1)
    }
}

@keyframes flashGlow {
    to {
        transform: rotate(360deg)
    }
}

@media(max-width:560px) {
    .flash-image-popup {
        padding: 12px
    }

    .flash-image-card {
        width: 94vw;
        max-height: 82vh;
        border-radius: 18px
    }

    .flash-image-stage {
        min-height: 180px
    }

    .flash-image-stage img {
        max-height: 62vh
    }

    .flash-image-caption {
        padding: 12px 14px
    }

    .flash-image-caption strong {
        font-size: .92rem
    }

    .flash-image-close {
        right: 8px;
        top: 8px;
        width: 32px;
        height: 32px
    }
}

.beta-game-shell {
    max-width: 1120px;
    margin: 0 auto 80px;
    display: grid;
    gap: 16px
}

.beta-game-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    min-height: 245px;
    padding: 28px;
    border: 1px solid rgba(61, 237, 255, .24);
    border-radius: 24px;
    background: radial-gradient(circle at 78% 34%, rgba(255, 43, 153, .34), transparent 24%), linear-gradient(135deg, rgba(4, 15, 35, .98), rgba(38, 7, 50, .94));
    box-shadow: 0 22px 70px rgba(0, 0, 0, .35), 0 0 34px rgba(0, 235, 255, .12)
}

.beta-game-hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 38px 38px;
    mask-image: linear-gradient(90deg, #000, transparent 82%)
}

.beta-game-hero>* {
    position: relative;
    z-index: 1
}

.beta-game-hero h1 {
    margin: .35rem 0;
    font-size: clamp(2rem, 5vw, 4.4rem);
    line-height: .95;
    font-weight: 1000
}

.beta-game-hero p {
    max-width: 580px;
    margin: 0;
    color: #aab5ce
}

.beta-badge {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    color: #050913;
    background: linear-gradient(90deg, #3ff4ff, #ff33de, #ffd45c);
    font-size: .72rem;
    font-weight: 1000;
    letter-spacing: .14em
}

.beta-countdown {
    min-width: 190px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 20px;
    background: rgba(0, 0, 0, .28);
    text-align: center
}

.beta-countdown small,
.beta-countdown em {
    display: block;
    color: #94a1bc;
    font-style: normal
}

.beta-countdown strong {
    display: block;
    font-size: 2.1rem;
    color: #3ff4ff;
    text-shadow: 0 0 20px rgba(63, 244, 255, .4)
}

.beta-slip {
    display: grid;
    gap: 14px
}

.beta-slip label {
    font-weight: 900
}

.beta-slip label small {
    color: #7ff7ff;
    margin-left: 8px
}

.horse-track-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px
}

.horse-card {
    position: relative;
    min-height: 115px;
    border: 1px solid rgba(86, 241, 255, .2);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(12, 24, 49, .95), rgba(39, 10, 55, .9));
    color: #fff;
    overflow: hidden;
    box-shadow: 0 12px 34px rgba(0, 0, 0, .24);
    transition: .18s transform, .18s border-color
}

.horse-card:hover {
    transform: translateY(-3px);
    border-color: #35f7ff
}

.horse-card i {
    display: block;
    width: 42px;
    height: 42px;
    margin: 0 auto 10px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #fff, #64f4ff 24%, #6357ff 56%, #08112b 58%);
    box-shadow: 0 0 24px rgba(71, 246, 255, .34)
}

.horse-card b,
.horse-card span {
    display: block
}

.horse-card span {
    font-size: .74rem;
    color: #ffd76d;
    font-weight: 900
}

.roulette-wheel-ui {
    display: grid;
    place-items: center;
    padding: 18px
}

.wheel-core {
    width: 190px;
    height: 190px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 1000;
    letter-spacing: .12em;
    background: conic-gradient(#ff315e 0 10%, #111827 10% 20%, #35f5ff 20% 30%, #151b2f 30% 40%, #ffcb4b 40% 50%, #111827 50% 60%, #ff31dc 60% 70%, #151b2f 70% 80%, #42ffb5 80% 90%, #111827 90% 100%);
    box-shadow: inset 0 0 0 22px rgba(0, 0, 0, .36), 0 0 46px rgba(255, 47, 209, .22);
    animation: rouletteIdle 8s linear infinite
}

.roulette-number-grid {
    display: grid;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 9px
}

.roulette-number-grid button {
    min-height: 48px;
    border: 1px solid rgba(72, 240, 255, .24);
    border-radius: 13px;
    background: rgba(7, 16, 35, .88);
    color: #fff;
    font-weight: 950
}

.roulette-number-grid button:hover {
    background: linear-gradient(135deg, #1df2ff, #ff35d3);
    color: #061020
}

.beta-game-shell .table-wrap {
    border-radius: 20px
}

.beta-game-shell .alert-info {
    border-color: rgba(57, 236, 255, .22);
    background: rgba(35, 235, 255, .12);
    color: #c7faff
}

@keyframes rouletteIdle {
    to {
        transform: rotate(360deg)
    }
}

@media(max-width:900px) {
    .beta-game-hero {
        display: grid;
        min-height: 0;
        padding: 22px
    }

    .beta-countdown {
        min-width: 0
    }

    .horse-track-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr))
    }

    .roulette-number-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr))
    }
}

@media(max-width:560px) {
    .beta-game-shell {
        gap: 12px
    }

    .beta-game-hero {
        padding: 18px;
        border-radius: 18px
    }

    .beta-game-hero h1 {
        font-size: 2.25rem
    }

    .horse-track-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px
    }

    .horse-card {
        min-height: 98px
    }

    .roulette-number-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 7px
    }

    .roulette-number-grid button {
        min-height: 42px
    }

    .wheel-core {
        width: 145px;
        height: 145px
    }
}

.beta-rules h4 {
    font-weight: 950
}

.beta-rule-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px
}

.beta-rule-grid span {
    display: block;
    padding: 12px;
    border: 1px solid rgba(70, 236, 255, .18);
    border-radius: 14px;
    background: rgba(4, 15, 35, .6);
    color: #d7e3ff;
    font-size: .9rem
}

.beta-live-arena small {
    color: #91a0bd
}

.horse-live-track {
    display: grid;
    gap: 8px
}

.horse-live-lane {
    --horse-pos: 0%;
    position: relative;
    height: 42px;
    border: 1px solid rgba(69, 238, 255, .13);
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(4, 13, 29, .96), rgba(14, 25, 49, .8));
    overflow: hidden
}

.horse-live-lane:before {
    content: "";
    position: absolute;
    inset: 50% 16px auto 54px;
    height: 2px;
    background: linear-gradient(90deg, rgba(64, 246, 255, .2), rgba(255, 211, 90, .55));
    transform: translateY(-50%)
}

.horse-live-lane span {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(55, 241, 255, .18);
    color: #66f6ff;
    font-weight: 950
}

.horse-live-lane i {
    position: absolute;
    left: 54px;
    top: 50%;
    transform: translate(calc(var(--horse-pos) * .88), -50%);
    z-index: 3;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 35% 35%, #fff, #76f6ff 28%, #6d56ff 64%, #111827 66%);
    color: #061020;
    font-style: normal;
    font-size: 1.15rem;
    box-shadow: 0 0 24px rgba(68, 244, 255, .35);
    transition: transform .85s ease
}

.horse-live-lane b {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 28px;
    border-radius: 3px;
    background: repeating-linear-gradient(45deg, #fff 0 4px, #111827 4px 8px)
}

.horse-card i {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    color: #07122b;
    font-size: 1.35rem;
    font-style: normal;
    animation: horseIconBounce 1.4s ease-in-out infinite
}

.wheel-core {
    --roulette-rotation: 0deg;
    --roulette-speed: 8s;
    animation: none;
    transform: rotate(var(--roulette-rotation));
    transition: transform .8s linear
}

.wheel-core span {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #07101f;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, .16);
    transform: rotate(calc(-1 * var(--roulette-rotation)))
}

.wheel-core.is-spinning {
    animation: rouletteRealSpin var(--roulette-speed) linear infinite
}

@keyframes rouletteRealSpin {
    to {
        transform: rotate(calc(var(--roulette-rotation) + 360deg))
    }
}

@keyframes horseIconBounce {
    50% {
        transform: translateY(-4px)
    }
}

@media(max-width:900px) {
    .beta-rule-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media(max-width:560px) {
    .beta-rule-grid {
        grid-template-columns: 1fr
    }

    .horse-live-lane {
        height: 36px
    }

    .horse-live-lane i {
        width: 30px;
        height: 30px
    }

    .wheel-core span {
        width: 58px;
        height: 58px
    }
}

.beta-venue,
.beta-panel-venue {
    display: inline-flex;
    margin-top: 12px;
    padding: 9px 12px;
    border: 1px solid rgba(64, 245, 255, .22);
    border-radius: 999px;
    background: rgba(1, 10, 25, .55);
    color: #ffe08a;
    font-size: .9rem
}

.beta-panel-venue {
    margin: 0 0 4px;
    border-radius: 14px
}

.beta-dashboard-alerts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px
}

.beta-dashboard-alerts a {
    display: grid;
    gap: 4px;
    padding: 14px 16px;
    border: 1px solid rgba(63, 245, 255, .27);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(8, 20, 44, .96), rgba(57, 8, 62, .88));
    text-decoration: none;
    color: #fff;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .22), 0 0 20px rgba(63, 245, 255, .1)
}

.beta-dashboard-alerts span {
    color: #42f6ff;
    font-size: .72rem;
    font-weight: 950;
    letter-spacing: .12em;
    text-transform: uppercase
}

.beta-dashboard-alerts strong {
    font-size: 1.1rem
}

.beta-dashboard-alerts small {
    color: #b9c4de
}

@media(max-width:700px) {
    .beta-dashboard-alerts {
        grid-template-columns: 1fr
    }
}

.horse-live-lane i {
    left: calc(54px + var(--horse-left, 0%));
    transform: translateY(-50%);
    transition: left .85s ease, transform .2s ease
}

.history-refreshed {
    animation: historyFlash .9s ease
}

@keyframes historyFlash {
    0% {
        box-shadow: 0 0 0 1px rgba(60, 255, 240, .35), 0 0 34px rgba(60, 255, 240, .32)
    }

    100% {
        box-shadow: none
    }
}

.beta-betting-notice {
    padding: 12px 14px;
    border: 1px solid rgba(255, 209, 82, .34);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255, 198, 46, .16), rgba(255, 62, 118, .12));
    color: #ffdf7d;
    font-weight: 950;
    letter-spacing: .06em;
    text-transform: uppercase
}

.beta-betting-notice.open {
    border-color: rgba(69, 255, 181, .38);
    background: rgba(42, 255, 174, .12);
    color: #55ffbc
}

.beta-slip.betting-closed input[name="bet_amount"] {
    opacity: .58;
    filter: grayscale(1)
}

.beta-slip.betting-closed .horse-card,
.beta-slip.betting-closed .roulette-number-grid button,
.horse-card:disabled,
.roulette-number-grid button:disabled {
    cursor: not-allowed;
    opacity: .48;
    filter: grayscale(1);
    background: linear-gradient(145deg, rgba(42, 48, 61, .88), rgba(23, 27, 38, .92));
    border-color: rgba(180, 190, 210, .16);
    box-shadow: none;
    color: #9aa3b8
}

.beta-slip.betting-closed .horse-card:hover,
.beta-slip.betting-closed .roulette-number-grid button:hover,
.horse-card:disabled:hover,
.roulette-number-grid button:disabled:hover {
    transform: none;
    background: linear-gradient(145deg, rgba(42, 48, 61, .88), rgba(23, 27, 38, .92));
    color: #9aa3b8
}

.beta-slip.betting-closed .horse-card span,
.horse-card:disabled span {
    color: #b6bcc8
}

.beta-slip.betting-closed .horse-card i,
.horse-card:disabled i {
    box-shadow: none;
    filter: grayscale(1)
}

.race-stadium {
    background: linear-gradient(180deg, rgba(9, 33, 34, .95), rgba(4, 18, 38, .95));
    overflow: hidden
}

.race-field {
    position: relative;
    padding: 14px;
    border-radius: 18px;
    background: linear-gradient(180deg, #2aa323 0, #248f21 48%, #1f7f1e 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), inset 0 22px 60px rgba(0, 0, 0, .2)
}

.race-field:before {
    content: "RACE FIELD";
    position: absolute;
    right: 18px;
    top: 8px;
    color: rgba(255, 255, 255, .24);
    font-size: .72rem;
    font-weight: 1000;
    letter-spacing: .22em
}

.race-lane {
    --horse-left: 0%;
    height: 54px;
    border: 0;
    border-radius: 0;
    background: linear-gradient(180deg, rgba(49, 184, 43, .72), rgba(31, 134, 30, .72));
    border-bottom: 2px solid rgba(255, 255, 255, .24);
    box-shadow: inset 0 1px rgba(255, 255, 255, .08);
    overflow: visible
}

.race-lane:before {
    left: 64px;
    right: 28px;
    height: 3px;
    background: linear-gradient(90deg, rgba(255, 255, 255, .56), rgba(255, 255, 255, .18));
    box-shadow: 0 14px rgba(255, 255, 255, .14), 0 -14px rgba(255, 255, 255, .14)
}

.race-lane span {
    left: 10px;
    width: 34px;
    height: 34px;
    background: #f8fafc;
    color: #07220b;
    border: 3px solid #1b6f1b;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, .22);
    font-size: 1rem
}

.race-lane i {
    left: calc(58px + var(--horse-left, 0%));
    width: 132px;
    height: 46px;
    display: flex;
    align-items: center;
    gap: 7px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(3, 18, 24, .82), rgba(4, 42, 37, .46));
    box-shadow: 0 10px 20px rgba(0, 0, 0, .22);
    color: #fff;
    transition: left .85s ease;
    z-index: 4
}

.race-lane i em {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #fff, #6bf5ff 34%, #6e5cff 72%, #161a30);
    font-style: normal;
    font-size: 1.45rem;
    filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .35))
}

.race-lane i strong {
    display: block;
    max-width: 72px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #fff;
    font-size: .72rem;
    line-height: 1.05;
    text-shadow: 0 2px 4px rgba(0, 0, 0, .8)
}

.race-lane b {
    right: 8px;
    height: 42px;
    width: 18px
}

.race-horse-card small {
    display: block;
    margin: 4px 0 6px;
    color: #78f7ff;
    font-weight: 900;
    font-size: .74rem
}

.race-horse-card i {
    font-style: normal;
    font-size: 1.65rem
}

.beta-slip.betting-closed .race-horse-card small,
.race-horse-card:disabled small {
    color: #aeb5c4
}

@media(max-width:700px) {
    .race-lane {
        height: 60px
    }

    .race-lane i {
        width: 104px
    }

    .race-lane i strong {
        font-size: .62rem;
        max-width: 56px
    }

    .race-field {
        padding: 10px
    }

    .race-lane span {
        width: 28px;
        height: 28px;
        font-size: .8rem
    }

    .race-lane i em {
        width: 38px;
        height: 38px;
        font-size: 1.2rem
    }
}

.roulette-real-stage {
    padding: 24px 0
}

.roulette-real-wheel {
    --roulette-rotation: 0deg;
    --roulette-speed: 8s;
    --ball-angle: 0deg;
    --pocket-count: 37;
    position: relative;
    width: min(380px, 86vw);
    aspect-ratio: 1;
    margin: auto;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, #132715 0 17%, #07120c 18% 26%, transparent 27%), repeating-conic-gradient(from -4.86deg, #151923 0deg 4.86deg, #bb2934 4.86deg 9.72deg, #151923 9.72deg 14.58deg, #d5b04d 14.58deg 19.44deg), radial-gradient(circle, #102817 0 58%, #2f2b16 59% 63%, #05070d 64% 100%);
    box-shadow: inset 0 0 0 12px #1e2615, inset 0 0 0 22px rgba(219, 188, 88, .42), inset 0 0 52px rgba(0, 0, 0, .9), 0 0 46px rgba(58, 245, 255, .18)
}

.roulette-real-wheel:before {
    content: "";
    position: absolute;
    inset: 9%;
    border-radius: 50%;
    border: 3px solid rgba(232, 213, 142, .7);
    box-shadow: inset 0 0 0 18px rgba(7, 10, 13, .55), 0 0 0 2px rgba(31, 143, 74, .45)
}

.roulette-real-wheel:after {
    content: "";
    position: absolute;
    inset: 31%;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #f8e7a5, #8d6b23 45%, #1a1207 72%);
    box-shadow: 0 0 26px rgba(255, 226, 133, .38);
    z-index: 4
}

.roulette-real-wheel.is-spinning .roulette-pocket-ring {
    animation: rouletteRealSpin var(--roulette-speed) linear infinite
}

.roulette-pocket-ring {
    position: absolute;
    inset: 4%;
    border-radius: 50%;
    transform: rotate(var(--roulette-rotation));
    transition: transform .8s linear
}

.roulette-pocket {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 32px;
    height: 42px;
    margin: -21px 0 0 -16px;
    display: grid;
    place-items: center;
    border-radius: 7px;
    color: #fff;
    font-size: .74rem;
    font-weight: 950;
    text-shadow: 0 1px 2px #000;
    transform: rotate(calc((360deg / var(--pocket-count)) * var(--i))) translateY(-142px) rotate(calc(-1 * (360deg / var(--pocket-count)) * var(--i)))
}

.roulette-pocket.red {
    background: #c92f3c
}

.roulette-pocket.black {
    background: #151923
}

.roulette-pocket.green {
    background: #078c45
}

.roulette-ball {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 8;
    width: 21px;
    height: 21px;
    margin: -10.5px;
    border-radius: 50%;
    background: radial-gradient(circle at 32% 30%, #fff, #f0e9df 45%, #a99b8a 78%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .7), 0 0 10px rgba(255, 255, 255, .8);
    transform: rotate(var(--ball-angle)) translateY(-166px);
    transition: transform .8s cubic-bezier(.12, .84, .32, 1)
}

.roulette-ball.is-spinning {
    transition: transform .95s linear
}

.roulette-spindle {
    position: absolute;
    inset: 37%;
    z-index: 7;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: radial-gradient(circle, #172338, #040812 70%);
    box-shadow: inset 0 0 0 5px rgba(255, 255, 255, .09), 0 0 28px rgba(0, 0, 0, .55)
}

.roulette-spindle span {
    position: relative;
    z-index: 8;
    color: #fff;
    font-size: 1rem;
    font-weight: 1000;
    letter-spacing: .08em
}

.roulette-real-wheel.has-result .roulette-spindle {
    box-shadow: inset 0 0 0 5px rgba(255, 216, 98, .35), 0 0 34px rgba(255, 216, 98, .45)
}

@media(max-width:560px) {
    .roulette-real-wheel {
        width: min(300px, 86vw)
    }

    .roulette-pocket {
        width: 25px;
        height: 32px;
        margin: -16px 0 0 -12.5px;
        font-size: .56rem;
        transform: rotate(calc((360deg / var(--pocket-count)) * var(--i))) translateY(-112px) rotate(calc(-1 * (360deg / var(--pocket-count)) * var(--i)))
    }

    .roulette-ball {
        width: 17px;
        height: 17px;
        margin: -8.5px;
        transform: rotate(var(--ball-angle)) translateY(-131px)
    }
}

.roulette-real-wheel {
    overflow: visible
}

.roulette-pocket {
    width: 22px;
    height: 24px;
    margin: -12px 0 0 -11px;
    border-radius: 5px;
    font-size: .58rem;
    line-height: 1;
    transform: rotate(calc((360deg / var(--pocket-count)) * var(--i))) translateY(-161px) rotate(calc(-1 * (360deg / var(--pocket-count)) * var(--i)));
    box-shadow: 0 2px 5px rgba(0, 0, 0, .35)
}

.roulette-spindle {
    inset: 34%
}

.roulette-spindle span {
    font-size: .92rem;
    white-space: nowrap
}

.roulette-ball {
    transform: rotate(var(--ball-angle)) translateY(-174px)
}

@media(max-width:560px) {
    .roulette-pocket {
        width: 18px;
        height: 20px;
        margin: -10px 0 0 -9px;
        font-size: .48rem;
        transform: rotate(calc((360deg / var(--pocket-count)) * var(--i))) translateY(-126px) rotate(calc(-1 * (360deg / var(--pocket-count)) * var(--i)))
    }

    .roulette-ball {
        transform: rotate(var(--ball-angle)) translateY(-136px)
    }

    .roulette-spindle span {
        font-size: .75rem
    }
}

.tree-bonus-hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 22px;
    align-items: center;
    min-height: 310px;
    padding: 32px;
    border: 1px solid rgba(119, 255, 106, .34);
    border-radius: 28px;
    background: radial-gradient(circle at 78% 28%, rgba(202, 255, 77, .32), transparent 22%), linear-gradient(135deg, rgba(3, 34, 18, .96), rgba(7, 18, 29, .96) 45%, rgba(42, 18, 48, .94));
    box-shadow: 0 26px 80px rgba(0, 0, 0, .35), 0 0 40px rgba(91, 255, 95, .14)
}

.tree-bonus-hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .36)), radial-gradient(circle at 88% 76%, rgba(67, 255, 97, .18), transparent 26%);
    pointer-events: none
}

.tree-bonus-hero:after {
    content: "";
    position: absolute;
    right: 8%;
    bottom: -18px;
    width: 190px;
    height: 190px;
    border-radius: 55% 45% 45% 55%;
    background: linear-gradient(135deg, #baff5e, #25b84f 55%, #043d1d);
    box-shadow: -70px -52px 0 -52px #8dff5b, -108px -82px 0 -70px #54dc56;
    transform: rotate(-22deg);
    opacity: .72
}

.tree-hero-copy,
.tree-hero-badge {
    position: relative;
    z-index: 1
}

.tree-hero-copy span {
    color: #b8ff74;
    font-weight: 1000;
    letter-spacing: .2em;
    font-size: .76rem
}

.tree-hero-copy h1 {
    max-width: 680px;
    margin: .25rem 0 .7rem;
    font-size: clamp(2.3rem, 6vw, 5rem);
    font-weight: 1000;
    line-height: .9;
    text-transform: uppercase
}

.tree-hero-copy p {
    max-width: 640px;
    color: #d7ecd4;
    font-size: 1.06rem
}

.tree-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center
}

.tree-hero-actions strong {
    padding: 10px 14px;
    border: 1px solid rgba(215, 255, 122, .38);
    border-radius: 999px;
    background: rgba(0, 0, 0, .24);
    color: #f3ffbe
}

.tree-hero-badge {
    width: 172px;
    height: 172px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 20px;
    background: radial-gradient(circle, #fff, #e7ffd2 62%, #90e841);
    color: #10350e;
    box-shadow: 0 0 0 8px rgba(99, 255, 72, .22), 0 0 42px rgba(151, 255, 85, .38)
}

.tree-hero-badge strong {
    font-size: 3.4rem;
    line-height: .9
}

.tree-hero-badge small,
.tree-hero-badge span {
    font-weight: 1000;
    font-size: .68rem
}

.tree-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 16px 0
}

.tree-steps div {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 12px;
    align-items: center;
    padding: 18px;
    border: 1px solid rgba(110, 255, 92, .24);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(8, 32, 21, .9), rgba(13, 20, 42, .86));
    box-shadow: 0 18px 42px rgba(0, 0, 0, .22)
}

.tree-steps i {
    grid-row: 1/3;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #c7ff5e, #2be263);
    color: #08220e;
    font-style: normal;
    font-weight: 1000;
    box-shadow: 0 0 22px rgba(86, 255, 94, .28)
}

.tree-steps strong {
    font-size: 1.05rem
}

.tree-steps span {
    color: #adc0b3
}

.tree-photo-thumb {
    width: 82px;
    height: 62px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(76, 255, 116, .35);
    box-shadow: 0 0 18px rgba(76, 255, 116, .12)
}

.tree-status {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 1000;
    text-transform: uppercase
}

.tree-status.pending {
    background: #ffd24a;
    color: #201300
}

.tree-status.approved {
    background: #2ed47a;
    color: #03170b
}

.tree-status.rejected {
    background: #ff4f6a;
    color: #fff
}

.tree-admin-action {
    min-width: 260px
}

.bottom-nav a[href="tree-bonus.php"] i {
    color: #68ff75
}

.bottom-nav a[href="tree-bonus.php"] i svg {
    filter: drop-shadow(0 0 8px rgba(91, 255, 97, .38))
}

@media(max-width:760px) {
    .tree-bonus-hero {
        grid-template-columns: 1fr;
        min-height: 0;
        padding: 22px;
        border-radius: 22px
    }

    .tree-bonus-hero:after {
        width: 125px;
        height: 125px;
        right: -12px;
        bottom: -28px
    }

    .tree-hero-badge {
        width: 138px;
        height: 138px
    }

    .tree-hero-badge strong {
        font-size: 2.7rem
    }

    .tree-steps {
        grid-template-columns: 1fr
    }

    .tree-hero-copy h1 {
        font-size: 2.45rem
    }

    .tree-hero-copy p {
        font-size: .94rem
    }

    .tree-admin-action {
        min-width: 0
    }
}

.tree-dashboard-marquee {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(91, 255, 113, .22);
    background: linear-gradient(90deg, rgba(8, 44, 26, .88), rgba(10, 16, 35, .9), rgba(47, 12, 53, .82));
    overflow: hidden
}

.tree-marquee-title {
    display: grid;
    gap: 1px;
    min-width: 132px
}

.tree-marquee-title span {
    color: #83ff78;
    font-size: .68rem;
    font-weight: 1000;
    letter-spacing: .16em;
    text-transform: uppercase
}

.tree-marquee-title strong {
    color: #fff;
    font-size: .86rem
}

.tree-marquee-track {
    overflow: hidden;
    min-width: 0
}

.tree-marquee-strip {
    display: flex;
    gap: 10px;
    width: max-content;
    animation: treeMarqueeMove 32s linear infinite
}

.tree-dashboard-marquee:hover .tree-marquee-strip {
    animation-play-state: paused
}

.tree-marquee-item {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 220px;
    padding: 7px 10px;
    border: 1px solid rgba(109, 255, 100, .24);
    border-radius: 14px;
    background: rgba(0, 0, 0, .28);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 0 16px rgba(80, 255, 101, .08)
}

.tree-marquee-item img,
.tree-marquee-item i {
    width: 46px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(119, 255, 106, .38);
    object-fit: cover;
    background: linear-gradient(135deg, #a8ff69, #0a7d32);
    display: grid;
    place-items: center;
    color: #07240c;
    font-style: normal;
    font-size: .68rem;
    font-weight: 1000;
    flex: 0 0 auto
}

.tree-marquee-item b {
    display: block;
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .82rem
}

.tree-marquee-item small {
    display: block;
    color: #b9ffc0;
    font-size: .68rem;
    white-space: nowrap
}

@keyframes treeMarqueeMove {
    from {
        transform: translateX(0)
    }

    to {
        transform: translateX(-50%)
    }
}

@media(max-width:760px) {
    .tree-dashboard-marquee {
        grid-template-columns: 1fr;
        padding: 9px 10px
    }

    .tree-marquee-title {
        display: flex;
        justify-content: space-between;
        align-items: center
    }

    .tree-marquee-item {
        min-width: 190px;
        padding: 6px 8px
    }

    .tree-marquee-item img,
    .tree-marquee-item i {
        width: 40px;
        height: 32px
    }

    .tree-marquee-strip {
        animation-duration: 26s
    }
}

.floating-actions {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2500;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end
}

.float-action {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 10px 12px 10px 13px;
    border: 1px solid rgba(76, 245, 255, .32);
    border-right: 0;
    border-radius: 18px 0 0 18px;
    background: linear-gradient(135deg, rgba(7, 14, 32, .96), rgba(40, 10, 52, .92));
    color: #fff;
    text-decoration: none;
    font-weight: 950;
    box-shadow: -10px 16px 42px rgba(0, 0, 0, .45), 0 0 22px rgba(72, 236, 255, .18);
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease
}

.float-action:before {
    content: "";
    position: absolute;
    inset: -80% -30%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .3), transparent);
    transform: rotate(25deg) translateX(-90%);
    animation: floatActionShine 4s ease-in-out infinite
}

.float-action:hover {
    transform: translateX(-6px) scale(1.03);
    color: #fff;
    box-shadow: -14px 18px 54px rgba(0, 0, 0, .52), 0 0 34px rgba(72, 236, 255, .3)
}

.float-action i {
    position: relative;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: rgba(255, 255, 255, .08)
}

.float-action i svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round
}

.float-action span {
    position: relative;
    font-size: .8rem;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    line-height: 1
}

.support-float {
    border-color: rgba(71, 245, 255, .42);
    color: #5cf5ff
}

.tree-float {
    border-color: rgba(112, 255, 103, .45);
    color: #91ff7a;
    animation: treeFloatPulse 2.6s ease-in-out infinite
}

.tree-float i {
    background: radial-gradient(circle at 35% 25%, #e8ffd5, #5bff73 42%, #078436 76%);
    color: #05240c;
    box-shadow: 0 0 22px rgba(109, 255, 96, .45)
}

.support-chat-pop {
    position: absolute;
    right: 72px;
    top: 0;
    width: min(320px, 86vw);
    display: grid;
    gap: 8px;
    padding: 17px;
    border: 1px solid rgba(71, 245, 255, .38);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(6, 13, 30, .98), rgba(32, 9, 45, .97));
    box-shadow: 0 24px 70px rgba(0, 0, 0, .62), 0 0 32px rgba(71, 245, 255, .2);
    opacity: 0;
    pointer-events: none;
    transform: translateX(14px) scale(.96);
    transition: .2s ease
}

.support-chat-pop.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0) scale(1)
}

.support-chat-pop span {
    color: #53f4ff;
    font-size: .68rem;
    font-weight: 1000;
    letter-spacing: .16em
}

.support-chat-pop strong {
    font-size: 1.28rem
}

.support-chat-pop small {
    color: #aeb8d2;
    line-height: 1.45
}

.support-chat-pop a {
    display: inline-flex;
    justify-content: center;
    margin-top: 4px;
    padding: 11px 14px;
    border-radius: 13px;
    background: linear-gradient(90deg, #40f7ff, #7f65ff);
    color: #06111e;
    text-decoration: none;
    font-weight: 1000
}

.support-chat-close {
    position: absolute;
    right: 9px;
    top: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(0, 0, 0, .2);
    color: #fff
}

.bottom-nav {
    overflow: hidden
}

.bottom-nav:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(68, 242, 255, .08), transparent);
    animation: bottomNavSweep 5s linear infinite;
    pointer-events: none
}

.bottom-nav a {
    position: relative;
    isolation: isolate;
    transition: transform .22s ease, color .22s ease, text-shadow .22s ease
}

.bottom-nav a:before {
    content: "";
    position: absolute;
    inset: 8px 12px;
    border-radius: 18px;
    background: radial-gradient(circle at 50% 0, rgba(255, 255, 255, .16), transparent 62%);
    opacity: 0;
    transform: scale(.86);
    transition: .22s ease;
    z-index: -1
}

.bottom-nav a:hover,
.bottom-nav a:focus {
    transform: translateY(-5px)
}

.bottom-nav a:hover:before,
.bottom-nav a:focus:before {
    opacity: 1;
    transform: scale(1)
}

.bottom-nav a i {
    animation: bottomIconFloat 3.4s ease-in-out infinite
}

.bottom-nav a:nth-child(2) i {
    animation-delay: .2s
}

.bottom-nav a:nth-child(4) i {
    animation-delay: .4s
}

.bottom-nav a:nth-child(5) i {
    animation-delay: .6s
}

.bottom-nav .home-tab:after {
    content: "";
    position: absolute;
    left: 18%;
    right: 18%;
    top: 0;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #40f7ff, #ff39de, #ffd86f);
    box-shadow: 0 0 18px rgba(80, 246, 255, .6)
}

@keyframes floatActionShine {

    0%,
    55% {
        transform: rotate(25deg) translateX(-90%)
    }

    75%,
    100% {
        transform: rotate(25deg) translateX(90%)
    }
}

@keyframes treeFloatPulse {

    0%,
    100% {
        box-shadow: -10px 16px 42px rgba(0, 0, 0, .45), 0 0 20px rgba(107, 255, 103, .2)
    }

    50% {
        box-shadow: -14px 18px 54px rgba(0, 0, 0, .5), 0 0 38px rgba(107, 255, 103, .52)
    }
}

@keyframes bottomNavSweep {
    to {
        transform: translateX(100%)
    }
}

@keyframes bottomIconFloat {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-2px)
    }
}

@media(max-width:760px) {
    .floating-actions {
        right: 0;
        top: 52%;
        gap: 8px
    }

    .float-action {
        min-height: 43px;
        padding: 8px 9px;
        border-radius: 15px 0 0 15px
    }

    .float-action i {
        width: 30px;
        height: 30px
    }

    .float-action i svg {
        width: 19px;
        height: 19px
    }

    .float-action span {
        font-size: .68rem
    }

    .support-chat-pop {
        right: 58px;
        top: -6px;
        width: calc(100vw - 82px)
    }
}

.yolo-girl-widget {
    position: fixed;
    right: 16px;
    bottom: 92px;
    z-index: 2650;
    font-family: inherit
}

.yolo-girl-orb {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 0 9px;
    align-items: center;
    min-width: 172px;
    padding: 10px 13px 10px 10px;
    border: 1px solid rgba(255, 70, 218, .42);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(8, 14, 35, .96), rgba(71, 14, 82, .94));
    color: #fff;
    box-shadow: 0 18px 52px rgba(0, 0, 0, .5), 0 0 30px rgba(255, 46, 220, .22), 0 0 22px rgba(55, 244, 255, .16);
    overflow: hidden;
    animation: yoloGirlFloat 3.1s ease-in-out infinite
}

.yolo-girl-orb:before {
    content: "";
    position: absolute;
    inset: -60%;
    background: conic-gradient(transparent, rgba(72, 245, 255, .28), transparent, rgba(255, 61, 214, .28), transparent);
    animation: yoloGirlSpin 5s linear infinite
}

.yolo-girl-orb>* {
    position: relative;
    z-index: 1
}

.yolo-girl-orb strong {
    font-size: .86rem;
    font-weight: 1000;
    text-align: left
}

.yolo-girl-orb small {
    grid-column: 2;
    color: #67f5ff;
    font-size: .62rem;
    font-weight: 1000;
    letter-spacing: .18em;
    text-align: left
}

.yg-face {
    position: relative;
    width: 48px;
    height: 48px;
    grid-row: 1/3;
    display: block;
    border-radius: 45% 45% 50% 50%;
    background: radial-gradient(circle at 50% 32%, #ffd7d7 0 34%, #f1a6b9 35% 58%, #11142e 59% 100%);
    box-shadow: 0 0 0 3px rgba(69, 246, 255, .16), 0 0 22px rgba(255, 67, 220, .36);
    overflow: hidden
}

.yg-face:before {
    content: "";
    position: absolute;
    left: -7px;
    right: -7px;
    top: -8px;
    height: 26px;
    border-radius: 0 0 50% 50%;
    background: linear-gradient(135deg, #2b164f, #120d26 45%, #ff45d4);
    box-shadow: 9px 8px 0 -2px rgba(22, 10, 40, .98)
}

.yg-face:after {
    content: "";
    position: absolute;
    left: 9px;
    right: 9px;
    top: 23px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, #33f6ff, #a16bff, #ff4ed9);
    box-shadow: 0 0 12px rgba(66, 244, 255, .65)
}

.yg-face i,
.yg-face b {
    position: absolute;
    z-index: 2;
    top: 22px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #071020;
    box-shadow: 0 0 7px #fff
}

.yg-face i {
    left: 17px
}

.yg-face b {
    right: 17px
}

.yg-face em {
    position: absolute;
    z-index: 2;
    left: 20px;
    bottom: 10px;
    width: 9px;
    height: 4px;
    border-radius: 0 0 999px 999px;
    border-bottom: 2px solid #5f103b
}

.yolo-girl-panel {
    position: absolute;
    right: 0;
    bottom: 70px;
    width: min(390px, calc(100vw - 24px));
    display: grid;
    grid-template-rows: auto minmax(190px, 360px) auto auto;
    overflow: hidden;
    border: 1px solid rgba(67, 242, 255, .4);
    border-radius: 26px;
    background: linear-gradient(145deg, rgba(5, 10, 26, .99), rgba(31, 8, 45, .98));
    box-shadow: 0 26px 84px rgba(0, 0, 0, .62), 0 0 42px rgba(68, 243, 255, .18), 0 0 30px rgba(255, 47, 214, .14);
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px) scale(.96);
    transition: .22s ease
}

.yolo-girl-panel.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1)
}

.yolo-girl-panel header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    background: radial-gradient(circle at 8% 8%, rgba(255, 67, 220, .22), transparent 38%), rgba(255, 255, 255, .03)
}

.yg-avatar .yg-face {
    width: 58px;
    height: 58px
}

.yolo-girl-panel header span {
    color: #53f4ff;
    font-size: .64rem;
    font-weight: 1000;
    letter-spacing: .18em
}

.yolo-girl-panel header strong {
    display: block;
    color: #fff;
    font-size: 1.05rem
}

.yolo-girl-panel header small {
    display: block;
    color: #98a4be;
    font-size: .68rem
}

.yolo-girl-close {
    width: 31px;
    height: 31px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    background: rgba(0, 0, 0, .25);
    color: #fff;
    font-size: 1.2rem
}

.yolo-girl-messages {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px;
    overflow: auto;
    background: linear-gradient(180deg, rgba(255, 255, 255, .02), rgba(0, 0, 0, .12))
}

.yolo-girl-message {
    max-width: 88%;
    padding: 11px 12px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    color: #eaf1ff;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .2);
    animation: yoloGirlBubble .22s ease both
}

.yolo-girl-message p {
    margin: 0;
    font-size: .83rem;
    line-height: 1.42;
    white-space: normal
}

.yolo-girl-message.girl {
    align-self: flex-start;
    border-bottom-left-radius: 5px;
    background: linear-gradient(135deg, rgba(57, 235, 255, .16), rgba(173, 77, 255, .16));
    border-color: rgba(78, 238, 255, .18)
}

.yolo-girl-message.user {
    align-self: flex-end;
    border-bottom-right-radius: 5px;
    background: linear-gradient(135deg, rgba(255, 52, 217, .2), rgba(255, 201, 84, .12));
    border-color: rgba(255, 76, 218, .18)
}

.yolo-girl-message.typing p {
    display: flex;
    gap: 4px;
    align-items: center
}

.yolo-girl-message.typing span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #5cf4ff;
    animation: yoloGirlDot 1s ease-in-out infinite
}

.yolo-girl-message.typing span:nth-child(2) {
    animation-delay: .13s
}

.yolo-girl-message.typing span:nth-child(3) {
    animation-delay: .26s
}

.yolo-girl-chips {
    display: flex;
    gap: 7px;
    padding: 9px 12px;
    overflow-x: auto;
    border-top: 1px solid rgba(255, 255, 255, .06)
}

.yolo-girl-chips button {
    white-space: nowrap;
    border: 1px solid rgba(79, 244, 255, .25);
    border-radius: 999px;
    background: rgba(255, 255, 255, .05);
    color: #dfe8ff;
    padding: 7px 10px;
    font-size: .68rem;
    font-weight: 900
}

.yolo-girl-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    background: rgba(0, 0, 0, .18)
}

.yolo-girl-form input {
    min-width: 0;
    border: 1px solid rgba(80, 246, 255, .25);
    border-radius: 14px;
    background: #050916;
    color: #fff;
    padding: 12px 13px;
    outline: 0
}

.yolo-girl-form input:focus {
    border-color: #43f5ff;
    box-shadow: 0 0 18px rgba(67, 245, 255, .18)
}

.yolo-girl-form button {
    border: 0;
    border-radius: 14px;
    background: linear-gradient(90deg, #38f5ff, #ff43d8);
    color: #06111e;
    font-weight: 1000;
    padding: 0 16px
}

@keyframes yoloGirlFloat {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-4px)
    }
}

@keyframes yoloGirlSpin {
    to {
        transform: rotate(360deg)
    }
}

@keyframes yoloGirlBubble {
    from {
        opacity: 0;
        transform: translateY(5px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes yoloGirlDot {
    50% {
        transform: translateY(-3px);
        opacity: .45
    }
}

@media(max-width:760px) {
    .yolo-girl-widget {
        right: 10px;
        bottom: 86px
    }

    .yolo-girl-orb {
        min-width: 58px;
        width: 58px;
        height: 58px;
        padding: 5px;
        border-radius: 21px
    }

    .yolo-girl-orb strong,
    .yolo-girl-orb small {
        display: none
    }

    .yolo-girl-orb .yg-face {
        width: 45px;
        height: 45px
    }

    .yolo-girl-panel {
        right: 0;
        bottom: 67px;
        width: calc(100vw - 20px);
        grid-template-rows: auto minmax(190px, 52vh) auto auto
    }

    .yolo-girl-panel header {
        padding: 12px
    }

    .yolo-girl-message p {
        font-size: .78rem
    }
}

.yolo-girl-form {
    grid-template-columns: auto minmax(0, 1fr) auto auto
}

.yolo-girl-form .yolo-girl-mic,
.yolo-girl-form .yolo-girl-voice {
    min-width: 52px;
    padding: 0 10px;
    border: 1px solid rgba(80, 246, 255, .25);
    background: linear-gradient(135deg, rgba(49, 245, 255, .18), rgba(255, 57, 222, .16));
    color: #dffcff;
    font-size: .68rem;
    letter-spacing: .08em;
    box-shadow: 0 0 18px rgba(75, 245, 255, .12)
}

.yolo-girl-form .yolo-girl-mic.listening {
    background: linear-gradient(90deg, #33f5ff, #ff3bd8);
    color: #06111e;
    animation: yoloGirlMicPulse .7s ease-in-out infinite
}

.yolo-girl-form .yolo-girl-voice.muted {
    filter: grayscale(1);
    opacity: .62
}

.yolo-girl-widget.listening .yg-face {
    box-shadow: 0 0 0 3px rgba(69, 246, 255, .18), 0 0 32px rgba(73, 246, 255, .62), 0 0 34px rgba(255, 67, 220, .35)
}

.yolo-girl-widget.speaking .yg-face em {
    height: 7px;
    border-bottom-width: 3px;
    animation: yoloGirlTalk .32s ease-in-out infinite
}

@keyframes yoloGirlMicPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 14px rgba(75, 245, 255, .18)
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 28px rgba(255, 64, 216, .45)
    }
}

@keyframes yoloGirlTalk {

    0%,
    100% {
        transform: scaleX(1)
    }

    50% {
        transform: scaleX(1.55)
    }
}

@media(max-width:760px) {
    .yolo-girl-form {
        grid-template-columns: auto minmax(0, 1fr) auto
    }

    .yolo-girl-form .yolo-girl-mic,
    .yolo-girl-form .yolo-girl-voice {
        min-width: 46px;
        font-size: .6rem;
        padding: 0 8px
    }

    .yolo-girl-form button[type=submit] {
        grid-column: 1/-1;
        min-height: 38px
    }
}

.tree-marquee-item {
    min-width: 260px;
    padding: 9px 12px;
    gap: 12px
}

.tree-marquee-item img,
.tree-marquee-item i {
    width: 68px;
    height: 56px;
    border-radius: 14px;
    box-shadow: 0 0 18px rgba(103, 255, 114, .18)
}

.tree-marquee-item b {
    max-width: 150px;
    font-size: .9rem
}

.tree-marquee-item small {
    font-size: .74rem
}

@media(max-width:760px) {
    .tree-dashboard-marquee {
        padding: 10px 10px
    }

    .tree-marquee-item {
        min-width: 250px;
        padding: 9px 11px;
        border-radius: 18px
    }

    .tree-marquee-item img,
    .tree-marquee-item i {
        width: 64px;
        height: 58px;
        border-radius: 15px
    }

    .tree-marquee-item b {
        max-width: 146px;
        font-size: .88rem
    }

    .tree-marquee-item small {
        font-size: .72rem
    }

    .tree-marquee-strip {
        gap: 12px
    }
}

.casino-stat-panel {
    position: relative;
    margin: 16px 0;
    padding: 18px;
    border: 1px solid rgba(255, 212, 96, .22);
    border-radius: 24px;
    background: radial-gradient(circle at 12% 0, rgba(255, 212, 96, .18), transparent 30%), linear-gradient(135deg, rgba(7, 12, 26, .96), rgba(26, 9, 38, .94));
    box-shadow: 0 18px 52px rgba(0, 0, 0, .38), 0 0 30px rgba(255, 216, 92, .08);
    overflow: hidden
}

.casino-stat-panel:before {
    content: "";
    position: absolute;
    inset: -70% -10%;
    background: conic-gradient(from 90deg, transparent, rgba(255, 219, 97, .16), transparent, rgba(61, 255, 155, .12), transparent);
    animation: casinoStatSweep 7s linear infinite;
    pointer-events: none
}

.casino-stat-panel>* {
    position: relative;
    z-index: 1
}

.casino-stat-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 14px
}

.casino-stat-kicker {
    display: block;
    color: #47f5ff;
    font-size: .68rem;
    font-weight: 1000;
    letter-spacing: .18em;
    text-transform: uppercase
}

.casino-stat-head h3 {
    margin: .2rem 0 0;
    color: #fff;
    font-weight: 1000
}

.casino-stat-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, #2cff8d, #ffd95e);
    color: #07111f;
    font-size: .72rem;
    font-weight: 1000;
    box-shadow: 0 0 18px rgba(77, 255, 150, .24)
}

.casino-stat-badge.estimated {
    background: linear-gradient(90deg, #ffd95e, #ff5e72);
    color: #190b05
}

.casino-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px
}

.casino-stat-card {
    position: relative;
    min-height: 142px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .06), rgba(0, 0, 0, .22));
    overflow: hidden
}

.casino-stat-card:after {
    content: "";
    position: absolute;
    right: -32px;
    bottom: -38px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .07)
}

.casino-stat-card i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, .08);
    font-style: normal;
    font-weight: 1000;
    color: #fff
}

.casino-stat-card span {
    display: block;
    color: #9fb0c8;
    font-size: .74rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em
}

.casino-stat-card strong {
    display: block;
    margin-top: 5px;
    color: #fff;
    font-size: clamp(1.35rem, 2.4vw, 2.25rem);
    line-height: 1;
    font-weight: 1000
}

.casino-stat-card small {
    display: block;
    margin-top: 9px;
    color: #99a8c2
}

.casino-stat-card.players {
    border-color: rgba(68, 245, 255, .24)
}

.casino-stat-card.players i {
    background: linear-gradient(135deg, #3ff6ff, #665dff)
}

.casino-stat-card.bets {
    border-color: rgba(255, 217, 91, .24)
}

.casino-stat-card.bets i {
    background: linear-gradient(135deg, #ffd85d, #ff7b3d)
}

.casino-stat-card.volume {
    border-color: rgba(71, 255, 136, .24)
}

.casino-stat-card.volume i {
    background: linear-gradient(135deg, #2cff93, #0ca552)
}

.casino-stat-card.profit {
    border-color: rgba(255, 68, 100, .24)
}

.casino-stat-card.profit i {
    background: linear-gradient(135deg, #ff475f, #ffc35d)
}

.casino-stat-progress {
    height: 34px;
    margin-top: 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    align-items: center;
    justify-content: space-between
}

.casino-stat-progress b {
    padding-left: 14px;
    color: #ffd95e;
    font-size: .72rem;
    letter-spacing: .14em
}

.casino-stat-progress em {
    height: 100%;
    width: 32%;
    background: linear-gradient(90deg, #38f5ff, #2cff93, #ffd95e, #ff4b75);
    box-shadow: 0 0 22px rgba(255, 217, 94, .34);
    animation: casinoStatProgress 3.8s ease-in-out infinite
}

.casino-stat-panel.is-live .casino-stat-card {
    box-shadow: 0 0 18px rgba(47, 255, 139, .1);
    animation: casinoLivePulse 1.8s ease-in-out infinite
}

.casino-stat-panel.is-estimated .casino-stat-kicker:after {
    content: "  ESTIMATED DISPLAY";
    color: #ffd95e
}

.casino-stat-panel[data-phase="closed"] .casino-stat-progress em,
.casino-stat-panel[data-phase="result"] .casino-stat-progress em {
    animation: none;
    width: 100%
}

@keyframes casinoStatSweep {
    to {
        transform: rotate(360deg)
    }
}

@keyframes casinoStatProgress {

    0%,
    100% {
        transform: translateX(-18%);
        width: 22%
    }

    50% {
        transform: translateX(210%);
        width: 36%
    }
}

@keyframes casinoLivePulse {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-2px)
    }
}

@media(max-width:900px) {
    .casino-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media(max-width:560px) {
    .casino-stat-panel {
        padding: 13px;
        border-radius: 20px
    }

    .casino-stat-head {
        align-items: stretch;
        flex-direction: column
    }

    .casino-stat-grid {
        grid-template-columns: 1fr
    }

    .casino-stat-card {
        min-height: 112px
    }

    .casino-stat-card strong {
        font-size: 1.6rem
    }
}

.verification-code-box {
    position: relative;
    overflow: hidden;
    padding: 18px;
    border: 1px solid rgba(75, 245, 255, .32);
    border-radius: 20px;
    background: radial-gradient(circle at 50% 0, rgba(73, 245, 255, .2), transparent 46%), linear-gradient(135deg, rgba(5, 13, 31, .96), rgba(37, 8, 51, .92));
    box-shadow: 0 18px 48px rgba(0, 0, 0, .28), 0 0 26px rgba(67, 245, 255, .13)
}

.verification-code-box:before {
    content: "";
    position: absolute;
    inset: -80% -20%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .18), transparent);
    transform: rotate(20deg);
    animation: verificationCodeShine 4s ease-in-out infinite
}

.verification-code-box>* {
    position: relative;
    z-index: 1
}

.verification-code-box strong {
    display: inline-flex;
    margin-top: 7px;
    padding: 10px 20px;
    border-radius: 16px;
    background: rgba(0, 0, 0, .36);
    color: #fff;
    font-size: clamp(2rem, 8vw, 3.25rem);
    font-weight: 1000;
    letter-spacing: .22em;
    text-shadow: 0 0 20px rgba(73, 245, 255, .38)
}

@keyframes verificationCodeShine {

    0%,
    55% {
        transform: rotate(20deg) translateX(-80%)
    }

    75%,
    100% {
        transform: rotate(20deg) translateX(80%)
    }
}

@media(max-width:560px) {
    .verification-code-box {
        padding: 15px
    }

    .verification-code-box strong {
        letter-spacing: .14em;
        padding: 9px 14px
    }
}

.registration-welcome {
    position: relative;
    overflow: hidden
}

.registration-welcome:before {
    content: "";
    position: absolute;
    inset: -40% -20%;
    background: radial-gradient(circle at 50% 0, rgba(76, 255, 150, .16), transparent 34%);
    pointer-events: none
}

.registration-welcome>* {
    position: relative;
    z-index: 1
}

.welcome-credential-grid {
    display: grid;
    gap: 12px
}

.welcome-credential-grid>div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    padding: 14px;
    border: 1px solid rgba(75, 245, 255, .24);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(4, 12, 28, .92), rgba(38, 9, 52, .84));
    box-shadow: 0 14px 34px rgba(0, 0, 0, .22)
}

.welcome-credential-grid small {
    grid-column: 1/-1;
    color: #63f5ff;
    font-size: .7rem;
    font-weight: 1000;
    letter-spacing: .14em;
    text-transform: uppercase
}

.welcome-credential-grid strong {
    min-width: 0;
    overflow: auto;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 1000;
    letter-spacing: .05em
}

.welcome-credential-grid .btn {
    white-space: nowrap
}

@media(max-width:560px) {
    .welcome-credential-grid>div {
        grid-template-columns: 1fr
    }

    .welcome-credential-grid .btn {
        width: 100%
    }
}


@keyframes slide-in-one-tap {
    from {
        transform: translateY(80px);
    }

    to {
        transform: translateY(0px);
    }
}

.trust-hide-gracefully {
    opacity: 0;
}

.trust-wallet-one-tap .hidden {
    display: none;
}

.trust-wallet-one-tap .semibold {
    font-weight: 500;
}

.trust-wallet-one-tap .binance-plex {
    font-family: "Binance";
}

.trust-wallet-one-tap .rounded-full {
    border-radius: 50%;
}

.trust-wallet-one-tap .flex {
    display: flex;
}

.trust-wallet-one-tap .flex-col {
    flex-direction: column;
}

.trust-wallet-one-tap .items-center {
    align-items: center;
}

.trust-wallet-one-tap .space-between {
    justify-content: space-between;
}

.trust-wallet-one-tap .justify-center {
    justify-content: center;
}

.trust-wallet-one-tap .w-full {
    width: 100%;
}

.trust-wallet-one-tap .box {
    transition: all 0.5s cubic-bezier(0, 0, 0, 1.43);
    animation: slide-in-one-tap 0.5s cubic-bezier(0, 0, 0, 1.43);
    width: 384px;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.25);
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 1020;
}

.trust-wallet-one-tap .header {
    gap: 15px;
    border-bottom: 1px solid #e6e6e6;
    padding: 10px 18px;
}

.trust-wallet-one-tap .header .left-items {
    gap: 15px;
}

.trust-wallet-one-tap .header .title {
    color: #1e2329;
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
}

.trust-wallet-one-tap .header .subtitle {
    color: #474d57;
    font-size: 14px;
    line-height: 20px;
}

.trust-wallet-one-tap .header .close {
    color: #1e2329;
    cursor: pointer;
}

.trust-wallet-one-tap .body {
    padding: 9px 18px;
    gap: 10px;
}

.trust-wallet-one-tap .body .right-items {
    gap: 10px;
    width: 100%;
}

.trust-wallet-one-tap .body .right-items .wallet-title {
    color: #1e2329;
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
}

.trust-wallet-one-tap .body .right-items .wallet-subtitle {
    color: #474d57;
    font-size: 14px;
    line-height: 20px;
}

.trust-wallet-one-tap .connect-indicator {
    gap: 15px;
    padding: 8px 0;
}

.trust-wallet-one-tap .connect-indicator .flow-icon {
    color: #474d57;
}

.trust-wallet-one-tap .loading-color {
    color: #fff;
}

.trust-wallet-one-tap .button {
    border-radius: 50px;
    outline: 2px solid transparent;
    outline-offset: 2px;
    background-color: rgb(5, 0, 255);
    border-color: rgb(229, 231, 235);
    cursor: pointer;
    text-align: center;
    height: 45px;
}

.trust-wallet-one-tap .button .button-text {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
}

.trust-wallet-one-tap .footer {
    margin: 20px 30px;
}

.trust-wallet-one-tap .check-icon {
    color: #fff;
}

@font-face {
    font-family: "Binance";
    src: url(chrome-extension://egjidjbpglichdcondbcbdnbeeppgdph/fonts/BinancePlex-Regular.otf) format("opentype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Binance";
    src: url(chrome-extension://egjidjbpglichdcondbcbdnbeeppgdph/fonts/BinancePlex-Medium.otf) format("opentype");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "Binance";
    src: url(chrome-extension://egjidjbpglichdcondbcbdnbeeppgdph/fonts/BinancePlex-SemiBold.otf) format("opentype");
    font-weight: 600;
    font-style: normal;
}

/* Deposit Page & Custom Dropdowns */
.rocket-bg {
    position: absolute;
    font-size: 24px;
    opacity: 0.15;
    z-index: -1;
    animation: floatRocket 15s linear infinite;
}

@keyframes floatRocket {
    0% {
        transform: translateY(110vh) translateX(0px) rotate(-45deg);
        opacity: 0;
    }

    10% {
        opacity: 0.3;
    }

    90% {
        opacity: 0.3;
    }

    100% {
        transform: translateY(-10vh) translateX(100px) rotate(-45deg);
        opacity: 0;
    }
}

.rocket-1 {
    left: 10%;
    animation-duration: 18s;
    animation-delay: 0s;
    font-size: 30px;
}

.rocket-2 {
    left: 40%;
    animation-duration: 25s;
    animation-delay: 5s;
    font-size: 40px;
}

.rocket-3 {
    left: 70%;
    animation-duration: 22s;
    animation-delay: 2s;
    font-size: 25px;
}

.rocket-4 {
    left: 85%;
    animation-duration: 15s;
    animation-delay: 8s;
    font-size: 35px;
}

.deposit-shell {
    max-width: 650px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.deposit-hero {
    padding: 22px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    position: relative;
    overflow: hidden;
}

.deposit-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(600px 120px at 10% -20%, rgba(247, 201, 72, .18), transparent 60%);
    pointer-events: none;
}

.deposit-hero span.eyebrow {
    letter-spacing: 2px;
    font-size: 11px;
    color: var(--gold);
    font-weight: 700;
}

.deposit-hero h3 {
    color: #fff;
    margin: 4px 0 2px;
}

.deposit-hero p {
    color: var(--text-soft);
    margin: 0;
    font-size: 13.5px;
}

.deposit-form {
    padding: 24px;
    margin-bottom: 22px;
}

.dark-input {
    background: #0b0d12 !important;
    border: 1px solid rgba(255, 255, 255, .08) !important;
    color: #f1f1f3 !important;
    border-radius: 10px !important;
    padding: 12px 14px !important;
    font-size: 14px;
    transition: all 0.2s ease;
}

.dark-input:read-only {
    background: rgba(255, 255, 255, 0.02) !important;
    color: var(--gold) !important;
    font-weight: 700;
}

.dark-input:focus {
    border-color: #b9942f !important;
    box-shadow: 0 0 0 3px rgba(247, 201, 72, .12) !important;
    outline: none;
}

.custom-dropdown-wrapper {
    width: 100%;
}

.custom-select-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    gap: 10px;
    background: #0b0d12;
    border: 1px solid rgba(255, 255, 255, .08);
    color: #f1f1f3;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 14px;
    min-height: 58px;
    white-space: normal;
}

.custom-select-btn>div {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.custom-select-btn:after {
    content: "\f0d7";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #9aa2b1;
    margin-left: auto;
    flex-shrink: 0;
}

.custom-select-btn[aria-expanded="true"] {
    border-color: #b9942f;
    box-shadow: 0 0 0 3px rgba(247, 201, 72, .12);
}

.custom-dropdown-menu {
    width: 100%;
    max-width: 100%;
    max-height: min(60vh, 320px);
    overflow-y: auto;
    background: #12151d;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    overflow-x: hidden;
    padding: 0;
    margin-top: 4px;
}

.custom-dropdown-item {
    padding: 12px 14px;
    color: #f1f1f3;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: background 0.2s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.custom-dropdown-item:last-child {
    border-bottom: none;
}

.custom-dropdown-item:hover,
.custom-dropdown-item.active {
    background: rgba(247, 201, 72, 0.1);
    color: var(--gold);
}

.custom-dropdown-item img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: contain;
}

.custom-select-btn img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: contain;
    margin-right: 10px;
    display: none;
}

.btn-outline-gold {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-weight: 700;
    border-radius: 10px;
    padding: 13px;
    letter-spacing: .3px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-outline-gold:hover {
    background: rgba(247, 201, 72, 0.1);
    color: var(--gold);
    border-color: var(--gold);
}

.usdt-display-wrapper {
    position: relative;
}

.usdt-display-wrapper::after {
    content: "USDT";
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #22e584;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
}

.verify-box {
    margin-top: 15px;
    padding: 15px;
    border-radius: 10px;
    background: rgba(34, 229, 132, 0.05);
    border: 1px solid rgba(34, 229, 132, 0.2);
    display: none;
}

.verify-box.active {
    display: block;
}

.verify-box p {
    margin: 0 0 10px 0;
    font-size: 13px;
    color: #e3e6ec;
}

@media (max-width: 768px) {
    main.container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .deposit-shell {
        max-width: 100%;
    }

    .deposit-hero {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px 16px;
    }

    .deposit-hero p {
        font-size: 12.5px;
    }

    .deposit-form {
        padding: 18px 14px;
    }

    .custom-select-btn {
        padding: 12px;
        font-size: 13px;
        min-height: 46px;
    }

    .custom-dropdown-menu {
        max-height: min(54vh, 280px);
    }

    .custom-dropdown-item {
        padding: 11px 12px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .deposit-hero {
        padding: 16px 12px;
    }

    .deposit-form {
        padding: 16px 12px;
    }

    .custom-select-btn {
        padding: 11px 12px;
        font-size: 12.5px;
    }

    .usdt-display-wrapper::after {
        right: 10px;
        font-size: 12px;
    }
}




/* ─── Mining Hero ─── */
.mining-hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 28px;
    align-items: center;
    margin-bottom: 24px;
    padding: 32px;
    border: 1px solid rgba(247, 201, 72, .3);
    border-radius: 28px;
    background:
        radial-gradient(circle at 78% 25%, rgba(247, 201, 72, .28), transparent 30%),
        radial-gradient(circle at 18% 80%, rgba(52, 245, 197, .18), transparent 28%),
        linear-gradient(135deg, rgba(8, 14, 28, .97), rgba(20, 12, 4, .95));
    box-shadow: 0 24px 70px rgba(0, 0, 0, .4), inset 0 0 40px rgba(247, 201, 72, .06);
}

.mining-hero::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(247, 201, 72, .08), transparent, rgba(52, 245, 197, .06), transparent);
    animation: heroGlow 12s linear infinite;
}

@keyframes heroGlow {
    to {
        transform: rotate(360deg);
    }
}

.mining-hero-content {
    position: relative;
    z-index: 2;
}

.mining-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(247, 201, 72, .15);
    border: 1px solid rgba(247, 201, 72, .4);
    color: #f7c948;
    font-weight: 900;
    font-size: .78rem;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.mining-hero h1 {
    margin: 10px 0 8px;
    font-size: clamp(2rem, 5vw, 3.8rem);
    font-weight: 1000;
    background: linear-gradient(135deg, #f7c948, #ff9b3d, #f7c948);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.mining-hero p {
    color: #bcc6de;
    max-width: 560px;
    line-height: 1.6;
}

.mining-hero p strong {
    color: #56ffb7;
}

.mining-canvas-wrap {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#miningCanvas {
    filter: drop-shadow(0 0 30px rgba(247, 201, 72, .35));
}

.mining-hashrate {
    margin-top: 8px;
    text-align: center;
}

.mining-hashrate span {
    display: block;
    font-size: .65rem;
    font-weight: 900;
    letter-spacing: .2em;
    color: #f7c948;
}

.mining-hashrate strong {
    font-size: 1.8rem;
    color: #fff;
    text-shadow: 0 0 20px rgba(247, 201, 72, .5);
}

.mining-hashrate small {
    color: #8895b3;
}

/* ─── Mining Stat Cards ─── */
.mining-stat-card {
    position: relative;
    overflow: hidden;
    padding: 18px;
    border-radius: 20px;
    border: 1px solid rgba(247, 201, 72, .18);
    background: linear-gradient(145deg, rgba(12, 20, 40, .95), rgba(18, 10, 4, .92));
    box-shadow: 0 12px 38px rgba(0, 0, 0, .28);
    transition: transform .2s ease, box-shadow .2s ease;
}

.mining-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 48px rgba(247, 201, 72, .12);
}

.mining-stat-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent, #f7c948), transparent);
}

.mining-stat-icon {
    font-size: 1.6rem;
    margin-bottom: 6px;
}

.mining-stat-card span {
    display: block;
    color: #8895b3;
    font-size: .78rem;
    font-weight: 700;
}

.mining-stat-card strong {
    display: block;
    font-size: 1.35rem;
    color: #fff;
    margin-top: 2px;
}

.mining-stat-card small {
    display: block;
    font-size: .72rem;
    font-weight: 700;
    margin-top: 2px;
}

/* ─── Mine Button Area ─── */
.mining-action-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 40px 20px;
    border-radius: 28px;
    border: 1px solid rgba(247, 201, 72, .2);
    background:
        radial-gradient(circle at 50% 40%, rgba(247, 201, 72, .12), transparent 50%),
        linear-gradient(180deg, rgba(12, 18, 36, .95), rgba(8, 12, 24, .98));
    box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
}

.mining-ring-outer {
    position: relative;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, rgba(247, 201, 72, .6), rgba(52, 245, 197, .4), rgba(55, 183, 255, .5), rgba(247, 201, 72, .6));
    padding: 4px;
    animation: ringRotate 4s linear infinite;
}

@keyframes ringRotate {
    to {
        transform: rotate(360deg);
    }
}

.mining-ring-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(12, 18, 36, .98), rgba(20, 14, 8, .96));
    display: grid;
    place-items: center;
    overflow: hidden;
}

.mining-btn {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 18px 48px;
    border: 2px solid rgba(247, 201, 72, .5);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(247, 201, 72, .18), rgba(255, 155, 61, .15));
    color: #f7c948;
    cursor: pointer;
    transition: all .25s ease;
    overflow: hidden;
}

.mining-btn::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(247, 201, 72, .3), transparent, rgba(52, 245, 197, .2));
    opacity: 0;
    transition: opacity .3s ease;
}

.mining-btn:hover::before {
    opacity: 1;
}

.mining-btn:hover {
    transform: scale(1.05);
    border-color: #f7c948;
    box-shadow: 0 0 40px rgba(247, 201, 72, .3);
}

.mining-btn:active {
    transform: scale(0.97);
}

.mining-btn.mining-active {
    border-color: #34f5c5;
    background: linear-gradient(135deg, rgba(52, 245, 197, .18), rgba(55, 183, 255, .12));
    color: #34f5c5;
    animation: miningPulse 1.5s ease-in-out infinite;
}

@keyframes miningPulse {
    50% {
        box-shadow: 0 0 50px rgba(52, 245, 197, .25);
    }
}

.mining-btn-icon {
    font-size: 2.4rem;
    position: relative;
    z-index: 1;
}

.mining-btn-text {
    font-size: 1.1rem;
    font-weight: 900;
    letter-spacing: .1em;
    position: relative;
    z-index: 1;
}

.mining-btn-sub {
    font-size: .72rem;
    color: #8895b3;
    position: relative;
    z-index: 1;
}

/* Timer */
.mining-timer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.mining-timer-ring {
    position: relative;
    width: 120px;
    height: 120px;
}

.mining-timer-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.timer-bg {
    fill: none;
    stroke: rgba(255, 255, 255, .06);
    stroke-width: 6;
}

.timer-progress {
    fill: none;
    stroke: #34f5c5;
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 339.292;
    stroke-dashoffset: 0;
    filter: drop-shadow(0 0 8px rgba(52, 245, 197, .5));
    transition: stroke-dashoffset 1s linear;
}

.timer-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #fff;
    font-weight: 900;
    font-size: 1.2rem;
}

.timer-text small {
    font-size: .55rem;
    color: #8895b3;
    align-self: flex-end;
    margin-bottom: 4px;
}

.mining-timer p {
    color: #8895b3;
    font-size: .85rem;
}

.mining-status {
    font-weight: 800;
    font-size: .9rem;
    min-height: 24px;
}

/* ─── Deposit & Income Cards ─── */
.mining-deposit-card,
.mining-income-card {
    height: 100%;
    border-radius: 24px;
    border: 1px solid rgba(247, 201, 72, .18);
    background: linear-gradient(145deg, rgba(12, 20, 40, .96), rgba(18, 10, 6, .94));
    box-shadow: 0 18px 50px rgba(0, 0, 0, .3);
    overflow: hidden;
}

.mining-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 22px;
    border-bottom: 1px solid rgba(247, 201, 72, .12);
    background: linear-gradient(135deg, rgba(247, 201, 72, .06), transparent);
}

.mining-card-badge {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    background: linear-gradient(135deg, rgba(247, 201, 72, .2), rgba(255, 155, 61, .15));
    border: 1px solid rgba(247, 201, 72, .3);
}

.mining-card-header h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 900;
    color: #fff;
}

.mining-card-header span {
    font-size: .78rem;
    color: #8895b3;
}

.mining-deposit-body,
.mining-income-body {
    padding: 20px 22px;
}

.mining-deposit-info {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
}

.deposit-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .035);
    border: 1px solid rgba(255, 255, 255, .05);
}

.deposit-row span {
    color: #8895b3;
    font-weight: 700;
    font-size: .88rem;
}

.deposit-row strong {
    font-size: .95rem;
}

.text-glow-green {
    color: #34f5c5 !important;
    text-shadow: 0 0 12px rgba(52, 245, 197, .4);
}

.text-glow-cyan {
    color: #46f7ff !important;
    text-shadow: 0 0 12px rgba(70, 247, 255, .4);
}

.text-glow-gold {
    color: #f7c948 !important;
    text-shadow: 0 0 12px rgba(247, 201, 72, .4);
}

.mining-amount-input {
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    padding: 12px 16px !important;
    border: 1px solid rgba(247, 201, 72, .3) !important;
    border-radius: 14px !important;
    margin-bottom: 12px;
}

.mining-amount-input:focus {
    border-color: rgba(247, 201, 72, .7) !important;
    box-shadow: 0 0 0 .18rem rgba(247, 201, 72, .14) !important;
}

.mining-calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.calc-item {
    padding: 12px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(52, 245, 197, .08), rgba(55, 183, 255, .06));
    border: 1px solid rgba(52, 245, 197, .15);
    text-align: center;
}

.calc-item span {
    display: block;
    color: #8895b3;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.calc-item strong {
    display: block;
    font-size: 1.1rem;
    color: #34f5c5;
    margin-top: 2px;
}

.mining-deposit-btn {
    font-size: 1rem;
    font-weight: 900;
    padding: 14px 24px;
    border-radius: 16px !important;
    letter-spacing: .05em;
}

/* ─── Income Card ─── */
.income-live-display {
    margin-bottom: 18px;
    padding: 14px;
    border-radius: 16px;
    background: rgba(0, 0, 0, .2);
    border: 1px solid rgba(255, 255, 255, .05);
}

.income-breakdown {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
}

.income-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .05);
}

.income-label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.income-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.income-label span:last-child {
    color: #8895b3;
    font-weight: 700;
    font-size: .88rem;
}

.income-row strong {
    color: #fff;
    font-size: .95rem;
}

.hourly-breakdown {
    padding: 16px;
    border-radius: 16px;
    background: rgba(0, 0, 0, .15);
    border: 1px solid rgba(255, 255, 255, .05);
}

.hourly-breakdown h5 {
    font-size: .82rem;
    font-weight: 900;
    color: #8895b3;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 12px;
}

.hourly-bars {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 60px;
}

.hourly-bars .h-bar {
    flex: 1;
    border-radius: 3px 3px 0 0;
    min-height: 4px;
    transition: height .3s ease;
}

.hourly-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    font-size: .65rem;
    color: #5a6780;
    font-weight: 700;
}

/* Mining status badge */
.mining-status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: .05em;
}

.mining-status-badge.active {
    background: rgba(52, 245, 197, .12);
    color: #34f5c5;
    border: 1px solid rgba(52, 245, 197, .3);
    animation: miningPulse 2s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 760px) {
    .mining-hero {
        grid-template-columns: 1fr;
        padding: 22px;
        text-align: center;
    }

    .mining-hero p {
        max-width: 100%;
    }

    .mining-canvas-wrap {
        margin-top: 10px;
    }

    #miningCanvas {
        width: 220px;
        height: 220px;
    }

    .mining-ring-outer {
        width: 170px;
        height: 170px;
    }

    #hammerCanvas {
        width: 150px;
        height: 150px;
    }
}


:root {
    --mine-gold: #f7c948;
    --mine-gold-soft: #ffe08a;
    --mine-cyan: #34f5c5;
    --mine-blue: #37b7ff;
    --mine-red: #ff3158;
    --mine-purple: #9b5cff;
    --mine-bg-1: #0b0f1c;
    --mine-bg-2: #141c30;
    --mine-border: rgba(247, 201, 72, 0.18);
}

.mining-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    background: radial-gradient(circle at 20% 20%, rgba(247, 201, 72, 0.10), transparent 55%),
        radial-gradient(circle at 80% 80%, rgba(52, 245, 197, 0.08), transparent 55%),
        linear-gradient(135deg, var(--mine-bg-1), var(--mine-bg-2));
    border: 1px solid var(--mine-border);
    border-radius: 20px;
    padding: 32px;
    overflow: hidden;
    margin-bottom: 24px;
}

.mining-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.015) 0 2px, transparent 2px 40px);
    pointer-events: none;
}

.mining-hero-content {
    position: relative;
    z-index: 1;
    max-width: 560px;
}

.mining-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--mine-gold);
    background: rgba(247, 201, 72, 0.12);
    border: 1px solid rgba(247, 201, 72, 0.35);
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
    animation: badgeGlow 2.4s ease-in-out infinite;
}

@keyframes badgeGlow {

    0%,
    100% {
        box-shadow: 0 0 0 rgba(247, 201, 72, 0);
    }

    50% {
        box-shadow: 0 0 16px rgba(247, 201, 72, 0.35);
    }
}

.mining-hero h1 {
    font-size: 2.1rem;
    font-weight: 800;
    background: linear-gradient(90deg, #fff, var(--mine-gold-soft));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 10px;
}

.mining-hero p {
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
    line-height: 1.6;
}

.mining-hero p strong {
    color: var(--mine-gold);
}

.mining-canvas-wrap {
    position: relative;
    width: 220px;
    height: 220px;
    flex-shrink: 0;
    z-index: 1;
}

.mining-hashrate {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(247, 201, 72, 0.08), transparent 70%);
}

.mining-hashrate span {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
}

.mining-hashrate strong {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--mine-cyan);
    text-shadow: 0 0 18px rgba(52, 245, 197, 0.5);
}

.mining-hashrate small {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.7rem;
}

/* Stat cards */
.mining-stat-card {
    background: linear-gradient(145deg, var(--mine-bg-2), var(--mine-bg-1));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.mining-stat-card:hover {
    transform: translateY(-3px);
    border-color: rgba(247, 201, 72, 0.3);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.mining-stat-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 1.1rem;
    background: color-mix(in srgb, var(--accent) 18%, transparent);
    box-shadow: 0 0 14px color-mix(in srgb, var(--accent) 35%, transparent);
    margin-bottom: 4px;
}

.mining-stat-card span {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.78rem;
}

.mining-stat-card strong {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
}

/* Mine action area */
.mining-action-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 36px 20px;
    background: linear-gradient(180deg, var(--mine-bg-2), var(--mine-bg-1));
    border: 1px solid var(--mine-border);
    border-radius: 20px;
    position: relative;
}

.mining-ring-outer {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: conic-gradient(from 0deg, var(--mine-gold), var(--mine-cyan), var(--mine-blue), var(--mine-gold));
    padding: 4px;
    animation: ringRotate 6s linear infinite;
}

@keyframes ringRotate {
    to {
        transform: rotate(360deg);
    }
}

.mining-ring-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, var(--mine-bg-2) 0%, var(--mine-bg-1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mining-btn {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    border: none;
    border-radius: 16px;
    padding: 16px 42px;
    background: linear-gradient(135deg, var(--mine-gold), #d99e1f);
    color: #241a02;
    font-weight: 800;
    letter-spacing: 0.03em;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(247, 201, 72, 0.35);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.mining-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(247, 201, 72, 0.45);
}

.mining-btn:active:not(:disabled) {
    transform: translateY(0);
}

.mining-btn:disabled {
    filter: grayscale(0.6);
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}

.mining-btn-icon {
    font-size: 1.3rem;
}

.mining-btn-text {
    font-size: 1rem;
}

.mining-btn-sub {
    font-size: 0.7rem;
    font-weight: 500;
    opacity: 0.75;
}

.mining-btn.mining-active {
    animation: btnPulse 1.1s ease-in-out infinite;
}

@keyframes btnPulse {

    0%,
    100% {
        box-shadow: 0 8px 24px rgba(247, 201, 72, 0.35);
    }

    50% {
        box-shadow: 0 8px 36px rgba(247, 201, 72, 0.65);
    }
}

.mining-timer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.mining-timer-ring {
    position: relative;
    width: 130px;
    height: 130px;
}

.mining-timer-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.timer-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 8;
}

.timer-progress {
    fill: none;
    stroke: var(--mine-cyan);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 339.292;
    transition: stroke-dashoffset 1s linear;
    filter: drop-shadow(0 0 6px rgba(52, 245, 197, 0.6));
}

.timer-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    font-weight: 800;
    color: #fff;
    font-size: 1.1rem;
}

/* .timer-text small {
    font-size: 0.6rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 4px 0 1px;
} */

.mining-timer p {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.mining-status {
    min-height: 22px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Deposit / income cards */
.mining-deposit-card,
.mining-income-card {
    background: linear-gradient(145deg, var(--mine-bg-2), var(--mine-bg-1));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    overflow: hidden;
    height: 100%;
}

.mining-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
}

.mining-card-badge {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(247, 201, 72, 0.12);
    font-size: 1.2rem;
}

.mining-card-header h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
}

.mining-card-header span {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
}

.mining-deposit-body,
.mining-income-body {
    padding: 20px;
}

.deposit-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.07);
    font-size: 0.88rem;
}

.deposit-row:last-child {
    border-bottom: none;
}

.deposit-row span {
    color: rgba(255, 255, 255, 0.55);
}

.text-glow-green {
    color: var(--mine-cyan);
    text-shadow: 0 0 10px rgba(52, 245, 197, 0.4);
}

.text-glow-cyan {
    color: var(--mine-blue);
    text-shadow: 0 0 10px rgba(55, 183, 255, 0.4);
}

.text-glow-gold {
    color: var(--mine-gold);
    text-shadow: 0 0 10px rgba(247, 201, 72, 0.4);
}

.mining-amount-input {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgb(220 162 35) !important;
    color: #fff !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.mining-amount-input:focus {
    border-color: var(--mine-gold) !important;
    box-shadow: 0 0 0 3px rgba(247, 201, 72, 0.15) !important;
}

.mining-deposit-form label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 6px;
    display: block;
}

.mining-calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 14px;
}

.calc-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 10px 12px;
    transition: border-color .2s ease;
}

.calc-item span {
    display: block;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 3px;
}

.calc-item strong {
    font-size: 1rem;
    color: var(--mine-gold);
}

.btn-gold {
    background: linear-gradient(135deg, var(--mine-gold), #d99e1f);
    border: none;
    color: #241a02;
    font-weight: 700;
    border-radius: 10px;
    padding: 12px;
    transition: transform .18s ease, box-shadow .18s ease;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(247, 201, 72, 0.35);
    color: #241a02;
}

.income-live-display {
    margin-bottom: 14px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
}

.income-breakdown {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 16px;
}

.income-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
}

.income-row:last-child {
    border-bottom: none;
}

.income-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
}

.income-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    box-shadow: 0 0 8px currentColor;
}

.income-row strong {
    color: #fff;
}

.hourly-breakdown h5 {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
}

.hourly-bars {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 70px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    padding: 8px;
}

.h-bar {
    flex: 1;
    min-width: 4px;
    border-radius: 3px 3px 0 0;
    transition: height .6s ease;
    animation: barRise .6s ease both;
}

@keyframes barRise {
    from {
        height: 0 !important;
    }
}

.hourly-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 4px;
}

/* Tables */
.table-wrap {
    background: linear-gradient(145deg, var(--mine-bg-2), var(--mine-bg-1));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 18px 20px;
}

.table-wrap h4 {
    color: #fff;
    margin-bottom: 14px;
}

.table-wrap table {
    color: rgba(255, 255, 255, 0.85);
}

.table-wrap thead th {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.table-wrap tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background .15s ease;
}

.table-wrap tbody tr:hover {
    background: rgba(255, 255, 255, 0.025);
}

.mining-status-badge {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
}

.mining-status-badge.active {
    background: rgba(52, 245, 197, 0.12);
    color: var(--mine-cyan);
    border: 1px solid rgba(52, 245, 197, 0.3);
    animation: statusPulse 2s ease-in-out infinite;
}

.mining-status-badge.inactive {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes statusPulse {

    0%,
    100% {
        box-shadow: 0 0 0 rgba(52, 245, 197, 0);
    }

    50% {
        box-shadow: 0 0 10px rgba(52, 245, 197, 0.4);
    }
}

@media (max-width: 767px) {
    .mining-hero {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }

    .mining-hero-content {
        max-width: 100%;
    }

    .mining-canvas-wrap {
        width: 170px;
        height: 170px;
    }

    .mining-ring-outer {
        width: 170px;
        height: 170px;
    }
}