/* =========================================================
   DUVANSITOOL 2.0 CYBERPUNK — COMPLETE PREMIUM STYLESHEET
   Mobile-first, Perfect Desktop Layout, Modern & Seamless UI
========================================================= */
:root {
  --bg-main:       #040711;
  --bg-card:       rgba(10, 16, 32, 0.55);
  --border-cyan:   rgba(56, 189, 248, 0.25);
  --border-magenta:rgba(217, 70, 239, 0.25);
  --border-muted:  rgba(255, 255, 255, 0.1);
  
  --accent-cyan:   #38bdf8;
  --cyan-glow:     rgba(56, 189, 248, 0.4);
  --accent-magenta:#d946ef;
  --magenta-glow:  rgba(217, 70, 239, 0.4);
  --accent-gold:   #f59e0b;
  --accent-emerald:#10b981;
  --accent-rose:   #f43f5e;
  
  --text-main:     #f8fafc;
  --text-muted:    #94a3b8;
  --input-bg:      rgba(6, 11, 24, 0.95);
  --font-main:     'Be Vietnam Pro', 'Quicksand', sans-serif;
  
  --r-xl: 22px;
  --r-lg: 16px;
  --r-md: 12px;
  --r-sm: 8px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body, button, input, select, textarea, span, p, div, h1, h2, h3, h4, h5, h6, a, label, strong, b {
  font-family: var(--font-main);
}

html {
  font-size: 15px;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.12), transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(217, 70, 239, 0.08), transparent 40%),
    linear-gradient(rgba(56, 189, 248, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
  background-attachment: fixed;
}

/* Scrollbar */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(56, 189, 248, 0.3); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-cyan); }

/* Marquee Bar */
.marquee-container {
  width: 100%;
  padding: 7px 0;
  overflow: hidden;
  position: fixed;
  top: 0;
  z-index: 999;
  background: rgba(4, 7, 17, 0.94);
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.marquee-text {
  white-space: nowrap;
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-cyan);
  animation: marqueeAnim 18s linear infinite;
  padding-left: 100%;
}
@keyframes marqueeAnim {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

/* Sound & Theme Action Controls */
.top-action-controls {
  position: fixed;
  top: 10px;
  right: 12px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 8px;
}
.top-action-controls.has-marquee { top: 42px; }

.action-toggle-btn {
  background: rgba(10, 15, 30, 0.85);
  border: 1px solid var(--border-cyan);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 15px;
  transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s ease, color 0.2s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}
.action-toggle-btn:hover {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  transform: scale(1.06);
  box-shadow: 0 0 15px var(--cyan-glow);
}
.action-toggle-btn:active {
  transform: scale(0.92);
}
.action-toggle-btn.active {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 12px var(--cyan-glow);
}
.theme-toggle-btn:hover {
  color: var(--accent-gold);
  border-color: var(--accent-gold);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
}

/* ====================================================
   MICRO-INTERACTIONS & ELASTIC PRESS & RIPPLE
==================================================== */
.holo-btn, .checkin-day, .method-card, .amount-btn, .aff-ans-btn, .giftcode-submit-btn, .sys-btn {
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s ease, opacity 0.2s ease;
}
.holo-btn:active:not(.disabled), 
.checkin-day:active, 
.method-card:active, 
.amount-btn:active, 
.aff-ans-btn:active,
.giftcode-submit-btn:active {
  transform: scale(0.96);
}

.ripple-ink {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 0%, rgba(56, 189, 248, 0.15) 60%, transparent 80%);
  animation: rippleAnim 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  pointer-events: none;
  z-index: 10;
}
@keyframes rippleAnim {
  to {
    transform: scale(3.2);
    opacity: 0;
  }
}

/* ====================================================
   WARN NOTE BOX (CẢNH BÁO AN TOÀN - NEON BEAM)
==================================================== */
.warn-note-box {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(217, 70, 239, 0.06));
  border: 1.5px solid rgba(245, 158, 11, 0.55);
  border-radius: var(--r-md);
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 8px;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.18), inset 0 0 15px rgba(245, 158, 11, 0.05);
  position: relative;
  overflow: hidden;
}

/* Tia sáng viền quét quanh hộp cảnh báo (Border Beam) */
.warn-note-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(transparent, rgba(245, 158, 11, 0.35), transparent 30%);
  animation: beamRotate 4.5s linear infinite;
  pointer-events: none;
}
.warn-note-box::after {
  content: '';
  position: absolute;
  inset: 1.5px;
  background: rgba(10, 15, 28, 0.95);
  border-radius: calc(var(--r-md) - 1.5px);
  z-index: 1;
}
.warn-note-icon, .warn-note-text {
  position: relative;
  z-index: 2;
}

@keyframes beamRotate {
  100% { transform: rotate(360deg); }
}

.warn-note-icon {
  color: #f59e0b;
  font-size: 18px;
  margin-top: 1px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.8));
  animation: iconShake 5s infinite ease-in-out;
}

@keyframes iconShake {
  0%, 92%, 100% { transform: rotate(0); }
  94% { transform: rotate(-7deg); }
  96% { transform: rotate(7deg); }
  98% { transform: rotate(-5deg); }
}

.warn-note-text {
  font-size: 11.5px;
  color: #f1f5f9;
  line-height: 1.6;
}

.warn-note-title {
  color: #f59e0b;
  font-weight: 900;
  letter-spacing: 0.5px;
  display: inline-block;
  text-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
}

/* ====================================================
   GIFTCODE BOX STYLING (BỐ CỤC HOÀN HẢO)
==================================================== */
.giftcode-box-row {
  display: flex !important;
  flex-direction: row !important;
  gap: 8px !important;
  align-items: center !important;
  width: 100% !important;
}
.giftcode-input-wrap {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  margin-bottom: 0 !important;
  height: 42px !important;
  display: flex !important;
  align-items: center !important;
}
.giftcode-input-wrap input {
  height: 100% !important;
  padding: 0 12px 0 38px !important;
  text-transform: uppercase !important;
  font-weight: 800 !important;
  letter-spacing: 1px !important;
  font-size: 12px !important;
}
.giftcode-submit-btn {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 105px !important;
  height: 42px !important;
  padding: 0 16px !important;
  background: linear-gradient(135deg, #10b981, #059669) !important;
  border: 1px solid #10b981 !important;
  border-radius: var(--r-md) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 12px !important;
  letter-spacing: 0.5px !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  white-space: nowrap !important;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3) !important;
  transition: all 0.2s ease !important;
}
.giftcode-submit-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5) !important;
}
.giftcode-submit-btn:active {
  transform: scale(0.98) !important;
}

/* ====================================================
   LIGHT THEME (CHẾ ĐỘ SÁNG) - ĐỘ TƯƠNG PHẢN CHUẨN ĐẸP 100%
==================================================== */
body.theme-light {
  --bg-main:       #f8fafc;
  --bg-card:       rgba(255, 255, 255, 0.96);
  --border-cyan:   rgba(2, 132, 199, 0.35);
  --border-magenta:rgba(192, 38, 211, 0.35);
  --border-muted:  rgba(0, 0, 0, 0.12);
  
  --accent-cyan:   #0284c7;
  --cyan-glow:     rgba(2, 132, 199, 0.2);
  --accent-magenta:#c026d3;
  --magenta-glow:  rgba(192, 38, 211, 0.2);
  --accent-gold:   #d97706;
  --accent-emerald:#059669;
  --accent-rose:   #e11d48;
  
  --text-main:     #0f172a;
  --text-muted:    #475569;
  --input-bg:      #ffffff;
  
  background-color: #f8fafc;
  color: #0f172a;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(2, 132, 199, 0.12), transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(192, 38, 211, 0.06), transparent 40%),
    linear-gradient(rgba(2, 132, 199, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2, 132, 199, 0.04) 1px, transparent 1px);
}

body.theme-light .glass-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(2, 132, 199, 0.3);
  box-shadow: 0 16px 40px rgba(100, 116, 139, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Header & Profile ở Chế độ Sáng */
body.theme-light .logo-title {
  background: linear-gradient(135deg, #0f172a 30%, #0284c7 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
body.theme-light .profile-bar {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06) !important;
}
body.theme-light .profile-user { color: #0f172a !important; font-weight: 800 !important; }
body.theme-light .profile-dusi { color: #0284c7 !important; font-weight: 800 !important; }

/* Nút Action Controls Sáng/Tối & Loa */
body.theme-light .action-toggle-btn {
  background: #ffffff !important;
  color: #334155 !important;
  border: 1.5px solid rgba(2, 132, 199, 0.35) !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
}
body.theme-light .action-toggle-btn:hover {
  color: #0284c7 !important;
  border-color: #0284c7 !important;
}
body.theme-light .marquee-container {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(2, 132, 199, 0.25);
}

/* Cảnh báo quan trọng (Nổi bật vượt bậc) */
body.theme-light .warn-note-box {
  background: linear-gradient(135deg, #fffbeb, #fef3c7) !important;
  border: 2px solid #f59e0b !important;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.25) !important;
}
body.theme-light .warn-note-icon {
  color: #d97706 !important;
  filter: drop-shadow(0 0 6px rgba(217, 119, 6, 0.6)) !important;
}
body.theme-light .warn-note-text {
  color: #78350f !important;
  font-weight: 600 !important;
}
body.theme-light .warn-note-title {
  color: #b45309 !important;
  font-weight: 900 !important;
  text-shadow: none !important;
}

/* Method cards (Link / HAR) */
body.theme-light .method-card {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
}
body.theme-light .method-card i { color: #64748b !important; }
body.theme-light .method-card span { color: #475569 !important; font-weight: 700 !important; }
body.theme-light .method-card.active {
  background: #e0f2fe !important;
  border-color: #0284c7 !important;
}
body.theme-light .method-card.active i,
body.theme-light .method-card.active span {
  color: #0284c7 !important;
  font-weight: 900 !important;
}

/* Form inputs */
body.theme-light .cyber-input-group, 
body.theme-light .topup-calc-input, 
body.theme-light .modal-input {
  background: #ffffff !important;
  border: 1.5px solid #94a3b8 !important;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.04) !important;
}
body.theme-light .cyber-input-group input, 
body.theme-light .cyber-input-group textarea,
body.theme-light .cyber-input-group select {
  background-color: #ffffff !important;
  color: #0f172a !important;
}
body.theme-light .cyber-input-group input::placeholder,
body.theme-light .cyber-input-group textarea::placeholder,
body.theme-light .modal-input::placeholder {
  color: #64748b !important;
  font-weight: 500 !important;
}
body.theme-light .cyber-input-group input:-webkit-autofill {
  -webkit-text-fill-color: #0f172a !important;
  -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
}

/* Holo Buttons */
body.theme-light .holo-btn {
  background: #0284c7 !important;
  color: #ffffff !important;
  border: 1px solid #0284c7 !important;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25) !important;
}
body.theme-light .holo-btn:hover:not(.disabled) {
  background: #0369a1 !important;
  color: #ffffff !important;
}
body.theme-light .holo-btn.accent-btn {
  background: linear-gradient(135deg, #0284c7, #c026d3) !important;
  border-color: #c026d3 !important;
  color: #ffffff !important;
}
body.theme-light .holo-btn.success-btn {
  background: linear-gradient(135deg, #059669, #10b981) !important;
  border-color: #059669 !important;
  color: #ffffff !important;
}
body.theme-light .holo-btn.disabled {
  background: #e2e8f0 !important;
  color: #94a3b8 !important;
  border-color: #cbd5e1 !important;
  box-shadow: none !important;
  opacity: 0.8 !important;
}
body.theme-light .sys-btn { color: #334155 !important; }

/* Nhiệm vụ & Topup */
body.theme-light .task-item-card {
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  box-shadow: 0 4px 18px rgba(100, 116, 139, 0.08) !important;
}
body.theme-light .task-item-title { color: #0f172a !important; }
body.theme-light .task-item-desc { color: #334155 !important; font-weight: 500 !important; }
body.theme-light .step-badge, 
body.theme-light .topup-title,
body.theme-light .task-section-title {
  color: #0f172a !important;
}
body.theme-light .topup-card {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
}
body.theme-light .amount-btn {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  color: #334155 !important;
}
body.theme-light .amount-btn.active {
  background: #0284c7 !important;
  border-color: #0284c7 !important;
  color: #ffffff !important;
}
body.theme-light .checkin-day {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
}
body.theme-light .checkin-day .day-label { color: #64748b !important; }
body.theme-light .checkin-day .day-reward { color: #0f172a !important; }
body.theme-light .aff-ans-btn {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #334155 !important;
}
body.theme-light .aff-ans-btn.selected {
  background: #e0f2fe !important;
  border-color: #0284c7 !important;
  color: #0284c7 !important;
}
body.theme-light .seo-guide-section {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #334155 !important;
}
body.theme-light .seo-guide-section p,
body.theme-light .seo-guide-section li {
  color: #475569 !important;
}
body.theme-light .lb-row {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
}
body.theme-light .lb-name { color: #0f172a !important; }
body.theme-light .lb-sub { color: #64748b !important; }
body.theme-light .bottom-nav {
  background: rgba(255, 255, 255, 0.96) !important;
  border-top: 1px solid rgba(2, 132, 199, 0.25) !important;
}
body.theme-light .nav-item { color: #64748b !important; }
body.theme-light .nav-item.active { color: #0284c7 !important; }

/* Intro Screen */
.intro-screen {
  position: fixed;
  inset: 0;
  background: rgba(2, 4, 10, 0.98);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.6s ease;
}
.terminal-box {
  width: 90%;
  max-width: 440px;
  background: rgba(8, 12, 24, 0.96);
  border: 1px solid var(--border-cyan);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 0 35px rgba(56, 189, 248, 0.2);
}
.terminal-header {
  background: #060913;
  padding: 10px 14px;
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border-muted);
}
.terminal-header .dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.red { background: #f43f5e; } .dot.yellow { background: #f59e0b; } .dot.green { background: #10b981; }
.terminal-body {
  padding: 18px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-cyan);
  min-height: 120px;
  line-height: 1.8;
}
.terminal-line { opacity: 0; animation: fadeIn 0.3s forwards; }
@keyframes fadeIn { to { opacity: 1; } }
.intro-loader { height: 3px; background: #060913; }
.intro-loader-bar { height: 100%; width: 0; background: linear-gradient(90deg, var(--accent-cyan), var(--accent-magenta)); transition: 0.15s; }

/* ====================================================
   MAIN APP LAYOUT (CĂN GIỮA MÀN HÌNH HOÀN HẢO)
==================================================== */
.app-wrapper {
  width: 100%;
  max-width: 480px;
  margin: auto 0;
  padding: 16px 12px 105px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  position: relative;
  z-index: 10;
  min-height: 100vh;
  min-height: 100dvh;
}
.app-wrapper.has-marquee { padding-top: 52px; }

/* Desktop Sidebar Nav & Larger Screen Expansion */
@media (min-width: 820px) {
  .app-wrapper {
    max-width: 620px;
    padding-left: 100px;
    padding-right: 20px;
    padding-bottom: 40px;
    margin: auto 0;
    min-height: 100vh;
    min-height: 100dvh;
    justify-content: center;
  }
  .glass-card {
    border-radius: 32px;
  }
  .card-inner {
    padding: 24px 22px;
  }
}

/* ====================================================
   NÚT HƯỚNG DẪN ANDROID & IOS (NEON PULSE BORDER)
==================================================== */
.btn-guide-android,
.btn-guide-ios {
  text-decoration: none;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

/* Nút Android */
.btn-guide-android {
  color: #3ddc84;
  background: rgba(61, 220, 132, 0.12);
  border: 1.5px solid rgba(61, 220, 132, 0.55);
  box-shadow: 0 0 14px rgba(61, 220, 132, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  animation: androidGlowPulse 2.8s infinite alternate ease-in-out;
}
.btn-guide-android i {
  font-size: 13px;
  filter: drop-shadow(0 0 6px rgba(61, 220, 132, 0.9));
}
.btn-guide-android:hover {
  border-color: #3ddc84;
  background: rgba(61, 220, 132, 0.22);
  box-shadow: 0 0 20px rgba(61, 220, 132, 0.5);
  transform: scale(1.04);
}
.btn-guide-android:active {
  transform: scale(0.94);
}

@keyframes androidGlowPulse {
  0% {
    border-color: rgba(61, 220, 132, 0.4);
    box-shadow: 0 0 10px rgba(61, 220, 132, 0.2);
  }
  100% {
    border-color: rgba(61, 220, 132, 0.95);
    box-shadow: 0 0 20px rgba(61, 220, 132, 0.45);
  }
}

/* Nút iOS */
.btn-guide-ios {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.3);
  animation: iosGlowPulse 2.8s infinite alternate ease-in-out 1.4s;
}
.btn-guide-ios i {
  font-size: 14px;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.9));
}
.btn-guide-ios:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
  transform: scale(1.04);
}
.btn-guide-ios:active {
  transform: scale(0.94);
}

@keyframes iosGlowPulse {
  0% {
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.15);
  }
  100% {
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.35);
  }
}

body.theme-light .btn-guide-android {
  color: #15803d !important;
  background: #f0fdf4 !important;
  border-color: #22c55e !important;
  box-shadow: 0 2px 10px rgba(34, 197, 94, 0.25) !important;
}
body.theme-light .btn-guide-ios {
  color: #0f172a !important;
  background: #f8fafc !important;
  border-color: #94a3b8 !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.12) !important;
}

/* CARDS & PANELS (IOS ULTRA-TRANSLUCENT LIQUID GLASS VỚI VIỀN PHÁT SÁNG NEON CHUYỂN ĐỘNG) */
.glass-card {
  background: var(--bg-card);
  border: 1.5px solid rgba(56, 189, 248, 0.32);
  border-radius: 28px;
  backdrop-filter: blur(36px) saturate(210%);
  -webkit-backdrop-filter: blur(36px) saturate(210%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 2px rgba(255, 255, 255, 0.25), 0 0 25px rgba(56, 189, 248, 0.12);
  overflow: hidden;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: glassCardBorderGlow 5s infinite alternate ease-in-out;
}

@keyframes glassCardBorderGlow {
  0% {
    border-color: rgba(56, 189, 248, 0.28);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 2px rgba(255, 255, 255, 0.25), 0 0 20px rgba(56, 189, 248, 0.08);
  }
  50% {
    border-color: rgba(217, 70, 239, 0.35);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 2px rgba(255, 255, 255, 0.25), 0 0 30px rgba(217, 70, 239, 0.12);
  }
  100% {
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 2px rgba(255, 255, 255, 0.25), 0 0 35px rgba(56, 189, 248, 0.18);
  }
}

body.theme-light .glass-card {
  background: rgba(255, 255, 255, 0.88) !important;
  border: 1.5px solid rgba(2, 132, 199, 0.3) !important;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08), inset 0 1px 2px rgba(255, 255, 255, 0.8), 0 0 25px rgba(2, 132, 199, 0.12) !important;
  animation: glassCardLightBorderGlow 5s infinite alternate ease-in-out !important;
}

@keyframes glassCardLightBorderGlow {
  0% {
    border-color: rgba(2, 132, 199, 0.25);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.06), 0 0 15px rgba(2, 132, 199, 0.08);
  }
  100% {
    border-color: rgba(2, 132, 199, 0.55);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.09), 0 0 28px rgba(2, 132, 199, 0.18);
  }
}

.card-inner {
  padding: 18px 16px;
}

/* ====================================================
   HEADER & PROFILE
==================================================== */
.app-header {
  text-align: center;
  padding: 4px 0 6px;
}
.logo-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.logo-box i {
  font-size: 24px;
  color: var(--accent-cyan);
  filter: drop-shadow(0 0 10px var(--cyan-glow));
}
.logo-title {
  background: linear-gradient(135deg, #ffffff 30%, var(--accent-cyan) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.logo-accent {
  background: linear-gradient(135deg, var(--accent-magenta) 20%, #ffffff 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Profile Bar */
.profile-bar {
  background: rgba(2, 6, 23, 0.7);
  border: 1px solid var(--border-muted);
  border-radius: var(--r-md);
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.profile-user {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}
.profile-dusi {
  font-size: 13px;
  font-weight: 800;
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  gap: 5px;
}
.profile-vip {
  font-size: 10px;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 20px;
  background: rgba(217, 70, 239, 0.15);
  border: 1px solid var(--accent-magenta);
  color: var(--accent-magenta);
  letter-spacing: 0.5px;
}
.btn-icon-sm {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 14px;
  padding: 2px 4px;
  display: inline-flex;
  align-items: center;
  transition: 0.2s;
}
.btn-icon-sm:hover { color: var(--accent-cyan); }
.btn-icon-sm.spinning { animation: spinCW 0.6s linear infinite; color: var(--accent-emerald); }
@keyframes spinCW { to { transform: rotate(360deg); } }

/* ====================================================
   TOPUP MODULE (TRONG TAB NHIỆM VỤ)
==================================================== */
.topup-card {
  background: linear-gradient(145deg, rgba(14, 25, 48, 0.9), rgba(6, 12, 28, 0.95));
  border: 1px solid var(--border-cyan);
  border-radius: var(--r-lg);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 0 15px rgba(56, 189, 248, 0.06);
}
.topup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topup-title {
  font-size: 13px;
  font-weight: 900;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.topup-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.quick-amounts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.amount-btn {
  padding: 8px 4px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-muted);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: 0.2s;
}
.amount-btn:hover, .amount-btn.active {
  background: rgba(56, 189, 248, 0.12);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.topup-calc-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(2, 6, 20, 0.8);
  border: 1px solid var(--border-muted);
  border-radius: var(--r-md);
  padding: 8px 12px;
}
.topup-calc-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  font-family: var(--font-main);
}
.topup-calc-arrow { color: var(--text-muted); font-size: 14px; }
.topup-calc-result {
  font-size: 14px;
  font-weight: 900;
  color: var(--accent-gold);
  white-space: nowrap;
}

.topup-body {
  display: flex;
  gap: 12px;
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
  border-radius: var(--r-md);
  padding: 10px;
}
.qr-box {
  width: 105px;
  height: 105px;
  background: #fff;
  border-radius: 10px;
  padding: 4px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  border: 1.5px solid var(--accent-cyan);
}
.qr-box img { width: 100%; height: 100%; border-radius: 6px; display: block; }
.qr-scan-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent-cyan);
  animation: qrScan 2.2s infinite alternate;
}
@keyframes qrScan { 0% { top: 0; } 100% { top: 97%; } }

.topup-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.topup-copy-row {
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(217, 70, 239, 0.4);
  border-radius: var(--r-sm);
  padding: 6px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}
.topup-copy-text {
  font-size: 12px;
  font-weight: 800;
  color: var(--accent-magenta);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.btn-copy {
  background: rgba(217, 70, 239, 0.15);
  border: 1px solid var(--accent-magenta);
  color: var(--accent-magenta);
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.topup-note {
  font-size: 10px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ====================================================
   BOTTOM / SIDE NAVIGATION (IOS GLASSMORPHISM FLOATING DOCK)
==================================================== */
.bottom-nav {
  position: fixed;
  bottom: 16px;
  left: 14px;
  right: 14px;
  margin: 0 auto;
  max-width: 440px;
  z-index: 990;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 99px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  padding: 4px;
  user-select: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.bottom-nav.hidden { display: none !important; }

/* Khối nền con nhộng trượt mượt mà (Sliding Indicator) */
.nav-indicator {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 0;
  height: 0;
  border-radius: 99px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.35), rgba(217, 70, 239, 0.28));
  border: 1.5px solid rgba(56, 189, 248, 0.65);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.45), inset 0 1px 1.5px rgba(255, 255, 255, 0.4);
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), width 0.3s cubic-bezier(0.25, 1, 0.5, 1), height 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  -webkit-transition: -webkit-transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), width 0.3s, height 0.3s;
  pointer-events: none;
  z-index: 1;
  will-change: transform;
}

.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 7px 4px 5px;
  gap: 3px;
  cursor: pointer;
  color: #94a3b8;
  opacity: 0.6;
  border: none;
  background: transparent;
  border-radius: 99px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  transition: all 0.25s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  z-index: 2;
  user-select: none;
}
.nav-item i {
  font-size: 17px;
  transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1);
}
.nav-item.active {
  opacity: 1;
  color: #38bdf8;
}
.nav-item.active i {
  transform: scale(1.12) translateY(-1px);
  filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.8));
}
.nav-item:active {
  transform: scale(0.92);
}

@media (min-width: 820px) {
  .bottom-nav {
    position: fixed;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 76px;
    height: auto;
    flex-direction: column;
    border-radius: 36px;
    padding: 6px 4px;
    bottom: auto;
    right: auto;
    gap: 6px;
  }
  .nav-indicator {
    top: 6px;
    left: 4px;
    right: 4px;
    width: calc(100% - 8px);
    height: calc((100% - 12px) / 4);
  }
  .nav-item {
    width: 100%;
    padding: 14px 4px;
    border-radius: 24px;
  }
}

/* ====================================================
   TAB PANELS (IOS FLUID TRANSITION & STAGGERED LAYERING)
==================================================== */
.tab-panel { display: none; }
.tab-panel.active {
  display: block;
  animation: iosTabTransition 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes iosTabTransition {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Staggered Card Layers (Xuất hiện so le lớp lang chuẩn iOS) */
.tab-panel.active > .glass-card:nth-child(1) { animation: cardStaggerIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) 0.02s both; }
.tab-panel.active > .glass-card:nth-child(2) { animation: cardStaggerIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) 0.06s both; }
.tab-panel.active > .glass-card:nth-child(3) { animation: cardStaggerIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) 0.10s both; }
.tab-panel.active > .glass-card:nth-child(4) { animation: cardStaggerIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) 0.14s both; }
.tab-panel.active > .glass-card:nth-child(5) { animation: cardStaggerIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) 0.18s both; }

@keyframes cardStaggerIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* HIỆU ỨNG TIA SÁNG QUÉT NGANG CHỮ (SHIMMER EFFECT) */
.tab-panel.active .step-badge,
.tab-panel.active .task-item-title,
.tab-panel.active .card-header-title,
.tab-panel.active .studio-badge,
.tab-panel.active h1,
.tab-panel.active h2 {
  position: relative;
  background: linear-gradient(
    110deg,
    #f8fafc 0%,
    #f8fafc 35%,
    #38bdf8 48%,
    #ffffff 52%,
    #d946ef 56%,
    #f8fafc 68%,
    #f8fafc 100%
  );
  background-size: 220% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textShimmerSweep 3.5s ease-in-out infinite;
}

@keyframes textShimmerSweep {
  0% { background-position: 120% 0; }
  50% { background-position: -40% 0; }
  100% { background-position: 120% 0; }
}

/* SHIMMER TEXT Ở CHẾ ĐỘ SÁNG (LIGHT THEME) */
body.theme-light .tab-panel.active .step-badge,
body.theme-light .tab-panel.active .task-item-title,
body.theme-light .tab-panel.active .card-header-title,
body.theme-light .tab-panel.active .studio-badge,
body.theme-light .tab-panel.active h1,
body.theme-light .tab-panel.active h2 {
  background: linear-gradient(
    110deg,
    #0f172a 0%,
    #0f172a 35%,
    #0284c7 48%,
    #0f172a 52%,
    #9333ea 56%,
    #0f172a 68%,
    #0f172a 100%
  ) !important;
  background-size: 220% 100% !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  animation: textShimmerSweep 3.5s ease-in-out infinite !important;
}

body.theme-light .bottom-nav {
  background: rgba(255, 255, 255, 0.75) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
}
body.theme-light .nav-indicator {
  background: rgba(2, 132, 199, 0.14) !important;
  border: 1px solid rgba(2, 132, 199, 0.35) !important;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.18) !important;
}
body.theme-light .nav-item {
  color: #475569 !important;
  opacity: 0.65 !important;
}
body.theme-light .nav-item.active {
  color: #0284c7 !important;
  opacity: 1 !important;
}

/* ====================================================
   GLASS SKELETON LOADING (BẢNG XẾP HẠNG & LỊCH SỬ)
==================================================== */
.skeleton-loader {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 4px 0;
}
.skeleton-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--r-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}
.skeleton-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}
.skeleton-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.skeleton-line {
  height: 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
}
.skeleton-line.full { width: 75%; }
.skeleton-line.half { width: 45%; }
.skeleton-row::after {
  content: '';
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.07) 50%, transparent 100%);
  animation: skeletonShimmer 1.4s infinite;
}
@keyframes skeletonShimmer {
  100% { transform: translateX(100%); }
}

body.theme-light .skeleton-row {
  background: rgba(0, 0, 0, 0.02) !important;
  border-color: rgba(0, 0, 0, 0.06) !important;
}
body.theme-light .skeleton-avatar,
body.theme-light .skeleton-line {
  background: rgba(0, 0, 0, 0.07) !important;
}
body.theme-light .skeleton-row::after {
  background: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.05) 50%, transparent 100%) !important;
}

/* Luồng sáng kim loại quét qua mặt kính khi vừa mở tab */
.tab-panel.active .glass-card::before {
  content: '';
  position: absolute;
  top: -60%;
  left: -80%;
  width: 50%;
  height: 220%;
  background: linear-gradient(
    75deg,
    transparent 0%,
    rgba(255, 255, 255, 0.04) 30%,
    rgba(56, 189, 248, 0.2) 50%,
    rgba(217, 70, 239, 0.12) 60%,
    transparent 100%
  );
  transform: rotate(25deg);
  pointer-events: none;
  z-index: 8;
  animation: glassShimmerRay 1.3s cubic-bezier(0.16, 1, 0.3, 1) 1;
}

@keyframes glassShimmerRay {
  0% { left: -80%; opacity: 0; }
  20% { opacity: 1; }
  100% { left: 150%; opacity: 0; }
}

/* ====================================================
   STEP SYSTEM
==================================================== */
.step-container {
  display: none;
  flex-direction: column;
  gap: 12px;
}
.step-container.step-active {
  display: flex;
  animation: stepFade 0.25s ease;
}
@keyframes stepFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.step-badge {
  font-size: 11px;
  font-weight: 800;
  color: var(--accent-cyan);
  border-left: 3px solid var(--accent-cyan);
  padding-left: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.step-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

/* ====================================================
   FORM CONTROLS & INPUTS
==================================================== */
.cyber-input-group {
  position: relative;
  background: var(--input-bg);
  border: 1px solid var(--border-muted);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: 0.2s;
}
.cyber-input-group:focus-within {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.15);
}
.cyber-input-group > i:first-child {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  font-size: 16px;
  color: var(--text-muted);
  pointer-events: none;
  z-index: 2;
}

.cyber-input-group input,
.cyber-input-group textarea,
.cyber-input-group select {
  width: 100%;
  background-color: var(--input-bg);
  -webkit-appearance: none;
  border: none;
  padding: 13px 40px 13px 44px;
  color: var(--text-main);
  font-size: 13px;
  font-weight: 600;
  outline: none;
  display: block;
}
.cyber-input-group textarea { padding-top: 12px; resize: none; }
.cyber-input-group select { padding-right: 14px; cursor: pointer; }
.cyber-input-group select option { background: #060b18; color: #fff; }

.cyber-input-group input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px var(--input-bg) inset;
  -webkit-text-fill-color: var(--text-main);
  caret-color: var(--text-main);
}

.toggle-password {
  position: absolute !important;
  right: 14px !important;
  left: auto !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  font-size: 16px !important;
  color: var(--text-muted) !important;
  cursor: pointer;
  z-index: 3;
}
.toggle-password:hover { color: var(--accent-cyan) !important; }

/* Buttons */
.holo-btn {
  width: 100%;
  min-height: 44px;
  padding: 0 16px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid var(--accent-cyan);
  border-radius: var(--r-md);
  color: var(--accent-cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: 0.2s;
  text-transform: uppercase;
}
.holo-btn:hover:not(.disabled) {
  background: var(--accent-cyan);
  color: #020617;
  box-shadow: 0 0 20px var(--cyan-glow);
}
.holo-btn:active:not(.disabled) { transform: scale(0.98); }

.holo-btn.accent-btn {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(217, 70, 239, 0.2));
  border-color: var(--accent-magenta);
  color: #fff;
}
.holo-btn.accent-btn:hover:not(.disabled) {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-magenta));
  color: #000;
  box-shadow: 0 0 25px rgba(217, 70, 239, 0.4);
}
.holo-btn.success-btn {
  border-color: var(--accent-emerald);
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.08);
}
.holo-btn.success-btn:hover:not(.disabled) { background: var(--accent-emerald); color: #000; }
.holo-btn.warning-btn {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  background: rgba(245, 158, 11, 0.08);
}
.holo-btn.warning-btn:hover:not(.disabled) { background: var(--accent-gold); color: #000; }
.holo-btn.disabled { opacity: 0.35; pointer-events: none; }
.btn-sm { min-height: 34px; font-size: 11px; padding: 0 10px; }

.sys-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: 0.2s;
  padding: 4px;
}
.sys-btn:hover { color: var(--accent-cyan); }

/* Method cards (Link / HAR) */
.method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.method-card {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-muted);
  padding: 14px 8px;
  text-align: center;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: 0.2s;
}
.method-card i { font-size: 22px; color: var(--text-muted); display: block; margin-bottom: 4px; }
.method-card span { font-size: 11px; font-weight: 700; color: var(--text-muted); }
.method-card.active { border-color: var(--accent-cyan); background: rgba(56, 189, 248, 0.08); }
.method-card.active i, .method-card.active span { color: #fff; }

.expand-area { display: none; flex-direction: column; gap: 10px; }
.expand-area.active { display: flex; animation: expandAnim 0.25s ease; }
@keyframes expandAnim { from { opacity: 0; } to { opacity: 1; } }

/* Toggle Mode */
.toggle-container {
  display: flex;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-muted);
  border-radius: 30px;
  padding: 3px;
  position: relative;
}
.toggle-btn {
  flex: 1;
  padding: 10px 0;
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--text-muted);
  cursor: pointer;
  z-index: 1;
  transition: 0.25s;
}
.toggle-btn.active { color: #000; }
.toggle-slider {
  position: absolute;
  top: 3px;
  left: 3px;
  width: calc(50% - 3px);
  height: calc(100% - 6px);
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-magenta));
  border-radius: 26px;
  transition: 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.flowborn-active .toggle-slider { transform: translateX(100%); }

/* Lane multi-select */
.lane-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.lane-card {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-muted);
  border-radius: var(--r-sm);
  padding: 8px 4px;
  text-align: center;
  cursor: pointer;
  transition: 0.2s;
}
.lane-card i { font-size: 16px; color: var(--text-muted); display: block; }
.lane-card span { font-size: 10px; font-weight: 700; color: var(--text-muted); display: block; margin-top: 2px; }
.lane-card.active { border-color: var(--accent-magenta); background: rgba(217, 70, 239, 0.12); }
.lane-card.active i, .lane-card.active span { color: var(--accent-magenta); }

/* Dropzone */
.holo-drop-zone {
  min-height: 150px;
  background: rgba(0, 0, 0, 0.35);
  border: 1.5px dashed var(--border-muted);
  border-radius: var(--r-md);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  cursor: pointer;
  transition: 0.2s;
  overflow: hidden;
}
.holo-drop-zone:hover { border-color: var(--accent-cyan); background: rgba(56, 189, 248, 0.04); }
.drop-content { text-align: center; pointer-events: none; }
.drop-content i { font-size: 28px; color: var(--text-muted); display: block; margin-bottom: 6px; }
.drop-content h4 { font-size: 12px; font-weight: 700; color: var(--text-muted); }
.drop-content p { font-size: 10px; color: var(--text-muted); margin-top: 2px; }
#imagePreview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }

/* Switch Public / Private */
.cyber-switch { display: flex; gap: 8px; }
.switch-btn {
  flex: 1;
  padding: 9px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid var(--border-muted);
  border-radius: var(--r-sm);
  background: rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition: 0.2s;
  color: var(--text-muted);
}
.switch-btn.active { border-color: var(--accent-cyan); background: rgba(56, 189, 248, 0.1); color: var(--accent-cyan); }

/* ====================================================
   FLOWBORN STUDIO (FULL RANK & TITLES)
==================================================== */
.studio-locked-banner {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid var(--accent-gold);
  border-radius: var(--r-md);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 8px;
}

.studio-interactive-area {
  transition: opacity 0.3s;
}
.studio-interactive-area.studio-locked {
  opacity: 0.35;
  pointer-events: none;
  user-select: none;
  filter: grayscale(0.5);
}

.studio-canvas-wrap {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1080 / 1400;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-cyan);
  background: #02040a;
  box-shadow: 0 10px 30px rgba(0,0,0,0.7);
}
.studio-canvas-wrap canvas { width: 100%; height: 100%; display: block; }

.lock-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: rgba(2, 6, 23, 0.6);
  border: 1px solid var(--border-muted);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: 0.2s;
}
.lock-bar.unlocked {
  border-color: rgba(245, 158, 11, 0.6);
  background: rgba(245, 158, 11, 0.08);
}
.lock-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.1);
  color: var(--accent-cyan);
}
.lock-bar.unlocked .lock-badge { background: var(--accent-gold); color: #000; }

.advanced-drawer {
  display: none;
  flex-direction: column;
  gap: 10px;
  background: rgba(4, 8, 20, 0.7);
  border: 1px dashed rgba(245, 158, 11, 0.4);
  border-radius: var(--r-md);
  padding: 12px;
}
.advanced-drawer.show { display: flex; animation: slideDown 0.25s ease; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.slider-row { display: flex; flex-direction: column; gap: 4px; }
.slider-info { display: flex; justify-content: space-between; font-size: 10px; font-weight: 700; color: #cbd5e1; }
input[type="range"] {
  width: 100%;
  accent-color: var(--accent-cyan);
  height: 4px;
  background: #1e293b;
  border-radius: 4px;
  cursor: pointer;
}

/* ====================================================
   TASKS MODULE
==================================================== */
.task-section-title {
  font-size: 11px;
  font-weight: 900;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 6px 0 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.task-item-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.75), rgba(8, 14, 28, 0.9));
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: var(--r-lg);
  padding: 14px 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.25s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
}
.task-item-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.6), rgba(217, 70, 239, 0.6), transparent);
}
.task-item-card:hover {
  border-color: rgba(56, 189, 248, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(56, 189, 248, 0.12);
}
.task-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.task-item-title {
  font-size: 12.5px;
  font-weight: 900;
  color: #f8fafc;
  display: flex;
  align-items: center;
  gap: 7px;
  letter-spacing: 0.3px;
}
.task-item-title i {
  color: var(--accent-cyan);
  font-size: 14px;
}
.task-item-desc {
  font-size: 11.5px;
  color: #94a3b8;
  line-height: 1.55;
}

/* Cyber Task Input & Giftcode Input Box */
.modal-input {
  width: 100%;
  background: rgba(4, 7, 18, 0.9);
  border: 1.5px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--r-md);
  padding: 10px 14px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  outline: none;
  transition: all 0.25s ease;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.5);
}
.modal-input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px var(--cyan-glow), inset 0 2px 6px rgba(0,0,0,0.5);
}
.modal-input::placeholder {
  color: #64748b;
  font-weight: 500;
}

/* Checkin 7 Days */
.checkin-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin: 4px 0;
}
.checkin-day {
  background: rgba(4, 8, 20, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 8px 3px;
  text-align: center;
  transition: all 0.25s ease;
}
.checkin-day .day-label { font-size: 8.5px; font-weight: 800; color: #64748b; display: block; }
.checkin-day .day-reward { font-size: 12px; font-weight: 900; color: #94a3b8; display: block; margin: 3px 0; }
.checkin-day.done {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.6);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
}
.checkin-day.done .day-label, .checkin-day.done .day-reward { color: #10b981; }
.checkin-day.today {
  background: rgba(56, 189, 248, 0.18);
  border-color: #38bdf8;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.35);
  transform: scale(1.04);
}
.checkin-day.today .day-label, .checkin-day.today .day-reward { color: #38bdf8; }

/* Affiliate Answer buttons */
.aff-ans-btn {
  flex: 1;
  padding: 9px 6px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-md);
  color: #cbd5e1;
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}
.aff-ans-btn:hover {
  background: rgba(56, 189, 248, 0.12);
  border-color: var(--accent-cyan);
  color: #fff;
}
.aff-ans-btn.selected {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.25), rgba(16, 185, 129, 0.25));
  border-color: #10b981;
  color: #10b981;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.3);
  font-weight: 900;
}

/* Lucky Wheel */
.wheel-wrap {
  position: relative;
  width: 270px;
  height: 270px;
  margin: 12px auto;
}
@media (min-width: 820px) {
  .wheel-wrap {
    width: 290px;
    height: 290px;
  }
}
#wheelCanvas {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: block;
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.25);
}
.wheel-pointer {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 24px solid var(--accent-gold);
  filter: drop-shadow(0 0 8px var(--accent-gold));
  z-index: 5;
}

/* Affiliate Answer buttons */
.aff-ans-btn {
  flex: 1;
  padding: 7px 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-muted);
  border-radius: var(--r-sm);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
}
.aff-ans-btn.selected {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

/* ====================================================
   LEADERBOARD & HISTORY
==================================================== */
.lb-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--r-sm);
  margin-bottom: 5px;
  border: 1px solid var(--border-muted);
}
.lb-rank { font-size: 14px; font-weight: 900; min-width: 24px; text-align: center; }
.lb-rank.top1 { color: var(--accent-gold); text-shadow: 0 0 8px var(--accent-gold); }
.lb-rank.top2 { color: #94a3b8; }
.lb-rank.top3 { color: #cd7c2f; }
.lb-info { flex: 1; }
.lb-name { font-size: 12px; font-weight: 700; color: #fff; }
.lb-sub { font-size: 10px; color: var(--text-muted); }
.lb-score { font-size: 13px; font-weight: 800; color: var(--accent-cyan); }

/* ====================================================
   MODALS
==================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  padding: 16px;
  transition: opacity 0.25s;
}
.modal-overlay.hidden { display: none !important; opacity: 0; pointer-events: none; }
.modal-hologram {
  width: 100%;
  max-width: 420px;
  background: rgba(8, 14, 28, 0.98);
  border: 1px solid var(--border-cyan);
  border-radius: var(--r-xl);
  padding: 28px 20px 22px;
  text-align: center;
  position: relative;
  box-shadow: 0 0 45px rgba(56, 189, 248, 0.15);
  max-height: 90vh;
  overflow-y: auto;
}
.close-modal {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 18px;
  cursor: pointer;
  color: var(--text-muted);
  background: transparent;
  border: none;
  padding: 4px;
}
.close-modal:hover { color: var(--accent-rose); }
.modal-state { display: none; flex-direction: column; align-items: center; gap: 10px; }
.modal-state.active { display: flex; }

/* Radar Spinner */
.radar-spinner {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid rgba(56, 189, 248, 0.25);
  position: relative;
  margin: 10px auto;
  overflow: hidden;
}
.radar-beam {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50%;
  height: 50%;
  background: linear-gradient(45deg, var(--accent-cyan), transparent);
  transform-origin: top left;
  border-radius: 100% 0 0 0;
  animation: radarSpin 1.4s linear infinite;
}
@keyframes radarSpin { 100% { transform: rotate(360deg); } }

/* Live Toast Feed */
#liveFeedContainer {
  position: fixed;
  bottom: 70px;
  left: 10px;
  z-index: 900;
  display: flex;
  flex-direction: column-reverse;
  gap: 5px;
  width: min(320px, calc(100vw - 20px));
  pointer-events: none;
}
@media (min-width: 820px) { #liveFeedContainer { bottom: 20px; left: 96px; width: 300px; } }
.live-toast {
  background: rgba(8, 14, 28, 0.95);
  border: 1px solid var(--border-cyan);
  border-radius: var(--r-sm);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: toastIn 0.3s ease;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-main);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.5);
}
@keyframes toastIn { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: translateX(0); } }
.live-toast.removing { animation: toastOut 0.2s ease forwards; }
@keyframes toastOut { to { opacity: 0; transform: translateX(-14px); } }

/* Cyber Modal Dialog (Alert / Confirm) */
.cyber-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 4, 10, 0.92);
  backdrop-filter: blur(14px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.cyber-modal-overlay.active { opacity: 1; pointer-events: all; }
.cyber-modal-box {
  background: rgba(8, 14, 28, 0.98);
  border: 1px solid var(--accent-cyan);
  box-shadow: 0 0 35px rgba(56, 189, 248, 0.25);
  border-radius: var(--r-lg);
  padding: 22px 18px;
  max-width: 360px;
  width: 100%;
  text-align: center;
  transform: scale(0.92);
  transition: transform 0.25s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}
.cyber-modal-overlay.active .cyber-modal-box { transform: scale(1); }
.modal-icon { font-size: 38px; margin-bottom: 8px; display: inline-block; }
.modal-icon.success { color: var(--accent-emerald); }
.modal-icon.error   { color: var(--accent-rose); }
.modal-icon.warning { color: var(--accent-gold); }
.modal-icon.info    { color: var(--accent-cyan); }
.cyber-modal-title { font-size: 15px; font-weight: 800; color: #fff; margin-bottom: 6px; }
.cyber-modal-message { font-size: 12px; color: #cbd5e1; line-height: 1.6; margin-bottom: 16px; }
.cyber-modal-actions { display: flex; gap: 8px; }
.cyber-btn-confirm {
  flex: 1;
  background: linear-gradient(135deg, var(--accent-cyan), #0284c7);
  border: none;
  color: #020617;
  padding: 10px;
  border-radius: var(--r-sm);
  font-weight: 800;
  font-size: 12px;
  cursor: pointer;
}
.cyber-btn-cancel {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-muted);
  color: #cbd5e1;
  padding: 10px;
  border-radius: var(--r-sm);
  font-weight: 800;
  font-size: 12px;
  cursor: pointer;
}
.hidden { display: none !important; }

.task-expand-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

/* ====================================================
   LUXURY VIP BANNER & TOPUP CARD UPGRADE
==================================================== */
.vip-luxury-card {
  position: relative;
  background: linear-gradient(135deg, rgba(20, 10, 35, 0.95), rgba(10, 15, 30, 0.95));
  border: 2px solid transparent;
  border-radius: var(--r-lg);
  padding: 16px;
  background-clip: padding-box;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(217, 70, 239, 0.25), inset 0 0 20px rgba(217, 70, 239, 0.15);
}

.vip-luxury-card::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%; width: 200%; height: 200%;
  background: conic-gradient(from 0deg, #d946ef, #f59e0b, #38bdf8, #10b981, #d946ef);
  animation: rotateGlow 6s linear infinite;
  z-index: -1;
}

@keyframes rotateGlow {
  100% { transform: rotate(360deg); }
}

.vip-shine-sweep {
  position: absolute;
  top: 0; left: -150%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: skewX(-25deg);
  animation: shineSweep 3.5s infinite;
  pointer-events: none;
}

@keyframes shineSweep {
  0% { left: -150%; }
  30%, 100% { left: 150%; }
}

.vip-badge-ribbon {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  color: #000;
  font-weight: 900;
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.6);
  letter-spacing: 0.5px;
}

.vip-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: #f1f5f9;
  font-weight: 700;
  padding: 4px 0;
}

.vip-feature-item i {
  color: #38bdf8;
  font-size: 13px;
  filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.6));
}

.vip-btn-buy {
  background: linear-gradient(135deg, #d946ef, #a855f7, #ec4899);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: var(--r-md);
  padding: 12px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 0 25px rgba(217, 70, 239, 0.5);
  transition: transform 0.2s, box-shadow 0.2s;
  width: 100%;
}

.vip-btn-buy:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(217, 70, 239, 0.8);
}

.vip-btn-buy:active { transform: scale(0.98); }

/* SEO Guide Article Section */
.seo-guide-section {
  margin-top: 15px;
  background: rgba(10, 15, 30, 0.7);
  border: 1px solid var(--border-muted);
  border-radius: var(--r-lg);
  padding: 18px 15px;
  color: #cbd5e1;
  font-size: 12px;
  line-height: 1.7;
}

.seo-guide-section h2 {
  font-size: 15px;
  font-weight: 800;
  color: var(--accent-cyan);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.seo-guide-section h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-gold);
  margin: 10px 0 4px;
}

.seo-guide-section p {
  margin-bottom: 8px;
  color: #94a3b8;
}

.seo-guide-section ul {
  padding-left: 18px;
  margin-bottom: 8px;
}

.seo-guide-section li {
  margin-bottom: 4px;
}

/* VIP 99k Package Button */
.amount-btn.vip-amount-btn {
  background: linear-gradient(135deg, rgba(217, 70, 239, 0.15), rgba(56, 189, 248, 0.15));
  border-color: var(--accent-magenta);
  color: var(--accent-magenta);
  font-weight: 800;
}
.amount-btn.vip-amount-btn.active, .amount-btn.vip-amount-btn:hover {
  background: linear-gradient(135deg, var(--accent-magenta), #a855f7);
  color: #fff;
  box-shadow: 0 0 15px rgba(217, 70, 239, 0.4);
}

/* ====================================================
   FONTAWESOME FONT PROTECTION (PREVENTS SQUARE BOX ▯)
==================================================== */
i, .fa, .fa-solid, .fa-brands, .fa-regular {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
  font-style: normal;
}

/* ====================================================
   CYBER LOADING PROGRESS BAR
==================================================== */
.cyber-progress-box {
  width: 100%;
  margin: 12px 0 6px;
}
.cyber-progress-track {
  width: 100%;
  height: 10px;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid var(--border-cyan);
  border-radius: 99px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.8);
}
.cyber-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-magenta));
  border-radius: 99px;
  box-shadow: 0 0 12px var(--accent-cyan);
  position: relative;
  transition: width 0.25s ease-out;
}
.cyber-progress-fill::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.7), transparent);
  animation: shimmer 1.2s infinite;
}
@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.cyber-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 800;
  color: var(--accent-cyan);
  margin-top: 6px;
}

/* ====================================================
   GUIDE MODAL TABS (ANDROID / IOS)
==================================================== */
.guide-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.guide-tab-btn {
  flex: 1;
  padding: 8px 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-muted);
  border-radius: var(--r-sm);
  color: var(--text-muted);
  font-weight: 800;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: 0.2s;
}
.guide-tab-btn.active {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}
.guide-content-panel {
  display: none;
  font-size: 12px;
  color: #cbd5e1;
  line-height: 1.6;
  text-align: left;
}
.guide-content-panel.active { display: block; }
.guide-step-item {
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--border-muted);
  border-radius: 8px;
  padding: 8px 10px;
  margin-bottom: 6px;
}
.guide-step-item b { color: var(--accent-gold); }