:root {
    --bg-base: #030000;
    --panel-bg: #0a0a0a;
    --red-main: #ff1a1a;
    --red-dark: #800000;
    --red-glow: rgba(255, 26, 26, 0.4);
    --glass: rgba(15, 15, 15, 0.7);
    --glass-border: rgba(255, 50, 50, 0.15);
    --text-main: #ffffff;
    --text-muted: #888888;
}

* { 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: #f0f2f5;
    --panel-bg: #ffffff;
    --glass: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(0, 0, 0, 0.1);
    --text-main: #111111;
    --text-muted: #555555;
    --red-glow: rgba(255, 26, 26, 0.2);
}
body.light-mode .sidebar { background: #ffffff; border-right: 1px solid #ddd; }
body.light-mode .card-plan, body.light-mode .tool-card, body.light-mode .login-wrapper { background: #ffffff; box-shadow: 0 5px 20px rgba(0,0,0,0.05) !important; }
body.light-mode .card-plan:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.1), 0 0 15px var(--red-glow) !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; }
body.light-mode .stat-box { background: #fff !important; }
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: #fff; border-color: #ddd; box-shadow: 0 10px 40px rgba(0,0,0,0.1); }
body.light-mode .nd-header { background: #f5f5f5; border-bottom: 1px solid #ddd; color: #111; }
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 #eee; }
body.light-mode .notif-item p { color: #555; }
body.light-mode .nd-footer { background: #f9f9f9; border-top: 1px solid #ddd; }
body.light-mode .mobile-header { background: #fff; border-bottom: 1px solid #ddd; }
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; }
 
body.light-mode .ai-chat-window { background: #fff; border-color: var(--red-main); }
body.light-mode .ai-chat-header { background: var(--red-main); color: #fff; }
body.light-mode .ai-chat-header button { color: #fff; }
body.light-mode .ai-chat-body { background: #f5f5f5; }
body.light-mode .ai-message.user { background: #e0e0e0; color: #111; border-color: #ccc; }
body.light-mode .ai-message.bot { background: rgba(255, 26, 26, 0.05); color: #111; border-color: rgba(255, 26, 26, 0.2); box-shadow: none;}
body.light-mode .ai-message.bot::before { background: var(--red-main); color: #fff; }
body.light-mode .clear-chat-container { background: #fff; }
body.light-mode .quick-actions { background: #fff; }
body.light-mode .quick-actions button { color: #111; border-color: #ccc; }
body.light-mode .ai-chat-footer { background: #fff; border-color: #ddd; }
body.light-mode .ai-chat-footer input { background: #eee; color: #111; border-color: #ccc; }
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); }

#theme-loader { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); z-index: 999999; display: flex; flex-direction: column; justify-content: center; align-items: center; opacity: 1; transition: opacity 0.5s ease; }
.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; }
body.light-mode #pre-loader-mask { background: var(--panel-bg); }

.reactor-bg { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: -2; overflow: hidden; pointer-events: none; }
#particles-js { position: fixed; width: 100%; height: 100%; top: 0; left: 0; z-index: -1; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.4; animation: float 15s infinite ease-in-out alternate; }
.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.2); bottom: -20%; right: -10%; animation-delay: -5s; }
.orb-3 { width: 300px; height: 300px; background: rgba(255, 26, 26, 0.15); top: 40%; left: 40%; animation-delay: -10s; }
@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: var(--glass); border: 1px solid var(--glass-border); 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; background: var(--panel-bg); border: 1px solid var(--glass-border); border-radius: 16px; box-shadow: 0 10px 40px rgba(0,0,0,0.9); overflow: hidden; animation: zoomIn 0.3s ease; }
.nd-header { padding: 15px 20px; border-bottom: 1px solid #333; font-weight: bold; background: linear-gradient(135deg, #150000, #330000); color: #fff; display: flex; justify-content: space-between; align-items: center;}
.nd-close { background: transparent; border: none; color: #fff; font-size: 1.2rem; cursor: pointer; transition: 0.2s; }
.nd-close:hover { color: var(--red-main); transform: scale(1.1); }
.nd-tabs { display: flex; background: #111; border-bottom: 1px solid #222; }
.nd-tab { flex: 1; text-align: center; padding: 10px; font-size: 0.85rem; cursor: pointer; color: #888; transition: 0.3s; border-bottom: 2px solid transparent; font-weight: bold; text-transform: uppercase; }
.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); }
.notif-item { padding: 15px 20px; border-bottom: 1px solid #222; 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; }
.notif-item p { color: #ccc; font-size: 0.9rem; line-height: 1.4; margin: 0; }
.nd-empty { padding: 20px; text-align: center; color: var(--text-muted); font-size: 0.9rem; }
.nd-footer { padding: 10px; background: #050505; text-align: center; border-top: 1px solid #222; }
.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; }

.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; bottom: 30px; right: 30px; z-index: 80; 
    background: linear-gradient(135deg, #150000, #400000); 
    border: 2px solid var(--red-main); 
    padding: 12px 24px; border-radius: 30px;
    display: flex; 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 0 20px rgba(255, 26, 26, 0.6), inset 0 0 10px rgba(255, 26, 26, 0.3);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    animation: pulseNeon 2s infinite alternate;
}
 
.ai-float:hover { 
    transform: scale(1.05) translateY(-5px); 
    box-shadow: 0 10px 30px rgba(255, 26, 26, 0.9), inset 0 0 15px rgba(255, 26, 26, 0.5);
    animation: none;
}
 
.ai-float:active { transform: scale(0.95); }
 
@keyframes pulseNeon { 
    0% { box-shadow: 0 0 15px rgba(255, 26, 26, 0.4), inset 0 0 5px rgba(255, 26, 26, 0.2); } 
    100% { box-shadow: 0 0 35px rgba(255, 26, 26, 0.8), inset 0 0 15px rgba(255, 26, 26, 0.5); } 
}

.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); z-index: 999999; justify-content: center; align-items: center; padding: 5%; }
.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; justify-content: center; align-items: center; z-index: 10; position: relative; padding: 5%; }
.login-wrapper { background: var(--glass); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px); border: 1px solid var(--glass-border); padding: 2.5rem 2.5rem; border-radius: 24px; box-shadow: 0 0 50px rgba(0,0,0,0.9), inset 0 0 30px rgba(255,0,0,0.05); text-align: center; width: 100%; max-width: 480px; animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1); margin: auto; position: relative; overflow: hidden; }
 
.brand-logo { 
    width: 70px; height: 70px; 
    background: rgba(255,26,26,0.1); 
    border: 1px solid var(--red-main); 
    border-radius: 50%; 
    display: flex; align-items: center; justify-content: center; 
    margin: 0 auto 1.5rem auto; 
    box-shadow: 0 0 20px var(--red-glow); 
    animation: pulseLogo 2s infinite alternate; 
    position: relative; z-index: 2; 
}
.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; }

.secure-badge { margin-top: 2rem; font-size: 0.85rem; color: #666; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; position: relative; z-index: 2;}
.secure-badge i { color: #00ff00; }

@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: var(--panel-bg); padding: 15px 20px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--glass-border); position: sticky; top: 0; z-index: 50; box-shadow: 0 5px 15px rgba(0,0,0,0.8); }
.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 { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); backdrop-filter: blur(8px); z-index: 90; opacity: 0; transition: 0.4s; }
.sidebar-overlay.active { display: block; opacity: 1; }

#dashboard-screen { display: none; min-height: 100vh; flex-direction: column; }
.sidebar { width: 280px; background: rgba(8,8,8,0.98); backdrop-filter: blur(15px); border-right: 1px solid var(--glass-border); position: fixed; height: 100vh; padding: 2rem 1.5rem; display: flex; flex-direction: column; z-index: 100; transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
 
.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; }
.nav-links button i { font-size: 1rem; width: 20px; text-align: center; }
 
.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 1rem auto; }
 
.login-tabs { display: flex; background: rgba(0,0,0,0.4); border-radius: 12px; padding: 5px; margin-bottom: 20px; border: 1px solid rgba(255,255,255,0.05); position: relative; z-index: 2; }
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: 10px; text-align: center; cursor: pointer; border-radius: 8px; color: var(--text-muted); font-weight: bold; transition: 0.3s; font-size: 0.9rem; }
.login-tab.active { background: var(--red-main); color: #fff; box-shadow: 0 4px 15px rgba(255,26,26,0.3); }
 
.login-divider { display: flex; align-items: center; text-align: center; margin: 15px 0; color: var(--text-muted); font-size: 0.75rem; font-weight: bold; text-transform: uppercase; position: relative; z-index: 2; }
.login-divider::before, .login-divider::after { content: ''; flex: 1; border-bottom: 1px solid var(--glass-border); }
.login-divider:not(:empty)::before { margin-right: 15px; }
.login-divider:not(:empty)::after { margin-left: 15px; }

.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 { background: #f0f2f5; border-color: #ddd; color: #111; }
 
@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.6);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 20px 50px rgba(0,0,0,0.05), inset 0 0 20px rgba(255, 255, 255, 0.5);
}

.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-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: 1.1rem; font-weight: 900; cursor: pointer; transition: 0.3s; box-shadow: 0 10px 30px rgba(255,26,26,0.4); }
.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: bold; font-size: 1.1rem; display: flex; align-items: center; gap: 8px; transition: 0.3s; }
.btn-landing-secondary:hover { color: var(--red-main); }

.hero-floating-panel { width: 100%; max-width: 800px; border-radius: 20px; padding: 25px; margin-bottom: 40px; }
.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.85rem; color: var(--text-muted); font-weight: bold; display: flex; justify-content: space-between; margin-bottom: 10px; text-transform: uppercase; }
.p-green { color: #00ff00; background: rgba(0,255,0,0.1); padding: 2px 6px; border-radius: 4px; }
.p-blue { color: #0096ff; background: rgba(0,150,255,0.1); padding: 2px 6px; border-radius: 4px; }
.p-val { font-size: 2.5rem; font-weight: 900; color: var(--text-main); }
.p-val small { font-size: 1.2rem; 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: 15px; }
    .btn-landing-primary { width: 100%; }
    .features-text { text-align: center; }
    .features-text p { margin: 0 auto; }
}

.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 { position: absolute; top: 30px; left: 30px; background: transparent; border: none; color: var(--text-muted); font-size: 1.1rem; cursor: pointer; display: flex; align-items: center; gap: 8px; transition: 0.3s; font-weight: bold; z-index: 100; text-transform: uppercase; letter-spacing: 1px; }
.btn-back-login:hover { color: var(--red-main); transform: translateX(-5px); }

.plans-grid { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 1.2rem; 
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1.5rem; 
    margin-bottom: 4rem; 
}
 
.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%; 
}
 
.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: 2rem; flex-grow: 1; display: flex; flex-direction: column; gap: 8px; }
.plan-features li { padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.03) !important; color: var(--text-muted); font-size: 0.85rem; 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.75rem !important; margin-top: 2px; flex-shrink: 0; }
 
.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); z-index: 200; justify-content: center; align-items: center; padding: 5%; overflow-y: auto; }
.config-modal { background: #080808; border: 1px solid #333; border-radius: 24px; width: 100%; max-width: 600px; padding: 0; overflow: hidden; animation: zoomIn 0.3s 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-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); } }

@media (max-width: 900px) {
    .mobile-header { display: flex; } 
    .sidebar { transform: translateX(-100%); transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1); width: 280px; height: 100vh; overflow-y: auto; padding-top: 1.5rem; padding-bottom: 2rem; top: 0; left: 0; }
    .sidebar.open { transform: translateX(0); }
    
    .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.4rem;
        width: 100%; 
        max-width: 100%; 
        margin: 0.5rem auto 0 auto;
        display: grid;
        box-sizing: border-box;
        animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1); 
    } 
    
    .card-plan { 
        padding: 1rem 0.4rem;
        border-radius: 16px; 
        overflow: visible !important; 
        display: flex;
        flex-direction: column;
        height: auto;
        justify-content: flex-start;
    }

    .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: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 12px; margin-left: 2px; }
    .card-plan .base-price { font-size: 1.2rem; margin: 0.2rem 0; letter-spacing: -1px; }
    .card-plan .base-price span { font-size: 0.65rem; letter-spacing: 0; }
    
    .plan-features { flex-grow: 1; margin-bottom: 0.8rem; padding: 0 2px; }
    
    .plan-features li { 
        font-size: 0.65rem; 
        padding: 1px 0;
        gap: 4px; 
        align-items: flex-start; 
        line-height: 1.1; 
        white-space: normal; 
        word-wrap: break-word;
    }
    .plan-features li i { font-size: 0.65rem; margin-top: 2px; flex-shrink: 0; } 

    .btn-config { 
        margin-top: auto; 
        display: flex !important; 
        justify-content: center !important; 
        align-items: center !important; 
        padding: 10px 4px !important; 
        font-size: 0.65rem !important;
        letter-spacing: 0px !important; 
        white-space: nowrap !important; 
        overflow: hidden !important;
        width: 98% !important;
        margin-left: auto;
        margin-right: auto;
        border-radius: 14px !important;
    }
    
    .card-plan .badge { font-size: 0.5rem; padding: 2px 6px; top: -8px; }
    .info-btn { position: absolute !important; font-size: 1rem !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; }
    .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: 2rem 1.2rem; }
    .btn-google { padding: 15px; width: fit-content; max-width: 100%; margin: 0 auto; font-size: 0.95rem;}

    .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; }

    .top-controls { position: relative; top: auto; right: auto; display: flex; gap: 10px; margin-right: 0;}
    .icon-btn { width: 35px; height: 35px; font-size: 1rem; border: none; background: transparent; }
    .notif-dropdown { right: 0px; width: 280px; }

    #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; }
    
    .ai-chat-window { 
        width: 100vw !important; 
        height: 100vh !important; 
        height: 100dvh !important;
        max-height: 100dvh !important; 
        left: 0 !important; 
        right: 0 !important; 
        bottom: 0 !important; 
        top: 0 !important;
        border-radius: 0 !important;
        transform: none !important; 
        z-index: 999999 !important;
        border: none !important;
        animation: popInMobile 0.3s ease forwards;
    }
}

.ai-chat-window { position: fixed; bottom: 110px; right: 30px; width: 380px; height: 550px; background: #0f0f0f; border: 1px solid #333; border-radius: 20px; display: none; flex-direction: column; z-index: 9999; box-shadow: 0 10px 50px rgba(0,0,0,0.9), 0 0 30px rgba(255, 26, 26, 0.15); 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); } }
 
.ai-chat-header { background: transparent; padding: 20px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #222; 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: #0f0f0f; }
.clear-chat-btn { background: transparent; border: 1px solid #333; color: #888; padding: 6px 18px; border-radius: 20px; font-size: 0.75rem; cursor: pointer; transition: 0.2s; }
.clear-chat-btn:hover { border-color: var(--red-main); color: #fff; }

.ai-chat-body { flex: 1; padding: 15px; overflow-y: auto; display: flex; flex-direction: column; gap: 15px; background: #0f0f0f; 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: 15px; border-radius: 16px; font-size: 0.95rem; line-height: 1.5; position: relative; word-wrap: break-word; }
.ai-message.user { align-self: flex-end; background: #222; border: 1px solid #333; color: #fff; border-bottom-right-radius: 4px; }
.ai-message.bot { align-self: flex-start; background: #1a1a1a; border: 1px solid #222; color: #ddd; border-top-left-radius: 4px; padding-left: 48px; box-shadow: inset 0 0 15px rgba(0,0,0,0.5); }
 
.ai-message.bot::before { content: '\f544'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 12px; top: 12px; color: #fff; background: var(--red-main); width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; box-shadow: 0 0 10px var(--red-glow); }
.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 { align-self: flex-start; font-size: 0.85rem; color: var(--red-main); font-style: italic; display: none; padding: 5px 10px; }
 
.quick-actions { display: none; flex-wrap: wrap; gap: 8px; padding: 10px 15px; background: #0f0f0f; }
.quick-actions button { background: transparent; border: 1px solid #444; color: #ccc; padding: 8px 12px; border-radius: 20px; font-size: 0.8rem; cursor: pointer; transition: 0.2s; }
.quick-actions button:hover { border-color: var(--red-main); color: var(--red-main); background: rgba(255, 26, 26, 0.05); }

.ai-chat-footer { padding: 15px; border-top: 1px solid #222; display: flex; gap: 10px; background: #0f0f0f; align-items: center; }
.ai-chat-footer input { flex: 1; background: #1a1a1a; border: 1px solid #333; padding: 14px 18px; border-radius: 12px; color: #fff; font-size: 0.95rem; transition: 0.2s; }
.ai-chat-footer input:focus { border-color: var(--red-main); }
.ai-chat-footer button { background: var(--red-main); border: none; color: #fff; width: 45px; height: 45px; border-radius: 12px; cursor: pointer; transition: 0.2s; font-size: 1.2rem; display: flex; justify-content: center; align-items: center; }
.ai-chat-footer button:hover { transform: scale(1.05); box-shadow: 0 0 15px var(--red-glow); }
.ai-chat-footer.locked { pointer-events: none; position: relative; border-color: transparent !important; }
.ai-chat-footer.locked::after { 
    content: '𝑹𝒆𝒂𝒄𝒕𝒐𝒓𝑨𝑰 𝒅𝒊𝒈𝒊𝒕𝒂𝒏𝒅𝒐... 🤖'; 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; 
    background: rgba(15, 15, 15, 0.7); backdrop-filter: blur(5px); 
    z-index: 5; border-radius: inherit;
    display: flex; justify-content: center; align-items: center;
    color: var(--red-main); font-weight: 900; font-size: 0.95rem; letter-spacing: 1px;
    animation: typingDots 1.5s infinite;
}
body.light-mode .ai-chat-footer.locked::after { background: rgba(255, 255, 255, 0.7); }
 
@keyframes typingDots {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.ai-link-btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; margin-bottom: 5px; padding: 10px 18px; background: #222; border: 1px solid #444; color: #fff !important; text-decoration: none; border-radius: 10px; font-size: 0.9rem; font-weight: bold; transition: 0.2s; }
.ai-link-btn:hover { border-color: var(--red-main); color: var(--red-main) !important; background: rgba(255,26,26,0.1); }
.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); }
 
.chat-blurred { filter: blur(4px); opacity: 0.6; pointer-events: none; overflow: hidden !important; }
 
.ai-resume-footer { padding: 15px; border-top: 1px solid #222; display: flex; gap: 10px; background: #0f0f0f; 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: #fff; border-color: #ddd; }
body.light-mode .btn-newchat-sm { color: #111; border-color: #ccc !important; }
body.light-mode .btn-newchat-sm:hover { background: #eee; }