:root {
    --primary: #08c6e7;
    --bg: #171717;
    --bg-card: #2d2d2d;
    --bg-nav: rgba(31, 31, 31, 0.95);
    --text: #f5f5f5;
    --muted: #9ca3af;
    --border: rgba(8, 198, 231, 0.4);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Poppins', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--primary);
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.section-title {
    font-family: 'Lilita One', 'Poppins', sans-serif;
    font-weight: 400;
    letter-spacing: 0.02em;
}

/* Promo bar */
.promo-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem 1rem;
    padding: 0.65rem 1rem;
    background: linear-gradient(90deg, rgba(8, 198, 231, 0.15), rgba(8, 198, 231, 0.05));
    border-bottom: 1px solid var(--border);
    font-size: 0.875rem;
    text-align: center;
}

.promo-text {
    margin: 0;
    flex: 1;
    min-width: 200px;
}

.promo-button {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0.4rem 1rem;
    border-radius: 0.25rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.875rem;
}
.promo-button:hover {
    opacity: 0.9;
}

/* Nav — barra escura + faixa ciano superior (referência layout) */
.site-nav {
    position: relative;
    overflow: visible;
    background: #121212;
    border-top: 2px solid #00d4e8;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 1px 0 rgba(0, 212, 232, 0.12);
}

.site-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 4.25rem;
    padding: 0.65rem 0;
    gap: 1rem;
}

.site-nav .logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}
.site-nav .logo img {
    height: 2.5rem;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: nowrap;
    justify-content: flex-end;
    flex: 1;
    min-width: 0;
}

.nav-links--guest {
    gap: 0.75rem;
    flex-wrap: wrap;
}

.nav-user-cluster {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-left: auto;
}

.nav-balance {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
}

.nav-balance-row {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.nav-balance-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: #9ca3af;
    line-height: 1.2;
}

.nav-balance-icon {
    font-size: 0.8rem;
    line-height: 1;
}

.nav-balance-value {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
    line-height: 1.25;
    margin-top: 0.1rem;
}

/* Menu usuário (e-mail + avatar + dropdown) */
.nav-user-details {
    position: relative;
    margin: 0;
}

.nav-user-details summary {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.35rem 0.25rem;
    border-radius: 0.5rem;
    transition: background 0.15s ease;
}

.nav-user-details summary::-webkit-details-marker {
    display: none;
}

.nav-user-details summary::marker {
    content: '';
}

.nav-user-details summary:hover {
    background: rgba(255, 255, 255, 0.06);
}

.nav-user-email {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #fff;
    max-width: min(200px, 28vw);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-user-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: linear-gradient(145deg, #f87171 0%, #dc2626 100%);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.nav-user-chevron {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.85);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.nav-user-details[open] .nav-user-chevron {
    transform: rotate(180deg);
}

.nav-user-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 0.35rem);
    min-width: 13.5rem;
    padding: 0.5rem 0;
    background: #58c1e4;
    border: none;
    border-radius: 0.85rem;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
    z-index: 2000;
}

.nav-dropdown-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    transition: background 0.12s ease;
}
.nav-dropdown-link:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    text-decoration: none;
}

.nav-dropdown-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    flex-shrink: 0;
    font-size: 1rem;
    line-height: 1;
}

.nav-dropdown-icon--svg {
    color: rgba(255, 255, 255, 0.92);
}

.nav-dropdown-link--logout {
    margin-top: 0.35rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
}
.nav-dropdown-link--logout:hover {
    background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 900px) {
    .nav-user-cluster {
        gap: 0.75rem;
    }
    .nav-user-email {
        max-width: 120px;
    }
}

@media (max-width: 640px) {
    .site-nav-inner {
        flex-wrap: wrap;
        min-height: 0;
    }
    .nav-user-cluster {
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 0.65rem 0.75rem;
        width: 100%;
    }
    .nav-balance-value {
        font-size: 0.9375rem;
    }
    .nav-user-email {
        max-width: min(120px, 32vw);
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    font-weight: 600;
    font-size: 0.875rem;
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    transition: opacity 0.15s;
}
.btn:hover {
    opacity: 0.9;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-sm {
    padding: 0.35rem 0.75rem;
    font-size: 0.8125rem;
}

/* Footer */
.site-footer {
    margin-top: auto;
    padding: 2rem 0;
    background: rgb(31, 31, 31);
    color: #d1d5db;
    font-size: 0.875rem;
}

.site-footer .copy {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #6b7280;
    font-size: 0.8125rem;
}

/* Forms */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.input-row {
    display: flex;
    align-items: stretch;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.25rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
}

.input-row .prefix {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1rem;
}

.input-row input {
    flex: 1;
    border: none;
    background: transparent;
    color: var(--text);
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    outline: none;
}

.input-row input::placeholder {
    color: #6b7280;
}

.form-error {
    color: #f87171;
    font-size: 0.8125rem;
    margin-top: 0.25rem;
}

.alert {
    padding: 0.75rem 1rem;
    border-radius: 0.25rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.alert-success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #86efac;
}

.alert-error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
}

/* Page shell */
.page-wrap {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main.page-main {
    flex: 1;
}

/* Home: banner */
.banner-wrap {
    --banner-slides: 3;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    aspect-ratio: 2 / 1;
    border-radius: 0.375rem;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.banner-track {
    display: flex;
    height: 100%;
    width: calc(var(--banner-slides) * 100%);
    transition: transform 0.5s ease;
}

.banner-track img {
    width: calc(100% / var(--banner-slides));
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
    pointer-events: none;
    user-select: none;
}

.banner-dots {
    position: absolute;
    bottom: 0.75rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 2;
}

.banner-dots button {
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    padding: 0;
}
.banner-dots button.active {
    width: 1.25rem;
    background: var(--primary);
}

/* Games grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}
@media (min-width: 1024px) {
    .games-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
}

.game-card {
    position: relative;
    aspect-ratio: 1;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(8, 198, 231, 0.4);
    cursor: pointer;
    transition: box-shadow 0.2s;
}
.game-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}
.game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.game-card:hover img {
    transform: scale(1.08);
}

.game-soon {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Lilita One', sans-serif;
    font-size: clamp(1.25rem, 4vw, 1.75rem);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.game-actions {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    transition: opacity 0.2s;
}
.game-card:hover .game-actions,
.game-card:focus-within .game-actions {
    opacity: 1;
}

.btn-game {
    width: 90%;
    padding: 0.5rem 1rem;
    font-family: 'Lilita One', sans-serif;
    text-transform: uppercase;
    font-size: 1rem;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
}
.btn-game-primary {
    background: var(--primary);
    color: #fff;
}
.btn-game-ghost {
    background: rgba(8, 198, 231, 0.3);
    color: #fff;
}

/* Winners */
.winners-wrap {
    position: relative;
    height: 18rem;
    overflow: hidden;
}

.winners-fade-top,
.winners-fade-bottom {
    position: absolute;
    left: 0;
    right: 0;
    height: 4rem;
    z-index: 1;
    pointer-events: none;
}
.winners-fade-top {
    top: 0;
    background: linear-gradient(to bottom, var(--bg), transparent);
}
.winners-fade-bottom {
    bottom: 0;
    background: linear-gradient(to top, var(--bg), transparent);
}

.winners-scroll {
    animation: scroll-up 40s linear infinite;
}
@keyframes scroll-up {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

.winner-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    margin-bottom: 0.5rem;
    border-radius: 0.5rem;
    background: var(--bg-card);
}

.winner-amount {
    color: #4ade80;
    font-weight: 700;
    font-size: 0.875rem;
    white-space: nowrap;
}

/* FAQ */
.faq-item {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    background: var(--bg-card);
    overflow: hidden;
}

.faq-q {
    width: 100%;
    padding: 0.875rem 1rem;
    text-align: left;
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-family: inherit;
}

.faq-a {
    padding: 0 1rem 1rem;
    color: #d1d5db;
    font-size: 0.875rem;
    line-height: 1.5;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
}
.faq-item.open .faq-a {
    display: block;
    padding-top: 0.75rem;
}

/* Dashboard */
.dash-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
}
@media (max-width: 768px) {
    .dash-layout {
        grid-template-columns: 1fr;
    }
}

.dash-nav {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    padding: 1rem;
    height: fit-content;
}

.dash-nav a {
    display: block;
    padding: 0.5rem 0.75rem;
    border-radius: 0.25rem;
    color: var(--text);
    text-decoration: none;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}
.dash-nav a:hover,
.dash-nav a.active {
    background: rgba(8, 198, 231, 0.15);
    color: var(--primary);
}

.dash-panel {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    padding: 1.5rem;
}

table.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}
.data-table th,
.data-table td {
    padding: 0.65rem 0.75rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.data-table th {
    color: var(--muted);
    font-weight: 500;
}

.card-auth {
    max-width: 420px;
    margin: 2rem auto;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
}

@media (max-width: 640px) {
    .hidden-mobile {
        display: none !important;
    }
}

/* Modais login / cadastro */
body.modal-open {
    overflow: hidden;
}

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal-overlay.is-open {
    display: flex;
}

.modal-dialog {
    position: relative;
    width: 100%;
    max-width: 420px;
    max-height: 90vh;
    overflow-y: auto;
    margin: 0;
    padding: 2rem;
    animation: modalIn 0.22s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(8px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-dialog.card-auth {
    margin: 0 auto;
}

.modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 2.25rem;
    height: 2.25rem;
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    font-size: 1.5rem;
    line-height: 1;
    border-radius: 0.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.14);
}

.modal-logo {
    height: 3.5rem;
    width: auto;
    margin-bottom: 0.75rem;
}

.modal-title {
    margin: 0;
    font-size: 1.5rem;
    color: #fff;
}

.modal-sub {
    color: #9ca3af;
    font-size: 0.875rem;
    margin: 0.5rem 0 0;
}

.modal-switch {
    text-align: center;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
    color: #9ca3af;
}

.link-like {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: var(--primary);
    cursor: pointer;
    text-decoration: underline;
}

.link-like:hover {
    opacity: 0.9;
}

.modal-hint {
    text-align: center;
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 1rem;
}

/* Depósito — modal (layout igual referência PIX) */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.modal-deposit-overlay {
    z-index: 10020;
}

.modal-deposit-overlay .modal-deposit-dialog {
    font-family: 'Montserrat', 'Poppins', system-ui, sans-serif;
    max-width: 400px;
    padding: 1.75rem 1.5rem 1.5rem;
    background: #0f0f0f;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.55);
}

.modal-deposit-overlay .modal-deposit-close {
    top: 0.65rem;
    right: 0.65rem;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 8px;
}

.deposit-page-card.modal-deposit-dialog {
    font-family: 'Montserrat', 'Poppins', system-ui, sans-serif;
    max-width: 400px;
    margin: 0 auto;
    padding: 1.75rem 1.5rem 1.5rem;
    background: #0f0f0f;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.deposit-modal-form {
    margin: 0;
}

.deposit-card-inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.deposit-bonus-box {
    background: linear-gradient(165deg, #821b1b 0%, #5d1414 45%, #4d1010 100%);
    border-radius: 10px;
    padding: 1rem 1rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.deposit-countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-bottom: 0.85rem;
}

.deposit-countdown__seg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    padding: 0.4rem 0.5rem;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.deposit-countdown__num {
    font-family: 'Montserrat', monospace;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.02em;
    color: #fff;
}

.deposit-countdown__sep {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 700;
    font-size: 1.1rem;
}

.deposit-bonus-text {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.95);
    text-align: center;
}

.deposit-bonus-highlight {
    color: #f6c444;
    font-weight: 700;
}

.deposit-pix-head {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.15rem;
}

.deposit-pix-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.deposit-pix-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: #fff;
}

.deposit-preset-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
}

.deposit-preset-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3.25rem;
    padding: 0.65rem 0.5rem;
    background: #262626;
    border: 1px solid #3f3f3f;
    border-radius: 10px;
    color: #fff;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.deposit-preset-btn:hover {
    border-color: #555;
    background: #2c2c2c;
}

.deposit-preset-btn.is-selected {
    border: 2px solid #5dc6e8;
    box-shadow: 0 0 0 1px rgba(93, 198, 232, 0.35);
    background: #1f2a2e;
}

.deposit-preset-badge {
    position: absolute;
    top: -0.45rem;
    left: 50%;
    transform: translateX(-50%);
    background: #f6c444;
    color: #1a1200;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    line-height: 1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

.deposit-preset-label {
    pointer-events: none;
}

.deposit-field-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.45rem;
}

.deposit-input-wrap {
    display: flex;
    align-items: center;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 10px;
    overflow: hidden;
}

.deposit-input-prefix {
    padding: 0.75rem 0;
    padding-left: 0.75rem;
    color: #6b7280;
    font-weight: 600;
    font-size: 0.95rem;
}

.deposit-input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.75rem 0.75rem 0.75rem 0.35rem;
    outline: none;
}

.deposit-input-hint {
    margin: 0.45rem 0 0;
    font-size: 0.75rem;
    color: #6b7280;
}

.deposit-submit-btn {
    width: 100%;
    margin-top: 0.25rem;
    padding: 0.95rem 1rem;
    border: none;
    border-radius: 10px;
    background: #5dc6e8;
    color: #fff;
    font-family: inherit;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.1s ease;
}

.deposit-submit-btn:hover {
    background: #4db8dc;
}

.deposit-submit-btn:active {
    transform: scale(0.99);
}

@media (max-width: 640px) {
    .modal-deposit-overlay .modal-deposit-dialog {
        margin: 0.5rem;
        padding: 1.5rem 1.15rem 1.25rem;
    }
}

/* Painel de afiliado */
.affiliate-page {
    background: #121212;
    min-height: calc(100vh - 8rem);
    padding: 1.5rem 0 3rem;
}

.affiliate-page-inner {
    max-width: 32rem;
}

.aff-hero-card {
    background: #1e1e1e;
    border-radius: 12px;
    padding: 2rem 1.5rem 1.75rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 1rem;
}

.aff-hero-icon {
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto 1rem;
    background: rgba(8, 198, 231, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #08c6e7;
}

.aff-hero-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
}

.aff-hero-sub {
    margin: 0.65rem 0 0;
    font-size: 0.9rem;
    color: #9ca3af;
    line-height: 1.45;
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
}

.aff-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

@media (max-width: 480px) {
    .aff-stats-grid {
        grid-template-columns: 1fr;
    }
}

.aff-stat-card {
    background: #1e1e1e;
    border-radius: 12px;
    padding: 1.1rem 1rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.aff-stat-head {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.65rem;
}

.aff-stat-ico {
    display: flex;
    color: #08c6e7;
}

.aff-stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.aff-stat-value {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
}

.aff-stat-value--money {
    color: #08c6e7;
    font-size: 1.35rem;
}

.aff-link-card {
    background: #1e1e1e;
    border-radius: 12px;
    padding: 1.35rem 1.25rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 1rem;
}

.aff-link-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
}

.aff-link-sub {
    margin: 0.35rem 0 1rem;
    font-size: 0.875rem;
    color: #9ca3af;
}

.aff-link-row {
    display: flex;
    align-items: stretch;
    border-radius: 10px;
    overflow: hidden;
    background: #0f0f0f;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.aff-link-input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    color: #e5e7eb;
    font-size: 0.75rem;
    padding: 0.75rem 0.85rem;
    font-family: ui-monospace, monospace;
    outline: none;
}

.aff-copy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin: 0;
    padding: 0 1rem;
    border: none;
    background: #08c6e7;
    color: #fff;
    font-weight: 700;
    font-size: 0.8125rem;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    transition: filter 0.15s ease;
}

.aff-copy-btn:hover {
    filter: brightness(1.08);
}

.aff-copy-btn svg {
    flex-shrink: 0;
    opacity: 0.95;
}

.aff-code-line {
    margin: 1rem 0 0;
    font-size: 0.8125rem;
    color: #9ca3af;
}

.aff-code-line strong {
    color: #fff;
    font-weight: 700;
}

.aff-recent-card {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: #1e1e1e;
}

.aff-recent-head {
    background: linear-gradient(90deg, #06b6d4 0%, #0891b2 100%);
    padding: 1rem 1.25rem 1.1rem;
}

.aff-recent-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
}

.aff-recent-sub {
    margin: 0.25rem 0 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.88);
}

.aff-recent-body {
    min-height: 10rem;
    padding: 1rem 1.25rem 1.25rem;
    background: #1a1a1a;
}

.aff-recent-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 0 3rem;
    text-align: center;
}

.aff-empty-ico {
    color: #9ca3af;
    margin-bottom: 0.75rem;
}

.aff-recent-empty p {
    margin: 0;
    font-size: 0.9rem;
    color: #9ca3af;
}

.aff-empty-hint {
    margin-top: 0.35rem !important;
    font-size: 0.8rem !important;
    opacity: 0.85;
}

.aff-recent-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.aff-recent-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.875rem;
}

.aff-recent-item:last-child {
    border-bottom: none;
}

.aff-recent-name {
    color: #f3f4f6;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.aff-recent-meta {
    color: #6b7280;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* Minha conta */
.account-page {
    background: #0a0a0a;
    min-height: calc(100vh - 6rem);
    padding: 1.25rem 0 3rem;
}

.account-page-inner {
    max-width: 28rem;
}

.account-back {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.875rem;
    color: #9ca3af;
    text-decoration: none;
    margin-bottom: 1.25rem;
    transition: color 0.15s ease;
}

.account-back:hover {
    color: #08c6e7;
    text-decoration: none;
}

.account-profile-card {
    background: #1a1a1a;
    border: 1px solid #08c6e7;
    border-radius: 16px;
    padding: 2rem 1.5rem 1.75rem;
    text-align: center;
    margin-bottom: 1.25rem;
}

.account-avatar--large {
    width: 5.5rem;
    height: 5.5rem;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(145deg, #f472b6 0%, #db2777 35%, #7c3aed 100%);
    border: 3px solid rgba(8, 198, 231, 0.35);
    box-shadow: 0 0 0 2px rgba(8, 198, 231, 0.15);
}

.account-display-name {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.account-display-email {
    margin: 0.35rem 0 0;
    font-size: 0.9rem;
    color: #9ca3af;
}

.account-member-since {
    margin: 1rem 0 0;
    font-size: 0.8rem;
    color: #6b7280;
}

.account-tabs {
    display: flex;
    gap: 0.35rem;
    margin-bottom: 1rem;
    padding: 0.2rem;
    background: #141414;
    border-radius: 12px;
    border: 1px solid rgba(8, 198, 231, 0.2);
}

.account-tab {
    flex: 1;
    padding: 0.55rem 0.5rem;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: #9ca3af;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.account-tab:hover {
    color: #e5e7eb;
}

.account-tab.is-active {
    background: #08c6e7;
    color: #fff;
}

.account-panel:not(.is-active) {
    display: none;
}

.account-panel.is-active {
    display: block;
}

.account-info-card {
    background: #1a1a1a;
    border: 1px solid #08c6e7;
    border-radius: 16px;
    padding: 1.35rem 1.25rem 1.5rem;
}

.account-info-title {
    margin: 0 0 1.25rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
}

.account-dl {
    margin: 0;
}

.account-dl-row {
    margin-bottom: 1.1rem;
}

.account-dl-row:last-child {
    margin-bottom: 0;
}

.account-dl-row dt {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.25rem;
}

.account-dl-row dd {
    margin: 0;
    font-size: 0.95rem;
    color: #f3f4f6;
    font-weight: 500;
}

.account-muted {
    color: #9ca3af !important;
}

.account-wallet-balance {
    margin: 0 0 1.25rem;
    font-size: 1rem;
    color: #d1d5db;
}

.account-wallet-balance strong {
    color: #08c6e7;
    font-size: 1.15rem;
}

.account-wallet-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.account-tx-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.account-tx-item {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 0.15rem 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.875rem;
}

.account-tx-item:last-child {
    border-bottom: none;
}

.account-tx-type {
    color: #e5e7eb;
    font-weight: 600;
}

.account-tx-amt {
    color: #08c6e7;
    font-weight: 700;
    text-align: right;
}

.account-tx-meta {
    grid-column: 1 / -1;
    font-size: 0.75rem;
    color: #6b7280;
}

/* game-test — landing + jogo */
.page-game-test .page-wrap {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-game-test .page-main--game-test {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0;
    min-height: 0;
}

.promo-bar--game-test {
    background: linear-gradient(90deg, #22d3ee 0%, #06b6d4 50%, #0891b2 100%);
    border-bottom: none;
    padding: 0.75rem 1rem;
}

.promo-bar--game-test .promo-text {
    color: #fff;
    font-weight: 500;
}

.promo-bar--game-test .promo-button {
    background: #fff;
    color: #0891b2;
    font-weight: 700;
}

.promo-bar--game-test .promo-button:hover {
    opacity: 1;
    background: #f0fdfa;
}

.game-test-shell {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.game-test-hero {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem 3rem;
    min-height: min(78vh, 52rem);
    overflow: hidden;
}

.game-test-bg {
    position: absolute;
    inset: -1rem;
    background: #0a0a0a center/cover no-repeat;
    filter: blur(10px) saturate(1.1);
    transform: scale(1.06);
}

.game-test-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(10, 10, 10, 0.82) 70%, #0a0a0a 100%);
}

.game-test-card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 30rem;
    margin: 0 auto;
    background: rgba(30, 30, 30, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem 1.5rem 2.25rem;
    text-align: center;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

.game-test-title {
    margin: 0;
    font-size: clamp(1.15rem, 4vw, 1.35rem);
    font-weight: 800;
    line-height: 1.3;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.game-test-safe {
    margin: 1rem 0 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #22d3ee;
    line-height: 1.35;
}

.game-test-lead {
    margin: 1.1rem 0 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: #d1d5db;
}

.game-test-lead strong {
    color: #fff;
    font-weight: 700;
}

.game-test-hint {
    margin: 1.25rem 0 0;
    font-size: 0.8rem;
    color: #9ca3af;
}

.game-test-cta {
    margin-top: 1.35rem;
    width: 100%;
    max-width: 20rem;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 10px;
    background: linear-gradient(180deg, #f87171 0%, #ef4444 45%, #dc2626 100%);
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.35);
    transition: filter 0.15s ease, transform 0.1s ease;
}

.game-test-cta:hover {
    filter: brightness(1.06);
}

.game-test-cta:active {
    transform: scale(0.99);
}

.game-test-iframe-wrap {
    flex: 1;
    min-height: 0;
    background: #050508;
    padding: 0;
}

.game-test-iframe {
    display: block;
    width: 100%;
    height: min(88vh, 900px);
    min-height: 560px;
    border: none;
    background: #0a0a1a;
}

body.game-test-playing .promo-bar {
    display: none;
}

body.game-test-playing .site-footer {
    display: none;
}

body.game-test-playing .page-main--game-test {
    padding-bottom: 0;
}

.game-test-shell.is-playing .game-test-iframe-wrap {
    flex: 1;
}

@media (max-width: 640px) {
    .game-test-card {
        padding: 1.5rem 1.15rem 1.75rem;
    }
    .game-test-iframe {
        min-height: 70vh;
        height: 80vh;
    }
}
