@font-face {
    font-family: Dana;
    src: url('../fonts/DanaFaNum/woff2/DanaFaNum-Regular.woff2')
}

@font-face {
    font-family: Dana;
    src: url('../fonts/DanaFaNum/woff2/DanaFaNum-Bold.woff2');
    font-weight: 700
}

:root {
    --bg: #070616;
    --panel: #100d25;
    --line: rgba(175, 111, 255, .25);
    --purple: #b52cff;
    --pink: #ed21c7;
    --gold: #ffbf23;
    --text: #fff;
    --muted: #a9a3bf;
    --green: #42e675;
    --red: #ff5576
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0
}

.lottery-theme {
    background: var(--bg);
    color: var(--text);
    font-family: Dana, Tahoma, sans-serif;
    min-height: 100vh
}

.lottery-theme a {
    text-decoration: none
}

.lottery-shell {
    width: min(1180px, calc(100% - 40px));
    margin: auto
}

.lottery-header {
    height: 78px;
    background: rgba(7, 6, 22, .96);
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    position: relative;
    z-index: 20
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px
}


.header-brand strong,
.mini-brand,
.footer-brand strong {
    font: 900 28px Arial;
    color: #fff;
    font-style: italic
}

.header-brand strong span,
.mini-brand span,
.footer-brand strong span {
    color: var(--gold)
}

.header-brand strong,
.mini-brand,
.footer-brand strong {
    background: linear-gradient(to bottom, #ffffff, #c229f1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 34px;
    letter-spacing: -1.5px;
}

.header-brand strong span,
.mini-brand span,
.footer-brand strong span {
    color: var(--gold) !important;
    background: linear-gradient(to bottom, #fff, #ffbf23, #000000);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-right: 5px;
    font-size: 28px;
    letter-spacing: 0px;
    padding-left: 4px;
}



.header-brand img {
    max-height: 52px;
    max-width: 150px
}

.header-inner nav {
    display: flex;
    gap: 40px;
    height: 100%;
}


.header-inner nav a:hover {
    color: #ffbf23;
}


.header-inner nav a {
    color: #c8c3d7;
    font-size: 15px;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 6px;
}

.header-inner nav a::after {
    content: '';
    position: absolute;
    width: 0%;
    bottom: 0;
    background: #ffbf23;
    height: 1px;
    border-radius: 8px;
    transition: 0.5s;
}

.header-inner nav a:hover::after {
    width: 100%;
}


.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-login,
.header-register,
.header-user {
    padding: 10px 25px;
    border-radius: 7px;
    color: #fff;
    font-size: 14px;
    min-width: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600 !important;
}

.header-login {
    border: 1px solid var(--line)
}

.header-register,
.header-user {
    background: var(--gold);
    font-weight: 600;
    color: #000 !important;
}

.mobile-menu {
    display: none;
    background: none;
    border: 0;
    color: #fff;
    font-size: 22px
}

.lottery-hero {
    min-height: calc(100vh - 78px);
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 20% 45%, rgba(94, 25, 193, .28), transparent 32%), radial-gradient(circle at 82% 35%, rgba(219, 22, 198, .17), transparent 28%), linear-gradient(145deg, #050412, #0b071d 55%, #050411);
    display: flex;
    align-items: center;
    padding: 65px 0
}

.lottery-hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px);
    background-size: 44px 44px
}

.lottery-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .3
}

.lottery-glow-one {
    width: 260px;
    height: 260px;
    background: var(--purple);
    left: -100px;
    top: 20%
}

.lottery-glow-two {
    width: 250px;
    height: 250px;
    background: var(--pink);
    right: -100px;
    bottom: 5%
}

.lottery-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    align-items: center;
    gap: 75px
}

.lottery-promo {
    text-align: center
}

.lottery-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #c6bdd7;
    font-size: 13px
}

.lottery-eyebrow span {
    width: 7px;
    height: 7px;
    background: var(--gold);
    box-shadow: 0 0 15px var(--gold);
    border-radius: 50%;
    animation: blink 1.5s infinite ease-in-out;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 15px var(--gold);
    }

    50% {
        opacity: 0.2;
        box-shadow: 0 0 2px var(--gold);
    }
}

.lottery-brand-display {
    font: 900 clamp(60px, 8vw, 108px)/.9 Arial;
    color: #fff;
    font-style: italic;
    background: linear-gradient(to bottom, #fff, #ffbf23, #ffe400);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -6.5px;
}

.lottery-brand-display span {
    background: linear-gradient(to bottom, #ffffff, #fed2ff, #c229f1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-right: 25px;
    letter-spacing: -4px;
}

.lottery-promo h1 {
    font-size: clamp(31px, 4vw, 53px);
    font-weight: 800;
    margin: 22px 0 8px
}

.lottery-promo h1 em {
    color: var(--gold);
    font-style: normal
}

.lottery-promo>p {
    font-size: 16px;
    line-height: 2;
    color: #fff;
    max-width: 560px;
    margin: auto;
    font-weight: bold;
}

.lottery-prize {
    margin: 26px auto;
    width: 220px;
    height: 130px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center
}

.prize-orb {
    width: 170px;
    padding: 10px;
    padding-top: 5px;
    border: 2px solid #ffffff;
    border-radius: 22px;
    font: 900 47px Arial;
    color: var(--gold);
    animation: neonLoop 3.5s ease-in-out infinite;
    background: linear-gradient(to bottom, #fff, #ffbf23, #ffe400);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes neonLoop {

    0%,
    15%,
    100% {
        border-color: #d94cff;
        box-shadow:
            0 0 3px #fff,
            0 0 7px #ff8cff,
            0 0 15px #d94cff,
            0 0 30px #8b1fc9,
            0 0 60px rgba(139, 31, 201, .75);
    }

    20% {
        border-color: #a82ed0;
        box-shadow:
            0 0 2px #fff,
            0 0 6px #e45aff,
            0 0 13px #a82ed0,
            0 0 27px rgba(139, 31, 201, .6);
    }

    23% {
        border-color: rgba(168, 46, 208, .3);
        box-shadow: 0 0 3px rgba(168, 46, 208, .2);
    }

    25% {
        border-color: #ff6dff;
        box-shadow:
            0 0 4px #fff,
            0 0 9px #ff9cff,
            0 0 20px #e044ff,
            0 0 42px #8b1fc9;
    }

    27% {
        border-color: rgba(168, 46, 208, .2);
        box-shadow: 0 0 2px rgba(168, 46, 208, .15);
    }

    30%,
    70% {
        border-color: #d94cff;
        box-shadow:
            0 0 3px #fff,
            0 0 8px #ff8cff,
            0 0 18px #d94cff,
            0 0 35px #8b1fc9,
            0 0 65px rgba(139, 31, 201, .7);
    }

    75% {
        border-color: rgba(217, 76, 255, .4);
        box-shadow:
            0 0 3px rgba(217, 76, 255, .25);
    }

    78% {
        border-color: #ff70ff;
        box-shadow:
            0 0 3px #fff,
            0 0 8px #ff9cff,
            0 0 18px #d94cff,
            0 0 38px #8b1fc9;
    }
}

.prize-orb small {
    display: block;
    font: 15px Dana;
    font-weight: 600;
    background: #fff;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lottery-highlights {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 22px
}

.lottery-highlights div {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #bbb4cc;
    font-size: 12px
}

.lottery-highlights i {
    font-size: 25px;
    color: var(--purple);
    margin-bottom: 5px;
}

.auth-card {
    background: linear-gradient(145deg, rgba(24, 18, 52, .95), rgba(10, 8, 27, .97));
    border: 1px solid rgba(179, 87, 255, .32);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 26px 80px rgba(0, 0, 0, .45)
}

.auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid rgba(255, 255, 255, .09);
    margin-bottom: 25px
}

.auth-tabs button {
    background: none;
    border: 0;
    color: #aca5bc;
    font: 700 19px Dana;
    padding: 10px 0 18px;
    position: relative
}

.auth-tabs button.active {
    color: #fff
}

.auth-tabs button.active:after {
    content: "";
    position: absolute;
    bottom: -1px;
    right: 12%;
    left: 12%;
    height: 3px;
    background: linear-gradient(90deg, var(--purple), var(--pink));
    box-shadow: 0 0 15px var(--pink)
}

.auth-form {
    display: none
}

.auth-form.active {
    display: block
}

.auth-form label {
    display: block;
    color: #c8c2d5;
    font-size: 12px;
    margin-bottom: 17px
}

.auth-input {
    height: 54px;
    border: 1px solid rgb(223 210 238 / 31%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    margin-top: 7px;
    background: rgba(2, 1, 12, .45)
}

.auth-input:focus-within {
    border-color: var(--purple)
}

.auth-input>i {
    width: 45px;
    text-align: center;
    color: #b8a8ce;
    font-size: 15px;
    line-height: 2;
}

.auth-input input {
    min-width: 0;
    flex: 1;
    height: 100%;
    background: none;
    border: 0;
    outline: 0;
    color: #fff;
    font: 14px Dana;
    padding: 0 4px;
    direction: rtl
}

.auth-input input[type="password"],
.auth-input input[type="text"][name="password"],
.auth-input input[type="text"][name="new_password"],
.auth-input input[type="text"][name="password_confirmation"] {
    text-align: center;
    direction: ltr
}

.auth-input input:-webkit-autofill,
.auth-input input:-webkit-autofill:hover,
.auth-input input:-webkit-autofill:focus,
.auth-input input:-webkit-autofill:active {
    -webkit-text-fill-color: #fff !important;
    caret-color: #fff;
    box-shadow: 0 0 0 1000px #0c091d inset !important;
    -webkit-box-shadow: 0 0 0 1000px #0c091d inset !important;
    border-radius: 0;
    transition: background-color 99999s ease-out 0s
}

.auth-input:has(input:-webkit-autofill) {
    background: #0c091d
}

.password-toggle {
    background: none;
    border: 0;
    color: #8d859f;
    padding: 14px;
    display: flex;
    align-items: center;
    font-size: 16px;
}

.auth-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 14px
}

.auth-full {
    grid-column: 1/-1
}

.lottery-primary {
    width: 100%;
    border: 0;
    border-radius: 11px;
    padding: 15px 20px;
    background: linear-gradient(110deg, #bd16dd, #ef207f, #ffa81f);
    color: #fff !important;
    font: 700 16px Dana;
    box-shadow: 0 8px 25px rgba(232, 31, 128, .25);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    transition: 0.3s;
}

.lottery-primary:hover {
    transform: translateY(-2px)
}

.lottery-primary:disabled {
    opacity: .6
}

.lottery-alert {
    padding: 12px 15px;
    border-radius: 10px;
    margin: 0 0 18px;
    font-size: 13px
}

.lottery-alert.error {
    background: rgba(255, 85, 118, .12);
    border: 1px solid rgba(255, 85, 118, .35);
    color: #ff9bae
}

.lottery-alert.success {
    background: rgba(66, 230, 117, .12);
    border: 1px solid rgba(66, 230, 117, .35);
    color: #8ef3ad
}

.auth-return {
    text-align: center;
    padding: 40px 8px
}


.auth-return>i {
    font-size: 60px;
    background: #fff;
    border-radius: 50%;
    color: var(--green);
    margin-bottom: 20px;
    animation: greenGlow 2s ease-in-out infinite;
}

@keyframes greenGlow {

    0%,
    100% {
        filter: drop-shadow(0 0 4px var(--green)) drop-shadow(0 0 10px rgba(76, 205, 153, .35));
    }

    50% {
        filter: drop-shadow(0 0 8px var(--green)) drop-shadow(0 0 22px rgba(76, 205, 153, .7)) drop-shadow(0 0 38px rgba(76, 205, 153, .3));
    }
}

.auth-return p {
    color: var(--muted);
    margin-bottom: 25px;
    font-size: 18px;
}

.auth-return {
    font-size: 28px;
}


.dashboard-section {
    padding: 55px 0 80px;
    min-height: calc(100vh - 78px);
    background: radial-gradient(circle at 20% 0, rgba(118, 24, 205, .18), transparent 30%), var(--bg)
}

.dashboard-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px
}

.dashboard-heading h1 {
    margin: 8px 0 0;
    font-size: 28px
}

.ghost-button {
    border: 1px solid var(--line);
    color: #ccc4dc;
    padding: 10px 18px;
    border-radius: 9px
}

.profile-card,
.payment-card,
.rules-card,
.codes-card {
    background: linear-gradient(145deg, rgba(22, 16, 47, .95), rgba(12, 9, 29, .98));
    border: 1px solid var(--line);
    border-radius: 17px
}

.profile-card {
    padding: 24px
}

.profile-card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 22px
}

.profile-card-title i {
    color: var(--gold)
}

.profile-details {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px
}

.profile-details div {
    padding: 14px 16px;
    background: rgba(255, 255, 255, .025);
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 10px
}

.profile-details small,
.profile-stats small {
    display: block;
    color: var(--muted);
    font-size: 11px;
    margin-bottom: 6px
}

.profile-details strong {
    font-size: 13px
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 15px
}

.profile-stats>div {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 14px;
    background: rgba(177, 44, 255, .06);
    border-radius: 11px
}

.profile-stats i {
    font-size: 25px;
    color: var(--purple)
}

.profile-stats b {
    font-size: 20px
}

.dashboard-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 20px;
    margin-top: 20px
}

.payment-card,
.rules-card {
    padding: 25px
}

.payment-card {
    text-align: center
}

.card-icon {
    font-size: 44px;
    color: var(--purple)
}

.payment-card h2,
.rules-card h2 {
    font-size: 18px
}

.payment-amount {
    margin: 25px 0
}

.payment-amount small {
    display: block;
    color: var(--muted)
}

.payment-amount strong {
    font-size: 40px;
    color: var(--gold);
    margin-left: 6px
}

.payment-amount span {
    color: var(--gold)
}

.payment-reference {
    display: block;
    margin-top: 12px;
    color: var(--muted);
    font-size: 12px
}

.payment-reference b {
    color: #fff;
    letter-spacing: .5px
}

.page-member .lottery-alert:not(.error):not(.success) {
    background: rgba(255, 197, 47, .1);
    border: 1px solid rgba(255, 197, 47, .3);
    color: #ffe49a
}

.rules-card ol {
    padding: 0;
    list-style: none;
    counter-reset: rules
}

.rules-card li {
    counter-increment: rules;
    position: relative;
    padding: 8px 38px 8px 0;
    color: #c4bed0;
    font-size: 13px
}

.rules-card li:before {
    content: counter(rules);
    position: absolute;
    right: 0;
    top: 5px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--purple), var(--pink));
    display: grid;
    place-items: center
}

.codes-card {
    margin-top: 20px;
    padding: 25px
}

.codes-title {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.codes-title h2 {
    font-size: 20px;
    margin: 7px 0
}

.codes-count {
    padding: 7px 13px;
    border-radius: 20px;
    background: rgba(181, 44, 255, .13);
    color: #d9a2ff
}

.codes-table-wrap {
    overflow: auto
}

.codes-table {
    width: 100%;
    border-collapse: collapse
}

.codes-table th,
.codes-table td {
    text-align: right;
    padding: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    font-size: 13px
}

.codes-table th {
    color: #8f899e
}

.codes-table code {
    font: 700 15px Arial;
    color: #fff
}

.copy-code {
    background: none;
    border: 0;
    color: var(--purple)
}

.status-pill {
    padding: 5px 10px;
    border-radius: 15px
}

.status-pill.active {
    color: var(--green);
    background: rgba(66, 230, 117, .1)
}

.status-pill.winner {
    color: var(--gold);
    background: rgba(255, 191, 35, .12)
}

.empty-codes {
    text-align: center !important;
    color: var(--muted)
}

.game-stage {
    min-height: calc(100vh - 78px);
    background: radial-gradient(circle at 50% 25%, rgba(150, 28, 220, .24), transparent 32%), #060511;
    padding: 25px 0 70px
}

.game-shell {
    width: min(560px, calc(100% - 30px));
    margin: auto
}

.game-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px
}

.game-top>a {
    color: #bcb5c9
}

.game-loading,
.game-board,
.game-result {
    text-align: center;
    background: rgba(12, 9, 29, .75);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 35px 28px
}

.game-loading {
    min-height: 420px;
    display: grid;
    place-content: center;
    gap: 15px;
    color: var(--muted)
}

.loader-ring {
    width: 65px;
    height: 65px;
    border: 4px solid rgba(255, 255, 255, .08);
    border-top-color: var(--purple);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: auto
}

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

.timer-ring {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 5px solid var(--purple);
    box-shadow: 0 0 27px rgba(181, 44, 255, .7);
    margin: 12px auto 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center
}

.timer-ring strong {
    font-size: 40px
}

.game-board h1 {
    font-size: 18px
}

.number-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    direction: ltr
}

.number-grid button {
    height: 74px;
    border-radius: 12px;
    background: #0d0a20;
    border: 1px solid rgba(178, 77, 255, .55);
    color: #fff;
    font: 700 23px Dana
}

.number-grid button:hover {
    background: rgba(181, 44, 255, .22)
}

.game-result {
    min-height: 470px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center
}

.game-result>i {
    font-size: 75px
}

.game-result.win>i,
.game-result.win h2 {
    color: var(--green)
}

.game-result.lose>i,
.game-result.lose h2 {
    color: var(--red)
}

.game-result p,
.game-result small {
    color: var(--muted);
    line-height: 1.9
}

.winner-code {
    font: 800 28px Arial;
    letter-spacing: 3px;
    color: var(--gold);
    border: 1px solid rgba(255, 191, 35, .55);
    border-radius: 12px;
    padding: 14px 18px;
    margin: 15px
}

.winner-code button {
    background: none;
    border: 0;
    color: #fff
}

.redirect-bar {
    width: 80%;
    height: 5px;
    background: rgba(255, 255, 255, .08);
    margin-top: 28px;
    overflow: hidden
}

.redirect-bar span {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--green);
    animation: drain 5s linear forwards;
    transform-origin: right
}

.redirect-bar.lose span {
    background: var(--red)
}

@keyframes drain {
    to {
        transform: scaleX(0)
    }
}

.lottery-footer {
    background: #05040e;
    border-top: 1px solid rgba(255, 255, 255, .06)
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 30px;
    padding: 35px 0
}

.footer-brand p {
    font-size: 11px;
    color: var(--muted)
}

.footer-links {
    display: flex;
    gap: 25px
}

.footer-links a {
    color: #aaa3b7;
    font-size: 12px
}

.footer-support {
    justify-self: end;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 5px 10px
}

.footer-support i {
    grid-row: 1/3;
    color: var(--gold);
    display: flex;
    align-items: center;
    font-size: 28px;
}

.footer-copy {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, .05);
    padding: 12px;
    color: #6e6879;
    font-size: 10px
}

@media(max-width:900px) {
    .header-inner nav {
        display: none
    }

    .mobile-menu {
        display: block;
        font-size: 20px;
        display: flex;
        padding-right: 10px;
    }

    .lottery-hero-grid {
        grid-template-columns: 1fr;
        gap: 45px
    }

    .profile-details {
        grid-template-columns: repeat(2, 1fr)
    }

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

    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center
    }

    .footer-links {
        justify-content: center
    }

    .footer-support {
        justify-self: center
    }
}

@media(max-width:600px) {
    .lottery-shell {
        width: calc(100% - 24px)
    }

    .lottery-header {
        height: 66px
    }

    .header-login {
        display: none
    }

    .header-register,
    .header-user {
        padding: 8px 16px;
        min-width: auto;
        font-size: 13px;
    }

    .lottery-hero {
        padding: 35px 0
    }

    .lottery-brand-display {
        font-size: 65px
    }

    .lottery-promo h1 {
        font-size: 30px
    }

    .lottery-promo>p {
        font-size: 13px;
        max-width: 240px;
    }


    .auth-input {
        height: 48px;
    }


    .auth-tabs button {
        font: 700 15px Dana;
        padding: 5px 0 12px;
    }

    .lottery-highlights {
        gap: 15px
    }

    .auth-card {
        padding: 15px
    }

    .lottery-primary {
        padding: 12px 20px;
        font: 700 14px Dana;
    }

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

    .auth-full {
        grid-column: auto
    }

    .profile-details,
    .profile-stats {
        grid-template-columns: 1fr
    }

    .ghost-button {
        font-size: 0
    }

    .ghost-button i {
        font-size: 15px
    }

    .codes-table th:nth-child(2),
    .codes-table td:nth-child(2) {
        display: none
    }

    .game-board {
        padding: 25px 15px
    }

    .number-grid {
        gap: 9px
    }

    .number-grid button {
        height: 66px
    }
}

@media(max-width:900px) {
    .header-inner nav.open {
        display: flex;
        position: absolute;
        top: 68px;
        left: 12px;
        right: 12px;
        padding: 18px;
        background: #100d25;
        border: 1px solid var(--line);
        border-radius: 12px;
        flex-direction: column;
        gap: 16px;
        height: auto;
    }


    .header-inner nav a::after {
        content: unset;
    }
}

/* Lottery theme safeguards for interactive and internal pages. */
.header-user span {
    margin-right: 8px;
}

.header-login,
.header-register,
.header-user {
    color: #fff;
    transition: transform .2s, border-color .2s, box-shadow .2s
}

.header-login:hover,
.header-register:hover,
.header-user:hover {
    color: #fff !important;
    transform: translateY(-2px);
    border-color: rgba(237, 33, 199, .7);
    box-shadow: 0 8px 22px rgba(181, 44, 255, .22)
}

.lottery-theme .banner-wrapper {
    margin-top: 0;
    height: 340px;
    padding: 55px 20px 105px;
    background-image: none !important;
    background: radial-gradient(circle at 50% 30%, rgba(181, 44, 255, .25), transparent 45%), linear-gradient(145deg, #09061b, #120629);
    position: relative;
    overflow: hidden
}

.lottery-theme .banner-wrapper:after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px);
    background-size: 44px 44px
}

.lottery-theme .banner-wrapper-title,
.lottery-theme .banner-wrapper-text {
    position: relative;
    z-index: 1
}

.lottery-theme .banner-wrapper-title {
    font-size: 34px;
    font-weight: 800
}

.lottery-theme .banner-wrapper-text {
    font-size: 17px;
    color: #cfc8db;
    text-align: center
}

.lottery-theme .about-box,
.lottery-theme .contact-box {
    position: relative;
    z-index: 2;
    background: linear-gradient(145deg, rgba(24, 18, 52, .98), rgba(10, 8, 27, .98));
    border: 1px solid var(--line);
    box-shadow: 0 26px 80px rgba(0, 0, 0, .35);
    color: #fff;
    max-width: 1180px;
    width: calc(100% - 40px);
    padding: 45px;
    margin-top: -85px;
    border-radius: 24px
}

.lottery-theme .about-text {
    color: #d4cede;
    font-size: 15px;
    font-weight: 400;
    line-height: 2.2;
    text-align: center
}

.lottery-theme .about-feature-item {
    background: rgba(255, 255, 255, .025);
    border-color: rgba(255, 255, 255, .08);
    padding: 28px 16px
}

.lottery-theme .about-feature-item i {
    color: var(--purple);
    font-size: 42px
}

.lottery-theme .about-feature-item span {
    color: #fff;
    font-size: 18px
}

.lottery-theme .about-feature-item p {
    color: var(--muted);
    line-height: 1.8;
    margin: 0
}

.lottery-theme .contact-box-title {
    color: #fff
}

.lottery-theme .contact-us-form input,
.lottery-theme .contact-us-form textarea {
    background: rgba(2, 1, 12, .45);
    border: 1px solid rgba(184, 137, 238, .31);
    box-shadow: none;
    color: #fff;
    border-radius: 10px
}

.lottery-theme .contact-us-form input:focus,
.lottery-theme .contact-us-form textarea:focus {
    border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(181, 44, 255, .1)
}

.lottery-theme .contact-us-form button {
    background: linear-gradient(110deg, #bd16dd, #ef207f, #ffa81f);
    box-shadow: 0 8px 25px rgba(232, 31, 128, .25);
    color: #fff !important;
    font-family: Dana
}

.lottery-theme .contact-us-form button:hover {
    background: linear-gradient(110deg, #c927e5, #f4388e, #ffb338);
    color: #fff !important
}

.lottery-theme .contact-item-body {
    border-color: rgba(255, 255, 255, .1);
    gap: 32px;
    background: rgba(255, 255, 255, .02)
}

.lottery-theme .contact-item {
    justify-content: center;
    text-align: center;
    gap: 0;
}

.lottery-theme .contact-item i,
.lottery-theme .contact-item-title {
    color: var(--purple);
    font-size: 24px;
}

.lottery-theme .contact-item-inner,
.lottery-theme .contact-item-inner a {
    color: #ffffff;
    overflow-wrap: anywhere;
    font-size: 20px;
    letter-spacing: 3px;
}

.lottery-theme .contact-honeypot {
    position: fixed !important;
    inset: 0 auto auto 0 !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important
}

.page-about,
.page-contact {
    overflow-x: hidden
}

.lottery-promo {
    position: relative;
    isolation: isolate
}

.lottery-promo-art {
    position: absolute;
    z-index: -1;
    inset: -34px;
    width: calc(100% + 68px);
    height: calc(100% + 68px);
    object-fit: cover;
    border-radius: 32px;
    opacity: .22;
    filter: saturate(1.15) contrast(1.05);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 25%, transparent 76%);
    mask-image: radial-gradient(ellipse at center, #000 25%, transparent 76%)
}

@media(max-width:600px) {
    .header-brand strong {
        font-size: 24px
    }

    .header-brand strong span,
    .mini-brand span,
    .footer-brand strong span {
        font-size: 22px;
        padding-left: 2px;
    }



    .lottery-theme .banner-wrapper {
        height: 235px;
        padding: 35px 16px 75px
    }

    .lottery-theme .banner-wrapper-title {
        font-size: 25px
    }

    .lottery-theme .banner-wrapper-text {
        font-size: 13px
    }

    .lottery-theme .about-box,
    .lottery-theme .contact-box {
        width: calc(100% - 24px);
        padding: 22px 16px;
        margin-top: -55px;
        border-radius: 18px
    }

    .lottery-theme .about-features {
        grid-template-columns: 1fr
    }

    .lottery-theme .contact-box>.row {
        margin: 0
    }

    .lottery-theme .contact-box [class*=col-] {
        padding: 0
    }

    .lottery-theme .contact-item-body {
        margin-top: 25px;
        padding: 18px;
        gap: 24px
    }

    .lottery-theme .contact-item-inner,
    .lottery-theme .contact-item-inner a {
        font-size: 16px;
        letter-spacing: 2px;
    }

    .lottery-theme .contact-us-form input {
        height: 50px
    }

    .lottery-theme .contact-us-form button {
        font-size: 15px
    }

    .lottery-promo-art {
        inset: -16px;
        width: calc(100% + 32px);
        height: calc(100% + 32px);
        opacity: .18
    }
}

/* Immersive casino game experience */
.game-stage {
    --casino-green: #38f27a;
    --casino-red: #ff4268;
    --casino-gold: #ffc52d;
    --casino-violet: #b737ff;
    min-height: calc(100vh - 78px);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 24px 0 48px;
    background: radial-gradient(ellipse at 50% -10%, rgba(126, 32, 236, .27), transparent 44%), radial-gradient(circle at 8% 70%, rgba(16, 91, 255, .12), transparent 28%), radial-gradient(circle at 92% 78%, rgba(236, 27, 167, .12), transparent 28%), linear-gradient(145deg, #02030c 0%, #070314 48%, #02030b 100%)
}

.game-stage:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    opacity: .55;
    background-image: radial-gradient(circle, #fff 0 1px, transparent 1.7px), radial-gradient(circle, rgba(190, 126, 255, .9) 0 1px, transparent 1.8px), radial-gradient(circle, rgba(255, 199, 44, .8) 0 1px, transparent 1.8px);
    background-size: 73px 73px, 113px 113px, 157px 157px;
    background-position: 0 0, 31px 47px, 81px 19px;
    animation: casinoStars 22s linear infinite
}

.game-stage:after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(0, 0, 0, .5), transparent 18%, transparent 82%, rgba(0, 0, 0, .5)), repeating-linear-gradient(0deg, transparent 0 3px, rgba(255, 255, 255, .007) 4px)
}

.game-stage [hidden] {
    display: none !important
}

.casino-ambient {
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none
}

.casino-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(18px);
    opacity: .32;
    animation: casinoFloat 9s ease-in-out infinite
}

.orb-a {
    width: 260px;
    height: 260px;
    right: -100px;
    top: 16%;
    background: #981eff
}

.orb-b {
    width: 210px;
    height: 210px;
    left: -85px;
    bottom: 7%;
    background: #e3188e;
    animation-delay: -3s
}

.orb-c {
    width: 110px;
    height: 110px;
    left: 18%;
    top: 10%;
    background: #ffb324;
    opacity: .1;
    animation-delay: -6s
}

.casino-coin {
    position: absolute;
    width: 38px;
    height: 38px;
    border: 2px solid rgba(255, 196, 38, .35);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: rgba(255, 203, 61, .55);
    font: bold 18px Arial;
    box-shadow: inset 0 0 13px rgba(255, 187, 22, .24), 0 0 20px rgba(255, 187, 22, .08);
    animation: casinoCoin 8s ease-in-out infinite
}

.coin-a {
    right: 8%;
    top: 23%;
    transform: rotate(20deg)
}

.coin-b {
    left: 9%;
    top: 30%;
    animation-delay: -2s
}

.coin-c {
    right: 13%;
    bottom: 15%;
    animation-delay: -4s
}

.coin-d {
    left: 14%;
    bottom: 11%;
    animation-delay: -6s
}

.game-shell {
    width: min(680px, calc(100% - 32px));
    position: relative;
    z-index: 2
}

.game-top {
    height: 56px;
    margin: 0 5px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.game-top>a {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #d8d0e7;
    padding: 9px 14px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 20px;
    background: rgba(255, 255, 255, .025);
    transition: .25s
}

.game-top>a:hover {
    color: #fff;
    border-color: rgba(182, 55, 255, .55);
    transform: translateX(-3px);
    box-shadow: 0 0 18px rgba(171, 47, 255, .15)
}

.mini-brand {
    font-size: 31px;
    filter: drop-shadow(0 0 12px rgba(255, 187, 23, .18));
    animation: logoBreath 3s ease-in-out infinite
}

.mini-brand small {
    display: block;
    margin-top: 4px;
    color: #777085;
    font: 600 7px/1 Dana;
    letter-spacing: 2.6px;
    font-style: normal;
    text-align: center
}

.game-frame {
    position: relative;
    min-height: 570px;
    border: 1px solid transparent;
    border-radius: 30px;
    background: linear-gradient(155deg, rgba(15, 10, 35, .96), rgba(4, 4, 16, .985)) padding-box, linear-gradient(135deg, rgba(198, 81, 255, .6), rgba(255, 196, 45, .15) 36%, rgba(255, 255, 255, .05) 63%, rgba(207, 36, 179, .45)) border-box;
    box-shadow: 0 35px 110px rgba(0, 0, 0, .65), 0 0 70px rgba(126, 34, 223, .14), inset 0 1px rgba(255, 255, 255, .035);
    overflow: hidden
}

.game-frame:before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 50% 0, rgba(179, 54, 255, .13), transparent 42%), linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .025) 50%, transparent 65%);
    background-size: auto, 240% 100%;
    animation: casinoShine 7s ease-in-out infinite
}

.game-frame:after {
    content: "";
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(255, 255, 255, .025);
    border-radius: 23px;
    pointer-events: none
}

.frame-corner {
    position: absolute;
    width: 25px;
    height: 25px;
    z-index: 4;
    opacity: .75
}

.corner-one {
    right: 14px;
    top: 14px;
    border-right: 2px solid var(--casino-gold);
    border-top: 2px solid var(--casino-gold);
    border-radius: 0 10px 0 0
}

.corner-two {
    left: 14px;
    top: 14px;
    border-left: 2px solid var(--casino-violet);
    border-top: 2px solid var(--casino-violet);
    border-radius: 10px 0 0
}

.corner-three {
    right: 14px;
    bottom: 14px;
    border-right: 2px solid var(--casino-violet);
    border-bottom: 2px solid var(--casino-violet);
    border-radius: 0 0 10px
}

.corner-four {
    left: 14px;
    bottom: 14px;
    border-left: 2px solid var(--casino-gold);
    border-bottom: 2px solid var(--casino-gold);
    border-radius: 0 0 0 10px
}

.game-loading,
.game-board,
.game-result {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 568px;
    border: 0;
    border-radius: 29px;
    background: transparent;
    padding: 42px 55px
}

.game-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #bdb6cc;
    transition: opacity .25s, transform .25s
}

.game-loading.is-leaving {
    opacity: 0;
    transform: scale(.96)
}

.game-loading>b {
    color: #fff;
    font-size: 20px
}

.game-loading>p {
    margin: 0;
    color: #817a91;
    font-size: 12px
}

.loader-orbit {
    width: 105px;
    height: 105px;
    display: grid;
    place-items: center;
    position: relative;
    margin-bottom: 17px
}

.loader-orbit:before,
.loader-orbit:after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(189, 49, 255, .25);
    border-top-color: var(--casino-violet);
    animation: spin 1.5s linear infinite
}

.loader-orbit:after {
    inset: 13px;
    border-color: rgba(255, 197, 45, .15);
    border-bottom-color: var(--casino-gold);
    animation-direction: reverse;
    animation-duration: 1s
}

.loader-orbit span {
    position: absolute;
    width: 11px;
    height: 11px;
    top: -4px;
    border-radius: 50%;
    background: var(--casino-violet);
    box-shadow: 0 0 20px var(--casino-violet)
}

.loader-orbit i {
    font-size: 28px;
    color: var(--casino-gold);
    filter: drop-shadow(0 0 10px rgba(255, 196, 45, .6));
    animation: loaderGem 1.4s ease-in-out infinite
}

.loading-dots {
    display: flex;
    gap: 6px;
    margin-top: 12px
}

.loading-dots i {
    width: 6px;
    height: 6px;
    background: var(--casino-violet);
    border-radius: 50%;
    animation: loadingDot 1s ease-in-out infinite
}

.loading-dots i:nth-child(2) {
    animation-delay: .15s
}

.loading-dots i:nth-child(3) {
    animation-delay: .3s
}

.game-board {
    opacity: 0;
    transform: translateY(13px);
    transition: opacity .45s, transform .45s
}

.game-board.is-visible {
    opacity: 1;
    transform: none
}

.game-board-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2px
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #9f96b0;
    font-size: 10px;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 20px
}

.live-badge i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--casino-green);
    box-shadow: 0 0 10px var(--casino-green);
    animation: livePulse 1.3s infinite
}

.round-label {
    font-size: 10px;
    color: #746d81
}

.timer-wrap {
    --timer-progress: 360deg;
    text-align: center;
    margin-top: 8px
}

.timer-wrap>span {
    font-size: 11px;
    color: #a79fb4
}

.timer-ring {
    width: 122px;
    height: 122px;
    border: 0;
    border-radius: 50%;
    margin: 10px auto 17px;
    padding: 5px;
    position: relative;
    background: conic-gradient(from 0deg, var(--casino-violet) var(--timer-progress), rgba(255, 255, 255, .06) 0);
    box-shadow: 0 0 34px rgba(182, 55, 255, .35);
    transition: filter .25s
}

.timer-ring:before {
    content: "";
    position: absolute;
    inset: -8px;
    border: 1px solid rgba(184, 55, 255, .23);
    border-radius: 50%;
    animation: timerHalo 2s ease-in-out infinite
}

.timer-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 35%, #241047, #090618 70%);
    box-shadow: inset 0 0 22px rgba(160, 41, 255, .16)
}

.timer-ring strong {
    font: 900 42px/1 Dana;
    color: #fff;
    text-shadow: 0 0 16px rgba(255, 255, 255, .25)
}

.timer-ring small {
    font-size: 9px;
    color: #a39bad;
    margin-top: 3px
}

.timer-wrap.is-urgent .timer-ring {
    background: conic-gradient(from 0deg, var(--casino-red) var(--timer-progress), rgba(255, 255, 255, .06) 0);
    box-shadow: 0 0 40px rgba(255, 54, 96, .45);
    animation: timerUrgent .48s ease-in-out infinite alternate
}

.game-instruction {
    text-align: center;
    margin-bottom: 20px
}

.game-instruction>span {
    font-size: 10px;
    color: var(--casino-gold);
    letter-spacing: .5px
}

.game-board h1 {
    margin: 7px 0 0;
    font-size: 19px
}

.game-board h1 i {
    font-size: 15px;
    color: var(--casino-gold);
    transform: rotate(-20deg);
    margin-right: 5px
}

.number-grid {
    gap: 11px
}

.number-grid button {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    height: 72px;
    border: 1px solid rgba(161, 60, 238, .45);
    border-radius: 13px;
    background: linear-gradient(145deg, rgba(21, 14, 47, .95), rgba(7, 6, 20, .98));
    color: #fff;
    font: 800 24px Dana;
    box-shadow: inset 0 1px rgba(255, 255, 255, .035), 0 8px 18px rgba(0, 0, 0, .2);
    opacity: 0;
    transform: translateY(14px) scale(.94);
    animation: numberArrival .42s cubic-bezier(.2, .8, .2, 1) forwards;
    animation-delay: calc(var(--i)*55ms);
    transition: transform .18s, border-color .18s, box-shadow .18s
}

.number-grid button:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(circle at 50% 20%, rgba(193, 53, 255, .23), transparent 67%);
    opacity: 0;
    transition: .2s
}

.number-grid button:after {
    content: "";
    position: absolute;
    left: -70%;
    top: -40%;
    width: 40%;
    height: 180%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .18), transparent);
    transform: rotate(18deg);
    transition: left .45s
}

.number-grid button i {
    position: absolute;
    right: 8px;
    top: 8px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 199, 50, .6);
    box-shadow: 0 0 7px rgba(255, 199, 50, .7)
}

.number-grid button:hover {
    background: linear-gradient(145deg, rgba(49, 18, 82, .96), rgba(13, 8, 31, .98));
    border-color: var(--casino-violet);
    box-shadow: 0 0 22px rgba(180, 55, 255, .35), inset 0 0 18px rgba(180, 55, 255, .1);
    transform: translateY(-4px) scale(1.025)
}

.number-grid button:hover:before {
    opacity: 1
}

.number-grid button:hover:after {
    left: 130%
}

.number-grid button.selected {
    border-color: var(--casino-gold);
    box-shadow: 0 0 28px rgba(255, 197, 45, .5);
    transform: scale(.92)
}

.number-grid button:disabled:not(.selected) {
    opacity: .42;
    filter: saturate(.4)
}

.game-hint {
    text-align: center;
    color: #746e80;
    font-size: 10px;
    margin: 15px 0 0
}

.game-hint i {
    color: var(--casino-gold);
    margin-left: 5px
}

.game-result {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    opacity: 0;
    transform: scale(.965);
    transition: opacity .45s, transform .6s cubic-bezier(.17, .89, .32, 1.3)
}

.game-result.is-visible {
    opacity: 1;
    transform: none
}

.game-result:before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    top: -225px;
    border-radius: 50%;
    background: var(--result-color);
    filter: blur(75px);
    opacity: .16
}

.game-result.win {
    --result-color: var(--casino-green)
}

.game-result.lose {
    --result-color: var(--casino-red)
}

.result-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #8f879c;
    font-size: 10px;
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 20px;
    margin-bottom: 14px
}

.result-kicker i {
    color: var(--result-color)
}

.result-emblem {
    width: 112px;
    height: 112px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    position: relative;
    margin: 0 auto 10px;
    background: radial-gradient(circle, rgba(255, 255, 255, .06), transparent 67%)
}

.result-emblem:before,
.result-emblem:after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--result-color) 48%, transparent);
    animation: resultRing 2.2s ease-out infinite
}

.result-emblem:before {
    inset: 2px
}

.result-emblem:after {
    inset: -10px;
    animation-delay: .8s
}

.result-emblem>span {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #07100b;
    background: var(--result-color);
    box-shadow: 0 0 12px var(--result-color), 0 0 43px color-mix(in srgb, var(--result-color) 55%, transparent);
    animation: resultPop .65s cubic-bezier(.17, .89, .32, 1.5)
}

.result-emblem i {
    font-size: 38px
}

.result-emblem.error>span {
    background: var(--casino-red)
}

.game-result h2 {
    font-size: 29px;
    margin: 0 0 5px;
    color: var(--result-color);
    text-shadow: 0 0 22px color-mix(in srgb, var(--result-color) 43%, transparent)
}

.game-result>p {
    font-size: 12px;
    color: #b0a8bc;
    margin: 0 0 13px
}

.winner-ticket {
    width: min(370px, 90%);
    position: relative;
    border: 1px solid rgba(255, 196, 45, .45);
    border-radius: 15px;
    padding: 10px 14px 12px;
    margin: 4px auto 12px;
    background: linear-gradient(135deg, rgba(255, 195, 39, .09), rgba(153, 43, 239, .08));
    box-shadow: 0 0 28px rgba(255, 192, 37, .1), inset 0 0 20px rgba(255, 255, 255, .02);
    animation: ticketGlow 2s ease-in-out infinite
}

.winner-ticket:before,
.winner-ticket:after {
    content: "";
    position: absolute;
    top: 50%;
    width: 13px;
    height: 24px;
    background: #080619;
    transform: translateY(-50%)
}

.winner-ticket:before {
    right: -2px;
    border-radius: 13px 0 0 13px;
    border-left: 1px solid rgba(255, 196, 45, .35)
}

.winner-ticket:after {
    left: -2px;
    border-radius: 0 13px 13px 0;
    border-right: 1px solid rgba(255, 196, 45, .35)
}

.winner-ticket>small {
    display: block;
    color: #91899c;
    font-size: 8px;
    letter-spacing: .3px
}

.winner-code {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 0;
    padding: 2px;
    margin: 5px 0 0;
    color: var(--casino-gold);
    font: 900 30px Arial;
    letter-spacing: 4px
}

.winner-code b {
    direction: ltr
}

.winner-code button {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 10px;
    background: rgba(255, 255, 255, .045);
    color: #fff;
    transition: .2s
}

.winner-code button:hover,
.winner-code button.copied {
    color: #07100b;
    background: var(--casino-green);
    transform: scale(1.08)
}

.result-note,
.lose-message {
    display: flex;
    align-items: center;
    text-align: right;
    gap: 10px;
    width: min(370px, 90%);
    padding: 9px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .025);
    border: 1px solid rgba(255, 255, 255, .055)
}

.result-note>i {
    color: var(--casino-gold)
}

.result-note span,
.lose-message span {
    font-size: 10px;
    color: #c6bece
}

.result-note small,
.lose-message small {
    display: block;
    color: #777080;
    margin-top: 3px;
    font-size: 8px
}

.lose-message {
    margin: 13px auto 15px;
    border-color: rgba(255, 66, 104, .18);
    background: rgba(255, 66, 104, .045)
}

.lose-message>i {
    width: 37px;
    height: 37px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 66, 104, .1);
    color: var(--casino-red)
}

.redirect-status {
    width: min(370px, 90%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 13px;
    font-size: 8px;
    color: #716a7d
}

.redirect-status b {
    font: italic 800 11px Arial;
    color: #a19aaa
}

.redirect-bar {
    width: min(370px, 90%);
    height: 4px;
    margin-top: 7px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .07)
}

.redirect-bar span {
    border-radius: 8px;
    background: linear-gradient(90deg, #1fd969, var(--casino-green), #c7ff3d);
    box-shadow: 0 0 12px var(--casino-green);
    animation-duration: var(--redirect-time)
}

.redirect-bar.lose span {
    background: linear-gradient(90deg, #ff7b3e, var(--casino-red), #ff2b8d);
    box-shadow: 0 0 12px var(--casino-red)
}

.result-decor {
    position: absolute;
    opacity: .23;
    filter: drop-shadow(0 0 14px var(--result-color));
    animation: decorFloat 4s ease-in-out infinite
}

.gift-decor {
    font-size: 78px;
    right: 23px;
    bottom: 36px;
    color: var(--casino-gold);
    transform: rotate(12deg)
}

.ticket-decor {
    font-size: 56px;
    color: var(--casino-red)
}

.ticket-decor.one {
    right: 28px;
    top: 41%;
    transform: rotate(28deg)
}

.ticket-decor.two {
    left: 28px;
    top: 34%;
    transform: rotate(-24deg);
    animation-delay: -2s
}

.casino-confetti {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none
}

.casino-confetti i {
    position: absolute;
    left: var(--x);
    top: -18px;
    width: 6px;
    height: 12px;
    border-radius: 2px;
    background: hsl(calc(var(--c)*62 + 35) 92% 58%);
    transform: rotate(var(--r));
    animation: confettiFall 3.8s cubic-bezier(.15, .65, .3, 1) infinite;
    animation-delay: var(--d)
}

.game-trust {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 15px auto 0;
    color: #665f72;
    font-size: 9px
}

.game-trust span {
    display: flex;
    align-items: center;
    gap: 6px
}

.game-trust i {
    color: #8c4cb4
}

@keyframes casinoStars {
    to {
        background-position: 73px 73px, 144px 160px, 238px 176px
    }
}

@keyframes casinoFloat {
    50% {
        transform: translateY(-25px) scale(1.08)
    }
}

@keyframes casinoCoin {
    50% {
        transform: translateY(-25px) rotate(180deg);
        opacity: .18
    }
}

@keyframes logoBreath {
    50% {
        filter: drop-shadow(0 0 18px rgba(255, 187, 23, .4))
    }
}

@keyframes casinoShine {

    0%,
    25% {
        background-position: 0 0, -140% 0
    }

    70%,
    100% {
        background-position: 0 0, 160% 0
    }
}

@keyframes loaderGem {
    50% {
        transform: scale(.8) rotate(45deg);
        opacity: .7
    }
}

@keyframes loadingDot {

    0%,
    100% {
        transform: translateY(0);
        opacity: .3
    }

    50% {
        transform: translateY(-5px);
        opacity: 1
    }
}

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

@keyframes timerHalo {

    70%,
    100% {
        transform: scale(1.14);
        opacity: 0
    }
}

@keyframes timerUrgent {
    to {
        transform: scale(1.04)
    }
}

@keyframes numberArrival {
    to {
        opacity: 1;
        transform: none
    }
}

@keyframes resultRing {
    0% {
        transform: scale(.75);
        opacity: .8
    }

    100% {
        transform: scale(1.4);
        opacity: 0
    }
}

@keyframes resultPop {
    0% {
        transform: scale(.2) rotate(-25deg)
    }

    100% {
        transform: scale(1)
    }
}

@keyframes ticketGlow {
    50% {
        border-color: rgba(255, 196, 45, .78);
        box-shadow: 0 0 37px rgba(255, 192, 37, .17)
    }
}

@keyframes decorFloat {
    50% {
        translate: 0 -14px;
        opacity: .35
    }
}

@keyframes confettiFall {
    0% {
        translate: 0 -20px;
        rotate: 0deg;
        opacity: 0
    }

    12% {
        opacity: 1
    }

    100% {
        translate: var(--drift) 620px;
        rotate: 720deg;
        opacity: .1
    }
}

@media(max-width:700px) {
    .game-stage {
        min-height: calc(100vh - 66px);
        padding: 10px 0 32px
    }

    .game-shell {
        width: calc(100% - 18px)
    }

    .game-top {
        height: 48px;
        margin-bottom: 8px
    }

    .game-top>a {
        font-size: 11px;
        padding: 7px 10px
    }

    .mini-brand {
        font-size: 25px
    }

    .game-frame {
        min-height: 530px;
        border-radius: 23px
    }

    .game-loading,
    .game-board,
    .game-result {
        min-height: 528px;
        padding: 28px 15px;
        border-radius: 22px
    }

    .game-board-head {
        padding: 0 4px
    }

    .timer-ring {
        width: 105px;
        height: 105px
    }

    .timer-ring strong {
        font-size: 36px
    }

    .game-instruction {
        margin-bottom: 16px
    }

    .game-board h1 {
        font-size: 16px
    }

    .number-grid {
        gap: 8px
    }

    .number-grid button {
        height: 65px;
        font-size: 21px
    }

    .game-result h2 {
        font-size: 24px
    }

    .result-emblem {
        width: 98px;
        height: 98px
    }

    .result-emblem>span {
        width: 67px;
        height: 67px
    }

    .result-emblem i {
        font-size: 33px
    }

    .winner-code {
        font-size: 24px;
        letter-spacing: 2.5px
    }

    .gift-decor {
        font-size: 55px;
        right: -1px;
        bottom: 38px
    }

    .ticket-decor {
        font-size: 42px
    }

    .ticket-decor.one {
        right: 3px
    }

    .ticket-decor.two {
        left: 3px
    }

    .casino-coin {
        display: none
    }

    .game-trust {
        gap: 12px;
        font-size: 8px
    }

    .round-label {
        display: none
    }
}

@media(max-width:380px) {

    .game-loading,
    .game-board,
    .game-result {
        padding-left: 10px;
        padding-right: 10px
    }

    .number-grid button {
        height: 59px
    }

    .winner-code {
        font-size: 21px
    }

    .game-trust {
        gap: 8px
    }

    .game-trust span {
        gap: 3px
    }
}

/* Performance and readability pass */
.game-stage:before {
    animation: none;
    opacity: .4
}

.casino-orb,
.casino-coin {
    animation: none;
    opacity: .22
}

.game-frame:before {
    animation: none;
    background-position: 0 0, 50% 0
}

.mini-brand {
    animation: none
}

.winner-ticket {
    animation: none
}

.result-decor {
    filter: none
}

.casino-confetti i {
    animation-duration: 2.8s;
    animation-iteration-count: 1;
    will-change: transform
}

.result-emblem:before,
.result-emblem:after {
    will-change: transform
}

.mini-brand small {
    font-size: 9px
}

.game-loading>b {
    font-size: 23px
}

.game-loading>p {
    font-size: 14px
}

.live-badge,
.round-label {
    font-size: 12px
}

.timer-wrap>span {
    font-size: 14px;
    color: #c9c1d4
}

.timer-ring small {
    font-size: 11px
}

.game-instruction>span {
    font-size: 13px
}

.game-board h1 {
    font-size: 23px
}

.game-board h1 i {
    font-size: 18px
}

.number-grid button {
    font-size: 28px
}

.game-hint {
    font-size: 13px;
    color: #a59daf
}

.game-trust {
    font-size: 11px;
    color: #8e8699
}

.result-kicker {
    font-size: 12px
}

.game-result h2 {
    font-size: 34px
}

.game-result>p {
    font-size: 15px
}

.game-result,
.game-result.is-visible {
    opacity: 1;
    transform: none;
    transition: none
}

.winner-ticket>small {
    font-size: 11px
}

.result-note span,
.lose-message span {
    font-size: 13px
}

.result-note small,
.lose-message small {
    font-size: 11px;
    line-height: 1.7
}

.redirect-status {
    font-size: 10px
}

.redirect-status b {
    font-size: 13px
}

@media(max-width:700px) {
    .game-loading>b {
        font-size: 20px
    }

    .game-loading>p {
        font-size: 13px
    }

    .live-badge {
        font-size: 11px
    }

    .timer-wrap>span {
        font-size: 13px
    }

    .timer-ring small {
        font-size: 10px
    }

    .game-instruction>span {
        font-size: 12px
    }

    .game-board h1 {
        font-size: 19px
    }

    .number-grid button {
        font-size: 25px
    }

    .game-hint {
        font-size: 11px
    }

    .game-result h2 {
        font-size: 29px
    }

    .game-result>p {
        font-size: 14px
    }

    .result-note span,
    .lose-message span {
        font-size: 12px
    }

    .result-note small,
    .lose-message small {
        font-size: 10px
    }

    .casino-orb,
    .casino-coin {
        display: none
    }

    .game-frame {
        box-shadow: 0 22px 55px rgba(0, 0, 0, .5), 0 0 35px rgba(126, 34, 223, .1)
    }
}

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

    .game-stage *,
    .game-stage:before {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important
    }
}

/* Jalali birth-date picker â€” follows the 100WIN visual language on public pages. */
body[class*="page-"] jdp-overlay {
    z-index: 10999 !important;
    background: rgba(3, 2, 16, .72);
    backdrop-filter: blur(4px);
}

body[class*="page-"] jdp-container {
    z-index: 11000 !important;
    color: #f8f4ff;
    background: linear-gradient(155deg, #17102d 0%, #090719 100%);
    border: 1px solid rgba(192, 68, 255, .48);
    border-radius: 16px;
    box-shadow: 0 18px 55px rgba(0, 0, 0, .52), 0 0 28px rgba(202, 45, 255, .16);
    font-family: inherit;
    padding: .7rem .45rem;
}

body[class*="page-"] jdp-container .jdp-years,
body[class*="page-"] jdp-container .jdp-months {
    color: #fff;
    fill: #ffc52f;
}

body[class*="page-"] jdp-container .jdp-year,
body[class*="page-"] jdp-container .jdp-year select,
body[class*="page-"] jdp-container .jdp-month,
body[class*="page-"] jdp-container .jdp-month select {
    color: #fff;
    background: transparent;
}

body[class*="page-"] jdp-container select option {
    color: #17102d;
    background: #fff;
}

body[class*="page-"] jdp-container .jdp-icon-plus,
body[class*="page-"] jdp-container .jdp-icon-minus {
    border-color: rgba(255, 197, 47, .4);
    background: rgba(255, 197, 47, .08);
}

body[class*="page-"] jdp-container .jdp-day,
body[class*="page-"] jdp-container .jdp-day-name {
    color: #f8f4ff;
}

body[class*="page-"] jdp-container .jdp-day-name {
    background: rgba(155, 53, 255, .18);
}

body[class*="page-"] jdp-container .jdp-day.today {
    border-color: #ffc52f;
    color: #ffc52f;
}

body[class*="page-"] jdp-container .jdp-day.selected {
    color: #13091e !important;
    background: linear-gradient(135deg, #ffc52f, #ff8a18) !important;
    box-shadow: 0 0 14px rgba(255, 197, 47, .45);
}

body[class*="page-"] jdp-container .jdp-day:not(.disabled-day):hover {
    background: rgba(204, 57, 255, .3);
}

body[class*="page-"] jdp-container .jdp-footer {
    gap: .45rem;
}

body[class*="page-"] jdp-container .jdp-btn-today,
body[class*="page-"] jdp-container .jdp-btn-empty,
body[class*="page-"] jdp-container .jdp-btn-close {
    color: #fff;
    background: rgba(255, 255, 255, .08);
    border-radius: 8px;
}

.birth-date-picker {
    cursor: pointer;
}

.auth-secondary{display:block;width:100%;margin:10px 0 16px;padding:7px;background:none;border:0;color:#cda6ff;font:12px Dana;cursor:pointer;text-align:center}.auth-secondary:hover{color:#ffc52f}.auth-secondary:disabled{color:#70687e;cursor:not-allowed}.auth-note{display:flex;align-items:center;gap:8px;margin:-2px 0 14px;color:#9f98b2;font-size:11px;line-height:1.8}.auth-note i{color:#4fe184}.auth-step{text-align:center}.auth-step h2{margin:8px 0;font-size:22px}.auth-step>p{color:#aaa3bc;font-size:12px;line-height:1.9;margin:0 0 20px}.auth-step>p b{color:#fff}.auth-step-icon{width:68px;height:68px;margin:2px auto 12px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:27px;background:linear-gradient(145deg,rgba(190,30,255,.35),rgba(255,174,29,.22));border:1px solid rgba(201,92,255,.45);box-shadow:0 0 28px rgba(181,44,255,.2)}.otp-input input{text-align:center;direction:ltr!important;font:700 24px/1 Arial;letter-spacing:10px;padding-right:14px}.otp-timer{display:flex;align-items:center;justify-content:center;gap:10px;margin:0 0 15px;padding:10px 12px;border:1px solid rgba(100,225,151,.28);border-radius:10px;background:rgba(65,214,122,.07);color:#b9b2c8;font-size:11px}.otp-timer b{min-width:52px;color:#63e798;font:700 18px Arial;letter-spacing:1px}.otp-timer.expired{border-color:rgba(255,85,118,.35);background:rgba(255,85,118,.08)}.otp-timer.expired b{color:#ff718b}.auth-step .auth-secondary{margin-bottom:0}
