@font-face {
    font-family: "Lilita One Local";
    src: url("../jogar/assets/font/lilita-one.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Titan One Local";
    src: url("../jogar/assets/font/titan-one.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
}

:root {
    --bg: #191a17;
    --panel: #252623;
    --panel-soft: #30322d;
    --panel-strong: #11130f;
    --line: #4ed13f;
    --line-soft: rgba(78, 209, 63, 0.22);
    --text: #f6f4f1;
    --muted: #bdb8b3;
    --green: #43d13d;
    --green-dark: #2ba728;
    --gold: #ffd447;
    --danger: #e93636;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
    --radius-lg: 22px;
    --radius-md: 16px;
    --shell-max-width: 430px;
    --shell-content-max: 520px;
    --shell-gutter: 13px;
    --shell-section-gap: 26px;
    --shell-block-gap: 18px;
    --shell-card-gap: 13px;
    --shell-panel-gap: 16px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    min-height: 100%;
    background-color: #171717;
}

body {
    margin: 0;
    min-height: 100vh;
    background-color: #171717;
    background:
        radial-gradient(circle at 50% -12%, rgba(78, 209, 63, 0.16), transparent 26%),
        radial-gradient(circle at 8% 18%, rgba(255, 212, 71, 0.06), transparent 24%),
        linear-gradient(180deg, #10130f 0%, var(--bg) 52%, #11120f 100%);
    color: var(--text);
    font-family: "Trebuchet MS", Verdana, sans-serif;
}

body.modal-open {
    overflow: hidden;
}

[hidden] {
    display: none !important;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.page-shell {
    width: 100%;
    min-height: 100vh;
    margin: 0 auto;
    background-color: #171717;
    background:
        radial-gradient(circle at top left, rgba(78, 209, 63, 0.07), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0));
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.025),
        var(--shadow);
}

.top-strip,
.app-header,
.content-stack,
.support-footer {
    width: min(100%, var(--shell-content-max));
    margin-inline: auto;
}

.top-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 9px var(--shell-gutter);
    background:
        linear-gradient(90deg, rgba(43, 167, 40, 0.98), rgba(67, 209, 61, 0.98)),
        radial-gradient(circle at right, rgba(255, 255, 255, 0.24), transparent 38%);
}

.top-strip p {
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
    font-weight: 700;
    line-height: 1.2;
    font-size: 12px;
    max-width: none;
}

.top-strip a,
.top-strip button {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--green-dark);
    font-size: 12px;
    font-weight: 800;
    border: 0;
    cursor: pointer;
    box-shadow: inset 0 -1px 0 rgba(43, 167, 40, 0.12);
}

.app-header {
    padding: 14px var(--shell-gutter) 12px;
    border-bottom: 1px solid var(--line-soft);
    background:
        radial-gradient(circle at left top, rgba(78, 209, 63, 0.09), transparent 40%),
        linear-gradient(135deg, rgba(38, 78, 34, 0.28), rgba(18, 19, 17, 0.6));
    position: relative;
}

.header-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.brand {
    display: inline-flex;
    align-items: center;
    width: 78px;
    transform: translateY(8px);
}

.brand img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.22));
}

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

.header-menu-group {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-menu-toggle {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 11px;
    background: rgba(78, 209, 63, 0.2);
    color: #ebffe9;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: transform 160ms ease, background 160ms ease;
}

.header-menu-toggle.is-open {
    transform: rotate(180deg);
    background: rgba(78, 209, 63, 0.34);
}

.header-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 12;
    width: 190px;
    padding: 8px;
    border-radius: 16px;
    border: 1px solid rgba(78, 209, 63, 0.18);
    background: linear-gradient(180deg, rgba(49, 180, 43, 0.96), rgba(29, 138, 24, 0.96));
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.28);
}

.header-dropdown[hidden] {
    display: none !important;
}

.header-dropdown-item {
    width: 100%;
    display: block;
    padding: 10px 12px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #f7fff5;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

.header-dropdown-item:hover {
    background: rgba(0, 0, 0, 0.12);
}

.deposit-button,
.account-button,
.hero-primary,
.hero-secondary {
    border-radius: 11px;
    font-weight: 800;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.deposit-button,
.hero-primary {
    background: linear-gradient(180deg, #57dd4c, #31bf2b);
    color: #f6fff5;
    box-shadow: 0 8px 18px rgba(67, 209, 61, 0.16);
}

.account-button,
.hero-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.deposit-button,
.account-button {
    min-height: 36px;
    padding: 8px 13px;
    border: 0;
    cursor: pointer;
}

.deposit-button {
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.02em;
    box-shadow: 0 6px 14px rgba(67, 209, 61, 0.14);
}

.account-button {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.balance-pill {
    display: grid;
    grid-template-columns: 72px 136px;
    justify-content: end;
    align-items: center;
    column-gap: 8px;
    row-gap: 6px;
    margin-top: 10px;
    color: var(--muted);
    font-size: 12.5px;
}

.balance-pill span,
.balance-pill strong,
.balance-pill small {
    display: block;
}

.balance-pill > span {
    grid-column: 1 / -1;
    text-align: right;
}

.balance-pill strong {
    color: var(--text);
    font-size: 15px;
    letter-spacing: 0.01em;
}

.balance-pill small {
    color: #ffd76e;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.balance-pill__item {
    width: 100%;
    min-height: 26px;
    padding: 5px 10px;
    border-radius: 10px;
    display: inline-flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    box-sizing: border-box;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.balance-pill__item b,
.balance-pill__item em {
    display: block;
    font-style: normal;
}

.balance-pill__item b {
    font-size: 14px;
    line-height: 1;
}

.balance-pill__item em {
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 1;
}

.balance-pill__item--coins {
    background: rgba(17, 24, 20, 0.68);
    color: #fff8e6 !important;
    grid-column: 2;
    grid-row: 2;
}

.balance-pill__item--coins em {
    color: #fff8e6;
    font-size: 13px;
}

.balance-pill__item--boards {
    background: rgba(17, 24, 20, 0.68);
    color: #fff8e6 !important;
    grid-column: 1;
    grid-row: 2;
}

.balance-pill__item--boards em {
    color: #fff8e6;
    font-size: 13px;
}

.content-stack {
    display: grid;
    gap: var(--shell-section-gap);
    padding: 14px var(--shell-gutter) 32px;
}

.hero-card {
    display: grid;
    gap: var(--shell-panel-gap);
}

.hero-banner {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(78, 209, 63, 0.34);
    box-shadow:
        0 18px 34px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    background: #1d1c1c;
}

.hero-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.02), transparent 52%, rgba(0, 0, 0, 0.18)),
        linear-gradient(90deg, rgba(78, 209, 63, 0.08), transparent 18%, transparent 82%, rgba(78, 209, 63, 0.08));
}

.hero-track {
    position: relative;
    min-height: auto;
    aspect-ratio: 2 / 1;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 360ms ease, visibility 360ms ease;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #11130f;
}

.hero-slide video,
.hero-slide iframe {
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
    background: #11130f;
}

.hero-badge {
    position: absolute;
    left: 12px;
    bottom: 14px;
    max-width: calc(100% - 92px);
    padding: 8px 10px;
    border-radius: 12px;
    background: rgba(18, 20, 17, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-family: "Lilita One Local", Arial, sans-serif;
    color: var(--gold);
    font-size: 14px;
    line-height: 1.05;
    letter-spacing: 0.02em;
}

.hero-arrows {
    position: absolute;
    inset: 50% 10px auto 10px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    z-index: 2;
}

.hero-arrow {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.34);
    border: 0;
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(6px);
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 10px;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
    z-index: 2;
}

.hero-dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.45);
    cursor: pointer;
}

.hero-dots .is-active {
    background: #4ed13f;
    border-color: #8df282;
    box-shadow: 0 0 0 4px rgba(78, 209, 63, 0.16);
}

.section-block,
.faq-section {
    display: grid;
    gap: var(--shell-block-gap);
}

.section-title {
    display: flex;
    align-items: center;
    gap: 9px;
}

.section-title h2 {
    margin: 0;
    font-family: "Lilita One Local", Arial, sans-serif;
    letter-spacing: 0.04em;
    font-size: clamp(29px, 8vw, 34px);
    line-height: 0.92;
    text-transform: uppercase;
    text-shadow: 0 4px 0 rgba(0, 0, 0, 0.36);
    text-wrap: balance;
}

.section-icon {
    display: inline-block;
    font-size: 20px;
}

.section-title .section-icon {
    transform-origin: 50% 85%;
}

.section-title .section-icon:first-child {
    animation: trophy-wiggle 1.9s ease-in-out infinite;
}

@keyframes trophy-wiggle {
    0%,
    100% {
        transform: rotate(0deg) scale(1);
    }

    18% {
        transform: rotate(-9deg) scale(1.08);
    }

    36% {
        transform: rotate(8deg) scale(1.14);
    }

    52% {
        transform: rotate(-5deg) scale(1.1);
    }

    68% {
        transform: rotate(4deg) scale(1.16);
    }
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--shell-card-gap);
}

.game-card {
    position: relative;
    min-height: clamp(192px, 41vw, 248px);
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(78, 209, 63, 0.3);
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.06), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(0, 0, 0, 0.22));
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.18);
    transform: translateZ(0);
}

.game-card-button {
    padding: 0;
    width: 100%;
    text-align: left;
    color: inherit;
    border: 0;
    cursor: pointer;
}

.game-card--interactive {
    cursor: pointer;
    outline: none;
}

.game-card--interactive img {
    transition: transform 240ms ease, filter 240ms ease;
}

.game-card--interactive video {
    transition: transform 240ms ease, filter 240ms ease;
}

.game-card--featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-card--featured video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #000;
}

.game-overlay {
    position: absolute;
    inset: auto 0 0 0;
    display: grid;
    gap: 6px;
    padding: 32px 14px 14px 12px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.88));
}

.game-overlay strong,
.placeholder-label {
    font-family: "Lilita One Local", Arial, sans-serif;
    font-size: 23px;
    text-transform: uppercase;
}

.game-overlay strong {
    max-width: 100%;
    font-size: clamp(15px, 4.55vw, 22px);
    line-height: 0.92;
    white-space: normal;
    text-wrap: balance;
}

.game-overlay span {
    display: block;
    max-width: 100%;
    color: #c3ffc1;
    font-weight: 700;
    font-size: clamp(10px, 2.95vw, 12px);
    line-height: 1.2;
}

.game-card-actions {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    align-content: center;
    gap: 11px;
    padding: 22px;
    background:
        radial-gradient(circle at center, rgba(78, 209, 63, 0.08), transparent 54%),
        linear-gradient(180deg, rgba(18, 18, 18, 0.14), rgba(18, 18, 18, 0.64));
    opacity: 0;
    visibility: hidden;
    transition: opacity 220ms ease, visibility 220ms ease;
}

.game-card--interactive.is-revealed .game-card-actions {
    opacity: 1;
    visibility: visible;
}

.game-card--interactive.is-revealed img {
    transform: scale(1.04);
    filter: blur(2px) saturate(0.92);
}

.game-card--interactive.is-revealed video {
    transform: scale(1.04);
    filter: blur(2px) saturate(0.92);
}

.game-card--interactive.is-revealed .game-overlay {
    opacity: 0.14;
}

.game-card-action {
    min-height: 82px;
    display: grid;
    place-items: center;
    padding: 14px 12px;
    border: 0;
    border-radius: 18px;
    text-align: center;
    font-family: "Lilita One Local", Arial, sans-serif;
    font-size: 29px;
    line-height: 0.94;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
}

.game-card-action--primary {
    background: linear-gradient(180deg, #59e450, #33c12e);
    color: #f6fff5;
    box-shadow: 0 12px 22px rgba(67, 209, 61, 0.22);
}

.game-card-action--secondary {
    background: rgba(255, 255, 255, 0.14);
    color: #f7f5ff;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.game-card-action--secondary:hover,
.game-card-action--primary:hover {
    transform: translateY(-1px);
}

.game-card--placeholder {
    display: grid;
    place-items: center;
    padding: 0;
    text-align: center;
}

.game-card--placeholder::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.62));
}

.game-card--placeholder img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.9) brightness(0.76);
    transform: scale(1.02);
}

.game-card--placeholder video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #000;
    filter: saturate(0.9) brightness(0.76);
    transform: scale(1.02);
}

.game-card--placeholder span,
.placeholder-label {
    position: relative;
    z-index: 2;
}

.game-card--placeholder span {
    align-self: end;
    margin: 0 0 16px;
    padding: 0 8px;
    font-size: clamp(13px, 3.6vw, 16px);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.82);
}

.game-card--placeholder .placeholder-label {
    align-self: center;
    padding: 8px 10px;
    color: #fff;
    text-shadow: 0 4px 0 rgba(0, 0, 0, 0.36);
}

.game-card--candy::before {
    background: linear-gradient(180deg, rgba(255, 82, 143, 0.12), rgba(0, 0, 0, 0.66));
}

.game-card--fruit::before {
    background: linear-gradient(180deg, rgba(105, 221, 83, 0.12), rgba(0, 0, 0, 0.66));
}

.winners-list {
    position: relative;
    height: 336px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    mask-image: linear-gradient(180deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.winners-list::before,
.winners-list::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    z-index: 2;
    height: 44px;
    pointer-events: none;
}

.winners-list::before {
    top: 0;
    background: linear-gradient(180deg, var(--bg), transparent);
}

.winners-list::after {
    bottom: 0;
    background: linear-gradient(0deg, var(--bg), transparent);
}

.winners-track {
    display: grid;
    gap: 10px;
    animation: winners-scroll 58s linear infinite;
    will-change: transform;
}

.winners-list:hover .winners-track {
    animation-play-state: paused;
}

.winner-row {
    display: grid;
    grid-template-columns: 46px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 12px;
    min-height: 74px;
    border: 1px solid rgba(85, 226, 75, 0.52);
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.13), transparent 38%),
        linear-gradient(180deg, #42ca39, #31ba2d);
    color: #041c02;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.winner-row {
    border-radius: var(--radius-md);
}

.winner-avatar img {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.35);
}

.winner-copy {
    display: grid;
    gap: 2px;
}

.winner-copy strong {
    font-size: 16px;
}

.winner-copy span {
    color: rgba(4, 28, 2, 0.74);
}

.winner-amount {
    font-size: 15px;
    font-weight: 900;
    text-align: right;
}

@keyframes winners-scroll {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(calc(-50% - 5px));
    }
}

.faq-section {
    margin-top: 6px;
}

.faq-section .section-title {
    gap: 8px;
}

.faq-section .section-title h2 {
    font-size: clamp(25px, 7.2vw, 32px);
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.faq-orb {
    width: 104px;
    height: 104px;
    margin: 0 auto 22px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #9d65ff, #6e38f4);
    box-shadow: 0 0 38px rgba(122, 72, 255, 0.34);
    font-family: "Lilita One Local", Arial, sans-serif;
    font-size: 52px;
    color: #ffd600;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-item {
    border-radius: var(--radius-md);
    background: var(--panel);
    border: 1px solid rgba(255, 255, 255, 0.055);
    overflow: hidden;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 16px;
    list-style: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-plus {
    color: var(--text);
    font-size: 28px;
    line-height: 1;
}

.faq-item[open] .faq-plus {
    transform: rotate(45deg);
}

.faq-item p {
    margin: 0;
    padding: 0 18px 20px;
    color: var(--muted);
    line-height: 1.6;
}

.support-footer {
    padding: 0 var(--shell-gutter) 32px;
    text-align: center;
}

.footer-divider {
    width: 100%;
    height: 2px;
    margin-bottom: 30px;
    background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.footer-label {
    margin: 0 0 8px;
    color: #88827d;
    font-size: 15px;
}

.support-footer a,
.support-footer span {
    display: block;
    margin-bottom: 22px;
    font-size: 17px;
    font-weight: 800;
}

.modal-shell {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: grid;
    place-items: center;
    padding: 18px 14px;
}

.modal-shell[data-modal="deposit-qr"] {
    align-items: start;
    overflow-y: auto;
    padding-top: max(18px, env(safe-area-inset-top));
    padding-bottom: max(18px, env(safe-area-inset-bottom));
}

.modal-shell[hidden] {
    display: none !important;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at center, rgba(78, 209, 63, 0.08), transparent 32%),
        rgba(8, 9, 8, 0.78);
    backdrop-filter: blur(9px);
}

.modal-card {
    --modal-close-size: 42px;
    --modal-close-radius: 14px;
    --modal-close-font-size: 22px;
    --modal-close-inset: 10px;
    --modal-close-transform: none;
    position: relative;
    z-index: 1;
    width: min(100%, 396px);
    max-height: calc(100vh - 28px);
    overflow: auto;
    padding: 19px;
    border-radius: 28px;
    border: 1px solid rgba(101, 223, 86, 0.2);
    background:
        radial-gradient(circle at 50% -10%, rgba(74, 193, 65, 0.16), transparent 42%),
        linear-gradient(180deg, #302f2d 0%, #242522 44%, #181a17 100%);
    box-shadow:
        0 30px 86px rgba(0, 0, 0, 0.52),
        inset 0 1px 0 rgba(255, 255, 255, 0.055);
    scrollbar-width: none;
}

.modal-card::-webkit-scrollbar {
    display: none;
}

.modal-card--register {
    width: min(100%, 392px);
    padding-top: 62px;
}

.modal-card--register {
    width: min(calc(100vw - 18px), 430px);
    max-height: calc(100vh - 96px);
    padding: 18px 14px 20px;
    border-radius: 18px;
    border-color: rgba(74, 193, 65, 0.22);
    background:
        radial-gradient(circle at 50% 12%, rgba(67, 209, 61, 0.16), transparent 34%),
        linear-gradient(180deg, #101d0d 0%, #121711 54%, #141a12 100%);
}

.modal-card--register .modal-close {
    --modal-close-inset: 0;
    --modal-close-transform: translate(18%, -18%);
}

.modal-card--deposit {
    overflow: visible;
}

.modal-card--deposit .modal-close {
    z-index: 5;
}

.modal-card--auth {
    width: min(100%, 392px);
    padding-top: 62px;
}

.modal-card--panel {
    width: min(100%, 420px);
    padding-top: 62px;
}

.modal-card--low-balance {
    padding-top: 40px;
}

.modal-card--demo {
    width: min(100%, 392px);
    max-height: min(720px, calc(100vh - 24px));
    overflow-y: auto;
    padding: 38px 16px 20px;
    border: 1px solid rgba(74, 193, 65, 0.22);
    background:
        radial-gradient(circle at 50% 10%, rgba(67, 209, 61, 0.14), transparent 32%),
        linear-gradient(180deg, #101d0d 0%, #121711 54%, #141a12 100%);
    color: #fff;
}

.modal-card--qr {
    width: min(100%, 420px);
    max-height: calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 36px);
    overflow-x: hidden;
    padding-top: 54px;
}

.modal-card--qr .modal-copy--compact {
    margin-bottom: 10px;
}

.modal-card--qr .home-payment-state {
    min-height: 30px;
    margin-bottom: 10px;
    padding: 0 12px;
    font-size: 11px;
}

.modal-card--qr .home-payment-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 10px;
}

.modal-card--qr .home-payment-meta-item {
    padding: 10px 12px;
    min-width: 0;
}

.modal-card--qr .home-qr-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1 / 1;
    min-height: 0;
    padding: 18px;
    margin-bottom: 10px;
    box-sizing: border-box;
    border-radius: 18px;
}

.modal-card--qr .home-qr-box .home-qr-mount {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.modal-card--qr .home-qr-box canvas,
.modal-card--qr .home-qr-box img,
.modal-card--qr .home-qr-box table {
    display: block;
    max-width: 100%;
    max-height: 100%;
    margin: 0 auto !important;
    object-fit: contain;
}

.modal-card--qr .home-qr-box .home-qr-image {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 1 / 1;
}

.modal-card--qr .home-qr-box .home-qr-mount > * {
    justify-self: center;
    align-self: center;
}

.modal-card--qr .home-qr-box table {
    border-collapse: collapse;
}

.modal-card--qr .register-field--textarea {
    margin-bottom: 12px;
}

.modal-card--qr .register-field--textarea span {
    margin-bottom: 4px;
    font-size: 10px;
    opacity: 0.82;
}

.modal-card--qr .register-field--textarea textarea {
    min-height: 54px;
    max-height: 62px;
    padding: 10px 14px;
    font-size: 13px;
    line-height: 1.35;
    opacity: 0.78;
    overflow-y: auto;
    scrollbar-width: thin;
}

.modal-card--qr .modal-actions--qr {
    grid-template-columns: 1fr;
    margin-top: 14px;
    margin-bottom: 14px;
}

.modal-card--qr #homeCopyPixButton {
    width: 100%;
    min-height: 48px;
    justify-self: stretch;
    text-align: center;
    font-size: 14px;
    letter-spacing: 0.02em;
}

.modal-close {
    position: absolute;
    top: var(--modal-close-inset);
    right: var(--modal-close-inset);
    width: var(--modal-close-size);
    height: var(--modal-close-size);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--modal-close-radius);
    background: transparent;
    color: rgba(255, 255, 255, 0.94);
    font-size: var(--modal-close-font-size);
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    box-shadow: none;
    transform: var(--modal-close-transform);
}

.modal-brand-lockup {
    display: flex;
    justify-content: center;
    margin: 0 0 10px;
}

.modal-brand-lockup img {
    width: 148px;
    max-width: 58%;
    height: auto;
    object-fit: contain;
}

.modal-brand-lockup--register-original {
    margin: 2px 0 18px;
}

.modal-brand-lockup--register-original img {
    width: 176px;
    max-width: 56%;
    filter: drop-shadow(0 16px 18px rgba(0, 0, 0, 0.32));
}

.demo-modal-brand {
    display: flex;
    justify-content: center;
    margin: 0 0 12px;
}

.demo-modal-brand img {
    width: 132px;
    max-width: 44%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.28));
}

.modal-copy {
    display: grid;
    gap: 8px;
    padding-right: 28px;
}

.demo-modal-copy {
    display: grid;
    gap: 12px;
    width: 100%;
    text-align: center;
    justify-items: center;
}

.demo-modal-copy h3 {
    margin: 0;
    font-family: "Lilita One Local", Arial, sans-serif;
    max-width: 290px;
    font-size: clamp(26px, 6vw, 34px);
    line-height: 0.96;
    text-transform: uppercase;
}

.demo-modal-copy p {
    margin: 0;
    max-width: 286px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    line-height: 1.45;
}

.demo-modal-copy strong {
    display: inline-block;
    width: auto;
    max-width: none;
    color: #ffe36c;
    font-size: clamp(11px, 3.45vw, 15px);
    line-height: 1.18;
    letter-spacing: -0.02em;
    white-space: nowrap;
    word-break: keep-all;
    overflow-wrap: normal;
}

.modal-copy--compact {
    margin-bottom: 12px;
}

.modal-copy--deposit {
    margin: 2px 0 18px;
}

.modal-copy--deposit h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 24px;
    line-height: 1;
    letter-spacing: -0.03em;
}

.modal-copy--deposit h3 span {
    color: #fff;
    font-size: 25px;
    filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.4));
}

.modal-copy--register {
    text-align: left;
}

.modal-chip {
    display: inline-flex;
    width: fit-content;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(78, 209, 63, 0.14);
    color: #a9fb9b;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.demo-modal-copy .modal-chip--demo {
    background: rgba(255, 212, 71, 0.16);
    color: #ffe36c;
}

.modal-copy h3 {
    margin: 0;
    font-family: "Lilita One Local", Arial, sans-serif;
    font-size: 30px;
    line-height: 0.96;
}

.modal-copy p {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
    font-size: 14px;
}

.modal-actions {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.modal-primary,
.modal-secondary {
    min-height: 46px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.modal-primary {
    background: linear-gradient(180deg, #59e450, #32c12e);
    color: #f6fff5;
    box-shadow: 0 12px 20px rgba(67, 209, 61, 0.16);
}

.modal-primary.is-copied {
    background: linear-gradient(180deg, #49a8ff, #1f78e6);
    color: #f5fbff;
    box-shadow: 0 12px 24px rgba(31, 120, 230, 0.28);
}

.modal-primary:disabled {
    cursor: not-allowed;
    opacity: 0.58;
    filter: grayscale(0.35);
    transform: none;
}

.modal-secondary {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
    cursor: pointer;
}

.demo-modal-cta {
    min-height: 56px;
    display: grid;
    place-items: center;
    width: min(100%, 286px);
    margin: 6px auto 0;
    border-radius: 18px;
    background: linear-gradient(180deg, #56e74a, #41d836 54%, #2fb926 100%);
    color: #fff;
    font-family: "Lilita One Local", Arial, sans-serif;
    font-size: 28px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    box-shadow: 0 14px 26px rgba(47, 185, 38, 0.2);
}

.register-modal-form {
    display: grid;
    gap: 13px;
    margin-top: 16px;
}

.register-modal-form--original {
    gap: 9px;
    margin-top: 0;
}

.register-field {
    display: grid;
    gap: 6px;
}

.register-field span {
    font-size: 12px;
    font-weight: 700;
    color: #d8d2cb;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.register-field input {
    width: 100%;
    min-height: 58px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.045);
    color: #fff;
    font: inherit;
    font-size: 16px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.register-field input::placeholder {
    color: rgba(255, 255, 255, 0.42);
}

.register-field input:focus {
    outline: none;
    border-color: rgba(78, 209, 63, 0.5);
    box-shadow: 0 0 0 3px rgba(78, 209, 63, 0.14);
}

.modal-card--register .register-field--original {
    position: relative;
    display: grid;
    grid-template-columns: 84px 1fr;
    align-items: center;
    gap: 0;
    min-height: 66px;
    overflow: hidden;
    border-radius: 5px;
    border: 1px solid rgba(67, 209, 61, 0.18);
    background: rgba(22, 82, 22, 0.98);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 6px 10px rgba(0, 0, 0, 0.14);
}

.modal-card--register .register-field--original .register-field-icon {
    display: grid;
    place-items: center;
    height: 100%;
    min-height: 66px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(19, 75, 19, 0.72);
    color: #d8edff;
    font-size: 20px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
}

.modal-card--register .register-field--original input {
    min-height: 66px;
    padding: 0 18px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #fff;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -0.02em;
    box-shadow: none;
}

.modal-card--register .register-field--original input::placeholder {
    color: rgba(255, 255, 255, 0.96);
    opacity: 1;
}

.modal-card--register .register-field--original input:focus {
    border: 0;
    box-shadow: inset 0 0 0 2px rgba(105, 230, 83, 0.28);
}

.modal-card--register .register-field-suffix {
    position: absolute;
    right: 17px;
    top: 50%;
    transform: translateY(-50%);
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
    font-size: 18px;
    text-transform: none;
    letter-spacing: 0;
}

.modal-card--register .register-field-suffix:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.72);
    outline-offset: 4px;
}

.modal-card--register .register-field--original:has(.register-field-suffix) input {
    padding-right: 48px;
}

.register-feedback {
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.4;
}

.register-feedback--error {
    background: rgba(255, 96, 96, 0.12);
    border: 1px solid rgba(255, 96, 96, 0.22);
    color: #ffb0b0;
}

.register-feedback--success {
    background: rgba(78, 209, 63, 0.12);
    border: 1px solid rgba(78, 209, 63, 0.22);
    color: #b6ffb0;
}

.modal-primary--submit {
    width: 100%;
    border: 0;
    cursor: pointer;
    min-height: 56px;
    border-radius: 18px;
    font-size: 14px;
}

.modal-primary--register-original {
    min-height: 52px;
    border-radius: 5px;
    background: linear-gradient(180deg, #50bf44, #43ad39);
    font-size: 18px;
    font-weight: 900;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.18);
}

.modal-primary--withdraw-unlock {
    background: linear-gradient(180deg, #ffd85c 0%, #ffc83b 52%, #e8a71c 100%);
    color: #3f2a00;
    box-shadow:
        inset 0 1px 0 rgba(255, 247, 204, 0.54),
        0 8px 16px rgba(0, 0, 0, 0.18);
}

.register-terms {
    margin: 2px 0 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 11px;
    line-height: 1.45;
    text-align: center;
}

.register-terms--original {
    margin: 8px 4px 16px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.25;
}

.register-terms--original strong {
    color: #49d33d;
}

.register-login-copy {
    margin: 2px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

.register-login-copy--original {
    margin: 22px 0 0;
    color: #fff;
    font-size: 16px;
    font-weight: 900;
}

.register-login-copy--original .text-link-button {
    color: #48d23d;
    font-weight: 900;
}

.register-login-copy a {
    color: #62da48;
}

.text-link-button {
    padding: 0;
    border: 0;
    background: transparent;
    color: #62da48;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.home-panel-hero {
    display: grid;
    justify-items: center;
    gap: 6px;
    margin-bottom: 14px;
    padding: 20px 16px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(96, 225, 82, 0.16);
    background:
        radial-gradient(circle at top, rgba(78, 209, 63, 0.2), transparent 58%),
        linear-gradient(180deg, rgba(78, 209, 63, 0.14), rgba(26, 68, 24, 0.22));
    text-align: center;
}

.home-panel-hero strong {
    font-size: 28px;
    line-height: 1;
    font-family: "Lilita One Local", Arial, sans-serif;
}

.home-panel-hero span,
.home-panel-hero small {
    color: rgba(255, 255, 255, 0.78);
}

.home-panel-hero--affiliate strong {
    font-size: 24px;
}

.home-panel-avatar {
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: rgba(67, 209, 61, 0.2);
    font-size: 30px;
}

.modal-card--affiliate {
    display: grid;
    gap: 16px;
}

.home-affiliate-status-card {
    display: grid;
    justify-items: center;
    gap: 14px;
    padding: 24px 22px;
    border-radius: 26px;
    border: 1px solid rgba(78, 209, 63, 0.2);
    background:
        radial-gradient(circle at top, rgba(78, 209, 63, 0.16), transparent 48%),
        linear-gradient(180deg, rgba(18, 86, 28, 0.88), rgba(14, 66, 22, 0.92));
    text-align: center;
}

.home-affiliate-status-card--pending {
    padding-top: 28px;
    padding-bottom: 28px;
}

.home-affiliate-status-graphic {
    display: grid;
    place-items: center;
    width: 92px;
    height: 92px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
    font-size: 46px;
}

.home-affiliate-status-card strong {
    margin: 0;
    color: #fff;
    font-family: "Lilita One Local", Arial, sans-serif;
    font-size: 28px;
    line-height: 1.04;
    letter-spacing: -0.03em;
}

.home-affiliate-status-card p,
.home-affiliate-status-card span {
    margin: 0;
    max-width: 320px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 15px;
    line-height: 1.6;
}

.home-affiliate-status-card span {
    color: rgba(255, 255, 255, 0.72);
}

.home-affiliate-tipbox--pending {
    background: rgba(78, 209, 63, 0.08);
}

.home-tab-switcher {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.home-tab-button {
    min-height: 44px;
    border: 0;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.075);
    color: rgba(255, 255, 255, 0.92);
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.home-tab-button.is-active {
    background: linear-gradient(180deg, #57dd4c, #35bf30);
    color: #f6fff5;
}

.home-tab-panel {
    display: none;
}

.home-tab-panel.is-active {
    display: block;
}

.home-info-card,
.home-affiliate-tipbox {
    padding: 16px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(78, 209, 63, 0.14);
    background: rgba(78, 209, 63, 0.06);
}

.home-info-card h4,
.home-affiliate-tipbox h4 {
    margin: 0 0 12px;
    font-size: 18px;
}

.home-info-list {
    display: grid;
    gap: 10px;
}

.home-info-item {
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    border-radius: 15px;
    background: rgba(16, 17, 16, 0.32);
}

.home-info-item span {
    color: rgba(255, 255, 255, 0.66);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.home-info-item strong {
    overflow-wrap: anywhere;
}

.home-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.home-stat-card {
    display: grid;
    gap: 6px;
    padding: 14px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.home-stat-card span {
    color: rgba(255, 255, 255, 0.62);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.home-stat-card strong {
    font-size: 18px;
}

.home-inline-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.modal-primary--small,
.modal-secondary--small {
    min-height: 42px;
    border-radius: 12px;
    border: 0;
    cursor: pointer;
    font-size: 12px;
}

.home-modal-alert {
    display: grid;
    gap: 9px;
    margin-bottom: 14px;
    padding: 12px 14px 13px;
    border: 1px solid rgba(255, 132, 132, 0.48);
    border-radius: 16px;
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.2), transparent 34%),
        linear-gradient(180deg, #d94040, #b92a2a);
    color: #fff4f4;
    text-align: center;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        0 12px 22px rgba(138, 21, 21, 0.2);
}

.home-modal-alert strong {
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.02em;
    line-height: 1;
}

.home-modal-alert > span:last-child {
    font-size: 11px;
    font-weight: 800;
    line-height: 1.45;
}

.deposit-countdown {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.deposit-countdown span {
    display: grid;
    place-items: center;
    min-width: 32px;
    height: 32px;
    border-radius: 9px;
    background: #fff;
    color: #111;
    font-size: 16px;
    font-weight: 950;
    line-height: 1;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

.deposit-countdown b {
    color: #fff;
    font-size: 19px;
    font-weight: 950;
    line-height: 1;
}

.home-helper-copy {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
    font-weight: 900;
}

.home-deposit-form {
    gap: 14px;
}

.home-helper-row {
    display: block;
}

.quick-amount-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.quick-amount-button {
    position: relative;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border: 1px solid rgba(78, 209, 63, 0.22);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(70, 114, 49, 0.48), rgba(43, 77, 35, 0.58));
    color: #f3fff2;
    font: inherit;
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.quick-amount-button span {
    position: absolute;
    right: -10px;
    top: -13px;
    min-width: 92px;
    max-width: 118px;
    padding: 5px 8px 6px;
    border-radius: 999px;
    background: linear-gradient(180deg, #b95f13, #8e3906);
    color: #ffdb58;
    font-size: 9px;
    font-weight: 950;
    line-height: 1.05;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-align: center;
    white-space: normal;
    box-shadow: 0 7px 14px rgba(0, 0, 0, 0.22);
}

.register-field--deposit-value {
    margin-top: 12px;
}

.register-field--deposit-value input {
    min-height: 58px;
    padding: 0 18px;
    border-radius: 9px;
    border-color: rgba(67, 209, 61, 0.18);
    background: linear-gradient(180deg, rgba(31, 88, 28, 0.96), rgba(28, 76, 25, 0.94));
    color: #fff;
    font-size: 24px;
    font-weight: 900;
    text-align: center;
    letter-spacing: 0.01em;
}

.quick-amount-button.is-active {
    background: linear-gradient(180deg, #57dd4c, #35bf30);
    box-shadow: 0 10px 18px rgba(67, 209, 61, 0.16);
}

.quick-amount-button:focus-visible,
.register-field--deposit-value input:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.72);
    outline-offset: 3px;
}

.stake-modal-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.stake-modal-card {
    min-height: 104px;
    display: grid;
    align-content: center;
    gap: 6px;
    padding: 14px 12px;
    border: 1px solid rgba(78, 209, 63, 0.18);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(60, 95, 47, 0.42), rgba(41, 72, 34, 0.56));
    color: #fff;
    cursor: pointer;
    font: inherit;
    text-align: center;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.stake-modal-card strong {
    font-size: 18px;
    font-family: "Lilita One Local", Arial, sans-serif;
}

.stake-modal-card span {
    color: #b9f7b0;
    font-size: 12px;
    font-weight: 700;
}

.stake-modal-card__recovery-chip {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    justify-self: center;
    margin-top: 2px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(255, 211, 70, 0.2);
    border: 1px solid rgba(255, 211, 70, 0.34);
    color: #ffe27b;
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.stake-modal-card--low-balance span {
    color: #ffe36c;
}

.stake-modal-card.is-selected,
.stake-modal-card[aria-pressed="true"] {
    border-color: rgba(255, 212, 71, 0.86);
    background: linear-gradient(180deg, #ffd84f, #efb929);
    color: #1a170c;
    box-shadow: 0 14px 28px rgba(255, 212, 71, 0.2);
    transform: translateY(-2px);
}

.stake-modal-card.is-selected span,
.stake-modal-card[aria-pressed="true"] span {
    color: #3d3200;
}

.stake-modal-card.is-selected .stake-modal-card__recovery-chip,
.stake-modal-card[aria-pressed="true"] .stake-modal-card__recovery-chip {
    background: rgba(61, 50, 0, 0.12);
    border-color: rgba(61, 50, 0, 0.18);
    color: #5c4a00;
}

.stake-modal-confirm {
    margin-top: 10px;
    padding: 0;
    border: 0;
    border-radius: 19px;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.stake-modal-confirm__face {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 72px;
    padding: 0 24px;
    border-radius: 19px;
    border: 3px solid #452116;
    background:
        linear-gradient(180deg, rgba(255, 247, 206, 0.44) 0%, rgba(255, 247, 206, 0.08) 18%, rgba(255, 247, 206, 0) 32%),
        linear-gradient(180deg, #ffd957 0%, #ffd24c 42%, #ffc33a 72%, #f3a341 100%);
    box-shadow:
        inset 0 2px 0 rgba(255, 251, 228, 0.55),
        inset 0 -8px 0 rgba(225, 141, 39, 0.7),
        0 4px 0 #5a2b16,
        0 10px 16px rgba(0, 0, 0, 0.22);
    position: relative;
}

.stake-modal-confirm__face::before {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    top: 7px;
    height: 18px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255, 250, 219, 0.46), rgba(255, 250, 219, 0));
    pointer-events: none;
}

.stake-modal-confirm__face::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 18px;
    border-radius: 0 0 16px 16px;
    background: linear-gradient(180deg, rgba(242, 159, 53, 0) 0%, rgba(235, 144, 35, 0.62) 100%);
    pointer-events: none;
}

.stake-modal-confirm__icon {
    display: inline-flex;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    position: relative;
    z-index: 1;
}

.stake-modal-confirm__icon svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.stake-modal-confirm__icon .runner-outline,
.stake-modal-confirm__icon .runner-fill {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.stake-modal-confirm__icon .runner-outline {
    stroke: #352117;
    stroke-width: 9;
}

.stake-modal-confirm__icon .runner-fill {
    stroke: #ffffff;
    stroke-width: 5.2;
}

.stake-modal-confirm__label {
    display: inline-block;
    position: relative;
    z-index: 1;
    font-family: "Titan One Local", "Lilita One Local", Arial, sans-serif;
    font-size: clamp(20px, 4.9vw, 27px);
    line-height: 1;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    white-space: nowrap;
    color: #fffefa;
    text-shadow:
        -1px 0 #352117,
        0 1px #352117,
        1px 0 #352117,
        0 -1px #352117,
        0 2px 0 rgba(74, 39, 18, 0.42);
}

.stake-modal-confirm:disabled {
    cursor: not-allowed;
}

.stake-modal-confirm:disabled .stake-modal-confirm__face {
    border-color: #4f4a39;
    background:
        linear-gradient(180deg, rgba(255, 247, 206, 0.26) 0%, rgba(255, 247, 206, 0.04) 18%, rgba(255, 247, 206, 0) 32%),
        linear-gradient(180deg, #d7c98b 0%, #cfbf80 42%, #bcaa67 72%, #9c8452 100%);
    box-shadow:
        inset 0 2px 0 rgba(255, 251, 228, 0.36),
        inset 0 -8px 0 rgba(136, 108, 52, 0.5),
        0 4px 0 rgba(61, 52, 31, 0.82),
        0 10px 16px rgba(0, 0, 0, 0.16);
}

.stake-modal-confirm:disabled .stake-modal-confirm__icon .runner-outline {
    stroke: #453c2c;
}

.stake-modal-confirm:disabled .stake-modal-confirm__icon .runner-fill {
    stroke: #f5efdc;
}

.stake-modal-confirm:disabled .stake-modal-confirm__label {
    color: #f6f1de;
    text-shadow:
        -1px 0 #453c2c,
        0 1px #453c2c,
        1px 0 #453c2c,
        0 -1px #453c2c,
        0 2px 0 rgba(74, 66, 50, 0.2);
}

.modal-card--low-balance .modal-copy h3 {
    max-width: 310px;
}

.modal-card--low-balance .modal-copy--compact {
    margin-bottom: 8px;
}

.modal-card--withdraw {
    padding-top: 46px;
}

.modal-card--withdraw .modal-copy h3 {
    max-width: calc(100% - 34px);
    font-size: clamp(22px, 5.2vw, 32px);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.modal-card--withdraw .modal-copy h3 .withdraw-title-line {
    display: block;
    white-space: nowrap;
}

.modal-card--withdraw .modal-copy p {
    font-size: clamp(17px, 3.9vw, 21px);
    line-height: 1.46;
}

.modal-card--withdraw .modal-copy p + p {
    margin-top: 10px;
}

.withdraw-highlight-text {
    color: #ffe68f;
    font-weight: 900;
}

.withdraw-rollover-card {
    display: grid;
    gap: 14px;
    margin-top: 6px;
    padding: 18px 16px 16px;
    border-radius: 24px;
    border: 1px solid rgba(86, 172, 255, 0.24);
    background:
        radial-gradient(circle at top, rgba(76, 174, 255, 0.18), transparent 42%),
        linear-gradient(180deg, rgba(10, 54, 111, 0.58), rgba(6, 25, 57, 0.46));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 18px 32px rgba(0, 0, 0, 0.18);
}

.withdraw-rollover-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.withdraw-rollover-badge {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 206, 76, 0.18);
    border: 1px solid rgba(255, 206, 76, 0.22);
    color: #ffe57c;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1.25;
    text-align: center;
    text-transform: uppercase;
}

.withdraw-rollover-topline strong {
    color: #fff7c2;
    font-family: "Lilita One Local", Arial, sans-serif;
    font-size: 26px;
    line-height: 1;
    letter-spacing: -0.02em;
}

.withdraw-rollover-track {
    position: relative;
    height: 18px;
    margin: 4px 2px 0;
    border-radius: 999px;
    border: 2px solid #3d2e06;
    background: linear-gradient(180deg, #ffd54e, #ffca2b 52%, #e9ae17 100%);
    box-shadow:
        inset 0 2px 0 rgba(255, 244, 198, 0.5),
        0 4px 0 rgba(76, 50, 0, 0.48);
}

.withdraw-rollover-fill {
    position: absolute;
    inset: 0 auto 0 0;
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(255, 249, 211, 0.48), rgba(255, 249, 211, 0) 42%),
        linear-gradient(180deg, #ffe277, #ffd13d 52%, #efb120 100%);
}

.withdraw-rollover-step {
    position: absolute;
    top: 50%;
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    border: 2px solid #574400;
    background: linear-gradient(180deg, #8e7440, #735a24);
    color: transparent;
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
    transform: translate(-50%, -50%);
    box-shadow: 0 4px 0 rgba(55, 39, 6, 0.42);
}

.withdraw-rollover-step.is-edge-start {
    transform: translate(0, -50%);
}

.withdraw-rollover-step.is-edge-end {
    transform: translate(-100%, -50%);
}

.withdraw-rollover-step.is-complete {
    border-color: #31790f;
    background: linear-gradient(180deg, #91ee3c, #62cf1e);
    color: #fff;
    box-shadow:
        inset 0 1px 0 rgba(237, 255, 219, 0.42),
        0 4px 0 rgba(29, 85, 8, 0.48);
}

.withdraw-rollover-caption {
    margin: 2px 0 0;
    color: rgba(236, 244, 255, 0.9);
    font-size: 12px;
    line-height: 1.45;
    font-weight: 800;
    text-align: center;
}

.withdraw-rollover-actions {
    margin-top: 16px;
}

.modal-chip--warning {
    background: rgba(255, 212, 71, 0.16);
    color: #ffe36c;
}

.low-balance-minimum-value {
    color: #ffe36c;
    font-weight: 800;
}

.low-balance-summary {
    display: grid;
    gap: 10px;
    margin-top: 14px;
    padding: 15px 16px 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 212, 71, 0.24);
    background:
        radial-gradient(circle at top, rgba(255, 212, 71, 0.14), transparent 54%),
        rgba(255, 255, 255, 0.045);
}

.low-balance-summary__top {
    display: flex;
    align-items: center;
    gap: 10px;
}

.low-balance-summary__top span {
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.low-balance-summary__value-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.low-balance-summary strong {
    color: #fff2a8;
    font-size: 31px;
    font-family: "Lilita One Local", Arial, sans-serif;
    line-height: 1;
}

.low-balance-summary__value-row small {
    display: inline-flex;
    align-items: center;
    min-height: 0;
    padding: 0;
    color: #ffe68f;
    font-size: 11px;
    font-weight: 950;
    line-height: 1.1;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}

.low-balance-quick-grid {
    margin-top: 12px;
}

.register-field--low-balance-value {
    margin-top: 10px;
}

.register-field--low-balance-value input[readonly] {
    cursor: default;
}

.low-balance-helper {
    margin: 1px 2px 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 12px;
    line-height: 1.45;
    font-weight: 700;
    min-height: 34px;
}

.low-balance-helper--empty {
    color: transparent;
    user-select: none;
}

.low-balance-helper--secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-align: center;
    text-transform: uppercase;
}

.low-balance-helper--secure span {
    font-size: 13px;
    line-height: 1;
}

.home-deposit-notice {
    margin: 6px 2px 2px;
    min-height: 0;
}

.stake-modal-card:hover,
.quick-amount-button:hover {
    transform: translateY(-1px);
    border-color: rgba(116, 238, 102, 0.34);
}

.stake-modal-card.is-selected:hover,
.stake-modal-card[aria-pressed="true"]:hover {
    border-color: rgba(255, 212, 71, 0.9);
    transform: translateY(-2px);
}

.stake-modal-confirm:hover:not(:disabled) {
    transform: none;
}

.stake-modal-confirm:hover:not(:disabled) .stake-modal-confirm__face {
    box-shadow:
        inset 0 2px 0 rgba(255, 251, 228, 0.65),
        inset 0 -8px 0 rgba(225, 141, 39, 0.76),
        0 4px 0 #5a2b16,
        0 12px 18px rgba(0, 0, 0, 0.24);
}

.modal-actions--inline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-payment-state {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 34px;
    margin: 0 auto 14px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 214, 0, 0.16);
    color: #ffe36c;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.home-payment-state[data-state="success"] {
    background: rgba(78, 209, 63, 0.16);
    color: #9ef18e;
}

.home-payment-state[data-state="error"] {
    background: rgba(255, 96, 96, 0.12);
    color: #ffb0b0;
}

.home-payment-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.home-payment-meta-item {
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.035);
}

.home-payment-meta-item span {
    color: rgba(255, 255, 255, 0.62);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.home-qr-box {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 212px;
    margin-bottom: 14px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at top, rgba(78, 209, 63, 0.06), transparent 58%),
        rgba(255, 255, 255, 0.035);
    border: 1px dashed rgba(78, 209, 63, 0.22);
}

.home-qr-mount {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.home-qr-mount canvas,
.home-qr-mount img,
.home-qr-mount table {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: 100%;
    max-height: 100%;
    margin: 0;
    object-fit: contain;
}

.home-payment-success {
    display: grid;
    gap: 12px;
    justify-items: center;
    margin-top: 8px;
    padding: 22px 18px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(78, 209, 63, 0.24);
    background:
        radial-gradient(circle at top, rgba(93, 221, 79, 0.12), transparent 56%),
        linear-gradient(180deg, rgba(78, 209, 63, 0.12), rgba(18, 22, 18, 0.22));
    text-align: center;
}

.home-payment-success[hidden] {
    display: none !important;
}

.home-payment-success-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(78, 209, 63, 0.16);
    color: #9ef18e;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.home-payment-success h4 {
    margin: 0;
    font-family: "Lilita One Local", Arial, sans-serif;
    font-size: 28px;
    line-height: 0.98;
}

.home-payment-success p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.5;
}

.home-payment-success strong {
    font-size: 26px;
    color: #fff2a8;
}

.register-field--textarea textarea {
    width: 100%;
    min-height: 110px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    font: inherit;
    font-size: 14px;
    line-height: 1.5;
    resize: none;
}

.register-field--textarea textarea:focus {
    outline: none;
    border-color: rgba(78, 209, 63, 0.5);
    box-shadow: 0 0 0 3px rgba(78, 209, 63, 0.14);
}

.home-affiliate-tipbox ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding-left: 18px;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.5;
}

.home-stat-grid--affiliate {
    margin-top: 14px;
}

.deposit-button:hover,
.account-button:hover,
.header-menu-toggle:hover,
.hero-primary:hover,
.hero-secondary:hover,
.modal-primary:hover,
.modal-secondary:hover,
.demo-modal-cta:hover {
    transform: translateY(-1px);
}

@media (max-width: 380px) {
    .brand {
        width: 82px;
    }

    .top-strip {
        flex-direction: column;
        align-items: stretch;
    }

    .modal-actions--inline {
        grid-template-columns: 1fr;
    }

    .stake-modal-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
        margin-top: 16px;
    }

    .stake-modal-card {
        min-height: 92px;
        padding: 12px 6px;
        border-radius: 16px;
    }

    .stake-modal-card strong {
        font-size: 13px;
        letter-spacing: -0.03em;
        line-height: 0.98;
        white-space: nowrap;
    }

    .stake-modal-card[data-stake-amount="100.00"] strong {
        font-size: 13px;
        letter-spacing: -0.04em;
        transform: scaleX(0.9);
        transform-origin: center;
    }

    .stake-modal-card[data-stake-amount="100.00"] {
        padding-left: 5px;
        padding-right: 5px;
    }

    .stake-modal-card span {
        font-size: 11px;
        line-height: 1.1;
    }

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

    .home-inline-actions .modal-primary--small,
    .home-inline-actions .modal-secondary--small {
        min-height: 40px;
        padding: 0 6px;
        font-size: 10px;
        line-height: 1.08;
    }

    .home-helper-row {
        align-items: stretch;
    }

    .home-helper-balance {
        width: 100%;
        justify-content: center;
    }

    .game-card-action {
        min-height: 76px;
        font-size: 24px;
    }

    .modal-card--demo {
        width: min(100%, 372px);
        max-height: min(700px, calc(100vh - 18px));
        padding: 34px 12px 16px;
    }

    .demo-modal-copy h3 {
        max-width: 252px;
        font-size: 22px;
    }

    .demo-modal-copy p {
        max-width: 248px;
        font-size: 12px;
    }

    .demo-modal-copy strong {
        font-size: clamp(10px, 3.15vw, 13px);
    }

    .demo-modal-cta {
        min-height: 52px;
        width: min(100%, 248px);
        font-size: 21px;
    }

    .modal-card--qr {
        max-height: calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 24px);
        padding: 48px 14px 16px;
    }

    .modal-card--qr .home-qr-box {
        padding: 14px;
    }

    .modal-card--qr .home-qr-box canvas,
    .modal-card--qr .home-qr-box img,
    .modal-card--qr .home-qr-box table {
        width: 100% !important;
    }

    .modal-card--qr .register-field--textarea textarea {
        min-height: 46px;
        max-height: 52px;
        font-size: 12px;
    }

    .header-actions,
    .hero-actions,
    .winner-row {
        grid-template-columns: 1fr;
    }

    .header-actions,
    .hero-actions {
        display: grid;
    }

    .header-actions {
        grid-auto-flow: column;
        justify-content: end;
    }

    .winner-row {
        text-align: left;
    }

    .winner-amount {
        text-align: left;
    }
}

@media (max-width: 420px) {
    .top-strip {
        align-items: center;
        gap: 10px;
    }

    .top-strip p {
        font-size: 11px;
        line-height: 1.16;
    }

    .top-strip a,
    .top-strip button {
        padding: 7px 12px;
        font-size: 11px;
    }

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

    .home-stat-card {
        gap: 5px;
        padding: 12px;
    }

    .home-stat-card span {
        font-size: 11px;
    }

    .home-stat-card strong {
        font-size: 15px;
    }

    .quick-amount-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .quick-amount-button {
        min-height: 44px;
        padding: 0 10px;
        font-size: 13px;
    }

    .quick-amount-button span {
        right: -6px;
        top: -10px;
        min-width: 82px;
        max-width: 102px;
        padding: 4px 7px 5px;
        font-size: 8px;
    }

    .home-payment-meta {
        grid-template-columns: 1fr;
    }

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

    .home-inline-actions .modal-primary--small,
    .home-inline-actions .modal-secondary--small {
        min-height: 40px;
        padding: 0 6px;
        font-size: 10px;
        line-height: 1.08;
    }

    .stake-modal-card[data-stake-amount="100.00"] {
        padding-left: 2px;
        padding-right: 2px;
    }

    .stake-modal-card[data-stake-amount="100.00"] strong {
        display: block;
        width: 100%;
        font-size: 15px;
        letter-spacing: -0.06em;
        line-height: 1;
        white-space: nowrap;
        transform: scaleX(0.92);
        transform-origin: center;
    }
}

/* Cadastro no estilo original: icone e campo dentro da mesma faixa verde. */
.modal-card--register .register-modal-form--original .register-field--original {
    display: flex !important;
    align-items: stretch !important;
    gap: 0 !important;
    min-height: 54px !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 5px !important;
    border: 1px solid rgba(70, 180, 61, 0.25) !important;
    background: #155019 !important;
}

.modal-card--register .register-modal-form--original .register-field-icon {
    flex: 0 0 58px !important;
    display: grid !important;
    place-items: center !important;
    min-height: 54px !important;
    margin: 0 !important;
    border-right: 1px solid rgba(255, 255, 255, 0.12) !important;
    background: rgba(13, 65, 17, 0.55) !important;
    color: #dcefff !important;
    font-size: 17px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.modal-card--register .register-modal-form--original .register-field--original input {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 54px !important;
    margin: 0 !important;
    padding: 0 14px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #fff !important;
    font-size: 19px !important;
    font-weight: 800 !important;
    box-shadow: none !important;
    outline: none !important;
}

.modal-card--register .register-modal-form--original .register-field--original input::placeholder {
    color: rgba(255, 255, 255, 0.96) !important;
    opacity: 1 !important;
}

.modal-card--register .register-modal-form--original .register-field--original input:-webkit-autofill,
.modal-card--register .register-modal-form--original .register-field--original input:-webkit-autofill:hover,
.modal-card--register .register-modal-form--original .register-field--original input:-webkit-autofill:focus {
    -webkit-text-fill-color: #fff !important;
    box-shadow: 0 0 0 1000px #155019 inset !important;
    caret-color: #fff !important;
}

.modal-card--register .register-modal-form--original .register-field-suffix {
    right: 14px !important;
    font-size: 16px !important;
    z-index: 2 !important;
}
