:root {
    --bg-base: #030000;
    --panel-bg: rgba(10, 10, 12, 0.45);
    --red-main: #ff1a1a;
    --red-dark: #800000;
    --red-glow: rgba(255, 26, 26, 0.4);
    /* Vidro fosco — deixa o fundo (orbs + partículas) aparecer */
    --glass: rgba(12, 10, 14, 0.42);
    --glass-border: rgba(255, 80, 80, 0.18);
    --glass-blur: blur(22px) saturate(160%);
    --text-main: #ffffff;
    --text-muted: #888888;
}

/* Vars também no html.light-mode (boot no <head> — zero flash) */
html.light-mode {
    --bg-base: #e8ecf3;
    --panel-bg: rgba(255, 255, 255, 0.55);
    --glass: rgba(255, 255, 255, 0.48);
    --glass-border: rgba(255, 255, 255, 0.55);
    --glass-blur: blur(22px) saturate(165%);
    --text-main: #111111;
    --text-muted: #5a5f6a;
    --red-glow: rgba(255, 26, 26, 0.18);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', system-ui, sans-serif; outline: none; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
 
body, .sidebar, .mobile-header, .main-content, .card-plan, .tool-card, .login-wrapper, .config-modal, .c-header, .c-body, .c-footer, .token-card, .notif-dropdown {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

body { 
    background-color: var(--bg-base); 
    color: var(--text-main); 
    min-height: 100vh; 
    overflow-x: hidden; 
    position: relative;
    scroll-behavior: smooth;
}

body.light-mode {
    --bg-base: #e8ecf3;
    --panel-bg: rgba(255, 255, 255, 0.55);
    --glass: rgba(255, 255, 255, 0.48);
    --glass-border: rgba(255, 255, 255, 0.55);
    --glass-blur: blur(22px) saturate(165%);
    --text-main: #111111;
    --text-muted: #5a5f6a;
    --red-glow: rgba(255, 26, 26, 0.18);
}
body.light-mode .sidebar {
    background: rgba(255, 255, 255, 0.52) !important;
    backdrop-filter: blur(28px) saturate(160%);
    -webkit-backdrop-filter: blur(28px) saturate(160%);
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 4px 0 30px rgba(0,0,0,0.06);
}
body.light-mode .card-plan,
body.light-mode .tool-card,
body.light-mode .login-wrapper,
body.light-mode .stat-box,
body.light-mode .token-card,
body.light-mode .ios-card {
    background: rgba(255, 255, 255, 0.58) !important;
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.55) !important;
    box-shadow: 0 8px 28px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.7) !important;
}
body.light-mode .card-plan:hover { box-shadow: 0 12px 36px rgba(0,0,0,0.1), 0 0 18px var(--red-glow), inset 0 1px 0 rgba(255,255,255,0.8) !important; }
body.light-mode .nav-links button:hover, body.light-mode .nav-links button.active { background: rgba(255,26,26,0.1); }
body.light-mode .base-price, body.light-mode .total-price strong { color: #111; }
/* stat-box glass no light: herda do bloco glass acima */
body.light-mode .c-header { background: #f9f9f9; border-bottom: 1px solid #ddd; }
body.light-mode .header-title h2 { color: #111; text-shadow: none; }
body.light-mode .config-modal { background: #fff; border-color: #ddd; box-shadow: 0 10px 40px rgba(0,0,0,0.1) !important; }
body.light-mode .c-footer { background: #f0f2f5; border-top: 1px solid #ddd; }
body.light-mode .dynamic-row { background: #f9f9f9; border-color: #ddd; }
body.light-mode .d-info span { color: #111; }
body.light-mode .counter { background: #fff; border-color: #ddd; }
body.light-mode .counter input { color: #111; }
body.light-mode .counter button { background: #eee; color: #111; }
body.light-mode .counter button:hover { background: var(--red-main); color: #fff; }
body.light-mode .day-btn { background: #fff; border-color: #ddd; color: #555; }
body.light-mode .t-info h4 { color: #111; }
body.light-mode .token-card { background: #fff; border-color: #ddd; }
body.light-mode .notif-dropdown {
    background: rgba(255, 255, 255, 0.48) !important;
    backdrop-filter: blur(40px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(40px) saturate(180%) !important;
    border-color: rgba(255, 255, 255, 0.65) !important;
    box-shadow: 0 25px 60px rgba(15,23,42,0.12), inset 0 1px 0 rgba(255,255,255,0.85) !important;
}
body.light-mode .nd-header {
    background: rgba(255, 255, 255, 0.35) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    color: #111 !important;
}
body.light-mode .nd-tab { color: #888; }
body.light-mode .nd-tab.active { color: var(--red-main); background: rgba(255,26,26,0.1); border-color: var(--red-main); }
body.light-mode .nd-tab:hover { color: #111; }
body.light-mode .notif-item { border-bottom: 1px solid rgba(0, 0, 0, 0.05); }
body.light-mode .notif-item p { color: #555; }
body.light-mode .nd-footer { background: rgba(255, 255, 255, 0.5); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-top: 1px solid rgba(0, 0, 0, 0.06); }
body.light-mode .nd-close { background: rgba(0,0,0,0.06); border: 1px solid rgba(0,0,0,0.1); color: #111; }
body.light-mode .nd-close:hover { background: rgba(255,26,26,0.1); border-color: var(--red-main); color: var(--red-main); }
body.light-mode .cupom-popover {
    background: rgba(255, 255, 255, 0.48) !important;
    backdrop-filter: blur(40px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(40px) saturate(180%) !important;
    border-color: rgba(255, 255, 255, 0.65) !important;
    box-shadow: 0 25px 60px rgba(15,23,42,0.12), inset 0 1px 0 rgba(255,255,255,0.85) !important;
}
body.light-mode .cupom-popover-header {
    background: rgba(255, 255, 255, 0.35) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    color: #111 !important;
}
body.light-mode .cupom-popover-item { border-bottom: 1px solid rgba(0, 0, 0, 0.05); }
body.light-mode .cupom-popover-item:hover { background: rgba(255,26,26,0.05); }
body.light-mode .cupom-popover-code { color: #b8860b; }
body.light-mode .cupom-popover-off { color: #b8860b; background: rgba(184,134,11,0.1); }
body.light-mode .cupom-popover-copy { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.08); color: #555; }
body.light-mode .cupom-popover-copy:hover { background: rgba(255,26,26,0.1); border-color: var(--red-main); color: var(--red-main); }
body.light-mode .mobile-header { background: rgba(255, 255, 255, 0.72); backdrop-filter: blur(45px) saturate(180%); -webkit-backdrop-filter: blur(45px) saturate(180%); border-bottom: 1px solid rgba(0, 0, 0, 0.06); box-shadow: 0 20px 50px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.5); }
body.light-mode #menu-icon { color: #111; }
body.light-mode .stat-val { color: #111 !important; }
body.light-mode .input-dark { background: #f9f9f9 !important; color: #111 !important; border-color: #ddd !important; }
body.light-mode .btn-config { background: #fff !important; color: #111 !important; border-color: var(--red-main) !important; }
body.light-mode .btn-config:hover { background: var(--red-main) !important; color: #fff !important; }
body.light-mode .coupon-area input { background: #fff !important; color: #111 !important; border: 1px solid #ccc !important; }
body.light-mode .coupon-area button { background: #f5f5f5 !important; color: #111 !important; border: 1px solid #ccc !important; }
body.light-mode .coupon-area button:hover { background: var(--red-main) !important; color: #fff !important; border-color: var(--red-main) !important; }
body.light-mode #chk-balance-avail { color: #111 !important; }
body.light-mode .cashback-text { color: #555 !important; border-color: rgba(255,200,0,0.6) !important; }
body.light-mode .config-modal.modal-content { background: #fff !important; border-color: #ddd !important; }
body.light-mode #pix-pending-box { background: linear-gradient(180deg, rgba(255,230,230,1) 0%, #ffffff 100%) !important; border-top-color: var(--red-main) !important; }
body.light-mode .success-card { background: linear-gradient(180deg, rgba(230,255,230,1) 0%, #ffffff 100%) !important; border-top-color: #00cc00 !important; }
body.light-mode .success-card h3 { color: #111 !important; text-shadow: none !important; }
body.light-mode .success-summary { background: #f9f9f9 !important; color: #333 !important; border-color: #ccc !important; }
body.light-mode .success-summary b { color: #111 !important; }
body.light-mode .success-token-box { background: #fff !important; border-color: #00cc00 !important; }
body.light-mode .success-token-box .val { color: #111 !important; text-shadow: none !important; }
body.light-mode .copy-pix { background: #f5f5f5 !important; color: #111 !important; border-color: #ccc !important; }
body.light-mode .btn-google { background: #fff !important; color: #111 !important; border: 2px solid var(--red-main) !important; box-shadow: 0 6px 0 var(--red-main), 0 15px 25px rgba(0,0,0,0.1) !important; }
body.light-mode .btn-google:active { transform: translateY(6px); box-shadow: 0 0px 0 var(--red-main), 0 5px 10px rgba(0,0,0,0.1) !important; }
body.light-mode .btn-checkout { color: #fff !important; }
body.light-mode .payment-option-btn.btn-card { border-color: #ccc; color: #111 !important; }
 
/* Chat IA — modo claro premium (desktop + base; mobile reforçado no media query) */
body.light-mode .ai-chat-window,
html.light-mode .ai-chat-window,
body.light-mode #ai-chat-window.ai-chat-window {
    background: linear-gradient(165deg, #ffffff 0%, #f4f6fb 55%, #eef1f8 100%) !important;
    backdrop-filter: blur(28px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(28px) saturate(150%) !important;
    border-color: rgba(15, 23, 42, 0.1) !important;
    box-shadow: 0 25px 70px rgba(15, 23, 42, 0.14), 0 0 0 1px rgba(15, 23, 42, 0.04) !important;
    color: #111;
}
body.light-mode .ai-chat-header,
html.light-mode .ai-chat-header {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    color: #111 !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
}
body.light-mode .ai-chat-header button { color: var(--red-main) !important; }
body.light-mode .ai-chat-body { background: transparent !important; color: #1a1a1a; }
body.light-mode .ai-chat-body::-webkit-scrollbar-thumb { background: #c5cad6 !important; }
body.light-mode .ai-message.user {
    background: rgba(255, 26, 26, 0.1) !important;
    color: #111 !important;
    border-color: rgba(255, 26, 26, 0.22) !important;
    box-shadow: 0 2px 8px rgba(255, 26, 26, 0.08) !important;
}
body.light-mode .ai-message.bot {
    background: #ffffff !important;
    color: #2a2a2a !important;
    border-color: rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06) !important;
}
body.light-mode .ai-message.bot::before {
    background: linear-gradient(135deg, var(--red-main), #cc0000) !important;
    color: #fff !important;
    box-shadow: 0 0 10px var(--red-glow), 0 2px 4px rgba(0,0,0,0.2) !important;
}
body.light-mode .clear-chat-container { background: transparent !important; }
body.light-mode .clear-chat-btn {
    background: rgba(15, 23, 42, 0.04) !important;
    border-color: rgba(15, 23, 42, 0.1) !important;
    color: #666 !important;
}
body.light-mode .clear-chat-btn:hover {
    border-color: var(--red-main) !important;
    color: var(--red-main) !important;
    background: rgba(255, 26, 26, 0.08) !important;
}
body.light-mode .quick-actions { background: transparent !important; }
body.light-mode .ai-faq-card {
    background: #ffffff !important;
    border-color: rgba(15, 23, 42, 0.1) !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06) !important;
}
body.light-mode .ai-faq-trigger { color: #111 !important; }
body.light-mode .ai-faq-trigger:active { background: rgba(15, 23, 42, 0.04) !important; }
body.light-mode .ai-faq-sub { color: #6b7280 !important; }
body.light-mode .ai-faq-item {
    color: #1f2937 !important;
    border-bottom-color: rgba(15, 23, 42, 0.06) !important;
}
body.light-mode .ai-faq-item i { color: #9ca3af !important; }
body.light-mode .ai-faq-item:active { background: rgba(15, 23, 42, 0.04) !important; }
body.light-mode .ai-faq-list { border-top-color: rgba(15, 23, 42, 0.08) !important; }
body.light-mode .ai-faq-list::-webkit-scrollbar-thumb { background: rgba(15, 23, 42, 0.15) !important; }
body.light-mode .ai-chat-footer {
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(20px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(150%) !important;
    border-top: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.04);
}
body.light-mode .ai-chat-footer input {
    background: #f3f4f8 !important;
    color: #111 !important;
    border-color: rgba(15, 23, 42, 0.12) !important;
}
body.light-mode .ai-chat-footer input::placeholder { color: #8b92a0 !important; }
body.light-mode .ai-chat-footer input:focus {
    background: #ffffff !important;
    border-color: rgba(255, 26, 26, 0.45) !important;
    box-shadow: 0 0 0 3px rgba(255, 26, 26, 0.1) !important;
}
body.light-mode .ai-resume-overlay { background: rgba(255,255,255,0.95); }
body.light-mode .ai-resume-overlay h3 { color: var(--red-main); }
body.light-mode .ai-resume-overlay p { color: #333; }
body.light-mode .ai-resume-overlay i.fa-history { color: #aaa !important; }
body.light-mode .btn-newchat { color: #111 !important; border-color: #aaa !important; }
body.light-mode .btn-newchat:hover { background: #eee !important; }
body.light-mode .info-modal-content { background: #fff !important; border-color: #ddd !important; box-shadow: 0 10px 40px rgba(0,0,0,0.1) !important; }
body.light-mode .info-modal-content h3 { color: var(--red-main) !important; }
body.light-mode .info-modal-content p { color: #333 !important; }
 
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 2rem; align-items: start; }
.admin-card { background: linear-gradient(145deg, #111111, #080808); border: 1px solid #333; border-radius: 20px; padding: 2.5rem; box-shadow: 0 15px 40px rgba(0,0,0,0.5); transition: 0.3s; position: relative; overflow: hidden; }
.admin-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--red-dark), var(--red-main)); }
.admin-card h3 { color: var(--red-main); font-size: 1.4rem; margin-bottom: 20px; display: flex; align-items: center; gap: 12px; font-weight: 800; text-transform: uppercase; border-bottom: 1px solid #222; padding-bottom: 15px; }
.admin-table-container { background: #0a0a0a; border: 1px solid #333; border-radius: 16px; overflow-x: auto; width: 100%; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.admin-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 0.95rem; }
.admin-table th { background: #151515; color: #aaa; padding: 18px 20px; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; font-weight: 800; border-bottom: 2px solid #222; white-space: nowrap; }
.admin-table td { padding: 18px 20px; border-bottom: 1px solid #222; color: #eee; vertical-align: middle; }
.admin-table tr:hover { background: rgba(255,26,26,0.03); }
.badge-admin { padding: 6px 12px; border-radius: 30px; font-size: 0.8rem; font-weight: 800; background: rgba(255,26,26,0.1); color: var(--red-main); border: 1px solid rgba(255,26,26,0.3); display: inline-block; white-space: nowrap; }
 
body.light-mode .admin-card { background: #ffffff; border-color: #ddd; box-shadow: 0 5px 20px rgba(0,0,0,0.05) !important; }
body.light-mode .admin-card h3 { border-bottom-color: #eee; color: var(--red-main); }
body.light-mode .admin-table-container { background: #ffffff; border-color: #ddd; box-shadow: 0 5px 20px rgba(0,0,0,0.05) !important; }
body.light-mode .admin-table th { background: #f8f9fa; color: #555; border-bottom: 2px solid #ddd; }
body.light-mode .admin-table td { border-bottom: 1px solid #eee; color: #333; }
body.light-mode .admin-table tr:hover { background: rgba(255,26,26,0.03); }
body.light-mode .admin-card label { color: #555 !important; }
body.light-mode .badge-admin { background: rgba(255,26,26,0.1); color: var(--red-main); border-color: var(--red-main); }

/* Loader de engrenagem do tema desativado (troca de tema recarrega direto) */
#theme-loader { display: none !important; }
.spinner-wrapper { position: relative; display: flex; justify-content: center; align-items: center; width: 120px; height: 120px; }
.theme-spinner { font-size: 3rem; color: var(--red-main); position: absolute; animation: spinRight 3s linear infinite; z-index: 2; text-shadow: 0 0 15px var(--red-glow); }
.orbit-dot { position: absolute; width: 100%; height: 100%; animation: spinLeft 2s linear infinite; z-index: 1;}
.orbit-dot::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 12px; height: 12px; background: var(--text-main); border-radius: 50%; box-shadow: 0 0 10px rgba(255,255,255,0.8); }
.orbit-dot-2 { animation-duration: 4s; animation-direction: reverse; width: 70%; height: 70%; }
.orbit-dot-2::before { width: 8px; height: 8px; background: var(--red-main); box-shadow: 0 0 10px var(--red-main); }
#theme-loader h2 { color: var(--text-main); font-weight: 900; margin-top: 30px; letter-spacing: 3px; text-transform: uppercase; font-size: 1.1rem; text-shadow: 0 0 10px rgba(0,0,0,0.8); }
 
body.light-mode #theme-loader { background: rgba(255, 255, 255, 0.7); }
body.light-mode #theme-loader h2 { color: #111; text-shadow: none; }
body.light-mode .orbit-dot::before { background: #111; box-shadow: none; }

#pre-loader-mask {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: var(--bg-base); z-index: 1000000;
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
/* Aparece na hora ao trocar tema (sem fade de entrada) */
#pre-loader-mask.pre-loader-instant {
    transition: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: all !important;
    transform: none !important;
    display: flex !important;
    z-index: 2147483647 !important;
}
#pre-loader-mask.pre-loader-done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(1.02);
}
body.light-mode #pre-loader-mask,
html.light-mode #pre-loader-mask {
    background: linear-gradient(160deg, #e8ecf3 0%, #f5f7fb 50%, #eef1f8 100%) !important;
}
#pre-loader-mask .pre-loader-content {
    animation: preLoaderContentIn 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes preLoaderContentIn {
    from { opacity: 0; transform: translateY(10px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.pre-loader-content {
    display: flex; flex-direction: column; align-items: center; gap: 22px;
    padding: 36px 44px; border-radius: 28px; text-align: center;
    min-width: 260px;
}
.pre-loader-logo-ring {
    width: 72px; height: 72px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255, 26, 26, 0.08);
    border: 1px solid rgba(255, 26, 26, 0.2);
    box-shadow: 0 0 30px rgba(255, 26, 26, 0.15);
    animation: preLoaderPulse 2s ease-in-out infinite;
}
.pre-loader-logo { width: 48px; height: 48px; object-fit: contain; }
.pre-loader-bar {
    width: 180px; height: 3px; border-radius: 4px;
    background: rgba(255, 255, 255, 0.08); overflow: hidden;
}
body.light-mode .pre-loader-bar { background: rgba(0, 0, 0, 0.08); }
.pre-loader-progress {
    height: 100%; width: 0%; border-radius: 4px;
    background: linear-gradient(90deg, var(--red-dark), var(--red-main));
    animation: preLoaderBar 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.pre-loader-label {
    font-size: 0.72rem; font-weight: 800; letter-spacing: 2px;
    text-transform: uppercase; color: var(--text-muted);
    display: flex; align-items: center; gap: 8px;
}
@keyframes preLoaderPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(255, 26, 26, 0.1); }
    50% { transform: scale(1.04); box-shadow: 0 0 40px rgba(255, 26, 26, 0.25); }
}
@keyframes preLoaderBar {
    0% { width: 0%; }
    60% { width: 75%; }
    100% { width: 100%; }
}

/* Transição suave/lenta (mesmo “fluir” do Ver recursos — sem corte seco) */
.page-exit { animation: pageExit 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards; will-change: opacity, transform; }
.page-enter { animation: pageEnter 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards; will-change: opacity, transform; }
@keyframes pageExit {
    from { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
    to { opacity: 0; transform: translate3d(0, -18px, 0) scale(0.985); }
}
@keyframes pageEnter {
    from { opacity: 0; transform: translate3d(0, 28px, 0) scale(0.98); }
    to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

.reveal-on-scroll { opacity: 0; transform: translateY(28px); transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-on-scroll.reveal-visible { opacity: 1; transform: translateY(0); }

/* Fundo + constelações: z-index >= 0 (negativo fica ATRÁS do background do body e some) */
.reactor-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background:
        radial-gradient(ellipse 80% 60% at 20% 10%, rgba(255, 40, 40, 0.14), transparent 55%),
        radial-gradient(ellipse 70% 50% at 85% 80%, rgba(180, 0, 0, 0.12), transparent 50%);
}
#particles-js {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}
#particles-js.particles-ready { opacity: 1; }
html.light-mode #particles-js.particles-ready,
body.light-mode #particles-js.particles-ready { opacity: 0.95; }

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.4;
    z-index: 0;
    animation: float 15s infinite ease-in-out alternate;
    will-change: transform;
    pointer-events: none;
}
.orb-1 { width: 400px; height: 400px; background: var(--red-dark); top: -10%; left: -10%; }
.orb-2 { width: 500px; height: 500px; background: rgba(200, 0, 0, 0.25); bottom: -20%; right: -10%; animation-delay: -5s; }
.orb-3 { width: 300px; height: 300px; background: rgba(255, 26, 26, 0.2); top: 40%; left: 40%; animation-delay: -10s; }

/* Constelações / orbs no modo branco */
.orb { filter: blur(60px); animation: float 12s infinite ease-in-out alternate; }
.orb-1 { opacity: 0.42; }
.orb-2 { opacity: 0.34; animation-duration: 14s; }
.orb-3 { opacity: 0.3; animation-duration: 11s; }
/* Logado: MESMO fundo do loading (orbs + partículas bem visíveis) */
body.user-logged-in .orb {
    filter: blur(70px);
    animation-duration: 12s !important;
    opacity: 0.48;
}
body.user-logged-in .orb-1 { opacity: 0.55; }
body.user-logged-in .orb-2 { opacity: 0.42; }
body.user-logged-in .orb-3 { opacity: 0.38; }
body.user-logged-in.light-mode .orb,
html.light-mode body.user-logged-in .orb {
    opacity: 0.4;
}
body.user-logged-in #particles-js.particles-ready {
    opacity: 1;
}
body.user-logged-in.light-mode #particles-js.particles-ready,
html.light-mode body.user-logged-in #particles-js.particles-ready {
    opacity: 0.95;
}
html.light-mode .orb-1,
body.light-mode .orb-1 { background: rgba(220, 40, 40, 0.45); }
html.light-mode .orb-2,
body.light-mode .orb-2 { background: rgba(255, 80, 80, 0.34); }
html.light-mode .orb-3,
body.light-mode .orb-3 { background: rgba(255, 40, 40, 0.28); }
.orb-1 { background: rgba(180, 0, 0, 0.55); }
.orb-2 { background: rgba(255, 40, 40, 0.35); }
.orb-3 { background: rgba(255, 26, 26, 0.3); }
html.light-mode .reactor-bg,
body.light-mode .reactor-bg {
    background:
        radial-gradient(ellipse 80% 60% at 20% 10%, rgba(255, 80, 80, 0.12), transparent 55%),
        radial-gradient(ellipse 70% 50% at 85% 80%, rgba(200, 30, 30, 0.1), transparent 50%);
}
.reactor-bg {
    background:
        radial-gradient(ellipse 80% 60% at 20% 10%, rgba(255, 40, 40, 0.14), transparent 55%),
        radial-gradient(ellipse 70% 50% at 85% 80%, rgba(180, 0, 0, 0.12), transparent 50%);
}

/* UI acima do fundo — NÃO forçar position:relative em elementos fixed (IA, top-controls) */
#landing-screen,
#login-screen,
#dashboard-screen {
    position: relative;
    z-index: 2;
}
.mobile-header {
    z-index: 80;
}
.landing-review-toast {
    position: fixed;
    z-index: 40;
}

/* Botão + janela da IA: fixed estável (não sobe no pull-to-refresh) */
#ai-chat-btn.ai-float,
.ai-float {
    position: fixed !important;
    bottom: 56px !important; /* PC: um pouco mais pra cima */
    right: 28px !important;
    left: auto !important;
    top: auto !important;
    z-index: 1200 !important;
    /* anti-jump no overscroll mobile */
    transform: translate3d(0, 0, 0) !important;
    -webkit-transform: translate3d(0, 0, 0) !important;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform;
    touch-action: manipulation;
}
body.sidebar-open #ai-chat-btn,
body.ai-chat-open #ai-chat-btn,
body.ai-fab-hidden #ai-chat-btn {
    display: none !important;
    pointer-events: none !important;
    visibility: hidden !important;
}
#ai-chat-window.ai-chat-window,
.ai-chat-window {
    position: fixed !important;
    z-index: 1300 !important;
}
body.ai-chat-open {
    overflow: hidden !important;
}
.top-controls {
    position: fixed !important;
    top: 25px !important;
    right: 35px !important;
    z-index: 110 !important;
}

/* Menu lateral + overlay: FIXED no viewport, z-index alto */
.sidebar-overlay {
    display: none;
    position: fixed !important;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 900 !important;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.sidebar-overlay.active {
    display: block;
    opacity: 1;
}
.sidebar {
    width: 280px;
    background: rgba(8, 8, 12, 0.52);
    backdrop-filter: blur(28px) saturate(160%);
    -webkit-backdrop-filter: blur(28px) saturate(160%);
    border-right: 1px solid var(--glass-border);
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: 100vh;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    z-index: 950 !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

/* Boot suave: SÓ opacity (transform quebra position:fixed dos filhos) */
body.app-ready #landing-screen,
body.app-ready #login-screen,
body.app-ready #dashboard-screen {
    animation: appSoftReveal 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes appSoftReveal {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    body.app-ready #landing-screen,
    body.app-ready #login-screen,
    body.app-ready #dashboard-screen { animation: none; }
    #particles-js { transition: none; opacity: 1; }
}
@keyframes float { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(50px, 50px) scale(1.1); } }

.top-controls { position: fixed; top: 25px; right: 35px; z-index: 110; display: flex; gap: 15px; align-items: center; }
.icon-btn {
    background: rgba(28, 12, 16, 0.4);
    backdrop-filter: blur(20px) saturate(170%);
    -webkit-backdrop-filter: blur(20px) saturate(170%);
    border: 1px solid rgba(255, 80, 80, 0.22);
    color: var(--text-main);
    width: 45px; height: 45px; border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    cursor: pointer; transition: 0.3s; font-size: 1.2rem; position: relative;
}
.icon-btn:hover { border-color: var(--red-main); color: var(--red-main); box-shadow: 0 0 15px var(--red-glow); }
.badge-dot { position: absolute; top: 8px; right: 8px; width: 10px; height: 10px; background: var(--red-main); border-radius: 50%; box-shadow: 0 0 8px var(--red-main); }
.notif-wrapper { position: relative; }
 
.notif-dropdown {
    display: none;
    position: absolute;
    top: 55px; right: 0;
    width: 350px;
    /* iOS liquid glass */
    background: rgba(22, 12, 16, 0.42) !important;
    backdrop-filter: blur(40px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(40px) saturate(180%) !important;
    border: 1px solid rgba(255, 80, 80, 0.18);
    border-radius: 20px;
    box-shadow:
        0 25px 60px rgba(0,0,0,0.45),
        0 0 0 1px rgba(255, 255, 255, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
    animation: zoomIn 0.3s ease;
}
.nd-header {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-weight: bold;
    background: rgba(255, 26, 26, 0.06);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nd-close { background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.18); border-radius: 50%; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1rem; cursor: pointer; transition: 0.2s; }
.nd-close:hover { background: rgba(255,26,26,0.2); border-color: var(--red-main); color: var(--red-main); transform: scale(1.1); }
.nd-tabs { display: flex; background: transparent; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.nd-tab { flex: 1; text-align: center; padding: 10px 6px; font-size: 0.8rem; cursor: pointer; color: #888; transition: 0.3s; border-bottom: 2px solid transparent; font-weight: bold; text-transform: uppercase; border-radius: 10px 10px 0 0; white-space: nowrap; }
.nd-tab.active { color: var(--red-main); border-color: var(--red-main); background: rgba(255,26,26,0.05); }
.nd-tab:hover { color: #fff; }
.nd-body { max-height: 300px; overflow-y: auto; }
.nd-body::-webkit-scrollbar { width: 4px; }
.nd-body::-webkit-scrollbar-thumb { background: var(--red-main); border-radius: 4px; }
.notif-item { padding: 14px 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.04); transition: 0.2s; cursor: pointer; position: relative;}
.notif-item.lida { opacity: 0.6; }
.notif-item:hover { background: rgba(255,26,26,0.05); }
.notif-item strong { color: var(--red-main); font-size: 0.85rem; text-transform: uppercase; display: block; margin-bottom: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.notif-item p { color: #ccc; font-size: 0.9rem; line-height: 1.5; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nd-empty { padding: 20px; text-align: center; color: var(--text-muted); font-size: 0.9rem; }
.nd-footer {
    padding: 12px;
    background: rgba(255, 26, 26, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.nd-footer button { background: transparent; color: var(--red-main); border: none; font-size: 0.85rem; font-weight: bold; cursor: pointer; text-transform: uppercase; }
.nd-footer button:hover { text-decoration: underline; }

#cupom-standalone { position: fixed; top: 25px; right: 95px; z-index: 111; display: none; }
.cupom-popover {
    display: none;
    position: absolute;
    top: 55px;
    right: 0;
    width: 300px;
    /* iOS liquid glass */
    background: rgba(22, 12, 16, 0.42) !important;
    backdrop-filter: blur(40px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(40px) saturate(180%) !important;
    border: 1px solid rgba(255, 80, 80, 0.18);
    border-radius: 20px;
    box-shadow:
        0 25px 60px rgba(0,0,0,0.45),
        0 0 0 1px rgba(255, 255, 255, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
    animation: zoomIn 0.3s ease;
    z-index: 112;
}
.cupom-popover-header {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-weight: bold;
    background: rgba(255, 26, 26, 0.06);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    color: #fff;
    font-size: 0.95rem;
    text-align: center;
}
.cupom-popover-item {
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: 0.2s;
    cursor: pointer;
}
.cupom-popover-item:hover {
    background: rgba(255,26,26,0.05);
}
.cupom-popover-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}
.cupom-popover-code {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-weight: 900;
    letter-spacing: 0.5px;
    color: #ffcc00;
    font-size: 0.85rem;
}
.cupom-popover-off {
    font-weight: 700;
    color: #ffcc00;
    background: rgba(255,204,0,0.12);
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 0.75rem;
    white-space: nowrap;
}
.cupom-popover-copy {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.04);
    color: #888;
    cursor: pointer;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    flex-shrink: 0;
    margin-left: 8px;
}
.cupom-popover-copy:hover {
    background: rgba(255,26,26,0.15);
    border-color: var(--red-main);
    color: var(--red-main);
}
.cupom-popover-empty {
    padding: 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.toast { position: fixed; top: 20px; right: 20px; background: rgba(0, 20px, 0, 0.9); border: 1px solid #00ff00; color: #00ff00; padding: 15px 25px; border-radius: 12px; font-weight: bold; font-size: 1rem; display: flex; align-items: center; gap: 10px; z-index: 99999; transform: translateX(150%); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: 0 0 20px rgba(0,255,0,0.2); pointer-events: none; }
.toast.show { transform: translateX(0); }

.ai-float { 
    position: fixed !important;
    bottom: 56px !important;
    right: 28px !important;
    left: auto !important;
    top: auto !important;
    z-index: 1200 !important;
    /* Vidro fosco premium (mesmo espírito dos cards) */
    background: rgba(18, 10, 14, 0.48) !important;
    backdrop-filter: blur(28px) saturate(170%) !important;
    -webkit-backdrop-filter: blur(28px) saturate(170%) !important;
    border: 1px solid rgba(255, 80, 80, 0.32) !important; 
    padding: 12px 24px; border-radius: 30px;
    display: none; /* JS liga com flex quando logado */
    justify-content: center; align-items: center; gap: 10px;
    font-size: 1.1rem; font-weight: 900; color: #fff; letter-spacing: 1px;
    cursor: pointer; outline: none;
    box-shadow:
        0 8px 32px rgba(255, 26, 26, 0.22),
        0 0 0 1px rgba(255, 255, 255, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 0 40px rgba(255, 26, 26, 0.08) !important;
    transition: box-shadow 0.35s, border-color 0.35s, background 0.35s, opacity 0.2s;
    transform: translate3d(0, 0, 0) !important;
    -webkit-transform: translate3d(0, 0, 0) !important;
    isolation: isolate;
}
 
.ai-float:hover { 
    box-shadow:
        0 15px 40px rgba(255, 26, 26, 0.35),
        0 0 0 1px rgba(255, 26, 26, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        0 0 60px rgba(255, 26, 26, 0.12) !important;
    border-color: rgba(255, 26, 26, 0.55) !important;
    background: rgba(28, 12, 16, 0.55) !important;
}
 
.ai-float:active { opacity: 0.9; }

#ai-chat-btn.ai-float {
    background: rgba(18, 10, 14, 0.48) !important;
    backdrop-filter: blur(28px) saturate(170%) !important;
    -webkit-backdrop-filter: blur(28px) saturate(170%) !important;
}

.overview-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}
.overview-greeting h2 {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -1px;
    color: var(--text-main);
    margin: 0 0 5px 0;
}
.overview-greeting h2 span {
    background: linear-gradient(135deg, var(--red-main), #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.ov-hero-icon {
    font-size: 1.2rem;
    color: var(--red-main);
    margin-right: 4px;
    opacity: 0.85;
}
.ov-patente {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 4px 14px;
    border-radius: 20px;
    background: rgba(255,26,26,0.08);
    border: 1px solid rgba(255,26,26,0.15);
    color: var(--text-main);
}
.ov-patente i { font-size: 0.8rem; opacity: 0.9; }
.overview-date {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 16px;
    background: var(--glass);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    white-space: nowrap;
}

.glass-liquid-card {
    background: var(--glass);
    /* Vidro fosco premium — reflete orbs/partículas do fundo */
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow:
        0 8px 32px rgba(0,0,0,0.28),
        inset 0 1px 0 rgba(255,255,255,0.08),
        inset 0 0 0 1px rgba(255,255,255,0.03);
    transition: box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s ease, background 0.3s ease;
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
}
.glass-liquid-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255,255,255,0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.3s;
}
.glass-liquid-card:hover::before {
    opacity: 1;
}
@media (hover: hover) and (pointer: fine) {
    .glass-liquid-card:hover {
        box-shadow:
            0 16px 48px rgba(0,0,0,0.35),
            0 0 0 1px rgba(255,26,26,0.15),
            inset 0 1px 0 rgba(255,255,255,0.1);
        border-color: rgba(255,26,26,0.35);
        background: rgba(18, 14, 18, 0.5);
    }
}
/* Dashboard: vidro embassado avermelhado (não preto sólido) — PC = mobile */
body.user-logged-in #tab-visao-geral .glass-liquid-card,
body.user-logged-in .main-content .glass-liquid-card {
    backdrop-filter: blur(36px) saturate(185%) !important;
    -webkit-backdrop-filter: blur(36px) saturate(185%) !important;
    background:
        linear-gradient(145deg, rgba(255, 40, 40, 0.12) 0%, rgba(40, 12, 18, 0.38) 45%, rgba(20, 10, 14, 0.42) 100%) !important;
    border-color: rgba(255, 90, 90, 0.28) !important;
    box-shadow:
        0 10px 40px rgba(80, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 180, 180, 0.14),
        0 0 0 1px rgba(255, 60, 60, 0.06) !important;
}
body.user-logged-in.light-mode #tab-visao-geral .glass-liquid-card,
body.user-logged-in.light-mode .main-content .glass-liquid-card,
html.light-mode body.user-logged-in #tab-visao-geral .glass-liquid-card {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.58) 0%, rgba(255, 240, 240, 0.48) 55%, rgba(255, 230, 230, 0.42) 100%) !important;
    border-color: rgba(255, 120, 120, 0.28) !important;
    box-shadow:
        0 10px 36px rgba(255, 40, 40, 0.08),
        inset 0 1px 0 rgba(255,255,255,0.9),
        0 0 0 1px rgba(255,255,255,0.4) !important;
}
body.user-logged-in.light-mode .glass-liquid-card:hover,
html.light-mode body.user-logged-in .glass-liquid-card:hover {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.68) 0%, rgba(255, 236, 236, 0.55) 100%) !important;
    border-color: rgba(255, 26, 26, 0.32) !important;
}

.ov-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 35px;
}
@media (min-width: 900px) {
    .ov-stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 18px;
    }
}
.ov-stat-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 14px;
    cursor: default;
    /* Sem animação no scroll — cards já aparecem prontos */
    opacity: 1;
    transform: none;
    animation: none !important;
}
@media (min-width: 900px) {
    .ov-stat-card { padding: 20px 18px; }
}
.ov-stat-premium {
    border: 1px solid rgba(255,255,255,0.1);
    background: linear-gradient(145deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.02) 100%);
}
body.user-logged-in .ov-stat-premium {
    background:
        linear-gradient(145deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 55%, rgba(255,26,26,0.04) 100%) !important;
}
.ov-stat-premium::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,255,255,0.12), transparent 50%, rgba(255,26,26,0.15));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.6;
}
.ov-stat-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    position: relative;
    z-index: 1;
}
.ov-stat-chip {
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 20px;
    background: rgba(255,204,0,0.12);
    color: #ffcc00;
    border: 1px solid rgba(255,204,0,0.2);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}
.ov-chip-green { background: rgba(0,255,0,0.1); color: #00cc66; border-color: rgba(0,255,0,0.2); }
.ov-chip-blue { background: rgba(0,150,255,0.1); color: #0096ff; border-color: rgba(0,150,255,0.2); }
.ov-chip-red { background: rgba(255,26,26,0.1); color: var(--red-main); border-color: rgba(255,26,26,0.2); }
.ov-stat-chip i { font-size: 0.5rem; }
.ov-stat-sub {
    display: block;
    font-size: 0.68rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 3px;
    opacity: 0.85;
    line-height: 1.3;
}
.ov-stat-bar {
    width: 100%;
    height: 3px;
    background: rgba(255,255,255,0.06);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}
.ov-stat-bar-fill {
    height: 100%;
    border-radius: 10px;
    background: linear-gradient(90deg, #ffcc00, #ffe066);
    transition: width 1.4s cubic-bezier(0.16, 1, 0.3, 1);
    min-width: 0;
}
.ov-stat-bar-fill.ov-fill-green { background: linear-gradient(90deg, #00cc00, #00ff88); }
.ov-stat-bar-fill.ov-fill-blue { background: linear-gradient(90deg, #0096ff, #4dc9f6); }
.ov-stat-bar-fill.ov-fill-red { background: linear-gradient(90deg, var(--red-main), #ff6b6b); }
.ov-stat-card:nth-child(1),
.ov-stat-card:nth-child(2),
.ov-stat-card:nth-child(3),
.ov-stat-card:nth-child(4) { animation: none !important; animation-delay: 0s !important; }
@keyframes ovFadeIn {
    from { opacity: 1; transform: none; }
    to { opacity: 1; transform: none; }
}
.ov-stat-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: var(--icon-bg, rgba(255,26,26,0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: var(--icon-color, #ff1a1a);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    /* Sem pulse infinito — causava jank no scroll */
}
@media (min-width: 900px) {
    .ov-stat-icon { width: 48px; height: 48px; font-size: 1.3rem; border-radius: 16px; }
}
@keyframes ovIconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}
.ov-stat-info {
    position: relative;
    z-index: 1;
}
.ov-stat-val {
    display: block;
    font-size: clamp(1.2rem, 4.5vw, 1.6rem);
    font-weight: 900;
    color: var(--text-main);
    letter-spacing: -0.5px;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}
.ov-stat-lbl {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 2px;
}
.ov-stat-glow {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, var(--icon-color, #ff1a1a) 0%, transparent 70%);
    opacity: 0.08;
    pointer-events: none;
    border-radius: 50%;
}

.ov-section-title {
    margin-bottom: 16px;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.ov-section-title i {
    color: var(--red-main);
    font-size: 0.9rem;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,26,26,0.1);
    border-radius: 8px;
    border: 1px solid rgba(255,26,26,0.15);
}
.ov-section-title span {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.3px;
    text-transform: uppercase;
}

.ov-quick-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 35px;
}
@media (min-width: 768px) {
    .ov-quick-actions {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}
.ov-action-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    cursor: pointer;
    font-size: inherit;
    color: var(--text-main);
    text-align: left;
    border: none;
    width: 100%;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}
.ov-action-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255,26,26,0.1);
    border: 1px solid rgba(255,26,26,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: var(--red-main);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: all 0.3s;
}
.ov-action-btn:hover .ov-action-icon {
    background: var(--red-main);
    color: #fff;
    transform: scale(1.05);
}
.ov-action-label {
    flex: 1;
    font-weight: 700;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}
.ov-action-arrow {
    color: var(--text-muted);
    font-size: 0.75rem;
    position: relative;
    z-index: 1;
    transition: transform 0.3s, color 0.3s;
}
.ov-action-btn:hover .ov-action-arrow {
    transform: translateX(4px);
    color: var(--red-main);
}

.ov-planos-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 35px;
}
.ov-plano-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    animation: none !important;
    opacity: 1;
    transform: none;
}
.ov-plano-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255,26,26,0.1);
    border: 1px solid rgba(255,26,26,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--red-main);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}
.ov-plano-info {
    flex: 1;
    position: relative;
    z-index: 1;
}
.ov-plano-nome {
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--text-main);
}
.ov-plano-dias {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
}
.ov-plano-badge {
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.ov-plano-badge.ativo {
    background: rgba(0,255,0,0.1);
    color: #00ff00;
    border: 1px solid rgba(0,255,0,0.2);
}
.ov-plano-badge.expirado {
    background: rgba(255,26,26,0.1);
    color: var(--red-main);
    border: 1px solid rgba(255,26,26,0.2);
}
.ov-empty-state {
    text-align: center;
    padding: 30px 20px;
}
.ov-empty-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 10px;
    color: var(--text-muted);
    opacity: 0.5;
}
.ov-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px !important;
    font-size: 0.85rem !important;
    margin-top: 10px;
}
.ov-empty-state p {
    color: var(--text-muted);
    font-weight: 600;
    margin: 0;
}

.ov-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(6px, 2vw, 14px);
    margin-bottom: 30px;
}
.ov-metric-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: clamp(10px, 2.5vw, 18px) clamp(6px, 1.5vw, 12px);
    text-align: center;
    animation: none !important;
    opacity: 1;
    transform: none;
    min-width: 0;
}
.ov-metric-card:nth-child(1),
.ov-metric-card:nth-child(2),
.ov-metric-card:nth-child(3) { animation-delay: 0s !important; }
.ov-metric-ring {
    position: relative;
    width: clamp(56px, 18vw, 72px);
    height: clamp(56px, 18vw, 72px);
    margin-bottom: 8px;
    z-index: 1;
}
.ov-metric-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}
.ov-ring-bg {
    fill: none;
    stroke: rgba(255,255,255,0.06);
    stroke-width: 6;
}
.ov-ring-fill {
    fill: none;
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 213.6;
    stroke-dashoffset: 213.6;
    transition: stroke-dashoffset 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.ov-ring-red { stroke: url(#ovGradRed); stroke: var(--red-main); }
.ov-ring-green { stroke: #00cc66; }
.ov-ring-blue { stroke: #0096ff; }
.ov-metric-ring-val {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(0.85rem, 3.5vw, 1.15rem);
    font-weight: 900;
    color: var(--text-main);
    font-variant-numeric: tabular-nums;
    animation: none !important;
}
@keyframes ovCountPop {
    from { transform: scale(1); opacity: 1; }
    to { transform: scale(1); opacity: 1; }
}
.ov-metric-card-body {
    width: 100%;
    position: relative;
    z-index: 1;
}
.ov-metric-card-title {
    display: block;
    font-size: clamp(0.62rem, 2.2vw, 0.78rem);
    font-weight: 800;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 2px;
}
.ov-metric-card-title i {
    color: var(--red-main);
    margin-right: 3px;
    font-size: 0.7em;
}
.ov-metric-card-pct {
    display: block;
    font-size: clamp(0.58rem, 2vw, 0.72rem);
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.ov-metric-card-bar {
    height: 4px;
    background: rgba(255,255,255,0.06);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 6px;
}
.ov-metric-card-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 1.4s cubic-bezier(0.16, 1, 0.3, 1);
    min-width: 0;
}
.ov-metric-share {
    width: 100%;
    justify-content: center;
    padding: 4px 8px !important;
    font-size: clamp(0.55rem, 2vw, 0.65rem) !important;
    margin-top: 2px;
    background: rgba(0,150,255,0.1) !important;
    border-color: rgba(0,150,255,0.2) !important;
    color: #0096ff !important;
}
.ov-metric-share:hover {
    background: #0096ff !important;
    color: #fff !important;
}
.ov-metric-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    min-width: 2px;
}
.ov-fill-red {
    background: linear-gradient(90deg, var(--red-main), #ff6b6b);
    box-shadow: 0 0 12px var(--red-glow);
}
.ov-fill-green {
    background: linear-gradient(90deg, #00cc00, #00ff88);
    box-shadow: 0 0 12px rgba(0,255,0,0.3);
}
.ov-fill-blue {
    background: linear-gradient(90deg, #0096ff, #4dc9f6);
    box-shadow: 0 0 12px rgba(0,150,255,0.3);
}

body.light-mode .overview-date {
    background: rgba(255,255,255,0.48);
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    border-color: rgba(255,255,255,0.65);
    color: #4b5563;
    box-shadow: 0 4px 18px rgba(15,23,42,0.06), inset 0 1px 0 rgba(255,255,255,0.8);
}
body.light-mode .glass-liquid-card {
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(30px) saturate(175%);
    -webkit-backdrop-filter: blur(30px) saturate(175%);
    border-color: rgba(255,255,255,0.72);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.09), inset 0 1px 0 rgba(255,255,255,0.9);
}
body.light-mode .glass-liquid-card:hover {
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.12), inset 0 1px 0 rgba(255,255,255,0.95);
    border-color: rgba(255,26,26,0.28);
    background: rgba(255,255,255,0.72);
}
body.light-mode .glass-liquid-card::before {
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255,255,255,0.35) 0%, transparent 60%);
}
body.light-mode .overview-greeting h2 { color: #0f172a; }
body.light-mode .ov-section-title span { color: #0f172a; }
body.light-mode .ov-stat-val,
body.light-mode .ov-metric-ring-val,
body.light-mode .ov-plano-nome { color: #0f172a !important; }
body.light-mode .ov-stat-lbl,
body.light-mode .ov-stat-sub,
body.light-mode .ov-action-label { color: #4b5563; }
body.light-mode .ov-stat-premium {
    border-color: rgba(255, 255, 255, 0.55);
    background: linear-gradient(145deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.28) 100%) !important;
}
body.light-mode .ov-metric-card-bar,
body.light-mode .ov-stat-bar {
    background: rgba(0,0,0,0.06);
}
body.light-mode .ov-ring-bg {
    stroke: rgba(0,0,0,0.08);
}
.overview-greeting .ov-patente {
    display: inline-flex;
    width: auto;
}
body.light-mode .ov-stat-premium {
    background: linear-gradient(145deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.28) 100%) !important;
}
body.light-mode .ov-action-icon {
    background: rgba(255,26,26,0.08);
}
body.light-mode .ov-plano-badge.ativo {
    background: rgba(0,200,0,0.1);
}
body.light-mode .ov-plano-badge.expirado {
    background: rgba(255,26,26,0.08);
}
body.light-mode .ov-empty-state p {
    color: #666;
}

body.light-mode .ai-float,
body.light-mode #ai-chat-btn.ai-float {
    background: rgba(255, 255, 255, 0.55) !important;
    backdrop-filter: blur(28px) saturate(170%) !important;
    -webkit-backdrop-filter: blur(28px) saturate(170%) !important;
    border: 1px solid rgba(255, 26, 26, 0.25) !important;
    color: #111 !important;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.85),
        0 0 40px rgba(255, 26, 26, 0.05) !important;
}
body.light-mode .ai-float:hover,
body.light-mode #ai-chat-btn.ai-float:hover {
    background: rgba(255, 255, 255, 0.72) !important;
    border-color: rgba(255, 26, 26, 0.45) !important;
    color: var(--red-main) !important;
    box-shadow:
        0 15px 40px rgba(255, 26, 26, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 0 60px rgba(255, 26, 26, 0.08) !important;
}
body.light-mode .ai-float svg {
    color: var(--red-main);
}

.info-modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.6); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); z-index: 999999; justify-content: center; align-items: center; padding: 5%; animation: overlayFadeIn 0.25s ease both; }
.info-modal-content { background: #0a0a0a; border: 1px solid var(--red-main); border-radius: 20px; width: 100%; max-width: 450px; padding: 30px; text-align: center; position: relative; box-shadow: 0 15px 50px rgba(0,0,0,0.9), inset 0 0 20px rgba(255,0,0,0.05); animation: zoomIn 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.info-modal-content h3 { color: #fff; margin-bottom: 15px; font-size: 1.3rem; font-weight: 900; text-transform: uppercase; white-space: nowrap; }
.info-modal-content p { color: #ccc; font-size: 1rem; line-height: 1.6; }
.info-modal-content .close-info { position: absolute; top: 15px; right: 15px; background: transparent; border: none; color: #ff1a1a; font-size: 1.2rem; cursor: pointer; transition: 0.2s;}
.info-modal-content .close-info:hover { transform: scale(1.1); }
 
.info-btn { position: absolute; top: 15px; right: 15px; color: var(--text-muted); cursor: pointer; font-size: 1.2rem; transition: 0.3s; z-index: 10; }
.info-btn:hover { color: var(--red-main); transform: scale(1.1); }

#login-screen {
    min-height: 100vh; display: none; flex-direction: column;
    justify-content: flex-start; align-items: center;
    z-index: 10; position: relative; padding: 0;
}
.login-screen-inner {
    width: 100%; max-width: 520px; margin: 0 auto;
    padding: 20px 5% 40px; display: flex; flex-direction: column; gap: 16px;
}
@media (min-width: 768px) {
    .login-screen-inner {
        max-width: 620px;
        padding: 30px 0 50px;
    }
}
.login-top-bar {
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
    padding: 12px 18px; border-radius: 20px; width: 100%;
}
.btn-back-login {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--glass); border: 1px solid var(--glass-border);
    color: var(--text-main); cursor: pointer; font-weight: 700;
    font-size: 0.82rem; padding: 8px 16px; border-radius: 12px;
    transition: 0.3s; text-decoration: none; white-space: nowrap;
}
.btn-back-login:hover {
    border-color: var(--red-main); color: var(--red-main);
    box-shadow: 0 0 12px var(--red-glow);
}
@media (min-width: 768px) {
    .btn-back-login {
        position: fixed; top: 24px; left: 24px; z-index: 100;
        font-size: 0.9rem; padding: 12px 22px; border-radius: 14px;
    }
    .login-top-bar {
        grid-template-columns: 1fr auto 1fr;
    }
    .login-top-bar .btn-back-login {
        position: static;
    }
}
.login-top-title {
    font-size: 0.8rem; font-weight: 800; letter-spacing: 1.5px;
    text-transform: uppercase; color: var(--text-muted);
    display: flex; align-items: center; gap: 8px; justify-content: center;
}
.login-top-spacer { width: 1px; }
.login-wrapper {
    background: var(--glass); backdrop-filter: blur(28px) saturate(140%);
    -webkit-backdrop-filter: blur(28px) saturate(140%);
    border: 1px solid var(--glass-border);
    padding: 1.5rem 1.4rem 1.25rem; border-radius: 24px;
    box-shadow: 0 20px 48px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.04);
    text-align: center; width: 100%; margin: 0 auto;
    position: relative; overflow: hidden;
    max-width: 440px;
}
.login-brand-block { margin-bottom: 0.9rem; position: relative; z-index: 2; }
.login-brand-title {
    font-size: 1.35rem; font-weight: 900; letter-spacing: 1px;
    margin: 0.55rem 0 0.15rem; text-shadow: 0 0 20px var(--red-glow);
}
.login-brand-sub {
    font-size: 0.78rem; color: var(--text-muted); margin: 0; line-height: 1.4;
}
.auth-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
@media (max-width: 520px) {
    .auth-form-row { grid-template-columns: 1fr; gap: 0; }
}
.auth-link-forgot {
    color: var(--red-main); text-decoration: none; font-size: 0.75rem; font-weight: 700;
}
.auth-turnstile-wrap {
    display: flex;
    justify-content: center;
    margin: 10px 0 12px;
    position: relative;
    z-index: 2;
    min-height: 65px;
}
.auth-turnstile-wrap .cf-turnstile { width: 100%; display: flex; justify-content: center; }
.btn-auth-primary,
.btn-auth-register {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 16px !important;
    font-size: 0.88rem !important;
    /* ESCONDIDO por padrão — só .is-visible aparece (corrige os 2 botões juntos) */
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    margin: 6px 0 0 0 !important;
    position: relative;
    z-index: 2;
    text-align: center !important;
    white-space: normal !important;
    letter-spacing: 0.3px !important;
}
.btn-auth-primary.is-visible,
.btn-auth-register.is-visible {
    display: flex !important;
}
.btn-auth-primary { box-shadow: 0 4px 0 var(--red-dark) !important; }
.btn-auth-register {
    background: #00b800 !important;
    border-color: #00e000 !important;
    box-shadow: 0 4px 0 #006600 !important;
    color: #fff !important;
}

/* Transição suave Entrar ↔ Criar conta */
#auth-login-box,
#auth-register-box,
#auth-recover-box {
    will-change: opacity, transform;
}
.auth-panel-in {
    animation: authPanelIn 0.38s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes authPanelIn {
    from { opacity: 0; transform: translateY(12px) scale(0.985); filter: blur(2px); }
    to   { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
.login-wrapper.auth-swap-pulse {
    animation: authSwapPulse 0.42s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes authSwapPulse {
    0%   { box-shadow: 0 20px 48px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.04); }
    40%  { box-shadow: 0 22px 52px rgba(255,26,26,0.12), 0 0 0 1px rgba(255,26,26,0.15), inset 0 1px 0 rgba(255,255,255,0.06); }
    100% { box-shadow: 0 20px 48px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.04); }
}
body.light-mode .login-wrapper.auth-swap-pulse {
    animation: authSwapPulseLight 0.42s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes authSwapPulseLight {
    0%   { box-shadow: 0 20px 50px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.75); }
    40%  { box-shadow: 0 22px 48px rgba(255,26,26,0.1), 0 0 0 1px rgba(255,26,26,0.12), inset 0 1px 0 rgba(255,255,255,0.85); }
    100% { box-shadow: 0 20px 50px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.75); }
}
.termos-box-compact {
    padding: 10px 12px !important;
    margin: 8px 0 10px !important;
    font-size: 0.72rem !important;
    line-height: 1.35 !important;
    text-align: left;
}
.termos-box-compact strong { display: block; margin-bottom: 2px; font-size: 0.78rem; }
.termos-check { margin-bottom: 6px !important; }
#err-reg-termos { text-align: center; margin: 0 0 8px; }
.login-wrapper .form-group { margin-bottom: 12px; text-align: left; }
.login-wrapper .form-group label { font-size: 0.78rem; margin-bottom: 5px; }
.login-wrapper .form-group input {
    padding: 11px 14px;
    font-size: 0.9rem;
}
.login-wrapper .secure-badge {
    margin-top: 14px;
    font-size: 0.68rem;
    line-height: 1.3;
    opacity: 0.85;
}
.login-wrapper .secure-sep { margin: 0 4px; opacity: 0.5; }
.auth-register-hint { display: none; }
 
.brand-logo { 
    width: 72px; height: 72px;
    background: transparent; border: none; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto; box-shadow: none;
    position: relative; z-index: 2; overflow: hidden;
}
.brand-logo.brand-logo-square {
    width: 88px;
    height: 88px;
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(255,26,26,0.12), rgba(0,0,0,0.35));
    border: 1px solid rgba(255, 26, 26, 0.28);
    box-shadow: 0 10px 28px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.04) inset, 0 0 24px rgba(255,26,26,0.12);
    overflow: hidden;
}
.brand-logo video {
    width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
    transform: scale(1.2); pointer-events: none;
    display: block;
}
.brand-logo.brand-logo-square video {
    border-radius: 20px;
    transform: scale(1.08);
    object-fit: cover;
    object-position: center;
}
.gear-1 { font-size: 1.8rem; animation: spinRight 5s linear infinite; }
.gear-2 { font-size: 1.1rem; animation: spinLeft 5s linear infinite; margin-top: 15px; margin-left: -3px; }
 
.login-wrapper h1 { font-size: 3rem; margin-bottom: 0.2rem; text-shadow: 0 0 20px var(--red-glow); font-weight: 900; letter-spacing: 2px; position: relative; z-index: 2;}
.subtitle { font-size: 0.85rem; color: var(--red-main); letter-spacing: 4px; font-weight: 700; margin-bottom: 1.5rem; text-transform: uppercase; position: relative; z-index: 2;}
.login-wrapper p { color: var(--text-muted); margin-bottom: 2rem; font-size: 1.05rem; line-height: 1.6; position: relative; z-index: 2;}
 
.btn-google { background: linear-gradient(145deg, #1a0000, #000000); color: #fff !important; border: 2px solid var(--red-main); padding: 16px 30px; border-radius: 14px; font-weight: 900; font-size: 1.1rem; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 15px; text-decoration: none; transition: 0.2s; box-shadow: 0 6px 0 var(--red-dark), 0 15px 25px rgba(0,0,0,0.8); letter-spacing: 1px; white-space: nowrap; text-transform: uppercase; max-width: 100%; margin: 0 auto; position: relative; z-index: 2;}
.btn-google:active { transform: translateY(6px); box-shadow: 0 0px 0 var(--red-dark), 0 5px 10px rgba(0,0,0,0.8); }
.btn-google img { width: 24px; filter: drop-shadow(0 0 5px rgba(255,255,255,0.5)); }
.btn-google.disabled { opacity: 0.5; pointer-events: none; cursor: not-allowed; box-shadow: none; }

@keyframes pulseLogo { from { box-shadow: 0 0 10px var(--red-glow); } to { box-shadow: 0 0 30px var(--red-main); } }
@keyframes spinRight { 100% { transform: rotate(360deg); } }
@keyframes spinLeft { 100% { transform: rotate(-360deg); } }

.mobile-header { display: none; background: rgba(8, 8, 8, 0.75); backdrop-filter: blur(45px) saturate(180%); -webkit-backdrop-filter: blur(45px) saturate(180%); padding: 12px 20px; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255, 255, 255, 0.08); position: sticky; top: 0; z-index: 50; box-shadow: 0 20px 50px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.04); border-radius: 0 0 24px 24px; }
.mobile-header h2 { color: var(--red-main); text-shadow: 0 0 10px var(--red-glow); font-size: 1.6rem; letter-spacing: 2px; font-weight: 900; margin: 0; text-align: center; position: absolute; left: 50%; transform: translateX(-50%); }
.mobile-header .left-box { display: flex; align-items: center; z-index: 51; }
.mobile-header .right-box { display: flex; align-items: center; z-index: 51; justify-content: flex-end;}
.mobile-header button.btn-menu { background: transparent; border: none; color: var(--text-main); font-size: 1.8rem; cursor: pointer; transition: 0.3s; padding: 5px; }
.mobile-header button.btn-menu:active { color: var(--red-main); transform: scale(0.8);}
 
/* sidebar/overlay: regras canônicas no bloco reactor-bg acima (z-index 900/950 fixed) */
#dashboard-screen { display: none; min-height: 100vh; flex-direction: column; }

/* Sidebar só no painel logado */
body:not(.user-logged-in) .sidebar,
body:not(.user-logged-in) .sidebar-overlay {
    display: none !important;
    pointer-events: none !important;
    visibility: hidden !important;
}
body.user-logged-in .sidebar {
    display: flex !important;
    visibility: visible !important;
}
body.sidebar-open {
    overflow: hidden !important;
    touch-action: none;
}
body.light-mode .sidebar {
    background: rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: blur(28px) saturate(165%) !important;
    -webkit-backdrop-filter: blur(28px) saturate(165%) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 8px 0 40px rgba(0, 0, 0, 0.06);
}
body.light-mode .sidebar-overlay {
    background: rgba(20, 24, 32, 0.35) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
}
 
.user-profile { text-align: center; margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
.user-profile img { width: 80px; height: 80px; border-radius: 50%; border: 3px solid var(--red-main); padding: 3px; margin-bottom: 10px; box-shadow: 0 0 15px var(--red-glow); object-fit: cover;}
.user-profile h3 { font-size: 1.2rem; margin-bottom: 2px; font-weight: bold;}
.user-patente { display: block; font-size: 0.85rem; font-weight: bold; margin-top: 5px; }
 
.nav-links { display: flex; flex-direction: column; gap: 8px; flex-grow: 1; overflow-y: auto; padding-right: 5px; }
.nav-links::-webkit-scrollbar { width: 4px; }
.nav-links::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
.nav-links button { background: transparent; color: var(--text-muted); border: none; padding: 12px; text-align: left; border-radius: 12px; cursor: pointer; transition: 0.3s; font-size: 0.9rem; font-weight: 500; display: flex; align-items: center; gap: 12px; position: relative; overflow: hidden; }
.nav-links button i { font-size: 1rem; width: 20px; text-align: center; transition: 0.3s; }

.nav-links button:hover, .nav-links button.active { 
    background: rgba(255, 26, 26, 0.08); 
    color: var(--text-main); 
    box-shadow: inset 4px 0 0 var(--red-main), 0 0 15px rgba(255, 26, 26, 0.05);
}

.nav-links button.active i, .nav-links button:hover i {
    color: var(--red-main);
    text-shadow: 0 0 10px var(--red-glow);
}
 
.logout-btn { background: rgba(255,0,0,0.05); color: var(--red-main); border: 1px solid rgba(255,0,0,0.3); padding: 15px; border-radius: 12px; text-decoration: none; text-align: center; transition: 0.3s; font-weight: bold; margin-top: 10px; display: block; }
.logout-btn:hover { background: var(--red-main); color: #fff; box-shadow: 0 0 15px var(--red-glow); }

.main-content { margin-left: 280px; padding: 3rem 4rem; width: calc(100% - 280px); position: relative; z-index: 2; flex-grow: 1; display: flex; flex-direction: column; }
 
.header-title { margin-bottom: 3rem; text-align: center; }
.header-title h2 { font-size: 2.5rem; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; text-shadow: 0 0 15px var(--red-glow); }
.header-title p { color: var(--text-muted); font-size: 1.1rem; margin-top: 5px; }

.input-error-msg { color: #ff4444; font-size: 0.75rem; font-weight: bold; margin-top: 5px; display: none; text-align: left; }
.input-error-border { border-color: #ff4444 !important; }

.login-wrapper h1 { font-size: 2.2rem; margin-bottom: 0.2rem; text-shadow: 0 0 20px var(--red-glow); font-weight: 900; letter-spacing: 2px; position: relative; z-index: 2;}
.login-wrapper .brand-logo { width: 60px; height: 60px; margin: 0 auto 0.75rem auto; }
.login-wrapper .brand-logo.brand-logo-square {
    width: 88px;
    height: 88px;
    margin: 0 auto 0.55rem auto;
    border-radius: 22px;
}
 
.login-tabs {
    display: flex; background: rgba(0,0,0,0.35); border-radius: 16px;
    padding: 5px; margin-bottom: 20px; border: 1px solid rgba(255,255,255,0.06);
    position: relative; z-index: 2; gap: 4px;
}
body.light-mode .login-tabs { background: rgba(0,0,0,0.05); border-color: rgba(0,0,0,0.1); }
.login-tab {
    flex: 1; padding: 11px 8px; text-align: center; cursor: pointer;
    border-radius: 12px; color: var(--text-muted); font-weight: 800;
    transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1); font-size: 0.82rem;
    display: flex; align-items: center; justify-content: center; gap: 6px;
}
.login-tab.active {
    background: var(--red-main); color: #fff;
    box-shadow: 0 4px 20px rgba(255,26,26,0.35);
}

.auth-social-section { margin-bottom: 4px; position: relative; z-index: 2; }
.btn-social-google {
    display: flex; align-items: center; gap: 14px; width: 100%;
    padding: 14px 16px; border-radius: 16px; text-decoration: none;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main); cursor: pointer;
    transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: left;
}
body.light-mode .btn-social-google {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.08);
}
.btn-social-google:hover:not(.disabled) {
    border-color: rgba(255, 26, 26, 0.4);
    background: rgba(255, 26, 26, 0.06);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.btn-social-google.disabled { opacity: 0.45; pointer-events: none; cursor: not-allowed; }
.btn-social-icon {
    width: 40px; height: 40px; border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
body.light-mode .btn-social-icon { background: rgba(0, 0, 0, 0.04); }
.btn-social-icon img { width: 22px; height: 22px; }
.btn-social-text { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.btn-social-title { font-size: 0.9rem; font-weight: 800; letter-spacing: 0.3px; }
.btn-social-sub { font-size: 0.72rem; color: var(--text-muted); font-weight: 600; }
.btn-social-arrow { font-size: 0.75rem; color: var(--text-muted); flex-shrink: 0; transition: 0.3s; }
.btn-social-google:hover:not(.disabled) .btn-social-arrow { color: var(--red-main); transform: translateX(3px); }

.auth-register-hint {
    font-size: 0.75rem; color: var(--text-muted); margin-bottom: 12px;
    display: flex; align-items: center; justify-content: center; gap: 6px;
    font-weight: 700;
}
.auth-register-hint i { color: var(--red-main); }

.login-divider {
    display: flex; align-items: center; text-align: center;
    margin: 18px 0; color: var(--text-muted); font-size: 0.7rem;
    font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
    position: relative; z-index: 2;
}
.login-divider::before, .login-divider::after {
    content: ''; flex: 1; border-bottom: 1px solid var(--glass-border);
}
.login-divider span { padding: 0 14px; white-space: nowrap; }

.recover-header { text-align: center; margin-bottom: 22px; }
.recover-icon {
    width: 52px; height: 52px; border-radius: 16px; margin: 0 auto 12px;
    background: rgba(255, 26, 26, 0.1); border: 1px solid rgba(255, 26, 26, 0.2);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; color: var(--red-main);
}
.recover-header h2 { font-size: 1.3rem; font-weight: 900; margin-bottom: 6px; }
.recover-header p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }
.recover-back-wrap { text-align: center; margin-top: 20px; }
.btn-recover-back {
    background: transparent; border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted); cursor: pointer; font-weight: 800;
    font-size: 0.82rem; padding: 10px 18px; border-radius: 12px;
    display: inline-flex; align-items: center; gap: 8px; transition: 0.3s;
}
.btn-recover-back:hover { color: var(--red-main); border-color: rgba(255, 26, 26, 0.3); }

.form-group { margin-bottom: 15px; text-align: left; }
.form-group label { color: #aaa; font-size: 0.8rem; font-weight: bold; margin-bottom: 5px; display: block; }
.form-group input { width: 100%; background: #0a0a0a; border: 1px solid #333; padding: 12px; border-radius: 10px; color: #fff; font-size: 0.9rem; transition: 0.2s; }
.form-group input:focus { border-color: var(--red-main); box-shadow: 0 0 10px var(--red-glow); }
 
.termos-box { background: rgba(0, 150, 255, 0.05); border: 1px solid rgba(0, 150, 255, 0.2); padding: 15px; border-radius: 12px; margin-bottom: 15px; text-align: left; font-size: 0.75rem; color: #aaa; display: flex; gap: 10px; align-items: flex-start; }
.termos-box i { color: #0096ff; font-size: 1.2rem; margin-top: 2px; }
.termos-box a { color: #0096ff; text-decoration: none; font-weight: bold; }
.termos-check { display: flex; align-items: center; gap: 10px; font-size: 0.8rem; color: #ccc; justify-content: center; margin-bottom: 15px; }
 
.password-container { position: relative; }
.password-toggle { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: #666; cursor: pointer; font-size: 1rem; }

.ios-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05); border-radius: 20px; padding: 20px; margin-bottom: 20px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
body.light-mode .ios-card { background: rgba(255,255,255,0.8); border-color: rgba(0,0,0,0.05); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
 
.ios-stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin-bottom: 20px; }
.ios-stat { background: rgba(0,0,0,0.2); border-radius: 16px; padding: 15px; display: flex; align-items: center; gap: 15px; border: 1px solid rgba(255,255,255,0.03); }
body.light-mode .ios-stat { background: #f5f5f7; border-color: rgba(0,0,0,0.03); }
 
.ios-stat-icon { width: 45px; height: 45px; border-radius: 12px; display: flex; justify-content: center; align-items: center; font-size: 1.2rem; flex-shrink: 0; }
.ios-stat-info { display: flex; flex-direction: column; overflow: hidden; }
.ios-stat-val { font-size: 1.3rem; font-weight: 900; color: var(--text-main); white-space: nowrap; }
.ios-stat-lbl { font-size: 0.75rem; color: var(--text-muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
 
.ios-form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 15px; }
.ios-form-group label { font-size: 0.8rem; color: var(--text-muted); font-weight: bold; text-transform: uppercase; margin-left: 5px; }
.ios-input { background: rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.1); border-radius: 14px; padding: 16px; color: #fff; font-size: 1rem; transition: 0.3s; width: 100%; outline: none;}
.ios-input:focus { border-color: var(--red-main); box-shadow: 0 0 15px rgba(255,26,26,0.2); }
body.light-mode .ios-input,
body.light-mode .pay-input,
body.light-mode .form-group input,
body.light-mode .password-container input,
body.light-mode input[type="email"],
body.light-mode input[type="password"],
body.light-mode input[type="text"],
body.light-mode input[type="tel"],
body.light-mode input[type="number"],
body.light-mode textarea,
body.light-mode select {
    background: rgba(255, 255, 255, 0.72) !important;
    border-color: rgba(0, 0, 0, 0.12) !important;
    color: #111 !important;
    caret-color: #111;
}
body.light-mode .ios-input::placeholder,
body.light-mode .form-group input::placeholder,
body.light-mode .pay-input::placeholder,
body.light-mode textarea::placeholder {
    color: #888 !important;
    opacity: 1;
}
body.light-mode .ios-input:focus,
body.light-mode .form-group input:focus,
body.light-mode .pay-input:focus {
    background: rgba(255, 255, 255, 0.9) !important;
    border-color: var(--red-main) !important;
    box-shadow: 0 0 0 3px rgba(255, 26, 26, 0.12) !important;
}
body.light-mode .password-container { position: relative; }
body.light-mode .password-toggle { color: #666 !important; }
/* overlay light: definido junto com .sidebar (não cobrir menu com fosco total) */
body.light-mode #pre-loader-mask {
    background: linear-gradient(160deg, #e8ecf3 0%, #f5f7fb 50%, #eef1f8 100%) !important;
}
body.light-mode .pre-loader-content {
    background: rgba(255, 255, 255, 0.55) !important;
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.8);
}
body.light-mode .pre-loader-label { color: #555 !important; }
body.light-mode .pre-loader-logo-ring {
    background: rgba(255, 26, 26, 0.08);
    border-color: rgba(255, 26, 26, 0.22);
}
body.light-mode .header-title h2 {
    color: #111 !important;
    text-shadow: none !important;
    filter: none !important;
}
body.light-mode .header-title p { color: #5a5f6a !important; }
body.light-mode .main-content {
    background: transparent !important;
}
body.light-mode .config-modal-overlay {
    background: rgba(232, 236, 243, 0.55) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
body.light-mode .pay-data-card {
    background: rgba(255, 255, 255, 0.55) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
}
body.light-mode .login-wrapper.glass-liquid-strong,
body.light-mode .glass-liquid-strong {
    background: rgba(255, 255, 255, 0.58) !important;
    backdrop-filter: blur(32px) saturate(170%) !important;
    -webkit-backdrop-filter: blur(32px) saturate(170%) !important;
    border: 1px solid rgba(255, 255, 255, 0.65) !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.75) !important;
}
body.light-mode .mobile-header {
    background: rgba(255, 255, 255, 0.62) !important;
    backdrop-filter: blur(40px) saturate(170%) !important;
    -webkit-backdrop-filter: blur(40px) saturate(170%) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
    box-shadow: 0 12px 30px rgba(0,0,0,0.05) !important;
}
body.light-mode .mobile-header h2 {
    text-shadow: none !important;
    color: var(--red-main) !important;
}
 
@media (max-width: 600px) {
    .ios-stats-grid { grid-template-columns: 1fr; }
}

.ios-token-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05); border-radius: 20px; padding: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: transform 0.3s, box-shadow 0.3s; border-left: 4px solid #00ff00; }
.ios-token-card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,255,0,0.1); }
.ios-token-card.resgatado { border-left-color: var(--red-main); opacity: 0.5; filter: grayscale(100%); }
.ios-token-card.resgatado:hover { transform: none; box-shadow: none; }
 
body.light-mode .ios-token-card { background: rgba(255,255,255,0.8); border-color: rgba(0,0,0,0.05); border-left-color: #00cc00; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
body.light-mode .ios-token-card.resgatado { border-left-color: var(--red-main); }
 
.ios-t-info { display: flex; flex-direction: column; gap: 6px; }
.ios-t-title { font-size: 1.15rem; font-weight: 900; color: var(--text-main); text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.ios-t-desc { font-size: 0.85rem; color: var(--text-muted); display: flex; align-items: center; gap: 15px; flex-wrap: wrap; font-weight: bold; }
.ios-t-desc span { display: flex; align-items: center; gap: 5px; }
 
.ios-t-code-btn { background: rgba(0,255,0,0.1); color: #00ff00; border: none; padding: 12px 20px; border-radius: 14px; font-family: monospace; font-size: 1.1rem; font-weight: bold; cursor: pointer; transition: 0.3s; display: flex; align-items: center; gap: 8px; }
.ios-t-code-btn:hover { background: rgba(0,255,0,0.2); box-shadow: 0 5px 15px rgba(0,255,0,0.2); }
 
.ios-token-card.resgatado .ios-t-code-btn { background: rgba(255,26,26,0.1); color: var(--red-main); cursor: default; }
.ios-token-card.resgatado .ios-t-code-btn:hover { background: rgba(255,26,26,0.1); box-shadow: none; }
 
body.light-mode .ios-t-code-btn { background: rgba(0,204,0,0.1); color: #008800; }
body.light-mode .ios-token-card.resgatado .ios-t-code-btn { background: rgba(255,26,26,0.1); color: var(--red-main); }

.ios-result-box { margin-top: 15px; padding: 15px; background: rgba(0,0,0,0.3); border-radius: 14px; font-size: 0.95rem; min-height: 50px; display: none; border: 1px solid rgba(255,255,255,0.05); text-align: center; }
body.light-mode .ios-result-box { background: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.05); }

.ios-ranking-card {
    background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 20px;
    padding: 15px 20px; display: flex; align-items: center; gap: 15px; margin-bottom: 15px;
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: transform 0.3s, box-shadow 0.3s;
}
.ios-ranking-card:hover { transform: scale(1.02); box-shadow: 0 10px 25px rgba(0,0,0,0.3); }
body.light-mode .ios-ranking-card { background: rgba(255,255,255,0.8); border-color: rgba(0,0,0,0.05); box-shadow: 0 5px 15px rgba(0,0,0,0.03); }
 
.ios-rank-pos { font-size: 1.5rem; font-weight: 900; width: 40px; text-align: center; color: var(--text-muted); opacity: 0.5; }
.ios-rank-top1 .ios-rank-pos { color: #ffcc00; opacity: 1; text-shadow: 0 0 15px rgba(255,204,0,0.5); font-size: 2rem; }
.ios-rank-top2 .ios-rank-pos { color: #c0c0c0; opacity: 1; text-shadow: 0 0 15px rgba(192,192,192,0.5); font-size: 1.8rem; }
.ios-rank-top3 .ios-rank-pos { color: #cd7f32; opacity: 1; text-shadow: 0 0 15px rgba(205,127,50,0.5); font-size: 1.6rem; }
 
.ios-rank-info { flex-grow: 1; }
.ios-rank-name { font-size: 1.15rem; font-weight: 800; color: var(--text-main); margin-bottom: 3px; display: flex; align-items: center; gap: 8px; }
.ios-rank-details { font-size: 0.85rem; color: var(--text-muted); font-weight: 600; display: flex; align-items: center; gap: 5px; }
 
.ios-rank-icon { width: 45px; height: 45px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; background: rgba(0,0,0,0.3); flex-shrink: 0; }
body.light-mode .ios-rank-icon { background: #f0f2f5; }

.ios-step-box { display: flex; flex-direction: column; gap: 12px; margin-bottom: 25px; }
.ios-step { background: rgba(0,0,0,0.2); border: 1px solid rgba(255,255,255,0.03); border-radius: 16px; padding: 16px 20px; display: flex; align-items: center; gap: 15px; transition: transform 0.3s; }
.ios-step:hover { transform: translateX(5px); background: rgba(255,255,255,0.02); }
.ios-step-num { width: 35px; height: 35px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 1.1rem; flex-shrink: 0; box-shadow: inset 0 0 10px rgba(0,0,0,0.2); }
.ios-step-text { font-size: 0.95rem; color: var(--text-main); font-weight: 500; }
.ios-step-text strong { color: var(--red-main); }
 
body.light-mode .ios-step { background: #f5f5f7; border-color: rgba(0,0,0,0.03); }
body.light-mode .ios-step:hover { background: #fff; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
 
.btn-wpp { background: linear-gradient(145deg, #00b300, #00e600) !important; color: #000 !important; box-shadow: 0 5px 15px rgba(0,204,0,0.2) !important; border: none !important; }
.btn-wpp:hover { transform: scale(1.02); box-shadow: 0 8px 20px rgba(0,204,0,0.4) !important; }

.ios-table-container { background: rgba(0,0,0,0.2); border: 1px solid rgba(255,255,255,0.05); border-radius: 16px; overflow-x: auto; width: 100%; margin-top: 15px; }
body.light-mode .ios-table-container { background: rgba(255,255,255,0.8); border-color: rgba(0,0,0,0.05); }
.ios-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 0.9rem; }
.ios-table th { background: rgba(255,255,255,0.03); color: var(--text-muted); padding: 15px 20px; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; font-weight: 800; border-bottom: 1px solid rgba(255,255,255,0.05); white-space: nowrap; }
.ios-table td { padding: 15px 20px; border-bottom: 1px solid rgba(255,255,255,0.02); color: var(--text-main); vertical-align: middle; }
.ios-table tr:last-child td { border-bottom: none; }
.ios-table tr:hover { background: rgba(255,26,26,0.05); }
 
body.light-mode .ios-table th { background: #f8f9fa; border-bottom-color: #ddd; color: #555; }
body.light-mode .ios-table td { border-bottom-color: #eee; color: #333; }
body.light-mode .ios-table tr:hover { background: rgba(255,26,26,0.03); }

.card-plan { 
    background: rgba(255, 255, 255, 0.02) !important; 
    border-radius: 24px !important; 
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    overflow: visible !important; 
}
 
.card-plan::before { display: none !important; }
 
body.light-mode .card-plan { 
    background: rgba(255, 255, 255, 0.8) !important; 
    border-color: rgba(0, 0, 0, 0.05) !important; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.03) !important; 
}
 
.card-plan .info-btn {
    position: absolute !important;
    top: 12px !important;
    right: 15px !important;
    font-size: 1.15rem !important;
    color: var(--text-muted) !important;
    transition: 0.3s;
    z-index: 10;
}
.card-plan .info-btn:hover { color: var(--red-main) !important; transform: scale(1.1); }
 
.card-plan h3 { font-weight: 800 !important; letter-spacing: -0.5px; }
.card-plan .base-price { letter-spacing: -1px; }
 
.plan-features li { border-bottom: 1px solid rgba(255,255,255,0.03) !important; font-weight: 500; }
body.light-mode .plan-features li { border-bottom: 1px solid rgba(0,0,0,0.03) !important; }
.plan-features li i { background: rgba(255,26,26,0.1); padding: 5px; border-radius: 50%; font-size: 0.75rem !important; margin-right: 4px; }
 
.card-plan .btn-config { 
    background: rgba(255,255,255,0.03) !important; 
    border: 1px solid rgba(255,255,255,0.1) !important; 
    border-radius: 16px !important; 
    letter-spacing: 0.5px !important; 
}
.card-plan .btn-config:hover { 
    background: var(--red-main) !important; 
    border-color: var(--red-main) !important; 
    box-shadow: 0 5px 15px rgba(255,26,26,0.3) !important; 
    color: #fff !important;
}
body.light-mode .card-plan .btn-config { background: #f5f5f7 !important; border-color: #ddd !important; }
body.light-mode .card-plan .btn-config:hover { background: var(--red-main) !important; border-color: var(--red-main) !important; color: #fff !important;}

.config-modal { 
    background: rgba(15, 15, 15, 0.5) !important; 
    backdrop-filter: blur(35px) saturate(150%);
    -webkit-backdrop-filter: blur(35px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.08) !important; 
    border-radius: 28px !important; 
    box-shadow: 0 30px 60px rgba(0,0,0,0.6), inset 0 0 20px rgba(255,255,255,0.03) !important;
}
body.light-mode .config-modal {
    background: rgba(255, 255, 255, 0.7) !important;
    border-color: rgba(0,0,0,0.1) !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1), inset 0 0 20px rgba(255,255,255,0.5) !important;
}

.c-header { 
    background: transparent !important; 
    border-bottom: 1px solid rgba(255,255,255,0.05) !important; 
    padding: 2rem !important; 
    text-align: center; 
}
.c-header h2 { font-size: 1.6rem; font-weight: 900; letter-spacing: -0.5px; }
.c-header p { color: var(--text-muted) !important; font-size: 0.95rem; }
body.light-mode .c-header { border-bottom-color: rgba(0,0,0,0.05) !important; }
 
.close-modal { 
    background: rgba(255,255,255,0.05) !important; 
    border: none !important; 
    backdrop-filter: blur(5px); 
    border-radius: 50% !important;
}
.close-modal:hover { background: var(--red-main) !important; color: #fff !important; transform: rotate(90deg) scale(1.1); }
body.light-mode .close-modal { background: rgba(0,0,0,0.05) !important; color: #111 !important; }
body.light-mode .close-modal:hover { color: #fff !important; }

.c-footer { 
    background: rgba(0,0,0,0.2) !important; 
    border-top: 1px solid rgba(255,255,255,0.05) !important; 
    border-radius: 0 0 28px 28px; 
    padding: 1.5rem 2rem !important; 
}
body.light-mode .c-footer { background: rgba(255,255,255,0.4) !important; border-top-color: rgba(0,0,0,0.05) !important; }

.day-btn { 
    background: rgba(255,255,255,0.03) !important; 
    border: 1px solid rgba(255,255,255,0.05) !important; 
    border-radius: 14px !important; 
}
.day-btn.selected { 
    background: var(--red-main) !important; 
    color: #fff !important; 
    border-color: var(--red-main) !important; 
    box-shadow: 0 5px 15px rgba(255,26,26,0.3) !important; 
}
body.light-mode .day-btn { background: rgba(0,0,0,0.03) !important; border-color: rgba(0,0,0,0.05) !important; color: #333 !important;}
body.light-mode .day-btn.selected { color: #fff !important; }

.dynamic-row { 
    background: rgba(255,255,255,0.02) !important; 
    border: 1px solid rgba(255,255,255,0.05) !important; 
    border-radius: 16px !important; 
    padding: 15px 20px !important; 
}
body.light-mode .dynamic-row { background: rgba(0,0,0,0.02) !important; border-color: rgba(0,0,0,0.05) !important; }
 
.counter { 
    background: rgba(0,0,0,0.3) !important; 
    border: 1px solid rgba(255,255,255,0.05) !important; 
    border-radius: 12px !important; 
}
.counter button { background: transparent !important; color: var(--text-main) !important; }
.counter button:hover { color: var(--red-main) !important; }
body.light-mode .counter { background: rgba(255,255,255,0.5) !important; border-color: rgba(0,0,0,0.1) !important; }
body.light-mode .counter button { color: #111 !important; }

.summary-list td { border-bottom: 1px solid rgba(255,255,255,0.05) !important; padding: 12px 0 !important; }
body.light-mode .summary-list td { border-bottom-color: rgba(0,0,0,0.05) !important; }
 
.coupon-area input { 
    background: rgba(0,0,0,0.3) !important; 
    border: 1px solid rgba(255,255,255,0.1) !important; 
    border-radius: 14px !important; 
}
.coupon-area button { 
    background: var(--text-main) !important; 
    color: var(--bg-base) !important; 
    border: none !important;
    border-radius: 14px !important; 
}
body.light-mode .coupon-area input { background: #fff !important; border-color: #ddd !important; }
body.light-mode .coupon-area button { background: var(--red-main) !important; color: #fff !important; }
 
#cashback-container { 
    background: rgba(255, 204, 0, 0.05) !important; 
    border: 1px solid rgba(255, 204, 0, 0.2) !important; 
    border-radius: 16px !important; 
}

#landing-screen {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding: 0 5%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.glass-liquid {
    background: rgba(15, 15, 15, 0.4);
    backdrop-filter: blur(40px) saturate(150%);
    -webkit-backdrop-filter: blur(40px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), inset 0 0 20px rgba(255, 255, 255, 0.02);
}
 
body.light-mode .glass-liquid {
    background: rgba(255, 255, 255, 0.52);
    backdrop-filter: blur(36px) saturate(165%);
    -webkit-backdrop-filter: blur(36px) saturate(165%);
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 16px 40px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.landing-header {
    width: 100%;
    max-width: 100%;
    padding: 15px 5%;
    border-radius: 0 0 24px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    border-top: none;
}
.landing-logo { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.4rem; letter-spacing: 1px; color: var(--text-main); }
.landing-logo-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(145deg, rgba(255,26,26,0.15), rgba(0,0,0,0.35));
    border: 1px solid rgba(255, 26, 26, 0.3);
    box-shadow: 0 4px 14px rgba(0,0,0,0.35), 0 0 12px rgba(255,26,26,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}
.landing-logo-mark video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.08);
    display: block;
    pointer-events: none;
}
.landing-actions { display: flex; align-items: center; gap: 15px; }
.btn-landing-login { background: var(--text-main); color: var(--bg-base); border: none; padding: 10px 25px; border-radius: 30px; font-weight: 800; cursor: pointer; transition: 0.3s; }
.btn-landing-login:hover { transform: scale(1.05); box-shadow: 0 5px 15px rgba(255,255,255,0.2); }
 
body.light-mode .btn-landing-login { background: var(--red-main); color: #fff; }
body.light-mode .btn-landing-login:hover { box-shadow: 0 5px 15px rgba(255,26,26,0.3); }

.landing-hero { text-align: center; margin-top: 95px; width: 100%; max-width: 900px; display: flex; flex-direction: column; align-items: center; }
 
.hero-badge { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center;
    gap: 6px; 
    padding: 6px 15px; 
    border-radius: 30px; 
    font-size: clamp(0.55rem, 2.5vw, 0.75rem);
    font-weight: bold; 
    color: var(--red-main); 
    margin-bottom: 25px; 
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
    white-space: nowrap; 
    max-width: 90vw;
}
 
.pulse-dot { width: 10px; height: 10px; background: #00ff00; border-radius: 50%; animation: pulseOnline 2.5s ease-in-out infinite alternate; flex-shrink: 0; }
@keyframes pulseOnline {
    0% { box-shadow: 0 0 5px #00ff00, 0 0 10px #00ff00; opacity: 0.6; transform: scale(0.9); }
    100% { box-shadow: 0 0 15px #00ff00, 0 0 30px #00ff00; opacity: 1; transform: scale(1.1); }
}
 
.hero-title { font-size: clamp(3rem, 6vw, 4.5rem); font-weight: 900; line-height: 1.1; margin-bottom: 20px; letter-spacing: -1px; }
.hero-title .highlight { background: linear-gradient(90deg, var(--red-main), #ff6b6b); -webkit-background-clip: text; -webkit-text-fill-color: transparent; text-shadow: 0 0 30px rgba(255,26,26,0.3); }
.hero-subtitle { font-size: 1.15rem; color: var(--text-muted); line-height: 1.6; max-width: 700px; margin: 0 auto 40px auto; }
 
.hero-buttons { display: flex; gap: 20px; justify-content: center; align-items: center; flex-wrap: wrap; margin-bottom: 60px; }
.btn-landing-primary {
    background: var(--red-main); color: #fff; border: none;
    padding: 18px 40px; border-radius: 30px; font-size: 1rem; font-weight: 900;
    cursor: pointer; transition: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(255,26,26,0.4);
    display: inline-flex; align-items: center; gap: 10px;
}
.btn-landing-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(255,26,26,0.6); }
.btn-landing-secondary {
    color: var(--text-main); text-decoration: none; font-weight: 800;
    font-size: 0.95rem; display: inline-flex; align-items: center; gap: 8px;
    transition: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 12px 20px; border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
}
body.light-mode .btn-landing-secondary { border-color: rgba(0, 0, 0, 0.08); background: rgba(255, 255, 255, 0.6); }
.btn-landing-secondary:hover { color: var(--red-main); border-color: rgba(255, 26, 26, 0.3); transform: translateY(2px); }
.btn-landing-secondary .fa-chevron-down { font-size: 0.75rem; animation: chevronBounce 2s ease-in-out infinite; }
@keyframes chevronBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

.hero-floating-panel {
    width: 100%; max-width: 800px; border-radius: 24px; padding: 25px;
    margin-bottom: 40px;
    animation: panelFloat 6s ease-in-out infinite;
}
@keyframes panelFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
.panel-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 15px; }
body.light-mode .panel-header { border-bottom: 1px solid rgba(0,0,0,0.05); }
 
.mac-dots { display: flex; gap: 6px; }
.mac-dots span { width: 12px; height: 12px; border-radius: 50%; }
.mac-dots span:nth-child(1) { background: #ff5f56; }
.mac-dots span:nth-child(2) { background: #ffbd2e; }
.mac-dots span:nth-child(3) { background: #27c93f; }
 
.panel-title-sm { font-size: 0.85rem; font-weight: 900; letter-spacing: 2px; color: var(--text-muted); }
.status-online { display: flex; align-items: center; gap: 6px; font-size: 0.85rem; color: #00ff00; font-weight: bold; }
.status-online .dot { width: 8px; height: 8px; background: #00ff00; border-radius: 50%; box-shadow: 0 0 10px #00ff00; }
 
.panel-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; text-align: left; }
.p-stat { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05); padding: 20px; border-radius: 16px; display: flex; flex-direction: column; }
body.light-mode .p-stat { background: rgba(0,0,0,0.02); border: 1px solid rgba(0,0,0,0.05); }
 
.p-lbl { font-size: 0.75rem; color: var(--text-muted); font-weight: 800; display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.p-trend { font-size: 0.65rem; padding: 2px 7px; border-radius: 6px; font-weight: 800; }
.p-green { color: #00ff88; background: rgba(0,255,136,0.12); }
.p-blue { color: #0096ff; background: rgba(0,150,255,0.12); }
.p-red { color: #ff6b6b; background: rgba(255,107,107,0.12); }
.p-val { font-size: 2rem; font-weight: 900; color: var(--text-main); line-height: 1; margin-bottom: 8px; }
.p-val small { font-size: 1rem; color: var(--text-muted); font-weight: 700; }
.p-chart { width: 100%; height: 36px; display: block; opacity: 0.85; border-radius: 6px; }

.panel-live-bar {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    margin-top: 18px; padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.72rem; font-weight: 700; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 0.5px;
}
body.light-mode .panel-live-bar { border-top-color: rgba(0, 0, 0, 0.06); }
.live-pulse {
    width: 8px; height: 8px; border-radius: 50%; background: #00ff88;
    box-shadow: 0 0 8px #00ff88; animation: pulseOnline 2s ease-in-out infinite alternate;
    flex-shrink: 0;
}
.panel-live-meta { margin-left: auto; display: flex; align-items: center; gap: 5px; color: var(--text-main); }
.panel-live-meta i { color: var(--red-main); font-size: 0.65rem; }
.panel-live-time { font-family: monospace; font-size: 0.7rem; color: var(--text-muted); }

.landing-features { width: 100%; max-width: 1200px; padding: 40px 0; margin-bottom: 60px; }
.features-text { text-align: center; display: flex; flex-direction: column; align-items: center; margin-bottom: 50px; }
.features-text h2 { font-size: 2.5rem; font-weight: 900; margin-bottom: 10px; }
.features-text p { color: var(--text-muted); font-size: 1.1rem; max-width: 500px; margin: 0 auto; text-align: center; }
 
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; }
.feature-card { padding: 30px; border-radius: 20px; text-align: left; transition: transform 0.3s; }
.feature-card:hover { transform: translateY(-5px); border-color: var(--red-main); }
.f-icon { width: 50px; height: 50px; background: rgba(255,26,26,0.1); color: var(--red-main); display: flex; align-items: center; justify-content: center; border-radius: 12px; font-size: 1.5rem; margin-bottom: 20px; border: 1px solid rgba(255,26,26,0.2); }
.feature-card h3 { font-size: 1.3rem; font-weight: 900; margin-bottom: 10px; color: var(--text-main); }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

.landing-footer { width: 100%; text-align: center; padding: 30px 0; border-top: 1px solid rgba(255,255,255,0.05); color: var(--text-muted); font-size: 0.9rem; }
body.light-mode .landing-footer { border-top: 1px solid rgba(0,0,0,0.05); }

@media (max-width: 768px) {
    .landing-header { padding: 15px 20px; }
    .hero-buttons { flex-direction: column; gap: 12px; width: 100%; max-width: 340px; }
    .btn-landing-primary, .btn-landing-secondary { width: 100%; justify-content: center; }
    .features-text { text-align: center; }
    .features-text p { margin: 0 auto; }
    .panel-stats { grid-template-columns: 1fr; gap: 12px; }
    .p-stat { padding: 16px; }
    .p-val { font-size: 1.75rem; }
    .panel-live-bar { gap: 8px; }
    .panel-live-meta { margin-left: 0; width: 100%; }
    .hero-floating-panel { padding: 18px; border-radius: 20px; }
    .login-screen-inner { padding: 16px 4% 32px; }
    .login-wrapper { padding: 1.5rem 1.25rem 1.25rem; border-radius: 22px; }
    .login-top-bar { padding: 10px 14px; border-radius: 16px; }
    .login-top-title { font-size: 0.7rem; }
    .btn-back-login span { display: none; }
    .btn-social-google { padding: 12px 14px; gap: 12px; }
    .btn-social-title { font-size: 0.85rem; }
    .secure-sep { display: none; }
    .secure-badge { font-size: 0.6rem; gap: 4px; }
}

.fade-in { animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
 
.btn-back-login {
    background: transparent; border: none; color: var(--text-muted);
    font-size: 0.82rem; cursor: pointer; display: inline-flex;
    align-items: center; gap: 8px; transition: 0.3s; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.5px; padding: 6px 0;
    justify-self: start;
}
.btn-back-login span { display: inline; }
.btn-back-login:hover { color: var(--red-main); transform: translateX(-4px); }

.secure-badge {
    margin-top: 1.25rem; font-size: 0.65rem; color: var(--text-muted);
    display: flex; align-items: center; justify-content: center;
    gap: 6px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.5px; position: relative; z-index: 2; flex-wrap: wrap;
    line-height: 1.6;
}
.secure-badge i { color: #00ff88; }
.secure-sep { opacity: 0.35; }

.plans-grid { 
    display: grid; 
    grid-template-columns: repeat(4, minmax(0, 1fr)); 
    gap: 1.2rem; 
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1.5rem; 
    margin-bottom: 4rem;
    align-items: stretch;
}
 
.card-plan, .tool-card { 
    background: rgba(255, 255, 255, 0.02) !important; 
    border: 1px solid rgba(255, 255, 255, 0.08) !important; 
    border-radius: 24px !important; 
    padding: 2.2rem 1.2rem 1.5rem 1.2rem !important; 
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s, border-color 0.4s; 
    position: relative; 
    overflow: visible !important;
    display: flex; 
    flex-direction: column; 
    height: 100%;
    min-height: 0;
    box-sizing: border-box;
}
 
.card-plan::after, .tool-card::after, .login-wrapper::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 26, 26, 0.08), transparent 50%); opacity: 0; transition: opacity 0.3s; pointer-events: none; z-index: 1; border-radius: inherit; }
.card-plan:hover::after, .tool-card:hover::after, .login-wrapper:hover::after { opacity: 1; }
.card-plan > *:not(.badge):not(.info-btn), .tool-card > * { position: relative; z-index: 2; }
.card-plan:hover, .card-plan:active { 
    transform: translateY(-8px) !important; 
    border-color: var(--red-main) !important; 
    box-shadow: 0 15px 40px rgba(0,0,0,0.8), 0 0 25px var(--red-glow) !important; 
}
 
.card-plan .badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: linear-gradient(90deg, var(--red-dark), var(--red-main)); color: #fff; padding: 6px 18px; border-radius: 30px; font-size: 0.75rem; font-weight: 900; border: 2px solid var(--red-main); letter-spacing: 1px; z-index: 10; box-shadow: 0 5px 15px rgba(255, 26, 26, 0.4); white-space: nowrap; animation: floatBadge 3s ease-in-out infinite; }
@keyframes floatBadge { 0% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-5px); } 100% { transform: translateX(-50%) translateY(0); } }

.card-plan h3 { font-size: 1.4rem; margin-bottom: 5px; font-weight: 800; padding-right: 20px; display: block; }
.card-plan .base-price { font-size: 2rem; font-weight: 900; margin: 0.5rem 0 1rem 0; letter-spacing: -1px; }
.card-plan .base-price span { font-size: 0.9rem; color: var(--text-muted); font-weight: 500; letter-spacing: 0; }
 
.plan-features { list-style: none; margin-bottom: 1.6rem; flex-grow: 1; display: flex; flex-direction: column; gap: 7px; }
.plan-features li { padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,0.03) !important; color: var(--text-muted); font-size: 0.92rem; display: flex; align-items: flex-start; gap: 10px; font-weight: 500; }
.plan-features li i { background: rgba(255,26,26,0.1); padding: 5px; border-radius: 50%; color: var(--red-main); font-size: 0.78rem !important; margin-top: 2px; flex-shrink: 0; }
.card-plan, .tool-card { padding-bottom: 1.65rem !important; }
 
.btn-config { margin-top: auto; background: rgba(255,255,255,0.03) !important; border: 1px solid rgba(255,255,255,0.1) !important; color: var(--text-main); padding: 14px; border-radius: 16px !important; font-size: 0.95rem; font-weight: 800; cursor: pointer; transition: 0.3s; width: 100%; text-transform: uppercase; letter-spacing: 0.5px !important; position: relative; z-index: 2; }
.btn-config:hover { background: var(--red-main) !important; box-shadow: 0 5px 15px rgba(255,26,26,0.3) !important; color: #fff !important; border-color: var(--red-main) !important; }

.config-modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); z-index: 200; justify-content: center; align-items: center; padding: 5%; overflow-y: auto; animation: overlayFadeIn 0.25s ease both; }
.config-modal { background: #080808; border: 1px solid #333; border-radius: 24px; width: 100%; max-width: 600px; padding: 0; overflow: hidden; animation: modalSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: 0 20px 60px rgba(0,0,0,0.9), inset 0 0 20px rgba(255,0,0,0.05); display: flex; flex-direction: column; max-height: 90vh; }
 
.c-header { background: linear-gradient(135deg, #150000, #330000); padding: 1.8rem 2rem; border-bottom: 1px solid var(--red-main); position: relative; flex-shrink: 0; }
.c-header h2 { font-size: 1.6rem; margin-bottom: 5px; font-weight: 800; text-transform: uppercase;}
.c-header p { color: #ff9999; font-size: 0.9rem;}
.close-modal { position: absolute; top: 15px; right: 20px; background: rgba(0,0,0,0.3); border: 1px solid #444; border-radius: 50%; width: 40px; height: 40px; display:flex; align-items:center; justify-content:center; color: #fff; font-size: 1.2rem; cursor: pointer; transition: 0.2s; z-index: 999;}
.close-modal:hover { background: var(--red-main); border-color: var(--red-main); transform: rotate(90deg); }

.c-body { padding: 1.5rem 2rem; overflow-y: auto; flex-grow: 1; -webkit-overflow-scrolling: touch; }
.c-body::-webkit-scrollbar { width: 6px; }
.c-body::-webkit-scrollbar-thumb { background: var(--red-dark); border-radius: 4px; }
 
.config-section { margin-bottom: 2rem; }
.config-section:last-child { margin-bottom: 0; }
.config-section h4 { font-size: 1.1rem; margin-bottom: 15px; display: flex; align-items: center; gap: 10px; text-transform: uppercase; font-weight: 800; letter-spacing: 1px;}
.config-section h4 i { color: var(--red-main); }
 
.days-selector { display: flex; flex-wrap: wrap; gap: 10px; }
.day-btn { flex: 1; min-width: 60px; background: #151515; border: 1px solid #333; padding: 12px 5px; border-radius: 10px; cursor: pointer; font-weight: bold; transition: 0.2s; text-align: center; font-size: 0.95rem; color: #fff; }
.day-btn.selected { background: rgba(255,26,26,0.1); border-color: var(--red-main); color: var(--red-main); box-shadow: 0 0 15px rgba(255,26,26,0.2); }

.dynamic-row { display: flex; justify-content: space-between; align-items: center; background: rgba(255,255,255,0.02); padding: 18px 20px; border-radius: 12px; border: 1px solid #222; margin-bottom: 10px; }
.d-info { flex: 1; padding-right: 10px; }
.d-info span { display: block; font-weight: bold; font-size: 1.05rem; }
.d-info small { color: var(--text-muted); font-size: 0.85rem; display: block; margin-top: 4px; }
.counter { display: flex; align-items: center; background: #000; border: 1px solid #333; border-radius: 10px; overflow: hidden; flex-shrink: 0;}
.counter button { width: 40px; height: 40px; background: #1a1a1a; border: none; font-size: 1.2rem; cursor: pointer; transition: 0.2s; color: #fff;}
.counter button:hover { background: var(--red-main); color: #fff;}
.counter input { width: 50px; background: transparent; border: none; text-align: center; font-weight: bold; font-size: 1.1rem; pointer-events: none; color: #fff; }

.switch { position: relative; display: inline-block; width: 54px; height: 28px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #333; transition: .4s; border-radius: 30px; }
.slider:before { position: absolute; content: ""; height: 20px; width: 20px; left: 4px; bottom: 4px; background-color: white; transition: .4s; border-radius: 50%; box-shadow: 0 2px 5px rgba(0,0,0,0.5);}
input:checked + .slider { background-color: var(--red-main); box-shadow: 0 0 15px var(--red-main); }
input:checked + .slider:before { transform: translateX(26px); }
 
.discount-badge { display: inline-block; background: #00cc00; color: #000; font-size: 0.7rem; font-weight: bold; padding: 2px 6px; border-radius: 4px; margin-left: 8px; vertical-align: middle;}

.coupon-area { display: flex; gap: 10px; }
.coupon-area input { flex: 1; background: #000; border: 1px solid #333; padding: 15px; border-radius: 12px; text-transform: uppercase; font-weight: bold; letter-spacing: 1px; font-size: 1rem; color: #fff;}
.coupon-area input:focus { border-color: var(--red-main); }
.coupon-area button { background: #222; border: 1px solid #444; padding: 0 25px; border-radius: 12px; cursor: pointer; transition: 0.2s; font-weight: bold; text-transform: uppercase; color: #fff;}
.coupon-area button:hover { background: #444; color: #fff;}
#coupon-msg { display: block; margin-top: 10px; font-size: 0.9rem; font-weight: bold; }

.c-footer { padding: 1.8rem 2rem; background: #050505; border-top: 1px solid #222; display: flex; justify-content: space-between; align-items: center; flex-shrink: 0; }
.total-price { display: flex; flex-direction: column; }
.total-price span { color: var(--text-muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; font-weight: bold;}
.total-price strong { font-size: 2.2rem; line-height: 1.1; font-weight: 900; }
.btn-checkout { background: linear-gradient(145deg, var(--red-dark), var(--red-main)); color: #fff !important; border: 2px solid var(--red-main); padding: 16px 30px; border-radius: 12px; font-size: 1.05rem; font-weight: 900; cursor: pointer; transition: 0.2s; text-transform: uppercase; box-shadow: 0 5px 0 #4d0000, 0 10px 20px rgba(0,0,0,0.6); white-space: nowrap;}
.btn-checkout:active { transform: translateY(5px); box-shadow: 0 0px 0 #4d0000, 0 5px 10px rgba(0,0,0,0.6); }

.summary-list { width: 100%; border-collapse: collapse; margin-top: 10px; }
.summary-list td { padding: 8px 0; font-size: 0.95rem; border-bottom: 1px solid #222;}
.summary-list td:last-child { text-align: right; font-weight: bold; }
.summary-list tr.desconto td { color: #00ff00;}
.summary-list tr.desconto td:last-child { color: #00ff00;}
.summary-list tr.total td { font-size: 1.4rem; font-weight: 900; border-bottom: none; padding-top: 15px;}
.economy-text { display: block; text-align: center; font-size: 0.9rem; margin-top: 15px; padding: 10px; border-radius: 8px; background: rgba(0,255,0,0.05); border: 1px dashed rgba(0,255,0,0.3);}
.economy-text b { color: #00ff00; }
.cashback-text { display: block; text-align: center; font-size: 0.9rem; margin-top: 10px; padding: 10px; border-radius: 8px; background: rgba(255,200,0,0.05); border: 1px dashed rgba(255,200,0,0.3); color: var(--text-muted);}
.cashback-text b { color: #ffcc00; }

.tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-bottom: 4rem;}
.tool-card h3 { font-size: 1.4rem; margin-bottom: 15px; display: flex; align-items: center; gap: 12px; font-weight: 800; text-transform: uppercase;}
.tool-card h3 i { color: var(--red-main); font-size: 1.6rem;}
.tool-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 25px; line-height: 1.6; }
.input-dark { width: 100%; background: #0a0a0a; border: 1px solid #444; padding: 18px; border-radius: 12px; font-family: monospace; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 15px; color:#fff;}
.input-dark:focus { border-color: var(--red-main); box-shadow: 0 0 15px var(--red-glow); }
.result-box { margin-top: 15px; padding: 15px; background: rgba(0,0,0,0.5); border-radius: 12px; font-size: 0.95rem; min-height: 50px; display: none; border: 1px solid #222; }

.wallet-hero-compact {
    padding: 14px 16px !important;
    border-radius: 16px !important;
    margin-bottom: 14px !important;
}
.wallet-hero-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.wallet-hero-icon-sm {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(0,255,0,0.12);
    color: #00ff00;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.wallet-hero-text { flex: 1; min-width: 0; }
.wallet-hero-compact .wallet-hero-title {
    font-size: 0.95rem;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.wallet-hero-compact .wallet-hero-sub {
    font-size: 0.72rem;
    line-height: 1.3;
}
.wallet-stats-inline {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}
.wsi-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0,0,0,0.25);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 6px 8px;
    min-width: 42px;
}
.wsi-item b { font-size: 0.95rem; font-weight: 900; color: var(--text-main); line-height: 1; }
.wsi-item small { font-size: 0.55rem; color: var(--text-muted); font-weight: 700; text-transform: uppercase; margin-top: 2px; }
.wsi-item.green b { color: #00ff00; }
.wsi-item.red b { color: var(--red-main); }
.wallet-actions-compact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.wac-btn {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 10px 6px;
    color: var(--text-main);
    font-size: 0.68rem;
    font-weight: 800;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-transform: uppercase;
}
.wac-btn i { font-size: 1rem; }
.wac-btn span { letter-spacing: 0.3px; }
.wac-btn.primary { background: rgba(0,204,0,0.12); border-color: rgba(0,255,0,0.3); color: #00ff00; }
.wac-btn.ai { background: rgba(255,26,26,0.1); border-color: rgba(255,26,26,0.25); color: var(--red-main); }
.wac-btn:active { transform: scale(0.97); }

.wallet-hero {
    background: linear-gradient(135deg, rgba(0,255,0,0.08), rgba(255,26,26,0.06));
    border: 1px solid rgba(0,255,0,0.25);
    border-radius: 22px;
    padding: 22px 24px;
    margin-bottom: 20px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}
.wallet-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(0,255,0,0.15), transparent 70%);
    pointer-events: none;
}
.wallet-hero-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}
.wallet-hero-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(0,255,0,0.15);
    color: #00ff00;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}
.wallet-hero-title {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--text-main);
    margin-bottom: 4px;
}
.wallet-hero-sub {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}
.wallet-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}
.wallet-stat {
    background: rgba(0,0,0,0.25);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    padding: 12px 14px;
    text-align: center;
}
.wallet-stat-val {
    display: block;
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--text-main);
    line-height: 1.1;
}
.wallet-stat-lbl {
    font-size: 0.68rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.wallet-stat.disponivel .wallet-stat-val { color: #00ff00; }
.wallet-stat.resgatado .wallet-stat-val { color: var(--red-main); }
.wallet-steps {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}
.wallet-step {
    flex: 1;
    min-width: 140px;
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 600;
}
.wallet-step-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--red-main);
    color: #fff;
    font-weight: 900;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.wallet-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    position: relative;
    z-index: 1;
}
.wallet-action-btn {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    padding: 14px 10px;
    color: var(--text-main);
    font-weight: 800;
    font-size: 0.78rem;
    cursor: pointer;
    transition: 0.25s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.wallet-action-btn i { font-size: 1.2rem; }
.wallet-action-btn:hover {
    transform: translateY(-2px);
    border-color: var(--red-main);
    box-shadow: 0 8px 20px rgba(255,26,26,0.15);
}
.wallet-action-btn.primary {
    background: linear-gradient(135deg, rgba(0,204,0,0.2), rgba(0,255,0,0.08));
    border-color: rgba(0,255,0,0.35);
    color: #00ff00;
}
.wallet-action-btn.primary:hover {
    border-color: #00ff00;
    box-shadow: 0 8px 20px rgba(0,255,0,0.2);
}
.wallet-action-btn.ai-btn {
    background: linear-gradient(135deg, rgba(255,26,26,0.15), rgba(255,26,26,0.05));
    border-color: rgba(255,26,26,0.3);
    color: var(--red-main);
}
.wallet-empty-hero {
    text-align: center;
    padding: 3rem 1.5rem;
    border: 1px dashed rgba(255,255,255,0.12);
    border-radius: 20px;
    margin-bottom: 1rem;
}
.wallet-empty-hero i { font-size: 3rem; color: #333; margin-bottom: 12px; }
.wallet-token-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    margin-top: 4px;
}
.wallet-token-btn {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 8px 14px;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}
.wallet-token-btn:hover {
    color: var(--text-main);
    border-color: var(--red-main);
}
.wallet-token-btn.wpp { color: #00cc00; border-color: rgba(0,204,0,0.3); }
.wallet-token-btn.wpp:hover { background: rgba(0,204,0,0.1); }
.wallet-token-btn.vip { color: #00ff00; border-color: rgba(0,255,0,0.3); }
.wallet-token-btn.vip:hover { background: rgba(0,255,0,0.08); }
.wallet-token-guide {
    width: 100%;
    margin-top: 10px;
    padding: 12px 14px;
    background: rgba(0,0,0,0.2);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
    display: none;
}
.wallet-token-guide.open { display: block; }
.wallet-token-guide strong { color: var(--text-main); }
.wallet-token-guide ol {
    margin: 8px 0 0 18px;
    padding: 0;
}
.wallet-token-guide li { margin-bottom: 4px; }
.ios-token-card {
    flex-wrap: wrap;
}
.ios-token-card .ios-t-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}
.wallet-status-badge {
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 20px;
}
.wallet-status-badge.disp {
    background: rgba(0,255,0,0.12);
    color: #00ff00;
    border: 1px solid rgba(0,255,0,0.25);
}
.wallet-status-badge.used {
    background: rgba(255,26,26,0.1);
    color: var(--red-main);
    border: 1px solid rgba(255,26,26,0.2);
}
.success-next-steps {
    width: 100%;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.success-next-lbl {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 12px;
}
.success-next-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.success-next-btn {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 12px 8px;
    color: var(--text-main);
    font-size: 0.72rem;
    font-weight: 800;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-transform: uppercase;
}
.success-next-btn i { font-size: 1.1rem; color: var(--text-muted); }
.success-next-btn:hover { border-color: var(--red-main); transform: translateY(-1px); }
.success-next-btn.primary {
    background: rgba(0,255,0,0.08);
    border-color: rgba(0,255,0,0.3);
    color: #00ff00;
}
.success-next-btn.primary i { color: #00ff00; }
body.light-mode .wallet-hero { background: linear-gradient(135deg, rgba(0,204,0,0.06), rgba(255,26,26,0.04)); border-color: rgba(0,180,0,0.2); }
body.light-mode .wallet-stat { background: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.06); }
body.light-mode .wallet-step { background: rgba(0,0,0,0.03); }
body.light-mode .wallet-action-btn { background: #fff; border-color: #ddd; }
body.light-mode .wallet-token-guide { background: rgba(0,0,0,0.03); }

.wallet-grid { display: grid; grid-template-columns: 1fr; gap: 15px; margin-bottom: 4rem;}
.token-card { background: linear-gradient(145deg, var(--panel-bg), var(--bg-base)); border: 1px solid var(--glass-border); padding: 1.5rem 2rem; border-radius: 15px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; transition: 0.3s;}
.token-card:hover { border-color: var(--red-main); box-shadow: 0 0 20px rgba(255,0,0,0.1); }
.token-card.resgatado-card { border-color: rgba(255, 0, 0, 0.3); opacity: 0.7; }
 
.t-info h4 { font-size: 1.3rem; margin-bottom: 5px; text-transform: uppercase; font-weight: 800;}
.t-info p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.5;}
 
.t-code { background: rgba(0, 255, 0, 0.05); border: 1px dashed rgba(0,255,0,0.4); color: #00ff00; padding: 15px 25px; border-radius: 12px; font-family: monospace; font-size: 1.3rem; font-weight: bold; cursor: pointer; transition: 0.2s; text-align: center; }
.t-code:hover { background: rgba(0,255,0,0.15); box-shadow: 0 0 20px rgba(0,255,0,0.2); transform: scale(1.02);}
 
.t-code.resgatado { background: rgba(255, 0, 0, 0.05); border: 1px dashed var(--red-main); color: var(--red-main); cursor: default; }
.t-code.resgatado:hover { transform: none; box-shadow: none; }

#pix-modal .modal-content { 
    background: rgba(15, 15, 15, 0.6) !important; 
    backdrop-filter: blur(35px) saturate(150%);
    -webkit-backdrop-filter: blur(35px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.08) !important; 
    border-radius: 28px !important; 
    box-shadow: 0 30px 60px rgba(0,0,0,0.6), inset 0 0 20px rgba(255,255,255,0.03) !important;
    padding: 0;
    overflow: visible !important;
}
body.light-mode #pix-modal .modal-content { 
    background: rgba(255, 255, 255, 0.8) !important; 
    border-color: rgba(0,0,0,0.1) !important; 
    box-shadow: 0 20px 50px rgba(0,0,0,0.1), inset 0 0 20px rgba(255,255,255,0.5) !important; 
}

.payment-option-btn { 
    border-radius: 18px !important; 
    padding: 20px !important; 
    border: 1px solid rgba(255,255,255,0.08) !important; 
    background: rgba(255,255,255,0.02) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important; 
    color: var(--text-main) !important;
    box-shadow: none !important;
    margin-bottom: 12px;
}
.payment-option-btn:hover, .payment-option-btn:active { 
    transform: translateY(-3px) !important; 
    background: rgba(255,255,255,0.05) !important; 
    border-color: rgba(255,255,255,0.2) !important; 
}
 
.payment-option-btn.btn-pix { border-color: rgba(0, 255, 0, 0.3) !important; background: rgba(0, 255, 0, 0.05) !important; }
.payment-option-btn.btn-pix:hover { background: rgba(0, 255, 0, 0.1) !important; border-color: rgba(0, 255, 0, 0.6) !important; box-shadow: 0 10px 30px rgba(0,255,0,0.15) !important; }
 
body.light-mode .payment-option-btn { background: rgba(0,0,0,0.02) !important; border-color: rgba(0,0,0,0.05) !important; }
body.light-mode .payment-option-btn.btn-pix { background: rgba(0, 204, 0, 0.05) !important; border-color: rgba(0, 204, 0, 0.3) !important; }
#pix-pending-box, .success-card { background: transparent !important; border: none !important; padding: 2.5rem 2rem !important; }
#qr-img { 
    border-radius: 20px !important; 
    border: 1px solid rgba(255,255,255,0.1) !important; 
    padding: 12px !important; 
    background: rgba(255,255,255,0.95) !important; 
    box-shadow: 0 15px 40px rgba(0,0,0,0.3) !important; 
    width: 200px !important;
    height: 200px !important;
}
 
.copy-pix { 
    background: rgba(0,0,0,0.3) !important; 
    border: 1px solid rgba(255,255,255,0.1) !important; 
    border-radius: 16px !important; 
    padding: 16px !important; 
    color: #fff !important; 
    font-size: 0.9rem !important; 
    letter-spacing: 1px;
}
body.light-mode .copy-pix { background: #f0f2f5 !important; color: #111 !important; border-color: #ddd !important; }

.success-summary { background: rgba(255,255,255,0.02) !important; border: 1px solid rgba(255,255,255,0.05) !important; border-radius: 16px !important; }
body.light-mode .success-summary { background: #f9f9f9 !important; border-color: #ddd !important; }
 
.success-token-box { background: rgba(0,255,0,0.05) !important; border: 1px solid rgba(0,255,0,0.2) !important; border-radius: 20px !important; backdrop-filter: blur(10px); }

.site-footer { text-align: center; padding: 2rem 0; margin-top: auto; border-top: 1px solid var(--glass-border); color: var(--text-muted); font-size: 0.95rem; }
.site-footer strong { color: var(--red-main); }

.stats-container { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.stat-box { flex: 1; padding: 20px; border-radius: 12px; text-align: center; }
.stat-val { display: block; font-size: 2rem; font-weight: 900; }
.stat-lbl { font-weight: bold; text-transform: uppercase; font-size: 0.85rem; }

@keyframes slideUp { from { opacity: 0; transform: translateY(50px); } to { opacity: 1; transform: translateY(0); } }
@keyframes zoomIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }

@keyframes tabFadeIn {
    from { opacity: 0; transform: translate3d(0, 22px, 0); }
    to   { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes tabFadeOut {
    from { opacity: 1; transform: translate3d(0, 0, 0); }
    to   { opacity: 0; transform: translate3d(0, -14px, 0); }
}
@keyframes modalSlideIn {
    from { opacity: 0; transform: scale(0.92) translateY(20px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes overlayFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.tab-content {
    opacity: 1;
}
/* Transição suave entre abas — fluida como “Ver recursos” */
.tab-content.tab-enter {
    animation: tabFadeIn 0.58s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.tab-content.tab-exit {
    animation: tabFadeOut 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.main-content {
    transition: opacity 0.25s ease;
}

@media (max-width: 900px) {
    .mobile-header { display: flex; position: sticky; top: 0; z-index: 80; } 
    .sidebar {
        transform: translateX(-105%);
        width: min(300px, 86vw);
        padding-top: 1.5rem;
        padding-bottom: 2rem;
        top: 0 !important;
        left: 0 !important;
        position: fixed !important;
        height: 100vh !important;
        height: 100dvh !important;
        z-index: 950 !important;
        box-shadow: 12px 0 40px rgba(0,0,0,0.45);
    }
    .sidebar.open { transform: translateX(0); }
    .sidebar-overlay {
        z-index: 900 !important;
    }
    
    .nav-links { overflow-y: visible; margin-bottom: 20px; flex-grow: 0; }
    .logout-btn { margin-top: auto; }
    
    .main-content { margin-left: 0; width: 100%; padding: 2rem 5%; }
    
    .header-title h2 { font-size: 2rem; }
    .header-title p { font-size: 1rem; }
    
    .plans-grid { 
        grid-template-columns: repeat(2, minmax(0, 1fr)); 
        gap: 0.55rem;
        width: 100%; 
        max-width: 100%;
        padding: 0 2px;
        margin: 0.5rem auto 0 auto;
        display: grid;
        box-sizing: border-box;
        align-items: stretch;
        animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1); 
    } 
    
    .card-plan { 
        padding: 1.2rem 0.65rem 1rem !important;
        border-radius: 16px !important; 
        overflow: visible !important; 
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
        min-height: 0 !important;
        justify-content: flex-start;
        box-sizing: border-box !important;
    }

    .card-plan:hover, .card-plan:active { 
        transform: translateY(-5px) !important; 
        border-color: var(--red-main) !important; 
        box-shadow: 0 10px 30px rgba(0,0,0,0.8), 0 0 20px var(--red-glow) !important; 
    }

    .card-plan h3 { font-size: 1rem; margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 14px; margin-left: 2px; }
    .card-plan .base-price { font-size: 1.22rem; margin: 0.2rem 0 0.45rem; letter-spacing: -1px; }
    .card-plan .base-price span { font-size: 0.65rem; letter-spacing: 0; }
    
    .plan-features {
        flex-grow: 1;
        margin-bottom: 0.7rem !important;
        padding: 0 3px;
        gap: 4px !important;
    }
    
    .plan-features li { 
        font-size: 0.8rem !important; 
        padding: 4px 0 !important;
        gap: 6px !important; 
        align-items: center !important; 
        line-height: 1.2 !important; 
        white-space: nowrap !important;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .plan-features li i {
        font-size: 0.62rem !important;
        margin-top: 0 !important;
        flex-shrink: 0;
        padding: 4px !important;
    } 

    .btn-config { 
        margin-top: auto !important; 
        display: flex !important; 
        justify-content: center !important; 
        align-items: center !important; 
        padding: 10px 4px !important; 
        font-size: 0.68rem !important;
        letter-spacing: 0px !important; 
        white-space: nowrap !important; 
        overflow: hidden !important;
        width: 100% !important;
        border-radius: 12px !important;
        flex-shrink: 0;
    }
    
    .card-plan .badge { font-size: 0.48rem; padding: 2px 6px; top: -8px; }
    .info-btn { position: absolute !important; font-size: 0.95rem !important; top: 10px !important; right: 5px !important; }
    
    .info-modal-overlay { padding: 20px; align-items: center; }
    .info-modal-content { max-width: 90%; height: auto; border-radius: 20px; display: block; padding: 25px; border: 1px solid var(--red-main); }
    .info-modal-content h3 { font-size: 1.05rem; }
    .config-modal-overlay { padding: 20px 5%; align-items: flex-start; overflow-y: auto; }
    .config-modal { max-width: 100%; border-radius: 24px; max-height: none; margin: auto; }
    
    .c-header { padding: 1.5rem; }
    .c-header h2 { font-size: 1.4rem; }
    .close-modal { top: 15px; right: 15px; background: rgba(255,255,255,0.1); width: 35px; height: 35px; font-size: 1rem;}
    
    .c-body { padding: 1.5rem; padding-bottom: 2rem; }
    
    .coupon-area { flex-direction: row; gap: 5px; } 
    .coupon-area input { flex: 1; min-width: 0; padding: 12px; font-size: 0.85rem; } 
    .coupon-area button { padding: 0 15px; flex-shrink: 0; font-size: 0.85rem; }

    .c-footer { padding: 1.2rem 1.5rem; }
    
    .btn-checkout { width: auto; margin-left: 0; margin-top: 0; padding: 12px 18px; font-size: 0.95rem; white-space: nowrap;}
    .total-price strong { font-size: 1.4rem; }
    
    .dynamic-row { padding: 15px 12px; flex-direction: row; align-items: center; justify-content: space-between; gap: 10px;}
    .d-info { flex: 1; padding-right: 10px; }
    .d-info span { font-size: 0.95rem; }
    .counter { width: auto; justify-content: center; }
    .counter input { width: 40px; }
    .day-btn { min-width: 45px; padding: 10px 5px; font-size: 0.85rem;}
    
    .token-card { flex-direction: column; text-align: center; padding: 1.5rem; }
    .wallet-stats { grid-template-columns: 1fr; }
    .wallet-actions { grid-template-columns: 1fr; }
    .wallet-steps { flex-direction: column; }
    .wallet-step { min-width: 0; }
    .wallet-hero-top { flex-wrap: wrap; }
    .wallet-stats-inline { width: 100%; justify-content: space-between; }
    .wsi-item { flex: 1; }
    .ios-token-card .ios-t-right { align-items: stretch; width: 100%; }
    .ios-t-code-btn { width: 100%; justify-content: center; }
    .success-next-grid { grid-template-columns: 1fr; }
    .t-code { width: 100%; font-size: 1.1rem; padding: 15px;}
    .tools-grid { grid-template-columns: 1fr; gap: 1.5rem;}
    .tool-card { padding: 1.5rem; }

    #pix-modal .modal-content { max-width: 100%; width: 100%; border-radius: 24px; overflow-y: visible; max-height: none; -webkit-overflow-scrolling: touch;}
    #pix-pending-box { padding: 2rem 1.5rem; }
    .success-card { padding: 2rem 1.5rem; }
    #qr-img { width: 180px; height: 180px; }
    
    #payment-brick-container { padding: 1.5rem 1rem; }
    
    .success-card h3 { font-size: 1.25rem; white-space: nowrap; margin-bottom: 5px;}
    .success-card p { font-size: 0.85rem; margin-bottom: 15px; padding: 0 5px;}
    .success-token-box { padding: 15px; margin-bottom: 15px; }
    .success-token-box .val { font-size: 1.1rem; }
    
    .login-wrapper { padding: 1.5rem 1.1rem; }
    .btn-social-google { width: 100%; }

    .stats-container { flex-direction: column; gap: 12px; }
    .stat-box { display: flex; flex-direction: row; justify-content: space-between; align-items: center; padding: 18px 20px; text-align: left; }
    .stat-val { font-size: 1.4rem; order: 2; margin: 0; }
    .stat-lbl { font-size: 0.95rem; order: 1; margin: 0; }
    
    .secure-badge { flex-wrap: wrap; text-align: center; padding: 0 15px; line-height: 1.5; gap: 5px; justify-content: center; }

    #cupom-standalone { position: relative !important; top: auto !important; right: auto !important; z-index: 52 !important; display: none; margin-right: 8px; }
    #cupom-standalone .icon-btn { width: 35px; height: 35px; font-size: 1rem; border: none; background: transparent; }
    #cupom-standalone .cupom-popover { right: auto; left: 0; top: 48px; width: 280px; }
    /* No mobile os ícones vão pro header — relative só quando injetados no header */
    .mobile-header .top-controls,
    #mobile-controls-inject .top-controls,
    .top-controls.mobile-injected {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        display: flex;
        gap: 10px;
        margin-right: 0;
        z-index: 52 !important;
    }
    .icon-btn { width: 35px; height: 35px; font-size: 1rem; border: none; background: transparent; }
    .notif-dropdown { right: 0px; width: 280px; }

    /* Botão IA no mobile — fixed real, não acompanha pull-to-refresh */
    #ai-chat-btn.ai-float,
    .ai-float {
        position: fixed !important;
        bottom: calc(22px + env(safe-area-inset-bottom, 0px)) !important;
        right: 16px !important;
        left: auto !important;
        top: auto !important;
        z-index: 1200 !important;
        padding: 11px 18px !important;
        font-size: 1rem !important;
        transform: translate3d(0, 0, 0) !important;
        -webkit-transform: translate3d(0, 0, 0) !important;
    }
    body.sidebar-open #ai-chat-btn,
    body.ai-chat-open #ai-chat-btn {
        display: none !important;
        visibility: hidden !important;
    }

    /* Dashboard mobile: ocupa a tela e não fica “em branco” */
    #dashboard-screen {
        min-height: 100vh;
        min-height: 100dvh;
        width: 100%;
        position: relative;
        z-index: 2;
        background: transparent;
        flex-direction: column;
    }
    body.user-logged-in #dashboard-screen {
        /* JS usa display:flex — reforça layout */
        flex-direction: column !important;
        width: 100% !important;
    }
    .main-content {
        margin-left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 1.25rem 4% 5.5rem !important;
        min-height: calc(100vh - 60px);
        min-height: calc(100dvh - 60px);
        position: relative;
        z-index: 2;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    .tab-content {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    #lista-ranking .token-card {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        text-align: left !important;
        padding: 15px 20px !important;
        gap: 15px !important;
    }
    #lista-ranking .token-card > div:first-child { width: auto !important; margin-right: 10px; }
    #lista-ranking .token-card h4 { font-size: 1.1rem !important; }
    
    .admin-grid { grid-template-columns: 1fr; }
    .admin-card { padding: 1.5rem; }
    .admin-table th, .admin-table td { padding: 12px 15px; font-size: 0.85rem; }
    
    /* Chat IA mobile: tela cheia organizada (qualquer celular) */
    .ai-chat-window,
    #ai-chat-window.ai-chat-window {
        inset: 0 !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        width: 100% !important;
        height: 100vh !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        max-width: 100% !important;
        border-radius: 0 !important;
        transform: none !important;
        -webkit-transform: none !important;
        z-index: 1400 !important;
        border: none !important;
        animation: aiChatSlideUp 0.32s cubic-bezier(0.16, 1, 0.3, 1) both !important;
        display: none;
        flex-direction: column !important;
        overflow: hidden !important;
        background: #0a0a0c !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
    /* BUGFIX: modo claro NÃO pode herdar o fundo preto !important acima */
    body.light-mode .ai-chat-window,
    body.light-mode #ai-chat-window.ai-chat-window,
    html.light-mode .ai-chat-window,
    html.light-mode #ai-chat-window.ai-chat-window,
    html.light-mode body .ai-chat-window {
        background: linear-gradient(180deg, #ffffff 0%, #f3f5fa 50%, #eef1f8 100%) !important;
        border: none !important;
        box-shadow: none !important;
        color: #111 !important;
    }
    body.light-mode .ai-chat-header,
    html.light-mode .ai-chat-header {
        background: rgba(255, 255, 255, 0.98) !important;
        color: #111 !important;
        border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
    }
    body.light-mode .ai-chat-footer,
    html.light-mode .ai-chat-footer {
        background: rgba(255, 255, 255, 0.98) !important;
        border-top: 1px solid rgba(15, 23, 42, 0.08) !important;
        border-radius: 0 !important;
    }
    body.light-mode .ai-resume-footer,
    html.light-mode .ai-resume-footer {
        background: rgba(255, 255, 255, 0.98) !important;
        border-top-color: rgba(15, 23, 42, 0.08) !important;
    }
    body.ai-chat-open .ai-chat-window {
        /* quando aberto via JS (display:flex) */
    }
    .ai-chat-header {
        flex-shrink: 0 !important;
        padding: max(14px, env(safe-area-inset-top, 0px)) 16px 14px !important;
        min-height: 56px;
        box-sizing: border-box;
    }
    .clear-chat-container,
    .quick-actions,
    .ai-resume-footer {
        flex-shrink: 0 !important;
    }
    .ai-chat-body {
        flex: 1 1 auto !important;
        min-height: 0 !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        padding: 12px 14px !important;
    }
    .ai-chat-footer {
        flex-shrink: 0 !important;
        padding: 10px 12px max(12px, env(safe-area-inset-bottom, 0px)) !important;
        box-sizing: border-box;
        width: 100%;
    }
}

.ai-chat-window {
    position: fixed !important;
    bottom: 110px !important;
    right: 30px !important;
    left: auto !important;
    top: auto !important;
    width: 380px;
    height: 550px;
    max-height: calc(100vh - 140px);
    background: rgba(10, 10, 12, 0.88);
    backdrop-filter: blur(45px) saturate(160%);
    -webkit-backdrop-filter: blur(45px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    display: none;
    flex-direction: column;
    z-index: 1300 !important;
    box-shadow: 0 25px 70px rgba(0,0,0,0.75), 0 0 0 1px rgba(255, 255, 255, 0.04), 0 0 50px rgba(255, 26, 26, 0.06);
    overflow: hidden;
    transform-origin: bottom right;
    animation: popIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes popIn { from { opacity: 0; transform: scale(0.5) translateY(50px); } to { opacity: 1; transform: scale(1) translateY(0); } }
@keyframes popInMobile { from { opacity: 0; transform: translateY(100vh); } to { opacity: 1; transform: translateY(0); } }
@keyframes aiChatSlideUp {
    from { opacity: 0; transform: translate3d(0, 12%, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}
 
.ai-chat-header { background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); padding: 20px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255, 255, 255, 0.06); font-weight: 900; color: #fff; letter-spacing: 1px; text-transform: uppercase; }
.ai-chat-header button { background: transparent; border: none; color: #ff1a1a; font-size: 1.4rem; cursor: pointer; transition: 0.2s; }
.ai-chat-header button:hover { transform: scale(1.1); text-shadow: 0 0 10px var(--red-glow); }
 
.clear-chat-container { text-align: center; padding: 10px 0; background: transparent; }
.clear-chat-btn { background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1); color: #888; padding: 6px 18px; border-radius: 20px; font-size: 0.75rem; cursor: pointer; transition: 0.2s; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.clear-chat-btn:hover { border-color: var(--red-main); color: #fff; background: rgba(255, 26, 26, 0.1); }

.ai-chat-body { flex: 1; padding: 15px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; background: transparent; scroll-behavior: smooth; position: relative;}
.ai-chat-body::-webkit-scrollbar { width: 5px; }
.ai-chat-body::-webkit-scrollbar-thumb { background: #333; border-radius: 5px; }
 
.ai-message { max-width: 88%; padding: 14px 16px; border-radius: 20px; font-size: 0.95rem; line-height: 1.5; position: relative; word-wrap: break-word; animation: msgSlide 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.ai-message.user { align-self: flex-end; background: rgba(255, 26, 26, 0.18); border: 1px solid rgba(255, 26, 26, 0.25); color: #fff; border-radius: 20px 20px 4px 20px; box-shadow: 0 2px 10px rgba(0,0,0,0.35); }
.ai-message.bot { align-self: flex-start; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.08); color: #ddd; border-radius: 20px 20px 20px 4px; padding-left: 48px; box-shadow: 0 2px 10px rgba(0,0,0,0.25); }
 
.ai-message.bot::before { content: '\f544'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 10px; top: 10px; color: #fff; background: linear-gradient(135deg, var(--red-main), #cc0000); width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; box-shadow: 0 0 14px var(--red-glow), 0 2px 6px rgba(0,0,0,0.5); }
.ai-message.bot .ai-name { color: var(--red-main); font-weight: 900; margin-bottom: 5px; display: block; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; }
 
.ai-typing-bubble {
    display: none;
    align-self: flex-start;
    max-width: 88%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px 20px 20px 4px;
    padding: 16px 18px 16px 52px;
    position: relative;
    box-shadow: 0 2px 10px rgba(0,0,0,0.25);
    animation: msgSlide 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.ai-typing-bubble::before {
    content: '\f544';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 10px;
    top: 10px;
    color: #fff;
    background: linear-gradient(135deg, var(--red-main), #cc0000);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    box-shadow: 0 0 14px var(--red-glow), 0 2px 6px rgba(0,0,0,0.5);
}
.ai-typing-bubble .ai-name {
    color: var(--red-main);
    font-weight: 900;
    margin-bottom: 8px;
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.typing-dots {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 0;
}
.typing-dots span {
    width: 9px;
    height: 9px;
    background: #666;
    border-radius: 50%;
    display: inline-block;
    animation: typingBounce 1.4s infinite ease-in-out both;
}
.typing-dots span:nth-child(1) { animation-delay: -0.32s; }
.typing-dots span:nth-child(2) { animation-delay: -0.16s; }
.typing-dots span:nth-child(3) { animation-delay: 0s; }

@keyframes typingBounce {
    0%, 80%, 100% { transform: scale(0.5); opacity: 0.3; }
    40% { transform: scale(1); opacity: 1; background: var(--red-main); }
}

body.light-mode .ai-typing-bubble {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
body.light-mode .ai-typing-bubble .ai-name {
    color: var(--red-main);
}
body.light-mode .typing-dots span {
    background: #aaa;
}
 
.quick-actions { display: none; padding: 8px 12px 10px; background: transparent; flex-shrink: 0; }
.ai-faq-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.ai-faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s;
    -webkit-tap-highlight-color: transparent;
}
.ai-faq-trigger:active { background: rgba(255,255,255,0.05); }
.ai-faq-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255,26,26,0.15);
    color: var(--red-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}
.ai-faq-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ai-faq-title { font-size: 0.88rem; font-weight: 700; letter-spacing: -0.2px; }
.ai-faq-sub { font-size: 0.72rem; color: var(--text-muted); font-weight: 500; }
.ai-faq-chevron {
    color: var(--text-muted);
    font-size: 0.75rem;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}
.ai-faq-card.open .ai-faq-chevron { transform: rotate(180deg); }
.ai-faq-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 0 solid rgba(255,255,255,0.06);
}
.ai-faq-card.open .ai-faq-list {
    max-height: 320px;
    overflow-y: auto;
    border-top-width: 1px;
    -webkit-overflow-scrolling: touch;
}
.ai-faq-item {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 14px 11px 16px;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: #e5e5ea;
    font-size: 0.84rem;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s;
    -webkit-tap-highlight-color: transparent;
}
.ai-faq-item:last-child { border-bottom: none; }
.ai-faq-item span { flex: 1; }
.ai-faq-item i { font-size: 0.65rem; color: #636366; flex-shrink: 0; }
.ai-faq-item:active { background: rgba(255,255,255,0.06); }
.ai-faq-list::-webkit-scrollbar { width: 3px; }
.ai-faq-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 3px; }

.ai-chat-footer { padding: 12px 14px; border-top: none; display: flex; gap: 8px; background: rgba(20, 20, 22, 0.75); backdrop-filter: blur(35px) saturate(160%); -webkit-backdrop-filter: blur(35px) saturate(160%); align-items: center; border-radius: 0 0 24px 24px; }
.ai-chat-footer input { flex: 1; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12); padding: 12px 18px; border-radius: 24px; color: #fff; font-size: 16px; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); outline: none; }
.ai-chat-footer input:focus { border-color: rgba(255, 26, 26, 0.5); box-shadow: 0 0 0 3px rgba(255, 26, 26, 0.1), 0 0 20px rgba(255, 26, 26, 0.08); background: rgba(255, 255, 255, 0.12); }
.ai-chat-footer button { background: linear-gradient(135deg, var(--red-main), #cc0000); border: none; color: #fff; width: 42px; height: 42px; border-radius: 50%; cursor: pointer; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); font-size: 1rem; display: flex; justify-content: center; align-items: center; box-shadow: 0 4px 18px rgba(255, 26, 26, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05) inset; flex-shrink: 0; }
.ai-chat-footer button:hover { transform: scale(1.1); box-shadow: 0 8px 28px rgba(255, 26, 26, 0.6), 0 0 0 2px rgba(255, 255, 255, 0.08) inset; }
.ai-chat-footer.locked { pointer-events: none; position: relative; border-color: transparent !important; border-radius: 0 0 24px 24px; }
.ai-chat-footer.locked #ai-locked-overlay { display: flex; }

#ai-locked-overlay {
    display: none;
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(18, 18, 20, 0.85); backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 5; border-radius: 0 0 24px 24px;
    flex-direction: row; justify-content: center; align-items: center; gap: 10px;
    color: var(--red-main); font-weight: 900; font-size: 0.9rem; letter-spacing: 1px;
    text-shadow: 0 0 15px rgba(255, 26, 26, 0.4);
    pointer-events: none;
}
#ai-locked-overlay .lock-dot {
    width: 7px; height: 7px;
    background: var(--red-main);
    border-radius: 50%;
    display: inline-block;
    animation: lockDotBounce 1.4s infinite ease-in-out both;
}
#ai-locked-overlay .lock-dot:nth-child(3) { animation-delay: 0.2s; }
#ai-locked-overlay .lock-dot:nth-child(4) { animation-delay: 0.4s; }
@keyframes lockDotBounce {
    0%, 80%, 100% { transform: scale(0.4); opacity: 0.3; }
    40% { transform: scale(1); opacity: 1; box-shadow: 0 0 8px var(--red-glow); }
}
body.light-mode #ai-locked-overlay { background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); text-shadow: none; }
 

@keyframes msgSlide {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.ai-link-btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; margin-bottom: 5px; padding: 10px 18px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12); color: #fff !important; text-decoration: none; border-radius: 14px; font-size: 0.9rem; font-weight: bold; transition: 0.2s; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.ai-link-btn:hover { border-color: var(--red-main); color: var(--red-main) !important; background: rgba(255,26,26,0.12); }
body.light-mode .ai-link-btn { background: rgba(0, 0, 0, 0.04); border-color: rgba(0, 0, 0, 0.08); color: #333 !important; }
.ai-link-btn.wa-btn { background: #00cc00; border-color: #00ff00; color: #000 !important; box-shadow: 0 4px 15px rgba(0,204,0,0.2); }
.ai-link-btn.wa-btn:hover { background: #00ff00; color: #000 !important; transform: scale(1.05); }
.ai-link-btn.site-nav-btn { background: rgba(255,26,26,0.12); border-color: rgba(255,26,26,0.35); color: var(--red-main) !important; }
.ai-link-btn.site-nav-btn:hover { background: rgba(255,26,26,0.22); color: #fff !important; }
.ai-link-btn.ai-vip-btn { background: #ffcc00 !important; border-color: #ffcc00 !important; color: #000 !important; }
.ai-highlight { color: var(--red-main); font-weight: 700; }
.ai-num-list { margin: 10px 0 6px 0; padding-left: 22px; list-style: decimal; }
.ai-num-list li { margin-bottom: 8px; line-height: 1.5; color: var(--text-main); }
.ai-link-inline { display: block; margin: 10px 0 6px; }
.ai-link-inline .ai-link-btn { margin: 0; width: 100%; justify-content: center; display: flex; }
.ai-msg-content .ai-num-list + .ai-link-inline,
.ai-msg-content .ai-link-inline + .ai-num-list { margin-top: 8px; }
.ai-msg-content { line-height: 1.55; word-break: break-word; }
.btn-feedback-success { background: rgba(0,204,0,0.2) !important; border-color: #00cc00 !important; color: #00ff00 !important; }
.btn-feedback-error { background: rgba(255,26,26,0.15) !important; border-color: var(--red-main) !important; color: var(--red-main) !important; }
.ios-t-code-btn.btn-feedback-success { color: #00ff00 !important; }
input, textarea, select, .ios-input, .password-container input, #ai-chat-input { font-size: 16px !important; }
 
.chat-blurred { filter: blur(4px); opacity: 0.6; pointer-events: none; overflow: hidden !important; }
 
.ai-resume-footer { padding: 15px; border-top: 1px solid rgba(255, 255, 255, 0.06); display: flex; gap: 10px; background: rgba(255, 255, 255, 0.02); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); align-items: center; justify-content: space-between; }
.ai-resume-footer button { flex: 1; padding: 14px; border-radius: 12px; font-weight: bold; cursor: pointer; transition: 0.2s; border: none; text-transform: uppercase; font-size: 0.8rem; }
 
.btn-resume-sm { background: var(--red-main); color: #fff; box-shadow: 0 4px 10px rgba(255,26,26,0.2); }
.btn-resume-sm:hover { transform: translateY(-2px); box-shadow: 0 6px 15px rgba(255,26,26,0.4); }
.btn-newchat-sm { background: transparent; border: 1px solid #555 !important; color: #fff; }
.btn-newchat-sm:hover { background: #222; border-color: #888 !important; }
 
body.light-mode .ai-resume-footer { background: rgba(255, 255, 255, 0.5); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-color: rgba(0, 0, 0, 0.08); }
body.light-mode .btn-newchat-sm { color: #111; border-color: #ccc !important; background: rgba(0, 0, 0, 0.03); }
body.light-mode .btn-newchat-sm:hover { background: rgba(0, 0, 0, 0.08); }

.reviews-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px 60px;
    position: relative;
    z-index: 1;
    width: 100%;
    border-top: 1px solid rgba(255,255,255,0.04);
}
.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 35px;
}
.reviews-title {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 12px;
}
.reviews-star-icon { font-size: 1.6rem; }
.reviews-rating-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 8px 18px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
#reviews-avg {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--text-main);
}
.reviews-stars-summary {
    color: #ffcc00;
    letter-spacing: 2px;
    font-size: 0.9rem;
}
#reviews-count {
    font-size: 0.8rem;
    white-space: nowrap;
}

.reviews-carousel-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}
.reviews-carousel-track {
    flex: 1;
    overflow-x: auto;
    display: flex;
    gap: 18px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 8px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
}
.review-card {
    scroll-snap-align: start;
}
.reviews-carousel-track::-webkit-scrollbar {
    display: none;
}
.carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}
.carousel-btn:hover {
    border-color: var(--red-main);
    color: var(--red-main);
    box-shadow: 0 0 20px var(--red-glow);
    transform: scale(1.1);
}
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}
.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}
.carousel-dot.active {
    background: var(--red-main);
    box-shadow: 0 0 10px var(--red-glow);
    transform: scale(1.3);
}

.review-card {
    min-width: min(280px, 78vw);
    max-width: min(300px, 82vw);
    width: min(280px, 78vw);
    flex-shrink: 0;
    background: rgba(18, 18, 22, 0.72);
    backdrop-filter: blur(35px) saturate(160%);
    -webkit-backdrop-filter: blur(35px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    padding: 24px;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.03);
    position: relative;
    overflow: hidden;
}
.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 10%, rgba(255,26,26,0.06), transparent 60%);
    pointer-events: none;
}
.review-card:hover {
    border-color: rgba(255, 26, 26, 0.3);
    box-shadow: 0 12px 40px rgba(255,26,26,0.12), 0 0 0 1px rgba(255,26,26,0.08), inset 0 1px 0 rgba(255,255,255,0.05);
    transform: translateY(-4px);
}
.review-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.review-card-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--red-main), var(--red-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 900;
    font-size: 1rem;
    flex-shrink: 0;
}
.review-card-name {
    font-weight: 700;
    color: var(--text-main);
    font-size: 0.95rem;
}
.review-card-stars {
    color: #ffcc00;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
}
.review-card-comment {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.55;
    font-style: italic;
}
.review-card-comment::before { content: '"'; }
.review-card-comment::after { content: '"'; }
.review-card-date {
    color: rgba(255,255,255,0.25);
    font-size: 0.7rem;
    margin-top: 12px;
    text-align: right;
}
.reviews-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 50px 30px;
    color: var(--text-muted);
    width: 100%;
    text-align: center;
}
.reviews-empty i {
    font-size: 2.5rem;
    color: rgba(255,255,255,0.15);
}

body.light-mode .review-card {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(35px) saturate(160%);
    -webkit-backdrop-filter: blur(35px) saturate(160%);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 32px rgba(0,0,0,0.06), inset 0 1px 0 rgba(255,255,255,0.5);
}
body.light-mode .review-card:hover {
    border-color: rgba(255, 26, 26, 0.3);
    box-shadow: 0 12px 40px rgba(255,26,26,0.08), 0 0 0 1px rgba(255,26,26,0.1);
}
body.light-mode .review-card-comment { color: #555; }
body.light-mode .review-card-name { color: #111; }
body.light-mode .review-card-date { color: rgba(0,0,0,0.25); }
body.light-mode .reviews-section { background: transparent; }
body.light-mode .reviews-title { color: #111; }
body.light-mode .reviews-rating-summary {
    background: rgba(255,255,255,0.8);
    border-color: rgba(0,0,0,0.08);
}
body.light-mode #reviews-avg { color: #111; }
body.light-mode .carousel-btn {
    background: rgba(255,255,255,0.8);
    border-color: rgba(0,0,0,0.1);
}
body.light-mode .carousel-dot { background: rgba(0,0,0,0.12); }
body.light-mode .reviews-empty i { color: rgba(0,0,0,0.1); }

@media (min-width: 768px) and (max-width: 1023px) {
    .review-card {
        min-width: calc((100% - 18px) / 2);
        max-width: calc((100% - 18px) / 2);
    }
}

@media (min-width: 1024px) {
    .review-card {
        min-width: calc((100% - 36px) / 3);
        max-width: calc((100% - 36px) / 3);
    }
    .carousel-btn.carousel-prev,
    .carousel-btn.carousel-next {
        display: flex;
    }
}

@media (max-width: 480px) {
    .review-card {
        min-width: 230px;
        max-width: 250px;
        padding: 10px;
        scroll-snap-align: center;
    }
    .reviews-carousel-track {
        gap: 6px;
        padding: 0 4px;
    }
    .reviews-carousel-wrapper {
        gap: 2px;
        padding: 0;
    }
    .reviews-section {
        padding: 30px 0 45px;
    }
    .reviews-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
        margin-bottom: 25px;
        padding: 0 8px;
    }
    .reviews-title { font-size: 1.4rem; }
    .review-card-header { gap: 6px; }
    .review-card-avatar { width: 28px; height: 28px; font-size: 0.7rem; }
    .review-card-name { font-size: 0.75rem; }
    .review-card-stars { font-size: 0.7rem; letter-spacing: 1px; }
    .review-card-comment { font-size: 0.72rem; line-height: 1.35; }
    .review-card-date { font-size: 0.6rem; margin-top: 6px; }
    .reviews-rating-summary { padding: 5px 10px; font-size: 0.75rem; }
    #reviews-avg { font-size: 1.2rem; }
    .carousel-btn { width: 32px; height: 32px; font-size: 0.75rem; }
    .carousel-dot { width: 7px; height: 7px; }
}

.review-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 200;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.25s ease;
}
.review-modal-overlay.show {
    display: flex;
}
.glass-liquid-strong {
    background: rgba(28, 12, 16, 0.42) !important;
    backdrop-filter: blur(48px) saturate(185%) !important;
    -webkit-backdrop-filter: blur(48px) saturate(185%) !important;
    border: 1px solid rgba(255, 90, 90, 0.22) !important;
    box-shadow: 0 25px 80px rgba(80,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.06), inset 0 1px 0 rgba(255,180,180,0.1) !important;
}
body.light-mode .glass-liquid-strong {
    background: rgba(255, 255, 255, 0.5) !important;
    border-color: rgba(255, 120, 120, 0.28) !important;
    box-shadow: 0 25px 80px rgba(255,40,40,0.1), 0 0 0 1px rgba(255,255,255,0.5), inset 0 1px 0 rgba(255,255,255,0.75) !important;
}
.review-modal {
    background: rgba(28, 12, 16, 0.42) !important;
    backdrop-filter: blur(48px) saturate(185%) !important;
    -webkit-backdrop-filter: blur(48px) saturate(185%) !important;
    border: 1px solid rgba(255, 90, 90, 0.22) !important;
    border-radius: 28px;
    padding: 40px 30px 30px;
    max-width: 440px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 25px 70px rgba(80,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.06), inset 0 1px 0 rgba(255,180,180,0.1) !important;
    animation: modalSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
body.light-mode .review-modal {
    background: rgba(255, 255, 255, 0.5) !important;
    border-color: rgba(255, 120, 120, 0.28) !important;
    box-shadow: 0 25px 70px rgba(255,40,40,0.1), inset 0 1px 0 rgba(255,255,255,0.8) !important;
    color: #111;
}
@keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.review-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}
.review-modal-close:hover {
    background: rgba(255,26,26,0.2);
    border-color: var(--red-main);
    color: var(--red-main);
}
.review-modal-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--red-main), var(--red-dark));
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #fff;
    box-shadow: 0 8px 30px var(--red-glow);
}
.review-modal h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 6px;
    letter-spacing: -0.3px;
}
.review-modal-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.review-stars {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 6px;
}
.review-stars button {
    background: transparent;
    border: none;
    font-size: 2.2rem;
    cursor: pointer;
    color: rgba(255,255,255,0.2);
    transition: all 0.2s ease;
    padding: 0 2px;
    outline: none;
}
.review-stars button:hover {
    transform: scale(1.2);
}
.review-stars button.active {
    color: #ffcc00;
    text-shadow: 0 0 15px rgba(255,204,0,0.6);
    animation: starPop 0.3s ease;
}
@keyframes starPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}
.review-stars-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 22px;
}

.review-user-name {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--text-main);
    font-weight: 600;
}
.review-user-name i {
    font-size: 1.3rem;
    color: var(--red-main);
}

.review-comment {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 14px;
    color: var(--text-main);
    font-size: 0.9rem;
    resize: none;
    outline: none;
    transition: 0.2s;
    font-family: inherit;
}
.review-comment:focus {
    border-color: rgba(255,26,26,0.4);
    box-shadow: 0 0 0 3px rgba(255,26,26,0.08);
}
.review-comment::placeholder {
    color: rgba(255,255,255,0.25);
}
.review-char-count {
    display: block;
    text-align: right;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 6px;
    margin-bottom: 18px;
}

.btn-review-submit {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--red-main), var(--red-dark));
    border: none;
    border-radius: 16px;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px var(--red-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.btn-review-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255,26,26,0.5);
}
.btn-review-submit:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}
.btn-review-skip {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.8rem;
    cursor: pointer;
    margin-top: 14px;
    text-decoration: underline;
    transition: 0.2s;
}
.btn-review-skip:hover {
    color: var(--red-main);
}

body.light-mode .review-modal-overlay { background: rgba(0, 0, 0, 0.35); }
body.light-mode .review-modal {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(50px) saturate(180%);
    -webkit-backdrop-filter: blur(50px) saturate(180%);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 25px 70px rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.04);
}
body.light-mode .review-modal h2 { color: #111; }
body.light-mode .review-modal-sub { color: #666; }
body.light-mode .review-stars button { color: rgba(0,0,0,0.15); }
body.light-mode .review-stars button.active { color: #ffcc00; text-shadow: 0 0 15px rgba(255,204,0,0.4); }
body.light-mode .review-stars-label { color: #888; }
body.light-mode .review-user-name {
    background: rgba(0,0,0,0.03);
    border-color: rgba(0,0,0,0.08);
    color: #111;
}
body.light-mode .review-comment {
    background: rgba(0,0,0,0.03);
    border-color: rgba(0,0,0,0.08);
    color: #111;
}
body.light-mode .review-comment::placeholder { color: rgba(0,0,0,0.2); }
body.light-mode .review-comment:focus { border-color: rgba(255,26,26,0.5); }
body.light-mode .review-char-count { color: #888; }
body.light-mode .btn-review-skip { color: #888; }
body.light-mode .review-modal-close {
    background: rgba(0,0,0,0.06);
    border-color: rgba(0,0,0,0.1);
}
body.light-mode .review-modal-close:hover { background: rgba(255,26,26,0.1); }

#user-patente, #ov-patente { display: block; width: 100%; }

.patente-wrapper { display: flex; flex-direction: column; gap: 6px; margin-top: 5px; width: 100%; box-sizing: border-box; }

.patente-header { display: flex; justify-content: center; align-items: center; gap: 16px; width: 100%; }

.patente-nome-area { display: flex; align-items: center; gap: 6px; }
.patente-nome { font-size: 0.8rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.5px; }

.btn-info-patente { color: var(--text-muted); font-size: 0.9rem; cursor: pointer; transition: 0.3s; }
.btn-info-patente:hover { color: var(--red-main); transform: scale(1.1); text-shadow: 0 0 10px var(--red-glow); }

.patente-prox-label { font-size: 0.55rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; font-weight: 800; }
.patente-prox-nome { font-size: 0.7rem; font-weight: 900; color: var(--text-muted); text-transform: uppercase; }

.patente-progress-container { width: 100%; height: 4px; background: rgba(255,255,255,0.1); border-radius: 10px; overflow: hidden; }
.patente-progress-bar { height: 100%; border-radius: 10px; transition: width 1s ease-in-out; }

.ov-val-wrapper { display: flex; align-items: center; gap: 12px; } 

.btn-mini-cta { background: rgba(255,26,26,0.1); border: 1px solid rgba(255,26,26,0.2); color: var(--red-main); border-radius: 10px; padding: 6px 12px; font-size: 0.75rem; font-weight: 800; cursor: pointer; transition: 0.2s; display: inline-flex; align-items: center; gap: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.btn-mini-cta:hover { background: var(--red-main); color: #fff; transform: translateY(-2px); box-shadow: 0 4px 15px var(--red-glow); }

.ov-plano-badge.aviso { background: rgba(255, 204, 0, 0.1); color: #ffcc00; border: 1px solid rgba(255, 204, 0, 0.2); }
.ov-plano-badge.upgrade {
    background: linear-gradient(135deg, rgba(255, 26, 26, 0.18), rgba(255, 107, 107, 0.12));
    color: #ff8a8a;
    border: 1px solid rgba(255, 26, 26, 0.35);
    box-shadow: 0 0 12px rgba(255, 26, 26, 0.12);
}
.ov-plano-card-detail {
    flex-wrap: wrap;
    align-items: flex-start;
}
.ov-plano-limites {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.ov-plano-ajuste {
    margin-top: 8px;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 0.7rem;
    line-height: 1.35;
    display: flex;
    gap: 8px;
    align-items: flex-start;
}
.ov-plano-ajuste i { margin-top: 2px; flex-shrink: 0; }
.ov-plano-ajuste.upgrade {
    background: rgba(255, 26, 26, 0.08);
    border: 1px solid rgba(255, 26, 26, 0.22);
    color: #ffb4b4;
}
.ov-plano-ajuste.credito {
    background: rgba(0, 150, 255, 0.08);
    border: 1px solid rgba(0, 150, 255, 0.22);
    color: #9fd0ff;
}
.plan-feature-hint {
    color: var(--text-muted) !important;
    font-size: 0.85em;
    opacity: 0.9;
}
.plan-feature-hint i {
    color: #ff6b6b !important;
}
.wiz-balance-note {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 26, 26, 0.07);
    border: 1px solid rgba(255, 26, 26, 0.2);
    font-size: 0.78rem;
    line-height: 1.45;
    color: #ffc9c9;
}
.wiz-balance-note i {
    margin-top: 2px;
    color: #ff6b6b;
    flex-shrink: 0;
}
.wiz-balance-note.lite {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}
.wiz-balance-note.lite i {
    color: #ffcc00;
}

/* ── Checkout: aviso de upgrade / conversão de planos ── */
.chk-upgrade-notice {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 14px 12px;
    border-radius: 14px;
    margin-bottom: 16px;
    text-align: left;
    border: 1px solid transparent;
}
.chk-upgrade-notice.upgrade {
    background: linear-gradient(135deg, rgba(255,26,26,0.1), rgba(255,80,80,0.05));
    border-color: rgba(255, 26, 26, 0.28);
}
.chk-upgrade-notice.renew {
    background: rgba(0, 200, 100, 0.07);
    border-color: rgba(0, 255, 120, 0.22);
}
.chk-upgrade-notice.credit {
    background: rgba(0, 140, 255, 0.08);
    border-color: rgba(0, 150, 255, 0.25);
}
.chk-upgrade-notice.loading {
    background: rgba(255,255,255,0.03);
    border-color: rgba(255,255,255,0.08);
}
.chk-upg-icon {
    width: 36px; height: 36px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,26,26,0.15); color: #ff8a8a;
    flex-shrink: 0; font-size: 0.95rem;
}
.chk-upgrade-notice.renew .chk-upg-icon { background: rgba(0,255,100,0.12); color: #6fff9a; }
.chk-upgrade-notice.credit .chk-upg-icon { background: rgba(0,150,255,0.15); color: #7ec8ff; }
.chk-upg-body { flex: 1; min-width: 0; }
.chk-upg-title {
    font-size: 0.88rem; font-weight: 900; color: var(--text-main);
    margin-bottom: 4px; letter-spacing: 0.2px;
}
.chk-upg-text {
    font-size: 0.76rem; color: var(--text-muted); line-height: 1.45; margin: 0 0 8px;
}
.chk-upg-calc {
    background: rgba(0,0,0,0.25);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 8px 10px;
    margin-bottom: 8px;
}
.chk-upg-row {
    display: flex; justify-content: space-between; align-items: center;
    gap: 10px; font-size: 0.72rem; color: var(--text-muted);
    padding: 3px 0;
}
.chk-upg-row strong { color: var(--text-main); font-weight: 800; white-space: nowrap; }
.chk-upg-row.total {
    margin-top: 4px; padding-top: 6px;
    border-top: 1px dashed rgba(255,255,255,0.1);
    font-size: 0.78rem; color: var(--text-main); font-weight: 700;
}
.chk-upg-row.total strong { color: #00ff88; font-size: 0.88rem; }
.chk-upg-limits {
    font-size: 0.72rem; color: #ffb4b4; margin: 0; line-height: 1.35;
}
.chk-upgrade-notice.renew .chk-upg-limits { color: #8dffb0; }
.chk-upgrade-notice.credit .chk-upg-limits { color: #9fd0ff; }

/* ── Modal pagamento compacto (CPF + WhatsApp juntos) ── */
.payment-choice-box {
    padding: 1.5rem 1.25rem 1.35rem;
    text-align: center;
}
.pay-title {
    color: var(--text-main);
    margin: 0 0 4px;
    font-weight: 900;
    letter-spacing: -0.4px;
    font-size: 1.35rem;
}
.pay-sub {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin: 0 0 16px;
}
.pay-sub strong { color: var(--text-main); }
.pay-data-card {
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 14px;
    text-align: left;
}
.pay-data-head {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 12px;
}
.pay-data-head > i {
    color: var(--red-main);
    font-size: 1.05rem;
    margin-top: 2px;
}
.pay-data-head strong {
    display: block;
    font-size: 0.88rem;
    color: var(--text-main);
    margin-bottom: 2px;
}
.pay-data-head span {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.3;
}
.pay-data-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
@media (max-width: 520px) {
    .pay-data-grid { grid-template-columns: 1fr; }
    .payment-choice-box { padding: 1.25rem 1rem 1.1rem; }
}
.pay-field label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 6px;
}
.pay-field label .fa-whatsapp { color: #00cc00; }
.pay-field label .fa-fingerprint { color: var(--red-main); }
.pay-input-wrap { position: relative; }
.pay-input {
    margin-bottom: 0 !important;
    padding: 12px 36px 12px 12px !important;
    font-size: 0.95rem !important;
    letter-spacing: 0.3px !important;
    width: 100%;
}
.pay-check {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #00ff00;
    font-size: 1rem;
}
.pay-field-error {
    color: #ff4444;
    font-size: 0.72rem;
    font-weight: 700;
    margin-top: 5px;
}
.pay-opt-main {
    font-size: 1.05rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.pay-opt-sub {
    font-size: 0.75rem;
    margin-top: 4px;
    color: var(--text-muted);
    display: block;
    font-weight: 700;
}

/* =========================================================
   PREMIUM GLASS — fundo do loading em todo o site + vidro fosco
   ========================================================= */

/* Scroll estável + painel transparente para o reactor-bg (orbs/partículas) aparecer */
body.user-logged-in {
    overscroll-behavior-y: none;
    /* base escura/clara por baixo; o efeito vem do .reactor-bg */
    background-color: var(--bg-base) !important;
}
#dashboard-screen,
.main-content,
#tab-visao-geral,
#tab-planos,
#tab-compras,
#tab-ferramentas,
#tab-ranking,
#tab-perfil,
#tab-ajuda,
#tab-admin {
    background: transparent !important;
}
body.user-logged-in .main-content,
body.user-logged-in #tab-visao-geral {
    -webkit-overflow-scrolling: touch;
}

/* Cards/botões visão geral: sem transform no hover (mantém blur estável) */
body.user-logged-in #tab-visao-geral .glass-liquid-card:hover {
    transform: none !important;
}
body.user-logged-in #tab-visao-geral .ov-action-btn:hover .ov-action-icon {
    transform: none;
}

/* Overview date — vidro fosco */
body.user-logged-in .overview-date {
    backdrop-filter: blur(28px) saturate(175%) !important;
    -webkit-backdrop-filter: blur(28px) saturate(175%) !important;
    background: linear-gradient(145deg, rgba(255,40,40,0.1), rgba(28,12,16,0.38)) !important;
    border: 1px solid rgba(255, 90, 90, 0.22);
    box-shadow: 0 4px 18px rgba(80,0,0,0.22), inset 0 1px 0 rgba(255,180,180,0.12);
}
body.user-logged-in.light-mode .overview-date,
html.light-mode body.user-logged-in .overview-date {
    background: rgba(255, 255, 255, 0.48) !important;
    border-color: rgba(255, 255, 255, 0.65);
    color: #4b5563;
    box-shadow: 0 4px 18px rgba(15,23,42,0.06), inset 0 1px 0 rgba(255,255,255,0.85);
}

/* Sidebar PC/mobile — vidro embassado avermelhado (não preto) */
body.user-logged-in .sidebar {
    background:
        linear-gradient(180deg, rgba(50, 14, 18, 0.42) 0%, rgba(18, 10, 14, 0.38) 100%) !important;
    backdrop-filter: blur(36px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(36px) saturate(180%) !important;
    border-right: 1px solid rgba(255, 90, 90, 0.2);
    box-shadow: 8px 0 40px rgba(80, 0, 0, 0.25), inset -1px 0 0 rgba(255, 160, 160, 0.08);
}
body.user-logged-in.light-mode .sidebar {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 240, 240, 0.48) 100%) !important;
    border-right-color: rgba(255, 140, 140, 0.25);
    box-shadow: 8px 0 40px rgba(255, 40, 40, 0.06);
}

/* Mobile header — vidro */
body.user-logged-in .mobile-header {
    background: rgba(8, 8, 12, 0.5) !important;
    backdrop-filter: blur(28px) saturate(165%) !important;
    -webkit-backdrop-filter: blur(28px) saturate(165%) !important;
    border-bottom: 1px solid rgba(255, 80, 80, 0.12);
}
body.user-logged-in.light-mode .mobile-header {
    background: rgba(255, 255, 255, 0.52) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.55);
}

/* Planos ativos + métricas — vidro embassado avermelhado */
body.user-logged-in .ov-plano-card {
    backdrop-filter: blur(36px) saturate(185%) !important;
    -webkit-backdrop-filter: blur(36px) saturate(185%) !important;
    background:
        linear-gradient(135deg, rgba(255, 60, 60, 0.14) 0%, rgba(255, 26, 26, 0.08) 40%, rgba(30, 12, 16, 0.4) 100%) !important;
    border: 1px solid rgba(255, 90, 90, 0.28) !important;
    box-shadow:
        0 12px 40px rgba(80, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 180, 180, 0.16),
        0 0 0 1px rgba(255, 60, 60, 0.06) !important;
    border-radius: 18px;
    padding: 18px 20px;
    animation: none !important;
}
body.user-logged-in .ov-plano-card:hover {
    border-color: rgba(255, 26, 26, 0.5) !important;
    box-shadow:
        0 16px 48px rgba(255, 26, 26, 0.16),
        inset 0 1px 0 rgba(255, 200, 200, 0.18) !important;
}
body.user-logged-in.light-mode .ov-plano-card {
    background:
        linear-gradient(135deg, rgba(255,255,255,0.62) 0%, rgba(255,240,240,0.52) 55%, rgba(255,230,230,0.48) 100%) !important;
    border-color: rgba(255, 120, 120, 0.3) !important;
    box-shadow:
        0 12px 36px rgba(255, 40, 40, 0.08),
        inset 0 1px 0 rgba(255,255,255,0.95) !important;
}
body.user-logged-in .ov-plano-icon {
    background: rgba(255, 26, 26, 0.18);
    border: 1px solid rgba(255, 26, 26, 0.32);
    box-shadow: 0 0 18px rgba(255, 26, 26, 0.2);
}
body.user-logged-in .ov-action-btn {
    background:
        linear-gradient(145deg, rgba(255, 40, 40, 0.1) 0%, rgba(30, 12, 16, 0.38) 100%) !important;
    backdrop-filter: blur(34px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(34px) saturate(180%) !important;
    border-color: rgba(255, 90, 90, 0.22) !important;
}
body.user-logged-in.light-mode .ov-action-btn {
    background:
        linear-gradient(145deg, rgba(255,255,255,0.58) 0%, rgba(255,238,238,0.5) 100%) !important;
}
body.user-logged-in .ov-metric-card {
    background:
        linear-gradient(145deg, rgba(255, 40, 40, 0.1) 0%, rgba(30, 12, 16, 0.38) 100%) !important;
    backdrop-filter: blur(36px) saturate(185%) !important;
    -webkit-backdrop-filter: blur(36px) saturate(185%) !important;
}
body.user-logged-in.light-mode .ov-metric-card {
    background:
        linear-gradient(145deg, rgba(255,255,255,0.58) 0%, rgba(255,238,238,0.5) 100%) !important;
}

/* Cards genéricos — vidro embassado avermelhado */
body.user-logged-in .card-plan,
body.user-logged-in .tool-card,
body.user-logged-in .token-card,
body.user-logged-in .ios-card,
body.user-logged-in .ios-token-card,
body.user-logged-in .ios-rank-card {
    background:
        linear-gradient(145deg, rgba(255, 40, 40, 0.1) 0%, rgba(30, 12, 16, 0.4) 100%) !important;
    backdrop-filter: blur(36px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(36px) saturate(180%) !important;
    border-color: rgba(255, 90, 90, 0.24) !important;
    box-shadow: 0 10px 36px rgba(80,0,0,0.28), inset 0 1px 0 rgba(255,180,180,0.12) !important;
}
body.user-logged-in.light-mode .card-plan,
body.user-logged-in.light-mode .tool-card,
body.user-logged-in.light-mode .token-card,
body.user-logged-in.light-mode .ios-card,
body.user-logged-in.light-mode .ios-token-card,
body.user-logged-in.light-mode .ios-rank-card {
    background:
        linear-gradient(145deg, rgba(255,255,255,0.58) 0%, rgba(255,238,238,0.5) 100%) !important;
    border-color: rgba(255, 120, 120, 0.28) !important;
    box-shadow: 0 10px 32px rgba(255,40,40,0.08), inset 0 1px 0 rgba(255,255,255,0.9) !important;
}

/* Section titles — chip glass */
body.user-logged-in .ov-section-title i {
    background: rgba(255, 26, 26, 0.12);
    border: 1px solid rgba(255, 26, 26, 0.22);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 0 16px rgba(255, 26, 26, 0.12);
}

/* Fundo reactor mais presente (mesmo tom do loading) */
body.user-logged-in .reactor-bg {
    z-index: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 10%, rgba(255, 40, 40, 0.16), transparent 55%),
        radial-gradient(ellipse 70% 50% at 85% 80%, rgba(180, 0, 0, 0.14), transparent 50%),
        radial-gradient(ellipse 50% 40% at 50% 50%, rgba(255, 26, 26, 0.06), transparent 60%);
}
html.light-mode body.user-logged-in .reactor-bg,
body.user-logged-in.light-mode .reactor-bg {
    background:
        radial-gradient(ellipse 80% 60% at 20% 10%, rgba(255, 80, 80, 0.14), transparent 55%),
        radial-gradient(ellipse 70% 50% at 85% 80%, rgba(200, 30, 30, 0.12), transparent 50%),
        radial-gradient(ellipse 50% 40% at 50% 50%, rgba(255, 100, 100, 0.08), transparent 60%);
}

/* Prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .orb { animation: none !important; }
    .ov-stat-card, .ov-metric-card, .ov-plano-card { animation: none !important; opacity: 1 !important; }
    .reveal-on-scroll { opacity: 1 !important; transform: none !important; }
    .tab-content, .tab-content.tab-enter, .tab-content.tab-exit { animation: none !important; }
    .page-enter, .page-exit { animation: none !important; }
}

/* Visão geral: cards sempre visíveis (zero “carregar” no scroll) */
#tab-visao-geral .ov-stat-card,
#tab-visao-geral .ov-metric-card,
#tab-visao-geral .ov-plano-card,
#tab-visao-geral .ov-action-btn,
#tab-visao-geral .glass-liquid-card {
    opacity: 1 !important;
    animation: none !important;
}

/* PC desktop: reforço do vidro embassado avermelhado (mesmo tom do mobile) */
@media (min-width: 901px) {
    body.user-logged-in .sidebar {
        backdrop-filter: blur(40px) saturate(185%) !important;
        -webkit-backdrop-filter: blur(40px) saturate(185%) !important;
        background:
            linear-gradient(180deg, rgba(55, 16, 22, 0.4) 0%, rgba(22, 10, 14, 0.36) 100%) !important;
    }
    body.user-logged-in #tab-visao-geral .glass-liquid-card,
    body.user-logged-in .main-content .glass-liquid-card,
    body.user-logged-in .ov-plano-card,
    body.user-logged-in .ov-action-btn,
    body.user-logged-in .ov-metric-card,
    body.user-logged-in .card-plan,
    body.user-logged-in .tool-card,
    body.user-logged-in .token-card {
        backdrop-filter: blur(40px) saturate(185%) !important;
        -webkit-backdrop-filter: blur(40px) saturate(185%) !important;
    }
}

/* Mobile: sem efeito de rolagem “borracha” na visão geral */
@media (max-width: 900px) {
    body.user-logged-in {
        scroll-behavior: auto !important;
        overscroll-behavior-y: none;
    }
    body.user-logged-in #tab-visao-geral,
    body.user-logged-in .main-content {
        scroll-behavior: auto !important;
        overscroll-behavior: none;
        -webkit-overflow-scrolling: auto;
    }
    body.user-logged-in #tab-visao-geral.tab-enter {
        animation-duration: 0.4s !important;
    }
}

/* Icon buttons (cupom / notif) — vidro iOS */
.icon-btn {
    background: rgba(28, 12, 16, 0.4) !important;
    backdrop-filter: blur(20px) saturate(170%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(170%) !important;
    border: 1px solid rgba(255, 80, 80, 0.22) !important;
    box-shadow: inset 0 1px 0 rgba(255, 180, 180, 0.1);
}
body.light-mode .icon-btn {
    background: rgba(255, 255, 255, 0.5) !important;
    border-color: rgba(255, 120, 120, 0.28) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.85);
}

/* Notificações / cupons — footer light glass */
body.light-mode .nd-footer {
    background: rgba(255, 255, 255, 0.35) !important;
    border-top-color: rgba(0, 0, 0, 0.06) !important;
}
body.light-mode .nd-close {
    background: rgba(0,0,0,0.06) !important;
    border-color: rgba(0,0,0,0.1) !important;
    color: #111 !important;
}
body.light-mode .nd-tab:hover { color: #111 !important; }
body.light-mode .notif-item p { color: #444 !important; }
body.light-mode .cupom-popover-header,
body.light-mode .nd-header { color: #111 !important; }

/* Chat IA — modo claro: reforço final (ganha de qualquer regra anterior) */
html.light-mode body .ai-chat-window,
html.light-mode body #ai-chat-window,
body.light-mode #ai-chat-window {
    background: linear-gradient(165deg, #ffffff 0%, #f5f7fb 100%) !important;
    color: #111 !important;
}
html.light-mode body .ai-chat-header,
body.light-mode .ai-chat-header {
    background: #ffffff !important;
    color: #0f172a !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
}
html.light-mode body .ai-chat-header > div,
body.light-mode .ai-chat-header > div {
    color: #0f172a !important;
}
html.light-mode body .ai-message.bot,
body.light-mode .ai-message.bot {
    background: #ffffff !important;
    color: #1f2937 !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
}
html.light-mode body .ai-message.user,
body.light-mode .ai-message.user {
    background: rgba(255, 26, 26, 0.1) !important;
    color: #111 !important;
}
html.light-mode body .ai-faq-card,
body.light-mode .ai-faq-card {
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.1) !important;
}
html.light-mode body .ai-faq-trigger,
body.light-mode .ai-faq-trigger {
    color: #0f172a !important;
}
html.light-mode body .ai-faq-item,
body.light-mode .ai-faq-item {
    color: #1f2937 !important;
}
html.light-mode body .ai-chat-footer,
body.light-mode .ai-chat-footer {
    background: #ffffff !important;
}
html.light-mode body .ai-chat-footer input,
body.light-mode .ai-chat-footer input {
    background: #f3f4f8 !important;
    color: #111 !important;
    border-color: rgba(15, 23, 42, 0.12) !important;
}
html.light-mode body .ai-chat-footer input::placeholder,
body.light-mode .ai-chat-footer input::placeholder {
    color: #8b92a0 !important;
}
html.light-mode body .ai-resume-footer,
body.light-mode .ai-resume-footer {
    background: #ffffff !important;
    border-top: 1px solid rgba(15, 23, 42, 0.08) !important;
}
html.light-mode body .btn-newchat-sm,
body.light-mode .btn-newchat-sm {
    color: #111 !important;
    border-color: #d1d5db !important;
    background: #f9fafb !important;
}
html.light-mode body #ai-locked-overlay,
body.light-mode #ai-locked-overlay {
    background: rgba(255, 255, 255, 0.92) !important;
    color: var(--red-main) !important;
}
html.light-mode body .ai-typing-bubble,
body.light-mode .ai-typing-bubble {
    background: #ffffff !important;
    border-color: rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06) !important;
}
html.light-mode body .clear-chat-btn,
body.light-mode .clear-chat-btn {
    background: #f3f4f8 !important;
    border-color: rgba(15, 23, 42, 0.1) !important;
    color: #6b7280 !important;
}

/* Dark mode chat — mantém premium (sem regressão) */
body:not(.light-mode) .ai-chat-window {
    background: rgba(10, 10, 12, 0.94);
}
body:not(.light-mode) .ai-chat-header {
    color: #fff;
}

/* Mobile header light polish — vidro (não sólido) */
body.user-logged-in.light-mode .mobile-header {
    background: rgba(255, 255, 255, 0.48) !important;
    backdrop-filter: blur(28px) saturate(165%) !important;
    -webkit-backdrop-filter: blur(28px) saturate(165%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.55);
}

/* Empty state light */
body.light-mode .ov-empty-state p { color: #6b7280 !important; }
body.light-mode .ov-empty-icon { color: #9ca3af !important; }

/* Chip contrast light */
body.light-mode .ov-chip-green { color: #059669; background: rgba(16, 185, 129, 0.12); border-color: rgba(16, 185, 129, 0.22); }
body.light-mode .ov-chip-blue { color: #0284c7; background: rgba(14, 165, 233, 0.12); border-color: rgba(14, 165, 233, 0.22); }
body.light-mode .ov-chip-red { color: #dc2626; background: rgba(255, 26, 26, 0.1); border-color: rgba(255, 26, 26, 0.2); }
body.light-mode .ov-stat-chip { color: #b45309; background: rgba(251, 191, 36, 0.15); border-color: rgba(245, 158, 11, 0.25); }

/* Plano badge light */
body.light-mode .ov-plano-badge.ativo { color: #059669; background: rgba(16, 185, 129, 0.12); border-color: rgba(16, 185, 129, 0.25); }

/* Reveal landing: se IO falhar, não fica invisível pra sempre */
.reveal-on-scroll {
    transition: opacity 0.55s ease, transform 0.55s ease;
}
@media (max-width: 900px) {
    .reveal-on-scroll { opacity: 1; transform: none; }
}
.pay-opt-sub.pix { color: #00cc00; }
#pix-modal .config-modal.modal-content {
    max-height: min(92vh, 720px);
    overflow-y: auto;
}
#pix-modal .payment-option-btn {
    margin-bottom: 10px !important;
    padding: 14px 16px !important;
}

/* Login mobile — card mais compacto (menos longo) */
@media (max-width: 900px) {
    .login-screen-inner { max-width: 100%; padding: 10px 5% 22px; gap: 10px; }
    .login-wrapper {
        max-width: 100%;
        padding: 1rem 0.9rem 0.9rem !important;
        border-radius: 18px;
    }
    .login-brand-block { margin-bottom: 0.55rem !important; }
    .login-wrapper .brand-logo.brand-logo-square { width: 64px; height: 64px; border-radius: 16px; margin-bottom: 0.35rem !important; }
    .login-brand-title { font-size: 1.1rem !important; margin: 0.35rem 0 0.1rem !important; }
    .login-brand-sub { font-size: 0.72rem !important; }
    .login-tabs { margin-bottom: 10px !important; padding: 4px !important; }
    .login-tab { font-size: 0.74rem !important; padding: 9px 5px !important; }
    .login-wrapper .form-group { margin-bottom: 8px !important; }
    .login-wrapper .form-group label { font-size: 0.72rem !important; margin-bottom: 3px !important; }
    .login-wrapper .form-group input { padding: 10px 12px !important; font-size: 0.85rem !important; }
    .btn-social-google { padding: 10px 11px !important; gap: 8px !important; border-radius: 12px !important; }
    .btn-social-icon { width: 34px !important; height: 34px !important; border-radius: 10px !important; }
    .btn-social-title { font-size: 0.8rem !important; }
    .btn-social-sub { font-size: 0.64rem !important; }
    .auth-turnstile-wrap { margin: 6px 0 8px !important; min-height: 58px !important; }
    .btn-auth-primary,
    .btn-auth-register { padding: 11px 12px !important; font-size: 0.82rem !important; }
    .termos-box-compact { padding: 8px 10px !important; font-size: 0.66rem !important; margin: 6px 0 8px !important; }
    .secure-badge { font-size: 0.62rem !important; margin-top: 10px !important; }
    .secure-badge .secure-sep { display: none; }
    .landing-logo-mark { width: 36px; height: 36px; border-radius: 10px; }
    .login-divider { margin: 8px 0 !important; font-size: 0.7rem !important; }
    /* Remove mancha escura no título (mobile) */
    .header-title h2 {
        text-shadow: none !important;
        filter: none !important;
    }
    .header-title {
        margin-bottom: 1.6rem !important;
    }
}

/* Toast de review um pouco menor no mobile */
@media (max-width: 600px) {
    .landing-review-toast {
        left: 10px !important;
        bottom: 12px !important;
        width: min(220px, calc(100vw - 80px)) !important;
    }
    .landing-review-toast .lrt-card { padding: 9px 11px !important; border-radius: 13px !important; }
    .lrt-avatar { width: 24px !important; height: 24px !important; font-size: 0.62rem !important; border-radius: 7px !important; }
    .lrt-name { font-size: 0.72rem !important; }
    .lrt-stars { font-size: 0.62rem !important; }
    .lrt-comment { font-size: 0.66rem !important; -webkit-line-clamp: 2; }
    .lrt-badge { font-size: 0.58rem !important; margin-top: 4px !important; }
}

/* Toast de avaliações na landing (canto inferior esquerdo) */
.landing-review-toast {
    position: fixed;
    left: 16px;
    bottom: 18px;
    z-index: 40;
    width: min(300px, calc(100vw - 32px));
    pointer-events: none;
}
.landing-review-toast .lrt-card {
    background: rgba(28, 12, 16, 0.4) !important;
    backdrop-filter: blur(40px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(40px) saturate(180%) !important;
    border: 1px solid rgba(255, 80, 80, 0.28);
    border-radius: 16px;
    padding: 12px 14px;
    box-shadow:
        0 12px 36px rgba(80,0,0,0.3),
        0 0 0 1px rgba(255,255,255,0.06) inset,
        inset 0 1px 0 rgba(255,180,180,0.12);
    animation: lrtIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.landing-review-toast .lrt-card.out {
    animation: lrtOut 0.4s ease forwards;
}
.lrt-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}
.lrt-avatar {
    width: 30px; height: 30px; border-radius: 9px;
    background: linear-gradient(135deg, rgba(255,26,26,0.35), rgba(255,26,26,0.1));
    border: 1px solid rgba(255,26,26,0.35);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.7rem; font-weight: 900; color: #fff; flex-shrink: 0;
}
.lrt-name { font-size: 0.82rem; font-weight: 800; color: var(--text-main); }
.lrt-stars { font-size: 0.72rem; color: #ffcc00; letter-spacing: 1px; margin-left: auto; }
.lrt-comment {
    font-size: 0.75rem; color: var(--text-muted); line-height: 1.35;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.lrt-badge {
    display: inline-flex; align-items: center; gap: 4px;
    margin-top: 6px; font-size: 0.65rem; font-weight: 700;
    color: #ff8a8a; opacity: 0.9;
}
@keyframes lrtIn {
    from { opacity: 0; transform: translateY(14px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes lrtOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(10px); }
}
body.light-mode .landing-review-toast .lrt-card {
    background: rgba(255, 255, 255, 0.48) !important;
    backdrop-filter: blur(40px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(40px) saturate(180%) !important;
    border-color: rgba(255, 120, 120, 0.28) !important;
    box-shadow: 0 12px 30px rgba(255,40,40,0.08), inset 0 1px 0 rgba(255,255,255,0.85) !important;
}
body.light-mode .lrt-name { color: #111; }
body.light-mode .lrt-comment { color: #555; }
/* (toast mobile: regras consolidadas no bloco @media max-width 600 acima) */
.btn-renovar { width: auto; padding: 4px 12px; font-weight: 800; background: rgba(255, 204, 0, 0.15); border-color: rgba(255, 204, 0, 0.3); color: #ffcc00; }
.btn-renovar:hover { background: #ffcc00; color: #000; box-shadow: 0 0 10px rgba(255, 204, 0, 0.4); }

body.light-mode .patente-progress-container { background: rgba(0,0,0,0.1); }
/* =========================================================
   LIKES 2K — página + modal premium (v10)
   ========================================================= */
.nav-likes-2k {
    position: relative;
}
.nav-likes-2k i { color: #ff4d6d !important; }
.nav-likes-2k::after {
    content: '2K';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #fff;
    background: linear-gradient(135deg, #ff1a1a, #ff4d6d);
    padding: 2px 7px;
    border-radius: 999px;
    box-shadow: 0 0 12px rgba(255, 26, 26, 0.45);
}

.l2k-page {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Status bar compacta (substitui hero bagunçado) */
.l2k-status-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(255, 26, 26, 0.18);
    background: linear-gradient(135deg, rgba(255,26,26,0.08), rgba(0,0,0,0.2));
    flex-wrap: wrap;
}
.l2k-status-price {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 110px;
}
.l2k-status-lbl {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-muted);
}
.l2k-price {
    font-size: 1.55rem;
    font-weight: 900;
    color: #00ff66;
    letter-spacing: -0.5px;
    line-height: 1.1;
}
.l2k-status-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    flex: 1;
    min-width: 0;
}
.l2k-status-amount {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: radial-gradient(circle at 30% 30%, rgba(255,80,80,0.3), rgba(20,0,0,0.75));
    border: 1px solid rgba(255,26,26,0.4);
    flex-shrink: 0;
    margin-left: auto;
}
.l2k-amount-num {
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    line-height: 1;
    color: #fff;
}
.l2k-amount-lbl {
    font-size: 0.58rem;
    font-weight: 800;
    color: #ff8a8a;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.l2k-stock {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 6px 11px;
    border-radius: 999px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--text-muted);
    white-space: nowrap;
    max-width: 100%;
    line-height: 1.2;
}
.l2k-stock i { flex-shrink: 0; font-size: 0.72em; }
.l2k-stock.ok { color: #00ff88; border-color: rgba(0,255,100,0.3); background: rgba(0,255,100,0.08); }
.l2k-stock.off { color: #ff6b6b; border-color: rgba(255,60,60,0.35); background: rgba(255,40,40,0.08); }

.l2k-reseller-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #9fd0ff;
    background: rgba(77,184,255,0.08);
    border: 1px solid rgba(77,184,255,0.22);
}
.l2k-reseller-banner i { color: #4db8ff; }

.l2k-card {
    padding: 20px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.06);
}
.l2k-card-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}
.l2k-card-head h3 {
    font-size: 1.05rem;
    margin: 0 0 2px;
    font-weight: 800;
    letter-spacing: -0.2px;
}
.l2k-card-head h3 i { color: var(--red-main); }
.l2k-card-desc {
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.4;
    margin: 0;
}
.l2k-step-badge {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #ff1a1a, #c40000);
    border: 1px solid rgba(255,255,255,0.1);
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(255,26,26,0.25);
}
.l2k-step-badge.muted {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-muted);
    box-shadow: none;
    font-size: 0.8rem;
}

/* Lookup row — ID + botão lado a lado */
.l2k-lookup-row {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    flex-wrap: wrap;
}
.l2k-lookup-field {
    flex: 1;
    min-width: 180px;
}
.l2k-btn-lookup {
    width: auto !important;
    min-width: 130px;
    margin-top: 0 !important;
    padding: 14px 18px !important;
    flex-shrink: 0;
}
.l2k-verify-card .l2k-btn-lookup {
    align-self: flex-end;
}
.l2k-label {
    display: flex; align-items: center; gap: 6px;
    font-size: 0.82rem; color: var(--text-muted); margin-bottom: 8px; font-weight: 600;
}
.l2k-btn {
    width: 100%; border-radius: 14px; padding: 14px 16px;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    margin-top: 10px;
}
.l2k-btn.primary {
    background: linear-gradient(135deg, #ff1a1a, #c40000);
    border-color: transparent;
    box-shadow: 0 8px 24px rgba(255,26,26,0.28);
}
.l2k-btn.ghost {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--text-main);
}
.l2k-btn:disabled,
.l2k-btn.disabled {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: none !important;
    filter: grayscale(0.3);
}
.l2k-btn.block { width: 100%; }

.l2k-alert {
    margin-top: 12px; padding: 12px 14px; border-radius: 14px;
    font-size: 0.88rem; display: flex; align-items: flex-start; gap: 10px; line-height: 1.4;
}
.l2k-alert.error {
    background: rgba(255,40,40,0.1); border: 1px solid rgba(255,60,60,0.3); color: #ff8a8a;
}
.l2k-alert.warn {
    background: rgba(255,180,0,0.08); border: 1px solid rgba(255,180,0,0.28); color: #ffcc66;
}

.l2k-player {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(0,255,100,0.04), rgba(255,255,255,0.02));
    border: 1px solid rgba(0,255,100,0.18);
    animation: l2kFadeIn 0.35s ease;
}
@keyframes l2kFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}
.l2k-player-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.l2k-player-avatar {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(255,26,26,0.25), rgba(0,0,0,0.4));
    border: 1px solid rgba(255,26,26,0.35);
    color: #ff6b6b;
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-bottom: 0;
}
.l2k-player-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 0;
    flex: 1;
    min-width: 0;
}
.l2k-player-meta strong {
    font-size: 1.05rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.l2k-player-uid {
    color: var(--text-muted);
    font-size: 0.8rem;
}
.l2k-player-uid b { color: var(--text-main); font-weight: 700; }
.l2k-player-ok {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #00ff88;
    background: rgba(0,255,100,0.1);
    border: 1px solid rgba(0,255,100,0.22);
    padding: 5px 10px;
    border-radius: 999px;
    flex-shrink: 0;
    white-space: nowrap;
}
.l2k-player-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}
.l2k-stat-pill,
.l2k-player-stats div {
    background: rgba(0,0,0,0.22);
    border-radius: 12px;
    padding: 10px 8px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
}
.l2k-stat-pill span,
.l2k-player-stats span {
    display: block;
    font-size: 0.68rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 4px;
    font-weight: 600;
}
.l2k-stat-pill b,
.l2k-player-stats b {
    font-size: 0.95rem;
    font-weight: 800;
}
.l2k-confirm {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.86rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1.4;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
}
.l2k-confirm input {
    margin-top: 2px;
    accent-color: #ff1a1a;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.l2k-cash-box {
    background: rgba(255,200,0,0.05);
    border: 1px solid rgba(255,200,0,0.18);
    border-radius: 16px; padding: 14px; margin-bottom: 14px;
}
.l2k-cash-row {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.95rem; margin-bottom: 8px;
}
.l2k-cash-toggle {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.88rem; color: var(--text-main); cursor: pointer; margin-bottom: 6px;
}
.l2k-cash-toggle input { accent-color: #ffcc00; }
.l2k-cash-note { color: var(--text-muted); font-size: 0.75rem; display: block; }
.l2k-total-box {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 16px; border-radius: 14px;
    background: rgba(0,255,100,0.05); border: 1px solid rgba(0,255,100,0.15);
    margin-bottom: 8px;
}
.l2k-total-box span { color: var(--text-muted); font-weight: 600; }
.l2k-total-box strong { font-size: 1.35rem; color: #00ff66; }

.l2k-history-card { margin-top: 0; }
.l2k-history { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.l2k-empty { text-align: center; color: var(--text-muted); padding: 18px 8px; font-size: 0.9rem; }
.l2k-hist-item {
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    padding: 12px 14px; border-radius: 14px;
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05);
}
.l2k-hist-left { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.l2k-hist-left strong { font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.l2k-hist-left small { color: var(--text-muted); font-size: 0.75rem; }
.l2k-hist-right { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; }
.l2k-hist-right b { font-size: 0.9rem; }
.l2k-badge {
    font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.4px;
    padding: 3px 8px; border-radius: 999px;
}
.l2k-badge.ok { background: rgba(0,255,100,0.12); color: #00ff88; }
.l2k-badge.cash { background: rgba(255,200,0,0.12); color: #ffcc00; }
.l2k-badge.err { background: rgba(255,60,60,0.12); color: #ff6b6b; }

/* Modal L2K */
#l2k-modal { z-index: 400; }
.l2k-modal-card { max-width: 440px; width: 100%; text-align: center; padding: 28px 24px 24px; }
.l2k-modal-section h2 {
    font-size: 1.45rem; margin: 8px 0 6px; letter-spacing: -0.4px;
}
.l2k-modal-sub { color: var(--text-muted); font-size: 0.92rem; line-height: 1.45; margin-bottom: 12px; }
.l2k-modal-icon {
    font-size: 3.2rem; color: #00e676; margin-bottom: 4px;
    filter: drop-shadow(0 0 16px rgba(0,230,118,0.35));
}
.l2k-modal-icon.pulse { animation: l2kPulse 1.2s ease-in-out infinite; color: var(--red-main); filter: drop-shadow(0 0 16px rgba(255,26,26,0.4)); }
@keyframes l2kPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.08); opacity: 0.85; }
}
.l2k-modal-total {
    font-size: 1rem; color: var(--text-muted); margin-bottom: 8px;
}
.l2k-modal-total strong { color: #00ff66; font-size: 1.25rem; }
.l2k-qr-wrap {
    background: #fff; padding: 14px; border-radius: 20px; display: inline-flex;
    margin: 8px 0 16px; box-shadow: 0 12px 30px rgba(0,255,100,0.12);
}
.l2k-qr-wrap img { width: 180px; height: 180px; border-radius: 10px; object-fit: cover; }
.l2k-copy-row {
    display: flex; gap: 8px; align-items: center; margin-bottom: 14px;
}
.l2k-copy-row .copy-pix {
    flex: 1; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    margin-bottom: 0;
}
.l2k-copy-row .btn-checkout {
    width: auto; padding: 12px 16px; border-radius: 12px; margin: 0;
}
.l2k-progress {
    height: 6px; border-radius: 999px; background: rgba(255,255,255,0.08);
    overflow: hidden; margin: 18px 0 8px;
}
.l2k-progress-bar {
    height: 100%; width: 40%;
    background: linear-gradient(90deg, #ff1a1a, #ff6b6b, #ff1a1a);
    background-size: 200% 100%;
    animation: l2kBar 1.1s linear infinite;
    border-radius: 999px;
}
@keyframes l2kBar {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(280%); }
}
.l2k-result-stats {
    text-align: left; width: 100%;
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px; padding: 12px 14px; margin: 12px 0 18px;
}
.l2k-stat-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 0.9rem; gap: 10px;
}
.l2k-stat-row:last-child { border-bottom: none; }
.l2k-stat-row span { color: var(--text-muted); }
.l2k-stat-row b { color: var(--text-main); text-align: right; }

body.light-mode .l2k-status-bar {
    background: linear-gradient(145deg, rgba(255,26,26,0.06), rgba(255,255,255,0.7));
    border-color: rgba(255,26,26,0.15);
}
body.light-mode .l2k-player,
body.light-mode .l2k-hist-item,
body.light-mode .l2k-result-stats,
body.light-mode .l2k-stat-pill,
body.light-mode .l2k-player-stats div {
    background: rgba(0,0,0,0.03);
    border-color: rgba(0,0,0,0.06);
}
body.light-mode .l2k-player {
    background: linear-gradient(145deg, rgba(0,180,80,0.06), rgba(0,0,0,0.02));
    border-color: rgba(0,160,80,0.2);
}
body.light-mode .l2k-cash-box {
    background: rgba(255,180,0,0.08);
}
body.light-mode .l2k-confirm {
    background: rgba(0,0,0,0.03);
    border-color: rgba(0,0,0,0.06);
}
body.light-mode .nav-likes-2k::after {
    box-shadow: none;
}

@media (max-width: 600px) {
    .l2k-status-bar {
        padding: 12px 12px;
        gap: 8px 10px;
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
    }
    .l2k-status-price { min-width: 0; }
    .l2k-status-amount {
        width: 52px;
        height: 52px;
        border-radius: 14px;
        margin-left: 0;
        grid-column: 2;
        grid-row: 1;
    }
    .l2k-status-meta {
        grid-column: 1 / -1;
        grid-row: 2;
        flex-wrap: nowrap;
        gap: 6px;
        width: 100%;
        min-width: 0;
        overflow: hidden;
    }
    .l2k-stock {
        font-size: 0.65rem;
        padding: 4px 8px;
        gap: 4px;
        flex: 1 1 auto;
        min-width: 0;
        max-width: none;
        justify-content: center;
        letter-spacing: -0.1px;
    }
    .l2k-credits-pill {
        font-size: 0.65rem;
        padding: 4px 8px;
        gap: 4px;
        flex-shrink: 0;
    }
    .l2k-amount-num { font-size: 0.95rem; }
    .l2k-price { font-size: 1.25rem; }
    .l2k-lookup-row { flex-direction: column; align-items: stretch; }
    .l2k-btn-lookup { width: 100% !important; }
    .l2k-player-top { flex-wrap: wrap; }
    .l2k-player-ok { width: 100%; justify-content: center; }
    .l2k-player-stats { grid-template-columns: repeat(3, 1fr); }
    .l2k-hist-item { flex-direction: column; align-items: flex-start; }
    .l2k-hist-right { align-items: flex-start; flex-direction: row; gap: 10px; }
}

/* Likes2k qty + credits */
.l2k-credits-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 0;
    padding: 6px 11px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #c4b5fd;
    background: rgba(167, 139, 250, 0.12);
    border: 1px solid rgba(167, 139, 250, 0.28);
}
.l2k-credits-pill i { color: #a78bfa; }
.l2k-credits-pill strong { color: #fff; font-weight: 800; }
body.light-mode .l2k-credits-pill strong { color: #4c1d95; }

.l2k-qty-box {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 18px; padding: 16px; margin-bottom: 14px;
}
body.light-mode .l2k-qty-box { background: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.06); }
.l2k-qty-head {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 12px; gap: 10px;
}
.l2k-qty-max {
    font-size: 0.75rem; font-weight: 700; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 0.4px;
}
.l2k-qty-row {
    display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
}
.l2k-qty-btn {
    width: 46px; height: 46px; border-radius: 14px; flex-shrink: 0;
    border: 1px solid rgba(255,26,26,0.35);
    background: rgba(255,26,26,0.1);
    color: var(--text-main); font-size: 1.4rem; font-weight: 700;
    cursor: pointer; transition: 0.2s;
}
.l2k-qty-btn:hover { background: rgba(255,26,26,0.22); }
.l2k-qty-btn:active { transform: scale(0.94); }
.l2k-amount-input {
    text-align: center !important; font-size: 1.35rem !important; font-weight: 800 !important;
    letter-spacing: -0.5px; flex: 1; min-width: 0;
    -moz-appearance: textfield;
}
.l2k-amount-input::-webkit-outer-spin-button,
.l2k-amount-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.l2k-range {
    width: 100%; height: 6px; border-radius: 999px; outline: none;
    -webkit-appearance: none; appearance: none;
    background: linear-gradient(90deg, rgba(255,26,26,0.5), rgba(255,100,100,0.25));
    margin-bottom: 12px; cursor: pointer;
}
.l2k-range::-webkit-slider-thumb {
    -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%;
    background: #ff1a1a; border: 3px solid #fff;
    box-shadow: 0 0 12px rgba(255,26,26,0.5); cursor: grab;
}
.l2k-range::-moz-range-thumb {
    width: 22px; height: 22px; border-radius: 50%;
    background: #ff1a1a; border: 3px solid #fff;
    box-shadow: 0 0 12px rgba(255,26,26,0.5); cursor: grab;
}

.l2k-qty-presets {
    display: flex; flex-wrap: wrap; gap: 8px;
}
.l2k-chip {
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.04);
    color: var(--text-muted); font-size: 0.8rem; font-weight: 700;
    padding: 7px 12px; border-radius: 999px; cursor: pointer; transition: 0.2s;
}
.l2k-chip:hover, .l2k-chip.accent {
    border-color: rgba(255,26,26,0.4);
    color: #fff; background: rgba(255,26,26,0.15);
}
body.light-mode .l2k-chip:hover, body.light-mode .l2k-chip.accent { color: #111; }

@media (max-width: 600px) {
    .l2k-qty-btn { width: 42px; height: 42px; }
    .l2k-amount-input { font-size: 1.2rem !important; }
}
