* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: 0;
}
body {
    font-family: 'Inter', sans-serif;
    background: var(--cor-fundo, #0D131C);
    color: var(--cor-texto, #fff);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a, a:hover { text-decoration: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.15); }

/* ===== PAGE LAYOUT ===== */
.page { position: relative; }
.page__content {
    margin-left: 0;
    max-width: 100%;
    padding: 24px 0 0;
    animation: fadeInPage 0.4s ease-out;
}
.container-fluid {
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}
@keyframes fadeInPage {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 600px) {
    .page__content { padding: 24px 0 0; }
    .hidden-mobile { display: none !important; }
}

/* ===== SIDEBAR OVERLAY ===== */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.sidebar-overlay.active {
    display: block;
    opacity: 1;
}

/* ===== SIDEBAR ===== */
.page__navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    height: 100vh;
    background: #12141a;
    border-right: 1px solid var(--cor-borda, rgba(255,255,255,0.06));
    z-index: 1001;
    overflow-y: auto;
    padding-bottom: 20px;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.page__navbar.open { transform: translateX(0); }

.sidebar-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--cor-borda, rgba(255,255,255,0.06));
    margin-bottom: 8px;
    background: transparent;
}
.sidebar-logo {
    display: block;
    background: transparent;
}
.sidebar-logo,
.sidebar-logo img,
.page__navbar__logo,
.page__navbar__logo img,
.footer img[src*="storage"],
.auth-form img {
    background: transparent !important;
}

.sidebar-menu { padding: 0 12px; display: flex; flex-direction: column; gap: 2px; }

.sidebar-menu li a,
.sidebar-menu li .sub-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(255,255,255,0.6);
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}
.sidebar-menu li a:hover,
.sidebar-menu li .sub-toggle:hover {
    background: rgba(255,255,255,0.06);
    color: #fff;
}
.sidebar-menu li a.active {
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-weight: 600;
}
.sidebar-menu li a img { flex-shrink: 0; }
.sidebar-menu li a span { flex: 1; }

.btn-accent {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, var(--cor-principal, #e63946), color-mix(in srgb, var(--cor-principal, #e63946) 60%, #000)) !important;
    border: none !important;
    color: #fff !important;
    font-weight: 700 !important;
    padding: 12px 16px !important;
    border-radius: 12px !important;
    margin: 8px 0 4px;
    font-size: 0.85rem !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}
.btn-accent:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 20px color-mix(in srgb, var(--cor-principal, #e63946) 30%, transparent) !important;
}

.has-sub { margin-top: 4px; }
.sub-toggle { justify-content: space-between !important; }
.sub-toggle .sub-toggle-left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.sub-arrow { font-size: 0.7rem; transition: transform 0.3s ease; }
.sub-toggle.expanded .sub-arrow { transform: rotate(180deg); }
.sub-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 0 0 36px;
}
.sub-list.show {
    max-height: 300px;
    padding: 4px 0 4px 36px;
}
.sub-list li a {
    padding: 8px 12px;
    font-size: 0.82rem;
    border-radius: 8px;
}

@media (min-width: 961px) {
    .sidebar-overlay.active {
        background: rgba(0,0,0,0.15);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .page__navbar { width: 235px; }
}
@media (max-width: 960px) {
    .page__navbar { width: 280px; }
}

/* ===== TOP NAVBAR ===== */
.page__content__navbar {
    padding: 10px 0;
    border-bottom: 1px solid var(--cor-borda, rgba(255,255,255,0.06));
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
}
.page__content__navbar.navbar-scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,0.4);
    background: rgba(13,19,28,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.page__content__navbar__esq { display: flex; align-items: center; gap: 8px; }
.page__content__navbar__dir { display: flex; align-items: center; gap: 10px; }

.navbar-toggle-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
}
.navbar-toggle-btn:hover { background: rgba(255,255,255,0.1); }
.hamburger-line {
    display: block;
    width: 16px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}
.navbar-toggle-btn.active .hamburger-line:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.navbar-toggle-btn.active .hamburger-line:nth-child(2) { opacity: 0; }
.navbar-toggle-btn.active .hamburger-line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Balance */
.balance-display {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-decoration: none;
    transition: opacity 0.2s ease;
}
.balance-display:hover { opacity: 0.7; }
.balance-label {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}
.balance-value {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
}
.balance-value i { color: var(--cor-principal, #e63946); font-size: 0.75rem; }

/* Notification bell */
.notification-bell {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.6);
    transition: all 0.2s ease;
    position: relative;
}
.notification-bell:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
}
.notification-bell::after {
    content: '';
    position: absolute;
    top: 6px;
    right: 6px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--cor-principal, #e63946);
}

/* Deposit button */
.deposit-btn {
    display: flex;
    align-items: center;
    padding: 8px 18px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--cor-principal, #e63946), color-mix(in srgb, var(--cor-principal, #e63946) 60%, #000));
    color: #fff !important;
    font-weight: 600;
    font-size: 0.85rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.deposit-btn:hover {
    transform: scale(1.04);
    box-shadow: 0 4px 20px color-mix(in srgb, var(--cor-principal, #e63946) 30%, transparent);
}

/* Login / Register button */
.login-btn {
    padding: 8px 20px;
    border-radius: 20px;
    background: rgba(255,255,255,0.06);
    color: #fff !important;
    font-weight: 600;
    font-size: 0.85rem;
    transition: background 0.2s ease;
}
.login-btn:hover { background: rgba(255,255,255,0.12); }

/* User avatar dropdown */
.user-avatar {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: none;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    transition: all 0.2s ease;
}
.user-avatar:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}
.user-dropdown .dropdown-menu {
    display: block;
    opacity: 0;
    transform: translateY(-8px) scale(0.95);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
    background: #1a1d24;
    border: 1px solid var(--cor-borda, rgba(255,255,255,0.06));
    border-radius: 12px;
    padding: 6px;
    margin-top: 8px !important;
    min-width: 200px;
}
.user-dropdown .dropdown-menu.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}
.user-dropdown .dropdown-item {
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.15s ease;
}
.user-dropdown .dropdown-item:hover {
    background: rgba(255,255,255,0.06);
    color: #fff;
}
.user-dropdown .dropdown-item i { width: 16px; text-align: center; font-size: 0.9rem; }
.user-dropdown .dropdown-divider { border-color: var(--cor-borda, rgba(255,255,255,0.06)); margin: 4px 0; }

/* Social icons */
.social-icon {
    display: inline-flex;
    transition: transform 0.25s ease, filter 0.25s ease;
    opacity: 0.6;
}
.social-icon:hover {
    transform: translateY(-2px);
    opacity: 1;
    filter: brightness(1.2);
}

@media (max-width: 600px) {
    .balance-label { display: none; }
    .hidden-mobile { display: none; }
}
.hidden-mobile { display: inline; }

/* ===== FORM STYLES ===== */
.form-control, .form-select {
    background: rgba(255,255,255,0.04) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    color: #fff !important;
    padding: 0.7rem 0.85rem;
    border-radius: 10px;
    font-size: 0.88rem;
}
.form-control:focus, .form-select:focus {
    border-color: var(--cor-principal, #e63946) !important;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--cor-principal, #e63946) 15%, transparent) !important;
}
.form-control::placeholder { color: rgba(255,255,255,0.25); }
.input-group-text {
    background: rgba(255,255,255,0.04) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    color: rgba(255,255,255,0.4);
    border-radius: 10px !important;
    padding: 0.7rem 0.85rem;
}
.input-group > :first-child { border-right: 0 !important; border-top-right-radius: 0 !important; border-bottom-right-radius: 0 !important; }
.input-group > :last-child { border-left: 0 !important; border-top-left-radius: 0 !important; border-bottom-left-radius: 0 !important; }
.input-group > :not(:first-child):not(:last-child) { border-radius: 0 !important; }

/* ===== BUTTONS ===== */
.btn-primary-theme {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--cor-principal, #e63946), color-mix(in srgb, var(--cor-principal, #e63946) 60%, #000));
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
}
.btn-primary-theme:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 25px color-mix(in srgb, var(--cor-principal, #e63946) 30%, transparent);
}
.btn-primary-theme:active {
    transform: scale(0.98);
}

.btn-gradient {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px; border: none; border-radius: 10px;
    font-weight: 600; font-size: 14px;
    cursor: pointer; text-decoration: none;
    transition: all 0.3s ease;
}
.btn-gradient:hover { transform: translateY(-2px); }
.btn-gradient:active { transform: translateY(0); }
.btn-gradient.primary {
    background: linear-gradient(135deg, var(--cor-principal, #e63946), color-mix(in srgb, var(--cor-principal, #e63946) 60%, #000));
    color: #fff;
    box-shadow: 0 4px 16px color-mix(in srgb, var(--cor-principal, #e63946) 30%, transparent);
}
.btn-gradient.primary:hover { box-shadow: 0 6px 24px color-mix(in srgb, var(--cor-principal, #e63946) 45%, transparent); }
.btn-gradient.outline {
    background: transparent; color: rgba(255,255,255,0.6);
    border: 1px solid rgba(255,255,255,0.12);
}
.btn-gradient.outline:hover { background: rgba(255,255,255,0.04); color: #fff; border-color: rgba(255,255,255,0.25); }
.btn-gradient.danger {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #fff; box-shadow: 0 4px 16px rgba(231,76,60,0.3);
}
.btn-gradient.danger:hover { box-shadow: 0 6px 24px rgba(231,76,60,0.45); }

.pulse-btn { position: relative; overflow: hidden; }
.pulse-btn::after {
    content: ''; position: absolute; top: 50%; left: 50%;
    width: 0; height: 0; border-radius: 50%;
    background: rgba(255,255,255,0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}
.pulse-btn:active::after { width: 300px; height: 300px; }

/* ===== AUTH MODALS ===== */
.auth-form { padding: 32px; }
.auth-form .divider-text {
    display: flex;
    align-items: center;
    gap: 12px;
}
.auth-form .divider-line {
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,0.06);
}
.auth-form .divider-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.3);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px 20px;
    border-radius: 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
}
.google-btn:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
}

.password-toggle {
    cursor: pointer !important;
    transition: color 0.2s ease;
}
.password-toggle:hover { color: rgba(255,255,255,0.7); }

/* iziModal customization */
.iziModal { border-radius: 16px !important; overflow: hidden; }
.iziModal .iziModal-header { display: none !important; }
.iziModal .iziModal-body { padding: 0 !important; }
.iziModal .modal-content {
    background: #1a1d24 !important;
    border: 1px solid rgba(255,255,255,0.06) !important;
    border-radius: 16px !important;
}

/* ===== CARD COMPONENT ===== */
.card {
    --bs-card-bg: var(--cor-secundaria, #1a1a2e);
    --bs-card-border-color: var(--cor-borda, rgba(255,255,255,0.1));
    background-color: var(--cor-secundaria, #1a1a2e);
    border: 1px solid var(--cor-borda, rgba(255,255,255,0.08));
    border-radius: 14px;
}
.card-header {
    background: rgba(0,0,0,0.2);
    border-bottom: 1px solid var(--cor-borda, rgba(255,255,255,0.06));
    padding: 16px 20px;
}

/* ===== GAME CARDS ===== */
.game-card-link { display: block; text-decoration: none; color: inherit; }
.game-card-img-wrapper {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 3/4;
    background: var(--cor-secundaria, #1a1a2e);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease;
}
.game-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.game-card-img-wrapper:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.game-card-img-wrapper:hover .game-card-img { transform: scale(1.08); }
.game-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.35s ease;
}
.game-card-img-wrapper:hover .game-card-overlay { opacity: 1; }
.game-card-play-btn {
    background: var(--cor-principal, #e63946);
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transform: translateY(10px);
    transition: transform 0.3s ease;
}
.game-card-img-wrapper:hover .game-card-play-btn { transform: translateY(0); }
.game-card-info { padding: 10px 4px 0; }
.game-card-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--cor-texto, #fff);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== SWIPER ===== */
.gamesSwiper { padding: 10px 0 20px; }
.gamesSwiper .swiper-button-next,
.gamesSwiper .swiper-button-prev {
    color: #fff;
    background: rgba(255,255,255,0.08);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    backdrop-filter: blur(4px);
    transition: background 0.3s ease;
}
.gamesSwiper .swiper-button-next:hover,
.gamesSwiper .swiper-button-prev:hover { background: rgba(255,255,255,0.15); }
.gamesSwiper .swiper-button-next::after,
.gamesSwiper .swiper-button-prev::after { font-size: 13px; font-weight: 700; }

/* ===== SPLIDE ===== */
.splide { margin-top: 30px; }
.splide__slide img {
    width: 100%;
    border-radius: 15px;
    transition: transform 0.5s ease;
}
.splide__slide:hover img { transform: scale(1.03); }
.splide-banner {
    width: 100%;
    height: 2.5rem;
    position: absolute;
    background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(9,9,121,0) 66%, transparent 100%);
    z-index: 9;
    border-radius: 15px 15px 0 0;
    color: #0a0a0a;
    font-weight: 700;
    display: flex;
    align-items: center;
    padding-left: 20px;
    font-size: 0.85rem;
}

/* ===== GAME BANNERS ===== */
.game-banner-link {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}
.game-banner-link:hover { transform: scale(1.04); }
.game-banner-img { transition: transform 0.4s ease; }

/* ===== FOOTER ===== */
.footer {
    margin-top: 5rem;
    border-top: 1px solid var(--cor-borda, rgba(255,255,255,0.06));
    background-color: var(--cor-rodape, #1a1a2e);
    padding: 2.5rem 24px;
}
.footer .footer-inner { max-width: 100%; margin: 0 auto; }
@media (max-width: 600px) {
    .footer { padding: 2rem 12px; }
}

/* ===== LOADING SPINNER ===== */
.loading-spinner {
    display: none;
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 99;
    border-radius: 16px;
}
.spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 3px solid color-mix(in srgb, var(--cor-principal, #e63946) 15%, transparent);
    border-top-color: var(--cor-principal, #e63946);
    border-radius: 50%;
    animation: rotation 0.6s infinite linear;
}
@keyframes rotation {
    from { transform: rotate(0deg); }
    to { transform: rotate(359deg); }
}

/* ===== PLAYGAME (iframe) ===== */
.playgame {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
}
.playgame .playgame-body { width: 100%; height: 100%; }
.game-full { width: 100%; height: 100%; border: none; }

/* ===== DEPOSIT / WITHDRAW COMPONENTS ===== */
.amount-quick-select {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}
.amount-btn {
    padding: 8px 18px; border: 1px solid rgba(255,255,255,0.12); border-radius: 8px;
    background: rgba(255,255,255,0.04); color: #ccc; font-size: 14px; font-weight: 600;
    cursor: pointer; transition: all 0.25s ease;
}
.amount-btn:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.25); color: #fff; transform: translateY(-2px); }
.amount-btn.active {
    background: linear-gradient(135deg, var(--cor-principal, #e63946), color-mix(in srgb, var(--cor-principal, #e63946) 60%, #000));
    border-color: transparent; color: #fff;
    box-shadow: 0 4px 15px color-mix(in srgb, var(--cor-principal, #e63946) 40%, transparent);
}
.amount-btn:active { transform: scale(0.95); }

.input-group-custom .input-group-text {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: #aaa;
    font-weight: 600;
}
.input-group-custom .form-control,
.input-group-custom .form-select {
    background: rgba(255,255,255,0.04) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    color: #fff !important;
    height: 48px;
}
.input-group-custom .form-control:focus,
.input-group-custom .form-select:focus {
    border-color: var(--cor-principal, #e63946) !important;
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--cor-principal, #e63946) 15%, transparent) !important;
}
.input-group-custom .form-control::placeholder { color: rgba(255,255,255,0.25); }

.pix-icon-wrapper {
    width: 64px; height: 64px; border-radius: 50%;
    background: linear-gradient(135deg, var(--cor-principal, #e63946), color-mix(in srgb, var(--cor-principal, #e63946) 60%, #000));
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto; font-size: 28px; color: white;
    animation: pulseIcon 2s infinite;
}
.check-icon-wrapper {
    width: 56px; height: 56px; border-radius: 50%;
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto; font-size: 26px; color: white;
    animation: pulseIcon 2s infinite;
}
.withdraw-icon-wrapper {
    width: 60px; height: 60px; border-radius: 50%;
    background: linear-gradient(135deg, var(--cor-principal, #e63946), color-mix(in srgb, var(--cor-principal, #e63946) 60%, #000));
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto; font-size: 24px; color: white;
    animation: pulseIcon 2s infinite;
}
.withdraw-icon-wrapper:hover { animation-play-state: paused; transform: scale(1.08); }

.badge-pulse {
    display: inline-block; padding: 6px 18px; border-radius: 20px;
    background: rgba(255,193,7,0.12); color: #ffc107;
    font-size: 13px; font-weight: 500;
    animation: pulseBadge 1.5s infinite;
}
@keyframes pulseBadge { 0%, 100% { opacity: 0.7; } 50% { opacity: 1; } }
@keyframes pulseIcon { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes spin { to { transform: rotate(360deg); } }

.modal-close-btn {
    position: absolute; top: 15px; right: 15px;
    width: 36px; height: 36px; border-radius: 50%;
    border: none; background: rgba(255,255,255,0.08);
    color: #aaa; font-size: 18px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    z-index: 10; transition: all 0.3s ease;
}
.modal-close-btn:hover { background: rgba(255,255,255,0.15); color: #fff; transform: rotate(90deg); }

.loading-overlay {
    display: none; position: absolute; inset: 0;
    background: rgba(32,35,39,0.9); z-index: 50;
    align-items: center; justify-content: center; border-radius: 12px;
}
.loading-overlay .spinner {
    position: relative;
    top: auto; left: auto;
    margin: 0;
}
.fade-in-qr { animation: fadeInQr 0.5s ease forwards; }
@keyframes fadeInQr { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

.deposit-card, .withdraw-card {
    background: #202327;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 30px;
}

/* ===== FILTER TABS ===== */
.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-tab {
    padding: 6px 18px; border-radius: 20px; font-size: 13px; font-weight: 500;
    background: rgba(255,255,255,0.04); color: #aaa; border: 1px solid rgba(255,255,255,0.08);
    text-decoration: none; transition: all 0.2s ease;
}
.filter-tab:hover { background: rgba(255,255,255,0.1); color: #fff; }
.filter-tab.active {
    background: linear-gradient(135deg, var(--cor-principal, #e63946), color-mix(in srgb, var(--cor-principal, #e63946) 60%, #000));
    color: #fff; border-color: transparent;
}

/* ===== STATUS BADGES ===== */
.status-badge { padding: 4px 12px; border-radius: 12px; font-size: 12px; font-weight: 600; }
.status-pending { background: rgba(255,193,7,0.15); color: #ffc107; }
.status-confirmed { background: rgba(40,167,69,0.15); color: #28a745; }
.status-expired, .status-cancelled { background: rgba(220,53,69,0.15); color: #dc3545; }

.txid-mono { font-family: monospace; font-size: 11px; color: #888; }

/* ===== TAB BUTTONS ===== */
.tab-btn {
    position: relative; background:none; border:none;
    font-size:0.9rem; padding:0 0 4px;
    text-transform:uppercase; letter-spacing:0.05em;
    cursor:pointer;
}
.tab-btn::after {
    content: ''; position: absolute; bottom: -8px; left: 0; right: 0;
    height: 2px; background: var(--cor-principal, #e63946);
    transform: scaleX(0); transition: transform 0.2s ease;
}
.tab-btn:hover::after, .tab-btn:focus::after { transform: scaleX(1); }
.tab-btn:hover { color: rgba(255,255,255,0.7) !important; }

/* ===== PROFILE ===== */
.profile-wrapper { max-width: 800px; margin: 0 auto; }
.profile-card { background: #202327; border: 1px solid rgba(255,255,255,0.06); border-radius: 16px; overflow: hidden; }
.profile-header {
    background: linear-gradient(135deg, color-mix(in srgb, var(--cor-principal, #e63946) 12%, transparent) 0%, color-mix(in srgb, var(--cor-principal, #e63946) 5%, transparent) 100%);
    padding: 28px 32px; border-bottom: 1px solid rgba(255,255,255,0.06);
    display: flex; align-items: center; gap: 16px;
}
.profile-header .avatar-icon {
    width: 52px; height: 52px; border-radius: 50%;
    background: linear-gradient(135deg, var(--cor-principal, #e63946), color-mix(in srgb, var(--cor-principal, #e63946) 60%, #000));
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; color: #fff; flex-shrink: 0;
}
.profile-header h4 { margin: 0; color: #fff; font-weight: 700; }
.profile-header small { color: rgba(255,255,255,0.45); }
.profile-body { padding: 28px 32px; }
.section-title {
    font-size: 13px; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.8px; color: rgba(255,255,255,0.35); margin-bottom: 16px;
}
.form-group-custom { margin-bottom: 20px; }
.form-group-custom label {
    display: block; font-size: 12px; font-weight: 600;
    color: rgba(255,255,255,0.5); margin-bottom: 6px;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.form-group-custom .input-wrap {
    display: flex; align-items: center;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08); border-radius: 10px;
    transition: all 0.25s ease;
}
.form-group-custom .input-wrap:focus-within { border-color: var(--cor-principal, #e63946); box-shadow: 0 0 0 3px color-mix(in srgb, var(--cor-principal, #e63946) 12%, transparent); }
.form-group-custom .input-wrap .input-icon {
    width: 44px; text-align: center;
    color: rgba(255,255,255,0.25); font-size: 16px; flex-shrink: 0;
}
.form-group-custom .input-wrap input, .form-group-custom .input-wrap select {
    flex: 1; background: transparent; border: none; outline: none;
    color: #fff; padding: 12px 12px 12px 0; font-size: 14px;
    width: 100%;
}
.form-group-custom .input-wrap input::placeholder { color: rgba(255,255,255,0.2); }
.form-group-custom .input-wrap .input-status { width: 32px; text-align: center; font-size: 14px; }

.divider-custom {
    height: 1px;
    background: linear-gradient(90deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.12) 50%, rgba(255,255,255,0.06) 100%);
    margin: 28px 0;
}

.cpf-valid { color: #28a745 !important; }
.cpf-invalid { color: #dc3545 !important; }

.delete-section {
    background: rgba(231,76,60,0.06); border: 1px solid rgba(231,76,60,0.12);
    border-radius: 12px; padding: 20px;
}
.delete-section h6 { color: #e74c3c; font-weight: 600; margin-bottom: 4px; }
.delete-section p { font-size: 13px; color: rgba(255,255,255,0.45); margin-bottom: 0; }

/* ===== NOTIFICATIONS ===== */
.notification-item {
    display: flex; align-items: flex-start; gap: 14px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px; padding: 18px 20px;
    transition: all 0.25s ease;
    margin-bottom: 10px;
}
.notification-item:hover {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.1);
    transform: translateX(4px);
}
.notification-icon {
    width: 42px; height: 42px; border-radius: 50%;
    background: linear-gradient(135deg, var(--cor-principal, #e63946), color-mix(in srgb, var(--cor-principal, #e63946) 60%, #000));
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 16px; flex-shrink: 0;
}
.notification-body { flex: 1; font-size: 0.9rem; color: rgba(255,255,255,0.85); line-height: 1.5; }
.notification-time { font-size: 0.75rem; color: rgba(255,255,255,0.3); white-space: nowrap; }

/* ===== AFFILIATE ===== */
.affiliate-gradient-card {
    background: linear-gradient(135deg, var(--cor-principal, #e63946) 0%, color-mix(in srgb, var(--cor-principal, #e63946) 80%, #000) 100%);
    border: none;
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.affiliate-gradient-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px color-mix(in srgb, var(--cor-principal, #e63946) 30%, transparent);
}
.affiliate-stat-card {
    background: #1a1c1f;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}
.affiliate-stat-card:hover {
    border-color: color-mix(in srgb, var(--cor-principal, #e63946) 30%, transparent);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.affiliate-table {
    border-radius: 12px;
    overflow: hidden;
    background: #1a1c1f;
    border: 1px solid rgba(255,255,255,0.05);
}
.affiliate-table thead th {
    background: #0d0d0d;
    color: var(--cor-principal, #e63946);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.affiliate-table tbody td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    color: #e0e0e0;
    font-size: 0.875rem;
}
.affiliate-table tbody tr:hover { background: color-mix(in srgb, var(--cor-principal, #e63946) 5%, transparent); }
.affiliate-table tbody tr:last-child td { border-bottom: none; }
.earnings-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.copy-btn {
    background: var(--cor-principal, #e63946);
    color: white; border: none;
    padding: 10px 20px; border-radius: 8px;
    cursor: pointer; transition: all 0.2s ease;
    font-weight: 600;
}
.copy-btn:hover {
    background: color-mix(in srgb, var(--cor-principal, #e63946) 80%, #000);
    transform: scale(1.02);
}

.modal-affiliate {
    display: none;
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.2s ease;
}
.modal-affiliate.active { display: flex; align-items: center; justify-content: center; }
.modal-affiliate-content {
    background: #1a1c1f; border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px; max-width: 480px; width: 90%;
    padding: 32px; animation: slideUp 0.3s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.badge-affiliate {
    display: inline-flex; align-items: center;
    padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 600;
}
.badge-pending { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.badge-paid { background: rgba(16, 185, 129, 0.15); color: #10b981; }
.badge-info { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }

.affiliate-link-input {
    background: #0d0d0d; border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px; padding: 12px 16px; color: white;
    width: 100%; font-size: 0.875rem;
}
.affiliate-link-input:focus { outline: none; border-color: var(--cor-principal, #e63946); }

.affiliate-cta {
    background: linear-gradient(135deg, color-mix(in srgb, var(--cor-principal, #e63946) 10%, transparent) 0%, color-mix(in srgb, var(--cor-principal, #e63946) 5%, transparent) 100%);
    border: 1px solid color-mix(in srgb, var(--cor-principal, #e63946) 20%, transparent);
    border-radius: 16px; padding: 40px;
}

/* ===== HOW WORKS / ABOUT US / SUPPORT ===== */
.content-page {
    animation: fadeInPage 0.5s ease-out;
}
.content-page h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #fff;
}
.content-page h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--cor-principal, #e63946);
    margin: 2rem 0 1rem;
}
.content-page p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}
.content-page strong {
    color: #fff;
}
.content-page .about-us-img {
    text-align: center;
    margin-bottom: 2rem;
}
.content-page .about-us-img img {
    max-height: 300px;
    border-radius: 16px;
}

/* ===== FAQ ACCORDION ===== */
.accordion-item {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
}
.accordion-button {
    background: transparent !important;
    color: #fff !important;
    box-shadow: none !important;
    font-weight: 600;
    padding: 16px 0;
}
.accordion-button:not(.collapsed) {
    color: var(--cor-principal, #e63946) !important;
}
.accordion-button::after {
    filter: brightness(0) invert(1);
}
.accordion-body {
    color: rgba(255,255,255,0.6);
    padding: 0 0 16px;
}

/* ===== GAME LIST CARDS ===== */
.game-list-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 3/4;
    background: var(--cor-secundaria, #1a1a2e);
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease;
    display: block;
}
.game-list-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.game-list-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.game-list-card:hover img { transform: scale(1.08); }
.game-list-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.35s ease;
}
.game-list-card:hover .game-list-card-overlay { opacity: 1; }
.game-list-card-play {
    background: var(--cor-principal, #e63946);
    color: #fff; padding: 8px 20px; border-radius: 20px;
    font-weight: 600; font-size: 0.85rem;
    display: flex; align-items: center; gap: 6px;
    transform: translateY(10px);
    transition: transform 0.3s ease;
}
.game-list-card:hover .game-list-card-play { transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
    .splide { margin-top: 10px; }
    .game-card-img-wrapper { aspect-ratio: 3/4; }
    .gamesSwiper .swiper-button-next,
    .gamesSwiper .swiper-button-prev { display: none; }
    .iziModal { width: 100% !important; height: 100% !important; margin: 0; border-radius: 0 !important; }
    .content-page h2 { font-size: 1.4rem; }
    .earnings-value { font-size: 1.75rem; }
}

/* ===== TABLE ===== */
.table {
    --bs-table-bg: transparent;
    --bs-table-color: rgba(255,255,255,0.85);
    --bs-table-striped-bg: rgba(255,255,255,0.02);
    --bs-table-hover-bg: rgba(255,255,255,0.04);
}
.table > :not(caption) > * > * {
    border-bottom-color: rgba(255,255,255,0.06);
}
.table-dark {
    --bs-table-bg: rgba(0,0,0,0.3);
}
.profit-positive { color: #28a745; }
.profit-negative { color: #dc3545; }
.game-icon { width: 32px; height: 32px; border-radius: 8px; object-fit: cover; margin-right: 8px; }
.type-badge { padding: 4px 12px; border-radius: 12px; font-size: 12px; font-weight: 600; }
.type-win { background: rgba(40,167,69,0.15); color: #28a745; }
.type-loss { background: rgba(220,53,69,0.15); color: #dc3545; }

/* ===== ALERT CUSTOM ===== */
.alert-custom { border-radius: 8px; font-size: 13px; padding: 10px 16px; margin-bottom: 0; }

/* ===== WALLET ===== */
.wallet-card {
    background: linear-gradient(135deg, #1a1c1f 0%, #202327 100%);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    overflow: hidden;
    padding: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.wallet-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.wallet-balance {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
}
.wallet-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}
.wallet-pix img {
    max-height: 60px;
}

/* ===== SEARCH ===== */
.input-search-group .form-control {
    height: 48px;
    border-radius: 12px 0 0 12px;
}
.input-search-group .input-group-text {
    border-radius: 0 12px 12px 0;
    padding: 0 20px;
}

/* ===== MISC ===== */
.text-money { color: var(--cor-principal, #e63946); }
.text-accent { color: var(--cor-principal, #e63946); }
