:root {
--color-primary: #2563eb;
--color-primary-dark: #1e40af;
--color-primary-light: #60a5fa;
--color-primary-hover: #1d4ed8;
--color-warning: #2563eb;
--shadow-primary: 0 2px 12px rgba(37, 99, 235, 0.2);
--shadow-primary-hover: 0 4px 18px rgba(37, 99, 235, 0.33);
--gradient-primary: linear-gradient(90deg, #1e40af 70%, #60a5fa 100%);
--gradient-primary-reverse: linear-gradient(90deg, #60a5fa 70%, #1e40af 100%);
--color-primary-rgb: 37, 99, 235;

--color-border-primary-soft: rgba(37, 99, 235, 0.2);

--color-bg-primary: #010c2a !important;
--color-bg-secondary: #021433 !important;
--color-bg-tertiary: #000815 !important;
--color-bg-dark: #000510 !important;

--gradient-bg-primary: linear-gradient(135deg, #000815 0%, #010c2a 50%, #021433 100%);
--gradient-bg-secondary: linear-gradient(90deg, #010c2a 0%, #021433 100%);
--gradient-bg-dark: linear-gradient(180deg, #010c2a 0%, #000510 100%);
--gradient-menu: linear-gradient(90deg, #000815 80%, #021433 100%);
--gradient-sidebar: linear-gradient(135deg, #021433 80%, #010c2a 100%);
--gradient-dark: linear-gradient(90deg, #021433 0%, #010c2a 100%);

--color-login-modal-border: #2563eb66;
}

body,
.main-bg {
background: var(--gradient-bg-primary) !important;
background-attachment: fixed !important;
}

.header-bar,
body .header-bar,
.main-bg .header-bar {
background: #010d20 !important;
border-bottom: 2px solid #1e40af33 !important;
}

.app-download-banner {
background: linear-gradient(135deg, #000510 0%, #010c2a 100%) !important;
border-bottom: 2px solid #1e40af33 !important;
padding: 4px 12px !important;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
min-height: 36px !important;
max-height: 36px !important;
z-index: 1028 !important;
}

.app-download-banner .app-icon {
width: 24px !important;
height: 24px !important;
object-fit: contain !important;
flex-shrink: 0 !important;
}

.app-download-banner .app-text h6 {
color: var(--color-text-primary) !important;
font-size: 0.8rem !important;
font-weight: var(--font-weight-medium) !important;
margin: 0 !important;
line-height: 1.2 !important;
}

.app-download-banner .app-text small {
color: var(--color-text-secondary) !important;
font-size: 0.7rem !important;
display: block !important;
margin: 0 !important;
line-height: 1.1 !important;
}

.app-download-banner .download-btn {
background: rgba(37, 99, 235, 0.15) !important;
color: #2563eb !important;
font-weight: var(--font-weight-medium) !important;
border: 1px solid #2563eb40 !important;
box-shadow: none !important;
transition: all var(--transition-base) !important;
backdrop-filter: blur(10px) !important;
padding: 3px 12px !important;
font-size: 0.75rem !important;
white-space: nowrap !important;
line-height: 1.2 !important;
}

.app-download-banner .download-btn:hover {
background: rgba(37, 99, 235, 0.25) !important;
color: #60a5fa !important;
border-color: #2563eb60 !important;
box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2) !important;
}

.app-download-banner .download-btn:active {
background: rgba(37, 99, 235, 0.2) !important;
transform: scale(0.98) !important;
}

.app-download-banner .download-btn i {
color: #2563eb !important;
transition: all var(--transition-base) !important;
}

.app-download-banner .download-btn:hover i {
color: #60a5fa !important;
}

.app-banner-close {
background: transparent !important;
border: none !important;
color: var(--color-text-secondary) !important;
cursor: pointer !important;
padding: 4px 6px !important;
font-size: 0.9rem !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
transition: all var(--transition-base) !important;
flex-shrink: 0 !important;
width: 24px !important;
height: 24px !important;
border-radius: 6px !important;
}

.app-banner-close:hover {
color: var(--color-text-primary) !important;
background: rgba(255, 255, 255, 0.1) !important;
border-radius: 4px !important;
}

html {
background: #010c2a !important;
}

.card,
.game-card {
background: #010d20ff !important;
backdrop-filter: blur(10px);
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
}

.bg-card-bg,
.bg-surface-deep {
background: #010d20 !important;
}

.sidebar {
background: var(--gradient-sidebar) !important;
}

.sidebar-btn:not(.telegram):not(.instagram) {
background: linear-gradient(135deg, #010c2add 0%, #021433ee 100%) !important;
}

.sidebar-btn.active:not(.telegram):not(.instagram),
.sidebar-btn:hover:not(.telegram):not(.instagram) {
background: linear-gradient(90deg, #1e40af 80%, #60a5fa 100%) !important;
}

.modal-content,
.modal-body {
background: linear-gradient(135deg, #021433 0%, #010c2a 100%) !important;
}

.modal-header {
background: linear-gradient(135deg, #000815 0%, #021433 100%) !important;
border-bottom: 2px solid #1e40af66 !important;
}

.modal-footer {
background: linear-gradient(135deg, #021433 0%, #010c2a 100%) !important;
}

.modal-backdrop {
background-color: rgba(0, 0, 0, 0.75) !important;
}

.menu-bottom {
background: #010d20 !important;
border-top: 2px solid #1e40af33 !important;
}

.bottom-nav {
overflow-x: hidden !important;
overflow-y: hidden !important;
}

.bottom-nav .container-fluid {
overflow-x: hidden !important;
max-width: 100% !important;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="search"],
input[type="tel"],
input[type="url"],
input[type="date"],
input[type="time"],
input[type="datetime-local"],
select,
textarea,
.form-control,
.form-select,
.login-input,
.withdraw-input,
.form-control-custom,
.form-select-custom {
background: linear-gradient(135deg, #021433 0%, #010c2a 100%) !important;
border: 1px solid var(--color-border-primary-soft) !important;
color: var(--color-text-primary) !important;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="password"]::placeholder,
input[type="number"]::placeholder,
input[type="search"]::placeholder,
input[type="tel"]::placeholder,
input[type="url"]::placeholder,
textarea::placeholder,
.form-control::placeholder,
.form-select::placeholder,
.login-input::placeholder,
.withdraw-input::placeholder,
.form-control-custom::placeholder,
.form-select-custom::placeholder {
color: var(--color-text-muted) !important;
opacity: 0.7 !important;
}

.game-card:hover {
background: linear-gradient(135deg, #021433ff 0%, #010c2aff 100%) !important;
}

.section,
.container-fluid {
background: transparent !important;
}

.footer {
background: var(--gradient-bg-dark) !important;
}

::-webkit-scrollbar-track {
background: #010c2a !important;
}

.mini-menu-btn.active,
.mini-menu-btn:hover {
background: linear-gradient(135deg, #021433 0%, #010c2a 100%) !important;
}

.jackpot-value {
background: linear-gradient(135deg, #021433 0%, #010c2a 100%) !important;
}

.chest-grid {
background: linear-gradient(135deg, #010c2a 0%, #021433 100%) !important;
}

.requirement-bg {
background: #021433 !important;
}

.badge.bg-primary {
background: linear-gradient(135deg, #021433 0%, #010c2a 100%) !important;
}

.alert-info {
background: linear-gradient(135deg, #010c2a 0%, #021433 100%) !important;
border-color: #021433 !important;
}

.btn-dark,
.btn-light {
background: linear-gradient(135deg, #010c2a 0%, #021433 100%) !important;
}

.btn-dark:hover,
.btn-light:hover {
background: linear-gradient(135deg, #021433 0%, #010c2a 100%) !important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
background: linear-gradient(135deg, #000815 0%, #010c2a 100%) !important;
-webkit-box-shadow: 0 0 0px 1000px #010c2a inset !important;
}

select option {
background: #010c2a !important;
color: var(--color-text-primary) !important;
}

.modal-backdrop.show {
background-color: rgba(0, 0, 0, 0.85) !important;
}

::-webkit-scrollbar-thumb {
background: #1e40af !important;
}

::-webkit-scrollbar-thumb:hover {
background: #1d4ed8 !important;
}

* {
scrollbar-color: #1e40af var(--color-bg-secondary) !important;
}

.header-bar .btn.btn-warning {
background: linear-gradient(90deg, #2563eb 50%, #1e40af 100%) !important;
border-color: #1e40af !important;
color: #ffffff !important;
box-shadow: 0 2px 12px rgba(37, 99, 235, 0.2) !important;
}

.header-bar .btn.btn-warning:hover,
.header-bar .btn.btn-warning:focus {
background: linear-gradient(90deg, #1e40af 50%, #1d4ed8 100%) !important;
box-shadow: 0 4px 18px rgba(37, 99, 235, 0.33) !important;
color: #ffffff !important;
}

.jackpot-title {
background: #2563eb !important;
color: #ffffff !important;
box-shadow: rgba(37, 99, 235, 0.2) !important;
}

.jackpot-value {
border-color: #2563eb !important;
}

.jackpot-img-wrapper {
background: radial-gradient(circle at center, rgba(37, 99, 235, 0.3) 0%, rgba(37, 99, 235, 0.15) 40%, rgba(37, 99, 235, 0.05) 100%) !important;
border-radius: var(--border-radius-md) !important;
}

.jackpot-img-full {
border-radius: var(--border-radius-md) !important;
}

.btn-warning,
.btn-primary,
.login-btn {
background-color: #2563eb !important;
border-color: #2563eb !important;
color: #ffffff !important;
box-shadow: 0 2px 12px rgba(37, 99, 235, 0.2) !important;
}

.btn-warning:hover,
.btn-primary:hover,
.login-btn:hover {
background-color: #1d4ed8 !important;
border-color: #1d4ed8 !important;
color: #ffffff !important;
box-shadow: 0 4px 18px rgba(37, 99, 235, 0.33) !important;
}

.btn-outline-primary {
border-color: #2563eb !important;
color: #2563eb !important;
}

.btn-outline-primary:hover {
background-color: #2563eb !important;
border-color: #2563eb !important;
color: #ffffff !important;
}

#offersModal .btn-outline-primary,
#withdrawModal .btn-outline-success,
#withdrawModal .btn-outline-danger,
#withdrawModal .btn-primary-custom,
#withdrawModal .btn-secondary-custom,
#demoConfigModal .btn-primary {
background-color: #2563eb !important;
border-color: #2563eb !important;
color: #ffffff !important;
}

#offersModal .btn-outline-primary:hover,
#withdrawModal .btn-primary-custom:hover,
#demoConfigModal .btn-primary:hover {
background-color: #1d4ed8 !important;
border-color: #1d4ed8 !important;
color: #ffffff !important;
}

#withdrawModal .btn-secondary-custom:hover {
border-color: #2563eb !important;
color: #2563eb !important;
}

a,
.login-link,
.link-primary {
color: #2563eb !important;
}

a:hover,
.login-link:hover,
.link-primary:hover {
color: #1d4ed8 !important;
}

.footer-links a,
.footer-links a:hover,
.footer-links a i {
color: #ffffff !important;
}

#referralsModal .modal-content a:hover,
#referralsHistoryModal .modal-content a:hover,
#chest-history-btn:hover,
/* Estilos de .btn-back removidos - usando estilo global */

/* Estilos temáticos para o modal Convide e Ganhe */
#referralsModal #chest-history-btn {
color: #2563eb !important;
transition: all var(--transition-base) !important;
}

#referralsModal #chest-history-btn:hover {
color: #1d4ed8 !important;
}

#referralsModal #affiliateBalanceCard .text-warning,
#referralsModal h5.text-warning {
color: #2563eb !important;
}

#referralsModal #btnHistoricoSaque,
#referralsModal .chest-copy-btn,
#referralsModal .btn-outline-warning {
border-color: #2563eb !important;
color: #2563eb !important;
background: transparent !important;
transition: all var(--transition-base) !important;
}

#referralsModal #btnHistoricoSaque:hover,
#referralsModal .chest-copy-btn:hover,
#referralsModal .btn-outline-warning:hover {
background: #2563eb !important;
color: #ffffff !important;
border-color: #2563eb !important;
box-shadow: 0 2px 12px rgba(37, 99, 235, 0.2) !important;
}

.top-games-fixed-text {
color: #2563eb !important;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
}

.top-game-name,
.fixed-text-line {
color: #2563eb !important;
}

.sidebar-btn:not(.telegram):not(.instagram) i {
color: #1e40af !important;
}

.sidebar-btn.active:not(.telegram):not(.instagram),
.sidebar-btn:hover:not(.telegram):not(.instagram) {
background: linear-gradient(90deg, #1e40af 80%, #60a5fa 100%) !important;
border-color: #1e40af !important;
box-shadow: 0 2px 12px rgba(37, 99, 235, 0.2) !important;
color: #ffffff !important;
}

.sidebar-btn.active:not(.telegram):not(.instagram) i,
.sidebar-btn:hover:not(.telegram):not(.instagram) i {
color: #ffffff !important;
}

.sidebar-btn.telegram {
background: linear-gradient(135deg, #0088cc 0%, #229ED9 50%, #0088cc 100%) !important;
color: #ffffff !important;
border: 1.5px solid #0088cc !important;
box-shadow: 0 2px 12px rgba(0, 136, 204, 0.4) !important;
}

.sidebar-btn.telegram:hover {
background: linear-gradient(135deg, #229ED9 0%, #0088cc 50%, #006699 100%) !important;
color: #ffffff !important;
border: 1.5px solid #229ED9 !important;
box-shadow: 0 4px 24px rgba(0, 136, 204, 0.6) !important;
transform: translateY(-2px) !important;
}

.sidebar-btn.telegram span,
.sidebar-btn.telegram i {
color: #ffffff !important;
}

.sidebar-btn.telegram img {
filter: none !important;
opacity: 1 !important;
}

.sidebar-btn.instagram {
background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
color: #ffffff !important;
border: 1.5px solid transparent !important;
box-shadow: 0 2px 12px rgba(188, 24, 136, 0.4) !important;
}

.sidebar-btn.instagram:hover {
background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
color: #ffffff !important;
border: 1.5px solid #dc2743 !important;
box-shadow: 0 4px 24px rgba(188, 24, 136, 0.6) !important;
transform: translateY(-2px) !important;
}

.sidebar-btn.instagram span,
.sidebar-btn.instagram i {
color: #ffffff !important;
}

.sidebar-btn.orange {
background: linear-gradient(90deg, #1e40af, #ff6a00) !important;
}

.game-card .play-button {
background: #2563eb !important;
color: #ffffff !important;
box-shadow: 0 2px 12px rgba(37, 99, 235, 0.2) !important;
}

.game-card:hover .play-button {
background: #1d4ed8 !important;
box-shadow: 0 4px 18px rgba(37, 99, 235, 0.33) !important;
}

input:focus,
select:focus,
textarea:focus {
border-color: #2563eb !important;
box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25) !important;
}

input[type="checkbox"]:focus,
input[type="radio"]:focus {
border-color: #2563eb !important;
box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2) !important;
}

input[type="range"]::-webkit-slider-thumb {
background-color: #2563eb !important;
}

input[type="range"]::-moz-range-thumb {
background-color: #2563eb !important;
}

.badge.bg-success {
background-color: #2563eb !important;
color: #ffffff !important;
}

.text-success {
color: #2563eb !important;
}

.referral-item.is-qualified .avatar {
background-color: #2563eb !important;
color: #ffffff !important;
}

#referralsHistoryModal .chest-modal-header-fixed {
background: linear-gradient(135deg, #000815 0%, #021433 100%) !important;
border-bottom: 2px solid #1e40af66 !important;
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3) !important;
padding: 15px 20px !important;
min-height: 60px !important;
}

#referralsHistoryModal .modal-header {
border-bottom: none !important;
}

#referralsHistoryModal .modal-title {
font-size: 1.25rem !important;
font-weight: 600 !important;
color: #2563eb !important;
}

#referralsHistoryModal #history-back-btn {
font-size: 1.2rem !important;
color: #2563eb !important;
transition: all 0.3s ease !important;
padding: 8px 12px !important;
border-radius: 8px !important;
}

#referralsHistoryModal #history-back-btn:hover {
background-color: #2563eb22 !important;
color: #1d4ed8 !important;
transform: translateX(-3px) !important;
}

#referralsHistoryModal .modal-body {
padding-top: 0 !important;
padding-bottom: 0 !important;
}

#referralsHistoryModal .chest-modal-header-fixed ~ .modal-body {
padding-top: 0 !important;
}

#referralsHistoryModal .bg-modal-chests {
background: linear-gradient(135deg, #021433 0%, #010c2a 100%) !important;
border: none !important;
}

#referralsHistoryModal .badge.bg-primary {
background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%) !important;
color: #ffffff !important;
padding: 10px 16px !important;
font-size: 0.875rem !important;
font-weight: 500 !important;
border-radius: 8px !important;
box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2) !important;
border: 1px solid #2563eb66 !important;
}

#referralsHistoryModal .badge.bg-success {
background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%) !important;
color: #ffffff !important;
padding: 10px 16px !important;
font-size: 0.875rem !important;
font-weight: 500 !important;
border-radius: 8px !important;
box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2) !important;
border: 1px solid #2563eb66 !important;
}

#referralsHistoryModal .badge.bg-secondary {
background: linear-gradient(135deg, #000815 0%, #021433 100%) !important;
color: var(--color-text-secondary) !important;
padding: 10px 16px !important;
font-size: 0.875rem !important;
font-weight: 500 !important;
border-radius: 8px !important;
border: 1px solid #021433 !important;
}

#referralsHistoryModal .badge.bg-warning {
background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
color: #ffffff !important;
padding: 10px 16px !important;
font-size: 0.875rem !important;
font-weight: 500 !important;
border-radius: 8px !important;
box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3) !important;
border: 1px solid rgba(245, 158, 11, 0.4) !important;
}

#referralsHistoryModal .badge i {
margin-right: 6px !important;
}

#referralsHistoryModal .referral-item {
background: linear-gradient(135deg, #000815dd 0%, #021433dd 100%) !important;
border: 1px solid #02143366 !important;
border-radius: 12px !important;
padding: 14px 16px !important;
margin-bottom: 12px !important;
transition: all 0.3s ease !important;
}

#referralsHistoryModal .referral-item.bg-dark,
#referralsHistoryModal .referral-item.bg-opacity-50 {
background: linear-gradient(135deg, #000815dd 0%, #021433dd 100%) !important;
opacity: 1 !important;
}

#referralsHistoryModal .referral-item:hover {
background: linear-gradient(135deg, #000815ff 0%, #021433ff 100%) !important;
border-color: #2563eb66 !important;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
transform: translateY(-2px) !important;
}

#referralsHistoryModal .referral-item.is-qualified {
border-color: #2563eb66 !important;
background: linear-gradient(135deg, #1e40af22 0%, #021433dd 100%) !important;
}

#referralsHistoryModal .referral-item .avatar {
width: 42px !important;
height: 42px !important;
line-height: 42px !important;
border-radius: 50% !important;
background: linear-gradient(135deg, #000815 0%, #021433 100%) !important;
color: var(--color-text-primary) !important;
font-weight: 600 !important;
font-size: 1.1rem !important;
border: 2px solid #021433 !important;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
margin-right: 12px !important;
flex-shrink: 0 !important;
}

#referralsHistoryModal .referral-item.is-qualified .avatar {
background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%) !important;
color: #ffffff !important;
border-color: #2563eb !important;
box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2) !important;
}

#referralsHistoryModal .referral-item .user-info {
flex-grow: 1 !important;
}

#referralsHistoryModal .referral-item .username {
font-size: 1rem !important;
font-weight: 600 !important;
color: var(--color-text-primary) !important;
margin-bottom: 4px !important;
}

#referralsHistoryModal .referral-item .text-muted {
font-size: 0.875rem !important;
color: var(--color-text-secondary) !important;
}

#referralsHistoryModal .referral-item .badge {
font-size: 0.8rem !important;
padding: 8px 12px !important;
border-radius: 6px !important;
}

#referralsHistoryModal .referrals-list {
padding: 16px !important;
max-height: calc(100vh - 200px) !important;
overflow-y: auto !important;
}

#referralsHistoryModal .d-flex.justify-content-between.p-3 {
padding: 20px 16px !important;
border-bottom: 1px solid #02143366 !important;
background: linear-gradient(135deg, #000815aa 0%, #021433aa 100%) !important;
}

#referralsHistoryModal .p-5.text-center {
padding: 60px 20px !important;
color: var(--color-text-secondary) !important;
}

#referralsHistoryModal .p-5.text-center i {
color: #2563eb66 !important;
margin-bottom: 16px !important;
}

@media (max-width: 768px) {
    #referralsHistoryModal .chest-modal-header-fixed {
        min-height: 48px !important;
    }

#referralsHistoryModal .modal-title {
font-size: 1.1rem !important;
}

#referralsHistoryModal .d-flex.justify-content-between.p-3 {
padding: 16px 12px !important;
flex-direction: column !important;
gap: 10px !important;
}

#referralsHistoryModal .badge.bg-primary,
#referralsHistoryModal .badge.bg-success,
#referralsHistoryModal .badge.bg-secondary,
#referralsHistoryModal .badge.bg-warning {
padding: 8px 12px !important;
font-size: 0.8rem !important;
width: 100% !important;
text-align: center !important;
}

#referralsHistoryModal .referral-item {
padding: 12px !important;
}

#referralsHistoryModal .referral-item .avatar {
width: 38px !important;
height: 38px !important;
line-height: 38px !important;
font-size: 1rem !important;
margin-right: 10px !important;
}
}

.modal-close-button,
#referralsModal .modal-close-button,
#depositModal .btn-close {
color: #2563eb !important;
}

.modal-close-button:hover {
color: #1d4ed8 !important;
}

.chest-available {
filter: drop-shadow(0 0 8px #2563ebcc) !important;
}

.row-connector {
color: #2563eb !important;
}

.divider {
border-top-color: #1e40af !important;
}

.form-label.active,
.form-control:focus + .form-label,
.input-group:focus-within .form-label {
color: #2563eb !important;
}

.form-control:focus,
.form-select:focus {
border-color: #2563eb !important;
box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25) !important;
}

.topo-button {
background: #2563eb !important;
color: #ffffff !important;
box-shadow: 0 2px 12px rgba(37, 99, 235, 0.2) !important;
}

.topo-button:hover {
background: #1d4ed8 !important;
box-shadow: 0 4px 18px rgba(37, 99, 235, 0.33) !important;
}

svg[stroke="var(--color-primary)"],
svg[fill="var(--color-primary)"] {
stroke: #2563eb !important;
fill: #2563eb !important;
}

.border-primary,
.active-tab {
border-color: #2563eb !important;
}

.border-bottom-primary {
border-bottom-color: #2563eb !important;
}

.text-primary-custom,
.deposit-amount-display,
.vip-level-name {
color: #2563eb !important;
}

.shadow-primary {
box-shadow: 0 2px 12px rgba(37, 99, 235, 0.2) !important;
}

.shadow-primary-hover:hover {
box-shadow: 0 4px 18px rgba(37, 99, 235, 0.33) !important;
}

.menu-bottom-item.active {
color: #2563eb !important;
}

.menu-bottom-item.active i {
color: #2563eb !important;
}

input,
textarea {
caret-color: #2563eb !important;
}

input[type="checkbox"]:checked,
input[type="radio"]:checked {
background-color: #2563eb !important;
border-color: #2563eb !important;
}

.progress-bar {
background-color: #2563eb !important;
}

.page-link {
color: #2563eb !important;
}

.page-link:hover {
color: #1d4ed8 !important;
}

.page-item.active .page-link {
background-color: #2563eb !important;
border-color: #2563eb !important;
color: #ffffff !important;
}

.alert-primary {
background-color: #2563eb33 !important;
border-color: #2563eb !important;
color: #2563eb !important;
}

.spinner-border-primary {
border-color: #2563eb !important;
}

.table-primary,
.table-primary > th,
.table-primary > td {
background-color: #2563eb !important;
color: #ffffff !important;
}

.list-group-item-primary {
background-color: #2563eb !important;
color: #ffffff !important;
}

.modal-body::-webkit-scrollbar-thumb {
background: #1e40af !important;
}

.dropdown-item.active,
.dropdown-item:active {
background-color: #2563eb !important;
color: #ffffff !important;
}

.nav-tabs .nav-link.active {
color: #2563eb !important;
border-color: #2563eb #2563eb transparent !important;
}

.nav-tabs .nav-link:hover {
border-color: #2563eb33 #2563eb33 transparent !important;
}

.tooltip-inner {
background-color: #2563eb !important;
}

.tooltip.bs-tooltip-top .arrow::before {
border-top-color: #2563eb !important;
}

.tooltip.bs-tooltip-bottom .arrow::before {
border-bottom-color: #2563eb !important;
}

.tooltip.bs-tooltip-left .arrow::before {
border-left-color: #2563eb !important;
}

.tooltip.bs-tooltip-right .arrow::before {
border-right-color: #2563eb !important;
}

.popover-header {
background-color: #2563eb !important;
color: #ffffff !important;
border-bottom-color: #1d4ed8 !important;
}

.popover .arrow::before {
border-top-color: #2563eb !important;
}

.btn:focus,
.btn:active:focus {
box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25) !important;
}

.top-games-swiper .swiper-button-next,
.top-games-swiper .swiper-button-prev {
color: #2563eb !important;
}

.top-games-swiper .swiper-button-next:hover,
.top-games-swiper .swiper-button-prev:hover {
color: #1d4ed8 !important;
}

.balance-display {
border-color: #2563eb33 !important;
}

select option:checked {
background-color: #2563eb !important;
color: #ffffff !important;
}

.fixed-card-icon {
color: #2563eb !important;
}

.nav-item small {
color: var(--color-text-secondary) !important;
}

.nav-item i {
color: var(--color-text-secondary) !important;
}

.nav-item:hover .icon-circle {
background: rgba(2, 20, 51, 0.8) !important;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), inset 0 1px 2px rgba(255, 255, 255, 0.1) !important;
transform: scale(1.05) translateY(-1px) !important;
}

.nav-item:hover i {
color: var(--color-text-primary) !important;
}

.nav-item:hover small {
color: var(--color-text-primary) !important;
}

.nav-item:hover::before {
background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 70%) !important;
opacity: 1 !important;
}

.nav-item.active .icon-circle {
background: #1e40af !important;
box-shadow: 0 3px 15px rgba(37, 99, 235, 0.2), inset 0 1px 3px rgba(255, 255, 255, 0.3) !important;
}

.nav-item.active i {
color: #010c2a !important;
}

.nav-item.active small {
color: #1e40af !important;
}

.nav-item.active::before {
background: radial-gradient(circle at center, #2563eb1a 0%, #2563eb00 70%) !important;
}

.nav-item::before {
background: radial-gradient(circle at center, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 70%) !important;
}

.mini-menu {
background: linear-gradient(135deg, #021433 0%, #010c2a 100%) !important;
}

.mini-menu-btn.active,
.mini-menu-btn:hover {
background: linear-gradient(135deg, #021433 0%, #010c2a 100%) !important;
}

.bg-modal-chests {
background: #010d20 !important;
border-color: #021433 !important;
}

#profileModal .profile-menu-item {
color: var(--color-text-primary) !important;
}

#profileModal .profile-menu-item:hover {
color: #2563eb !important;
background-color: #02143366 !important;
}

#profileModal .profile-menu-item .menu-icon {
color: #2563eb !important;
}

#profileModal .profile-menu-item:hover .arrow-icon {
color: #2563eb !important;
}

#profileModal .profile-vip-card {
background: linear-gradient(135deg, #152d7b 0%, #1a45a5 50%, #152d7b 100%) !important;
background-size: 200% 200% !important;
color: #ffffff !important;
border: 1px solid rgba(255, 255, 255, 0.1) !important;
box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

#profileModal .profile-vip-card::before {
background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.08) 0%, transparent 60%) !important;
}

#profileModal .profile-vip-card .vip-details-link i {
color: #ffffff !important;
}

#profileModal .profile-quick-actions .btn-profile-action i {
color: #2563eb !important;
}

#profileModal .profile-quick-actions .btn-profile-action:hover {
border-color: #2563eb33 !important;
}

#profileModal .copy-id-btn:hover i,
#profileModal .balance-display-profile .refresh-balance:hover i {
color: #2563eb !important;
}

#withdrawModal .otp-input {
background: linear-gradient(135deg, #000815 0%, #010c2a 100%) !important;
border-color: #021433 !important;
color: var(--color-text-primary) !important;
}

#withdrawModal .otp-input:focus {
border-color: #2563eb !important;
box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25) !important;
background: linear-gradient(135deg, #000815 0%, #010c2a 100%) !important;
}

#withdrawModal .otp-input-container-wrapper.is-invalid .otp-input {
border-color: var(--color-danger) !important;
}

.sidebar-header {
background: linear-gradient(135deg, #000815 0%, #010c2a 100%) !important;
border-bottom-color: #021433 !important;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
}

#profileModal .modal-content,
#profileModal .modal-header > div,
#profileModal .modal-body {
background: linear-gradient(135deg, #010c2a 0%, #021433 100%) !important;
}

#profileModal .profile-user-info-header {
background: linear-gradient(135deg, #021433 0%, #010c2a 100%) !important;
border: 1px solid var(--color-border-primary-soft) !important;
}

#profileModal .profile-menu-list {
background: linear-gradient(135deg, #021433 0%, #010c2a 100%) !important;
}

#profileModal .profile-quick-actions .btn-profile-action {
background: linear-gradient(135deg, #021433 0%, #010c2a 100%) !important;
border-color: var(--color-border-primary-soft) !important;
}

#profileModal #profileChangePasswordSection .login-input,
#profileModal #profileChangePasswordSection .input-group-text {
background: linear-gradient(135deg, #000815 0%, #010c2a 100%) !important;
border: 2px solid #2563eb66 !important;
}

#profileModal #profileChangePasswordSection .login-input:focus {
border-color: #2563eb !important;
box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25) !important;
}

#withdrawModal .bg-modal-special {
background: linear-gradient(to right, #000815, #021433) !important;
}

/* Estilos temáticos para alert-custom no modal de saque */
#withdrawModal .alert-custom {
background: rgba(37, 99, 235, 0.1) !important;
border: 1px solid #2563eb40 !important;
border-radius: var(--border-radius-md) !important;
color: #ffffff !important;
backdrop-filter: blur(10px) !important;
}

#withdrawModal .alert-custom i {
color: #2563eb !important;
transition: all var(--transition-base) !important;
}

#withdrawModal .alert-custom:hover {
background: rgba(37, 99, 235, 0.15) !important;
border-color: #2563eb60 !important;
}

#withdrawModal .alert-custom .alert-link {
color: #2563eb !important;
text-decoration: none !important;
font-weight: var(--font-weight-medium) !important;
transition: all var(--transition-base) !important;
}

#withdrawModal .alert-custom .alert-link:hover {
color: #1d4ed8 !important;
text-decoration: underline !important;
}

.icon-circle {
background: transparent !important;
}

.game-card .play-button,
.sidebar-btn.active:not(.telegram):not(.instagram),
.sidebar-btn:hover:not(.telegram):not(.instagram) {
box-shadow: 0 2px 12px rgba(37, 99, 235, 0.2) !important;
}

.sidebar-btn.active:not(.telegram):not(.instagram),
.sidebar-btn:hover:not(.telegram):not(.instagram) {
box-shadow: 0 2px 12px rgba(37, 99, 235, 0.2) !important;
}

.game-card .play-button:hover,
.sidebar-btn:hover:not(.telegram):not(.instagram) {
filter: brightness(1.2) drop-shadow(0 4px 8px rgba(37, 99, 235, 0.33)) !important;
}

.chest-available {
filter: drop-shadow(0 2px 6px rgba(37, 99, 235, 0.2)) !important;
}

input[type="checkbox"]:focus,
input[type="radio"]:focus {
box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.33) !important;
}

.game-card:focus-within {
box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2) !important;
}

#profileModal .balance-display-profile {
background: linear-gradient(135deg, #000815 0%, #010c2a 100%) !important;
}

.game-card .game-name {
background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7)) !important;
}

.border-primary,
.border-top-primary {
border-color: #2563eb !important;
}

.border-top-primary {
border-top-color: #1e40af !important;
}

.text-primary,
.text-warning {
color: #2563eb !important;
}

html body .text-muted,
body .text-muted,
.text-muted {
color: rgba(37, 99, 235, 0.5) !important;
opacity: 0.8 !important;
}

.bg-primary {
background-color: #2563eb !important;
color: #ffffff !important;
}

.bg-warning {
background-color: #2563eb !important;
color: #ffffff !important;
}

.menu-hamburger {
color: #1e40af !important;
cursor: pointer;
transition: filter var(--transition-base), color var(--transition-base);
filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.menu-hamburger:hover {
color: #2563eb !important;
filter: brightness(1.2) drop-shadow(0 4px 8px rgba(37, 99, 235, 0.33)) !important;
}

.menu-hamburger rect {
fill: currentColor;
}

.search-icon:hover {
filter: drop-shadow(0 2px 6px rgba(37, 99, 235, 0.2)) !important;
}

.sidebar-search .form-control:focus {
box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.33) !important;
}

.sidebar-search .input-group:focus-within {
border-color: #1e40af !important;
box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2) !important;
}

.game-card .play-button {
background: rgba(37, 99, 235, 0.9) !important;
color: #ffffff !important;
}

#profileModal .profile-menu-item a {
color: var(--color-text-primary) !important;
}

#profileModal .profile-menu-item:hover a {
color: #2563eb !important;
}

#referralsModal .modal-content,
#checkinModal .modal-content,
#offersModal .modal-content,
#depositModal .modal-content,
#withdrawModal .modal-content {
background: linear-gradient(135deg, #010c2a 0%, #021433 100%) !important;
}

.border-secondary {
border-color: #021433 !important;
}

.shadow-sm-primary {
box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2) !important;
}

.shadow-md-primary {
box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2) !important;
}

.shadow-lg-primary {
box-shadow: 0 8px 24px rgba(37, 99, 235, 0.33) !important;
}

.bg-custom-modal {
background: linear-gradient(135deg, #021433 0%, #010c2a 100%) !important;
}

.provider-btn {
border-color: #2563eb66 !important;
}

.provider-btn.active {
background-color: #2563eb !important;
}

#filter-tabs .btn {
border-color: #2563eb66 !important;
}

.tab-button {
border-color: #2563eb66 !important;
}

.provider-btn.active .provider-name {
color: #2563eb !important;
font-weight: var(--font-weight-medium);
}

.bg-dark {
background: linear-gradient(135deg, #000510 0%, #010c2a 100%) !important;
}

.login-input:focus,
.withdraw-input:focus,
.form-control-custom:focus,
.form-select-custom:focus,
#demoConfigModal .form-control:focus,
#demoConfigModal .form-select:focus {
border-color: #2563eb !important;
box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25) !important;
color: var(--color-text-primary) !important;
}

#withdrawModal .withdraw-input::placeholder,
#withdrawModal .form-control-custom::placeholder,
#withdrawModal .form-select-custom::placeholder,
#withdrawModal .otp-input::placeholder {
color: var(--color-text-muted) !important;
opacity: 0.7 !important;
}

#withdrawModal .withdraw-input:-ms-input-placeholder,
#withdrawModal .form-control-custom:-ms-input-placeholder,
#withdrawModal .form-select-custom:-ms-input-placeholder,
#withdrawModal .otp-input:-ms-input-placeholder {
color: var(--color-text-muted) !important;
opacity: 0.7 !important;
}

#withdrawModal .withdraw-input::-ms-input-placeholder,
#withdrawModal .form-control-custom::-ms-input-placeholder,
#withdrawModal .form-select-custom::-ms-input-placeholder,
#withdrawModal .otp-input::-ms-input-placeholder {
color: var(--color-text-muted) !important;
opacity: 0.7 !important;
}

.sidebar-search .form-control:focus {
box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.33) !important;
}

.top-game-position .paid-amount {
color: #2563eb !important;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8) !important;
}

.paid-amount {
color: #2563eb !important;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8) !important;
}

.top-game-position {
color: #2563eb !important;
}

.provider-card {
background: linear-gradient(135deg, #021433dd 0%, #010c2add 100%) !important;
border-color: #02143366 !important;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}

.provider-card:hover {
border-color: #2563eb4d !important;
box-shadow: 0 6px 16px rgba(37, 99, 235, 0.2) !important;
background: linear-gradient(135deg, #021433ff 0%, #010c2aff 100%) !important;
}

.top-games-fixed-card {
background: linear-gradient(135deg, #021433b3 0%, #010c2ab3 100%) !important;
border: 1px solid #2563eb66 !important;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), 0 0 0 1px #2563eb33 !important;
}

.top-games-fixed-card:hover {
border: 2px solid #2563eb99 !important;
box-shadow: 0 6px 16px rgba(37, 99, 235, 0.2), 0 0 0 2px #2563eb4d !important;
background: linear-gradient(135deg, #021433e6 0%, #010c2ae6 100%) !important;
}

.checkin-day {
background: linear-gradient(135deg, #000815 0%, #010c2a 100%) !important;
border-color: #02143366 !important;
}

.checkin-day:hover:not(.locked):not(.completed) {
border-color: #2563eb66 !important;
box-shadow: 0 5px 15px rgba(37, 99, 235, 0.2) !important;
}

.checkin-day.active {
background: linear-gradient(135deg, #021433 0%, #010c2a 100%) !important;
border-color: #2563eb99 !important;
box-shadow: 0 3px 10px rgba(37, 99, 235, 0.2) !important;
}

.checkin-day.completed {
background: linear-gradient(135deg, #021433aa 0%, #010c2aaa 100%) !important;
border-color: #02143388 !important;
}

.checkin-day.locked {
background: linear-gradient(135deg, #000815 0%, #010c2a 100%) !important;
border-color: #02143344 !important;
opacity: 0.6 !important;
}

.checkin-day-reward {
color: #2563eb !important;
}

.checkin-day .check-icon {
background-color: #2563eb !important;
color: #ffffff !important;
box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2) !important;
}

.checkin-progress {
background-color: rgba(255, 255, 255, 0.1) !important;
border-radius: 4px !important;
}

.checkin-progress-bar {
background: linear-gradient(90deg, #1e40af 0%, #2563eb 100%) !important;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 0 8px rgba(37, 99, 235, 0.2) !important;
}