/* July Store - Bundled CSS - Auto-generated */

/* ===== base\variables.css ===== */
/* ===== CSS Variables - Dark & Light Themes ===== */

/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ===== Dark Mode (Default) ===== */
:root,
[data-theme="dark"] {
  /* Backgrounds */
  --bg-app: #070816;
  --bg-sidebar: #0a0d1c;
  --bg-surface-1: #0f1224;
  --bg-surface-2: #141933;
  --bg-surface-3: #1a2040;

  --bg-primary: var(--bg-app);
  --bg-secondary: var(--bg-sidebar);
  --bg-card: var(--bg-surface-1);
  --bg-card-hover: var(--bg-surface-2);
  --bg-glass: rgba(15, 18, 36, 0.6);
  --bg-header: rgba(7, 8, 22, 0.82);
  --bg-modal-overlay: rgba(0, 0, 0, 0.7);
  --bg-input: rgba(255, 255, 255, 0.03);
  --bg-bank-row: rgba(0, 0, 0, 0.15);
  --bg-stat-card: rgba(18, 18, 50, 0.6);
  --bg-feature-banner: rgba(18, 18, 50, 0.5);
  --bg-contact-card: rgba(18, 18, 50, 0.6);
  --bg-review-card: rgba(18, 18, 50, 0.6);

  /* Accent Colors */
  --primary-500: #8b5cf6;
  --primary-400: #a78bfa;
  --primary-300: #c4b5fd;

  --accent-1: var(--primary-500);
  --accent-2: var(--primary-400);
  --accent-3: var(--primary-300);
  --accent-glow: rgba(139, 92, 246, 0.35);
  --accent-gradient: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  --accent-gradient-btn: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);

  /* Status Colors */
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #38bdf8;

  --green: var(--success);
  --amber: var(--warning);
  --red: var(--danger);
  --cyan: var(--info);
  --green-glow: rgba(34, 197, 94, 0.25);
  --amber-glow: rgba(245, 158, 11, 0.2);
  --red-glow: rgba(239, 68, 68, 0.25);
  --cyan-glow: rgba(56, 189, 248, 0.25);

  /* Text Colors */
  --text-primary: #f5f7ff;
  --text-secondary: #a8b0d3;
  --text-muted: #7982a9;

  /* Borders */
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.14);
  --border-subtle: rgba(255, 255, 255, 0.04);
  --border-strong: rgba(255, 255, 255, 0.14);

  /* Border Radius */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  /* Background Orbs */
  --orb1-color: rgba(124, 58, 237, 0.16);
  --orb2-color: rgba(56, 189, 248, 0.1);

  /* Spacing Scale */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-size-xs: 12px;
  --font-size-sm: 13px;
  --font-size-base: 14px;
  --font-size-md: 15px;
  --font-size-lg: 16px;
  --font-size-xl: 18px;
  --font-size-2xl: 20px;
  --font-size-3xl: 24px;
  --font-size-4xl: 32px;
  --font-size-5xl: 40px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 24px var(--accent-glow);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.2s ease;
  --transition-slow: 0.3s ease;
  --transition-slower: 0.5s ease;

  /* Z-Index Scale */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-popover: 600;
  --z-tooltip: 700;
  --z-notification: 800;
  --z-max: 999;

  /* Breakpoints (for JS) */
  --breakpoint-xs: 320px;
  --breakpoint-sm: 375px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
  --breakpoint-xl: 1440px;
  --breakpoint-2xl: 1920px;

  /* Container Max Width */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
  --container-2xl: 1536px;

  /* Mobile-specific */
  --mobile-header-height: 60px;
  --mobile-bottom-nav-height: 64px;
  --desktop-header-height: 72px;

  /* Touch Targets (minimum 44px for mobile) */
  --touch-target-min: 44px;
}

/* ===== Light Mode ===== */
[data-theme="light"] {
  /* Backgrounds */
  --bg-app: #f8f9ff;
  --bg-sidebar: #eef0f7;
  --bg-surface-1: #ffffff;
  --bg-surface-2: #f3f5fb;
  --bg-surface-3: #e9ecf6;

  --bg-primary: #f0f0fa;
  --bg-secondary: #e4e4f5;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: rgba(255, 255, 255, 0.95);
  --bg-glass: rgba(255, 255, 255, 0.6);
  --bg-header: rgba(240, 240, 250, 0.85);
  --bg-modal-overlay: rgba(0, 0, 0, 0.4);
  --bg-input: rgba(0, 0, 0, 0.03);
  --bg-bank-row: rgba(0, 0, 0, 0.04);
  --bg-stat-card: rgba(255, 255, 255, 0.8);
  --bg-feature-banner: rgba(255, 255, 255, 0.7);
  --bg-contact-card: rgba(255, 255, 255, 0.85);
  --bg-review-card: rgba(255, 255, 255, 0.85);

  /* Accent Colors */
  --primary-500: #7c3aed;
  --primary-400: #8b5cf6;
  --primary-300: #a78bfa;

  --accent-1: #7c3aed;
  --accent-2: #6d28d9;
  --accent-3: #5b21b6;
  --accent-glow: rgba(124, 58, 237, 0.2);
  --accent-gradient: linear-gradient(135deg, #7c3aed 0%, #6d28d9 50%, #5b21b6 100%);
  --accent-gradient-btn: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);

  /* Status Colors */
  --success: #16a34a;
  --warning: #d97706;
  --danger: #dc2626;
  --info: #0ea5e9;

  --cyan: #0891b2;
  --cyan-glow: rgba(8, 145, 178, 0.2);
  --green: #059669;
  --green-glow: rgba(5, 150, 105, 0.2);
  --amber: #d97706;
  --amber-glow: rgba(217, 119, 6, 0.1);
  --red: #dc2626;
  --red-glow: rgba(220, 38, 38, 0.2);

  /* Text Colors */
  --text-primary: #1a1a2e;
  --text-secondary: #4a4a6a;
  --text-muted: #8888aa;

  /* Borders */
  --border: rgba(124, 58, 237, 0.15);
  --border-hover: rgba(124, 58, 237, 0.4);
  --border-subtle: rgba(0, 0, 0, 0.06);
  --border-strong: rgba(124, 58, 237, 0.35);

  /* Background Orbs */
  --orb1-color: rgba(124, 58, 237, 0.07);
  --orb2-color: rgba(8, 145, 178, 0.05);

  /* Shadows - lighter for light mode */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 24px var(--accent-glow);
}


/* ===== base\reset.css ===== */
/* ===== CSS Reset & Base Styles ===== */

/* Modern CSS Reset */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Prevent horizontal overflow on ALL devices including iOS Safari */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  max-width: 100%;
  transition: background var(--transition-slow), color var(--transition-slow);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Guard all media & replaced elements */
img,
video,
canvas,
svg,
picture,
embed,
object,
iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Tables scroll inside their container, never push viewport */
table {
  width: 100%;
  table-layout: auto;
  border-collapse: collapse;
}

/* Inputs/textareas respect viewport width */
input,
textarea,
select,
button {
  max-width: 100%;
  font-family: inherit;
  font-size: inherit;
}

/* Remove default button styles */
button {
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}

/* Links */
a {
  color: inherit;
  text-decoration: none;
}

/* Lists */
ul,
ol {
  list-style: none;
}

/* Remove spinner from number inputs */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

/* Smooth focus outline */
:focus-visible {
  outline: 2px solid var(--accent-1);
  outline-offset: 2px;
}

/* Hidden but accessible */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Disable text selection on UI elements */
button,
.no-select {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}


/* ===== base\typography.css ===== */
/* ===== Typography Styles ===== */

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-primary);
  margin: 0;
}

h1 {
  font-size: var(--font-size-5xl);
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--font-size-4xl);
  letter-spacing: -0.01em;
}

h3 {
  font-size: var(--font-size-3xl);
}

h4 {
  font-size: var(--font-size-2xl);
}

h5 {
  font-size: var(--font-size-xl);
}

h6 {
  font-size: var(--font-size-lg);
}

/* Paragraph */
p {
  margin: 0;
  line-height: 1.7;
}

/* Text utilities */
.text-xs {
  font-size: var(--font-size-xs);
}

.text-sm {
  font-size: var(--font-size-sm);
}

.text-base {
  font-size: var(--font-size-base);
}

.text-lg {
  font-size: var(--font-size-lg);
}

.text-xl {
  font-size: var(--font-size-xl);
}

.text-2xl {
  font-size: var(--font-size-2xl);
}

.text-3xl {
  font-size: var(--font-size-3xl);
}

/* Font weights */
.font-normal {
  font-weight: 400;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.font-extrabold {
  font-weight: 800;
}

.font-black {
  font-weight: 900;
}

/* Text colors */
.text-primary {
  color: var(--text-primary);
}

.text-secondary {
  color: var(--text-secondary);
}

.text-muted {
  color: var(--text-muted);
}

.text-accent {
  color: var(--accent-1);
}

.text-gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Text alignment */
.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

/* Line clamp */
.line-clamp-1 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.line-clamp-2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.line-clamp-3 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

/* Responsive Typography */
@media (max-width: 768px) {
  h1 {
    font-size: var(--font-size-4xl);
  }

  h2 {
    font-size: var(--font-size-3xl);
  }

  h3 {
    font-size: var(--font-size-2xl);
  }

  h4 {
    font-size: var(--font-size-xl);
  }
}

@media (max-width: 375px) {
  h1 {
    font-size: var(--font-size-3xl);
  }

  h2 {
    font-size: var(--font-size-2xl);
  }
}


/* ===== layouts\grid.css ===== */
/* ===== Grid System & Containers ===== */

/* Container */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
}

.container-sm {
  max-width: var(--container-sm);
}

.container-md {
  max-width: var(--container-md);
}

.container-lg {
  max-width: var(--container-lg);
}

.container-xl {
  max-width: var(--container-xl);
}

.container-2xl {
  max-width: var(--container-2xl);
}

.container-fluid {
  max-width: 100%;
}

/* Main Content Area */
.main {
  position: relative;
  z-index: var(--z-base);
  max-width: 1280px;
  margin: 0 auto;
  padding: 110px 28px 60px;
}

/* Grid System */
.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid-cols-1 {
  grid-template-columns: repeat(1, 1fr);
}

.grid-cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-cols-5 {
  grid-template-columns: repeat(5, 1fr);
}

.grid-cols-6 {
  grid-template-columns: repeat(6, 1fr);
}

/* Auto-fit Grid */
.grid-auto-fit {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-auto-fill {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* Packages Grid */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
  margin-bottom: 60px;
}

/* Gap Utilities */
.gap-xs {
  gap: var(--space-xs);
}

.gap-sm {
  gap: var(--space-sm);
}

.gap-md {
  gap: var(--space-md);
}

.gap-lg {
  gap: var(--space-lg);
}

.gap-xl {
  gap: var(--space-xl);
}

.gap-2xl {
  gap: var(--space-2xl);
}

/* Flexbox Utilities */
.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.flex-row {
  flex-direction: row;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-nowrap {
  flex-wrap: nowrap;
}

/* Justify Content */
.justify-start {
  justify-content: flex-start;
}

.justify-center {
  justify-content: center;
}

.justify-end {
  justify-content: flex-end;
}

.justify-between {
  justify-content: space-between;
}

.justify-around {
  justify-content: space-around;
}

.justify-evenly {
  justify-content: space-evenly;
}

/* Align Items */
.items-start {
  align-items: flex-start;
}

.items-center {
  align-items: center;
}

.items-end {
  align-items: flex-end;
}

.items-stretch {
  align-items: stretch;
}

.items-baseline {
  align-items: baseline;
}

/* Flex Grow/Shrink */
.flex-1 {
  flex: 1 1 0%;
}

.flex-auto {
  flex: 1 1 auto;
}

.flex-none {
  flex: none;
}

.flex-grow {
  flex-grow: 1;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

/* Hero Section */
.hero {
  text-align: center;
  margin-bottom: 64px;
  padding: var(--space-2xl) 0;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 8px 16px;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 50px;
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--accent-2);
  margin-bottom: var(--space-xl);
}

.hero-tag svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.hero h1 {
  font-size: clamp(32px, 5.5vw, 58px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  letter-spacing: -1.5px;
}

.hero h1 .gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Section */
.section {
  padding: var(--space-3xl) 0;
}

.section-sm {
  padding: var(--space-2xl) 0;
}

.section-lg {
  padding: 80px 0;
}

/* Footer */
.footer {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  color: var(--text-muted);
  font-size: var(--font-size-base);
  width: 100%;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.footer a {
  color: var(--accent-2);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-base);
}

.footer a:hover {
  color: var(--accent-1);
}

/* Responsive Grid */
@media (max-width: 1024px) {
  .grid-cols-6 {
    grid-template-columns: repeat(4, 1fr);
  }

  .grid-cols-5 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-cols-4 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: var(--space-md);
    padding-right: var(--space-md);
  }

  .main {
    padding: calc(var(--mobile-header-height) + 24px) 20px calc(var(--mobile-bottom-nav-height) + 40px);
  }

  .grid-cols-6,
  .grid-cols-5,
  .grid-cols-4,
  .grid-cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-cols-2 {
    grid-template-columns: 1fr;
  }

  .packages-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero {
    margin-bottom: 48px;
    padding: var(--space-xl) 0;
  }

  .hero p {
    font-size: var(--font-size-base);
  }

  .section {
    padding: var(--space-2xl) 0;
  }

  .section-lg {
    padding: var(--space-3xl) 0;
  }

  /* Mobile-specific flex utilities */
  .md\:flex-col {
    flex-direction: column;
  }

  .md\:items-start {
    align-items: flex-start;
  }
}

@media (max-width: 375px) {
  .container {
    padding-left: var(--space-sm);
    padding-right: var(--space-sm);
  }

  .main {
    padding-left: 16px;
    padding-right: 16px;
  }

  .grid {
    gap: var(--space-md);
  }

  .packages-grid {
    gap: 12px;
  }
}

/* Span Utilities */
.col-span-1 {
  grid-column: span 1;
}

.col-span-2 {
  grid-column: span 2;
}

.col-span-3 {
  grid-column: span 3;
}

.col-span-4 {
  grid-column: span 4;
}

.col-span-full {
  grid-column: 1 / -1;
}

/* Row Span */
.row-span-1 {
  grid-row: span 1;
}

.row-span-2 {
  grid-row: span 2;
}

.row-span-3 {
  grid-row: span 3;
}

/* Aspect Ratio */
.aspect-square {
  aspect-ratio: 1 / 1;
}

.aspect-video {
  aspect-ratio: 16 / 9;
}

.aspect-portrait {
  aspect-ratio: 3 / 4;
}


/* ===== layouts\responsive.css ===== */
/* ===== Responsive Media Queries ===== */

/* 
  Breakpoints:
  xs: 320px   - Small phones
  sm: 375px   - Standard phones  
  md: 768px   - Tablets
  lg: 1024px  - Small laptops
  xl: 1440px  - Desktops
  2xl: 1920px - Large screens
*/

/* ===== Extra Large Screens (2xl) ===== */
@media (min-width: 1920px) {
  .container {
    max-width: 1800px;
  }

  .main {
    max-width: 1600px;
  }

  .hero h1 {
    font-size: 64px;
  }
}

/* ===== Large Screens (xl) ===== */
@media (min-width: 1440px) and (max-width: 1919px) {
  .container {
    max-width: 1380px;
  }

  .main {
    max-width: 1320px;
  }
}

/* ===== Desktop (lg) ===== */
@media (min-width: 1024px) and (max-width: 1439px) {
  .container {
    max-width: 980px;
  }

  .packages-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== Tablet (md) ===== */
@media (min-width: 768px) and (max-width: 1023px) {
  .header {
    padding: 12px 24px;
  }

  .main {
    padding: 100px 24px 60px;
  }

  .packages-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .grid-cols-4,
  .grid-cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero h1 {
    font-size: 42px;
  }

  /* Hide some decorative elements on tablet */
  .header-badge {
    display: none;
  }
}

/* ===== Mobile Landscape (sm-md) ===== */
@media (min-width: 568px) and (max-width: 767px) and (orientation: landscape) {
  .header {
    padding: 10px 20px;
    height: 56px;
  }

  .main {
    padding-top: 76px;
  }

  .modal {
    max-height: 80vh;
  }

  /* Adjust bottom nav for landscape */
  .bottom-nav {
    height: 56px;
  }

  .bottom-nav-item {
    flex-direction: row;
    gap: 6px;
    font-size: 11px;
  }

  .bottom-nav-item svg {
    width: 20px;
    height: 20px;
  }
}

/* ===== Mobile (up to md) ===== */
@media (max-width: 767px) {
  /* Typography */
  h1 {
    font-size: clamp(28px, 8vw, 36px);
  }

  h2 {
    font-size: clamp(24px, 7vw, 30px);
  }

  h3 {
    font-size: clamp(20px, 6vw, 24px);
  }

  /* Header adjustments */
  .header {
    padding: 12px 20px;
    height: var(--mobile-header-height);
  }

  .header-actions {
    gap: 8px;
  }

  .logo-icon {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  .logo-text {
    font-size: 18px;
  }

  /* Main content */
  .main {
    padding: calc(var(--mobile-header-height) + 24px) 20px calc(var(--mobile-bottom-nav-height) + 40px);
  }

  /* Hero */
  .hero {
    margin-bottom: 40px;
    padding: var(--space-lg) 0;
  }

  .hero-tag {
    font-size: var(--font-size-sm);
    padding: 6px 14px;
  }

  .hero h1 {
    font-size: clamp(28px, 8vw, 36px);
    letter-spacing: -1px;
    margin-bottom: var(--space-md);
  }

  .hero p {
    font-size: var(--font-size-base);
    max-width: 100%;
  }

  /* Grid adjustments */
  .packages-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 40px;
  }

  .grid-cols-6,
  .grid-cols-5,
  .grid-cols-4,
  .grid-cols-3,
  .grid-cols-2 {
    grid-template-columns: 1fr;
  }

  /* Cards */
  .package-card {
    padding: 28px 20px 24px;
  }

  /* Forms */
  .form-actions {
    flex-direction: column;
  }

  .form-actions .btn {
    width: 100%;
  }

  /* Modals */
  .modal-overlay {
    padding: var(--space-md);
  }

  .modal {
    max-width: 95vw;
    padding: var(--space-xl) var(--space-lg);
  }

  .modal h2 {
    font-size: var(--font-size-2xl);
  }

  /* Footer */
  .footer {
    padding: var(--space-xl) var(--space-md);
    font-size: var(--font-size-sm);
  }

  /* Sections */
  .section {
    padding: var(--space-2xl) 0;
  }

  .section-lg {
    padding: var(--space-3xl) 0;
  }

  /* Hide desktop elements */
  .desktop-only {
    display: none !important;
  }

  /* Show mobile elements */
  .mobile-only {
    display: block !important;
  }
}

/* ===== Small Mobile (sm) ===== */
@media (max-width: 374px) {
  .header {
    padding: 10px 16px;
  }

  .logo-icon {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }

  .logo-text {
    font-size: 16px;
  }

  /* Hide logo text on very small screens */
  .logo-text span {
    display: none;
  }

  .main {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero h1 {
    font-size: 26px;
    letter-spacing: -0.5px;
  }

  .hero p {
    font-size: var(--font-size-sm);
  }

  .package-card {
    padding: 24px 16px 20px;
  }

  .pkg-icon {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }

  .pkg-price {
    font-size: 28px;
  }

  .modal {
    padding: var(--space-lg) var(--space-md);
    border-radius: var(--radius-md);
  }

  .qr-frame img {
    width: 150px;
    height: 150px;
  }

  /* Adjust bottom nav for small screens */
  .bottom-nav-item {
    font-size: 10px;
    gap: 2px;
  }

  .bottom-nav-item svg {
    width: 22px;
    height: 22px;
  }
}

/* ===== Tiny Screens (xs) ===== */
@media (max-width: 320px) {
  .header {
    padding: 8px 12px;
  }

  .main {
    padding-left: 12px;
    padding-right: 12px;
  }

  .hero {
    margin-bottom: 32px;
  }

  .hero h1 {
    font-size: 24px;
  }

  .packages-grid {
    gap: 12px;
  }

  .package-card {
    padding: 20px 14px 18px;
  }

  .btn {
    font-size: var(--font-size-sm);
    padding: 10px 16px;
  }
}

/* ===== Hide on Desktop ===== */
@media (min-width: 769px) {
  .mobile-only {
    display: none !important;
  }

  .mobile-menu,
  .mobile-menu-overlay,
  .bottom-nav,
  .hamburger {
    display: none !important;
  }
}

/* ===== Print Styles ===== */
@media print {
  .header,
  .footer,
  .mobile-menu,
  .bottom-nav,
  .hamburger,
  .btn,
  .modal-close {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .main {
    padding: 0;
  }

  .card,
  .package-card {
    border: 1px solid #ddd;
    break-inside: avoid;
  }
}

/* ===== High Resolution Screens ===== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  /* Sharper borders and shadows */
  .card,
  .package-card,
  .modal {
    border-width: 0.5px;
  }

  .logo-icon {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

/* ===== Dark Mode Media Query Support ===== */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    /* Auto dark mode if no theme set */
    color-scheme: dark;
  }
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    /* Auto light mode if no theme set */
    color-scheme: light;
  }
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===== High Contrast Mode ===== */
@media (prefers-contrast: high) {
  .card,
  .package-card,
  .btn {
    border-width: 2px;
  }

  .text-muted {
    color: var(--text-secondary);
  }
}

/* ===== Hover Support Detection ===== */
@media (hover: none) and (pointer: coarse) {
  /* Touch devices - remove hover effects */
  .card:hover,
  .package-card:hover,
  .btn:hover {
    transform: none;
  }

  /* Larger touch targets */
  .btn,
  .header-nav a,
  .mobile-nav-item {
    min-height: var(--touch-target-min);
    min-width: var(--touch-target-min);
  }
}


/* ===== components\header.css ===== */
/* ===== Header & Navigation ===== */

/* Main Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  padding: 14px 36px;
  background: var(--bg-header);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition-slow);
  height: var(--desktop-header-height);
}

.header.scrolled {
  padding: 10px 36px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

/* Logo */
.header-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
  z-index: 2;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--accent-gradient-btn);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  box-shadow: 0 0 24px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  letter-spacing: -0.5px;
  transition: transform var(--transition-base);
}

.header-logo:hover .logo-icon {
  transform: scale(1.05) rotate(-5deg);
}

.logo-text {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.logo-text span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Header Actions Container */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  margin-left: auto;
}

/* Desktop Navigation */
.header-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.header-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: var(--font-size-base);
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  white-space: nowrap;
}

.header-nav a:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.header-nav a.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
  font-weight: 700;
}

/* Header Badge */
.header-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: rgba(34, 211, 238, 0.06);
  border: 1px solid rgba(34, 211, 238, 0.15);
  border-radius: 50px;
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--cyan);
  white-space: nowrap;
}

.header-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--cyan);
  animation: pulse 2s ease-in-out infinite;
}

/* User Area (when logged in) */
.header-user-area {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Wallet Chip */
#headerWalletChip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.25);
  border-radius: 50px;
  text-decoration: none;
  transition: all var(--transition-base);
  white-space: nowrap;
}

#headerWalletChip:hover {
  background: rgba(124, 58, 237, 0.2);
  border-color: rgba(124, 58, 237, 0.4);
  transform: scale(1.02);
}

/* Bell Icon */
#headerBell {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
}

#headerBell:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-hover);
}

#headerBell.has-notification::after {
  content: '';
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  border: 2px solid var(--bg-header);
  animation: pulse 2s ease-in-out infinite;
}

/* Login Button */
.header-login-btn {
  padding: 8px 20px;
  background: var(--accent-gradient-btn);
  color: #fff;
  border-radius: 50px;
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-base);
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.2);
}

.header-login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px var(--accent-glow);
}

/* Hamburger Menu Toggle (Mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  z-index: var(--z-modal);
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-hover);
}

.hamburger span {
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
  position: relative;
}

.hamburger span:not(:last-child) {
  margin-bottom: 4px;
}

/* Hamburger Animation */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Responsive Header */
@media (max-width: 1024px) {
  .header-badge {
    display: none;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 12px 20px;
    height: var(--mobile-header-height);
  }

  .header.scrolled {
    padding: 10px 20px;
  }

  .logo-icon {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  .logo-text {
    font-size: 18px;
  }

  /* Hide desktop nav on mobile */
  .header-nav {
    display: none;
  }

  /* Show hamburger on mobile */
  .hamburger {
    display: flex;
  }

  .header-actions {
    gap: 8px;
  }

  #headerWalletChip {
    padding: 5px 10px;
  }

  #headerWalletChip svg {
    width: 12px;
    height: 12px;
  }

  #headerWalletBalance {
    font-size: 11px !important;
  }

  #headerBell {
    width: 38px;
    height: 38px;
  }

  .header-login-btn {
    padding: 7px 16px;
    font-size: 12px;
  }
}

@media (max-width: 375px) {
  .header {
    padding: 10px 16px;
  }

  .logo-text {
    font-size: 16px;
  }

  .logo-text span {
    display: none;
  }

  #headerWalletChip span {
    font-size: 11px !important;
  }
}

/* Pulse Animation */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}


/* ===== components\mobile-nav.css ===== */
/* ===== Mobile Navigation ===== */

/* Mobile Slide-in Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 280px;
  max-width: 80vw;
  background: var(--bg-secondary);
  border-right: 1px solid var(--border);
  z-index: var(--z-modal);
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.2);
}

.mobile-menu.active {
  transform: translateX(0);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-modal-overlay);
  backdrop-filter: blur(4px);
  z-index: calc(var(--z-modal) - 1);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-slow);
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Mobile Menu Header */
.mobile-menu-header {
  padding: var(--space-lg);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: var(--bg-secondary);
  z-index: 10;
}

.mobile-menu-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.mobile-menu-logo .logo-icon {
  width: 36px;
  height: 36px;
  font-size: 16px;
}

.mobile-menu-logo .logo-text {
  font-size: 18px;
}

.mobile-menu-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
  color: var(--text-secondary);
}

.mobile-menu-close:hover {
  background: rgba(248, 113, 113, 0.15);
  color: var(--red);
  border-color: rgba(248, 113, 113, 0.3);
}

/* Mobile Menu User Info */
.mobile-menu-user {
  padding: var(--space-lg);
  border-bottom: 1px solid var(--border);
  display: none; /* Show when logged in */
}

.mobile-menu-user.active {
  display: block;
}

.mobile-user-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-md);
}

.mobile-user-name {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.mobile-user-balance {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-size-sm);
  color: var(--text-muted);
}

.mobile-user-balance strong {
  color: var(--accent-1);
  font-weight: 700;
}

/* Mobile Menu Navigation */
.mobile-menu-nav {
  padding: var(--space-lg) 0;
}

.mobile-nav-item {
  display: block;
  padding: 14px var(--space-lg);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: var(--font-size-base);
  font-weight: 600;
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  border-left: 3px solid transparent;
}

.mobile-nav-item:hover {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
}

.mobile-nav-item.active {
  background: rgba(124, 58, 237, 0.1);
  color: var(--accent-1);
  border-left-color: var(--accent-1);
}

.mobile-nav-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Mobile Menu Divider */
.mobile-menu-divider {
  height: 1px;
  background: var(--border);
  margin: var(--space-md) var(--space-lg);
}

/* Mobile Menu Actions */
.mobile-menu-actions {
  padding: var(--space-lg);
  border-top: 1px solid var(--border);
  position: sticky;
  bottom: 0;
  background: var(--bg-secondary);
}

/* Bottom Navigation Bar (Mobile Only) */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--mobile-bottom-nav-height);
  background: var(--bg-header);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-top: 1px solid var(--border);
  z-index: var(--z-sticky);
  display: none; /* Show only on mobile */
  padding: 8px max(env(safe-area-inset-right), 12px) max(env(safe-area-inset-bottom), 8px) max(env(safe-area-inset-left), 12px);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.1);
}

.bottom-nav-content {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-decoration: none;
  color: var(--text-muted);
  font-size: var(--font-size-xs);
  font-weight: 600;
  transition: all var(--transition-fast);
  padding: 8px;
  border-radius: var(--radius-sm);
  min-width: var(--touch-target-min);
  position: relative;
}

.bottom-nav-item:active {
  transform: scale(0.95);
}

.bottom-nav-item svg {
  width: 24px;
  height: 24px;
  stroke-width: 2;
  transition: all var(--transition-fast);
}

.bottom-nav-item.active {
  color: var(--accent-1);
}

.bottom-nav-item.active svg {
  transform: scale(1.1);
}

/* Bottom Nav Badge (notification dot) */
.bottom-nav-item .badge {
  position: absolute;
  top: 6px;
  right: 50%;
  transform: translateX(12px);
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  border: 2px solid var(--bg-header);
}

/* Desktop - Hide Mobile Navigation */
@media (min-width: 769px) {
  .mobile-menu,
  .mobile-menu-overlay,
  .bottom-nav,
  .hamburger {
    display: none !important;
  }
}

/* Mobile - Show Mobile Navigation */
@media (max-width: 768px) {
  .bottom-nav {
    display: block;
  }

  /* Add padding to body for bottom nav */
  body {
    padding-bottom: calc(var(--mobile-bottom-nav-height) + 8px);
  }

  /* Adjust main content for header + bottom nav */
  .main {
    padding-top: calc(var(--mobile-header-height) + 20px);
    padding-bottom: calc(var(--mobile-bottom-nav-height) + 40px);
  }
}

/* Prevent body scroll when mobile menu is open */
body.mobile-menu-open {
  overflow: hidden;
}

/* iOS Safe Area Support */
@supports (padding: max(0px)) {
  .mobile-menu {
    padding-bottom: max(env(safe-area-inset-bottom), 20px);
  }

  .bottom-nav {
    padding-bottom: max(env(safe-area-inset-bottom), 8px);
  }
}

/* Smooth Scrolling for Mobile Menu */
.mobile-menu {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

/* Mobile Menu Animation States */
@keyframes slideIn {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.mobile-menu.active {
  animation: slideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-overlay.active {
  animation: fadeIn 0.3s ease;
}


/* ===== components\buttons.css ===== */
/* ===== Button Components ===== */

/* Base Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Primary Button */
.btn-primary {
  background: var(--accent-gradient-btn);
  color: #fff;
  border: none;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.2);
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--accent-glow);
}

.btn-primary:active {
  transform: translateY(0);
}

/* Secondary Button */
.btn-secondary {
  background: rgba(124, 58, 237, 0.1);
  color: var(--accent-2);
  border: 1px solid rgba(124, 58, 237, 0.2);
}

.btn-secondary:hover:not(:disabled) {
  background: rgba(124, 58, 237, 0.2);
  border-color: var(--accent-1);
}

/* Outline Button */
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-outline:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-hover);
}

/* Ghost Button */
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: none;
}

.btn-ghost:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

/* Success Button */
.btn-success {
  background: linear-gradient(135deg, var(--green) 0%, #10b981 100%);
  color: #fff;
  border: none;
}

.btn-success:hover:not(:disabled) {
  box-shadow: 0 4px 16px var(--green-glow);
  transform: translateY(-2px);
}

/* Danger Button */
.btn-danger {
  background: linear-gradient(135deg, var(--red) 0%, #ef4444 100%);
  color: #fff;
  border: none;
}

.btn-danger:hover:not(:disabled) {
  box-shadow: 0 4px 16px var(--red-glow);
  transform: translateY(-2px);
}

/* Button Sizes */
.btn-xs {
  padding: 6px 12px;
  font-size: var(--font-size-xs);
  border-radius: var(--radius-sm);
}

.btn-sm {
  padding: 8px 16px;
  font-size: var(--font-size-sm);
}

.btn-lg {
  padding: 16px 32px;
  font-size: var(--font-size-lg);
  border-radius: var(--radius-lg);
}

.btn-xl {
  padding: 18px 40px;
  font-size: var(--font-size-xl);
  border-radius: var(--radius-lg);
}

/* Button Full Width */
.btn-block {
  width: 100%;
  justify-content: center;
}

/* Button with Icon */
.btn-icon {
  padding: 10px;
  width: 40px;
  height: 40px;
}

.btn-icon.btn-sm {
  width: 32px;
  height: 32px;
  padding: 8px;
}

.btn-icon.btn-lg {
  width: 48px;
  height: 48px;
  padding: 12px;
}

/* Loading State */
.btn.loading {
  pointer-events: none;
  position: relative;
}

.btn.loading .btn-text {
  visibility: hidden;
}

.btn .spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: none;
  position: absolute;
}

.btn.loading .spinner {
  display: block;
}

/* Buy Button (Package Cards) */
.btn-buy {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-slow);
  background: rgba(124, 58, 237, 0.1);
  color: var(--accent-2);
  border: 1px solid rgba(124, 58, 237, 0.2);
  font-size: var(--font-size-base);
}

.btn-buy:hover {
  background: var(--accent-gradient-btn);
  color: #fff;
  transform: scale(1.02);
  box-shadow: 0 4px 16px var(--accent-glow);
}

/* Icon Buttons (Round) */
.btn-round {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-round.btn-sm {
  width: 32px;
  height: 32px;
}

.btn-round.btn-lg {
  width: 48px;
  height: 48px;
}

/* Close Button */
.modal-close,
.btn-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  backdrop-filter: blur(4px);
  flex-shrink: 0;
}

.modal-close:hover,
.btn-close:hover {
  background: rgba(248, 113, 113, 0.15);
  color: var(--red);
  border-color: rgba(248, 113, 113, 0.3);
  transform: rotate(90deg);
}

/* Theme Toggle Button */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
  flex-shrink: 0;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-hover);
  transform: scale(1.05);
}

[data-theme="dark"] .theme-icon-light {
  display: none;
}

[data-theme="light"] .theme-icon-dark {
  display: none;
}

/* Button Group */
.btn-group {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.btn-group .btn {
  flex: 1;
  min-width: max-content;
}

/* Responsive */
@media (max-width: 768px) {
  .btn {
    padding: 12px 20px;
    font-size: var(--font-size-sm);
  }

  .btn-lg {
    padding: 14px 28px;
    font-size: var(--font-size-base);
  }

  /* Mobile touch targets - minimum 44px */
  .btn-icon,
  .btn-round,
  .theme-toggle {
    min-width: var(--touch-target-min);
    min-height: var(--touch-target-min);
  }
}


/* ===== components\cards.css ===== */
/* ===== Card Components ===== */

/* Base Card */
.card {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all 0.45s cubic-bezier(0.23, 1, 0.32, 1);
  overflow: hidden;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
}

/* Package Card */
.package-card {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 26px 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.45s cubic-bezier(0.23, 1, 0.32, 1);
  overflow: hidden;
}

.package-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  box-shadow: 0 12px 40px rgba(124, 58, 237, 0.12);
}

/* Popular Tag on Package */
.popular-tag {
  position: absolute;
  top: 14px;
  right: -30px;
  background: var(--accent-gradient-btn);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 34px;
  transform: rotate(45deg);
  box-shadow: 0 4px 10px var(--accent-glow);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Package Icon */
.pkg-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.icon-basic {
  background: rgba(34, 211, 238, 0.1);
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.2);
}

.icon-standard {
  background: rgba(52, 211, 153, 0.1);
  color: var(--green);
  border: 1px solid rgba(52, 211, 153, 0.2);
}

.icon-premium {
  background: var(--accent-glow);
  color: var(--accent-2);
  border: 1px solid var(--border);
}

.icon-lifetime {
  background: rgba(251, 191, 36, 0.1);
  color: var(--amber);
  border: 1px solid rgba(251, 191, 36, 0.2);
}

/* Package Info */
.pkg-name {
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.pkg-duration {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.pkg-price-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 24px;
}

.pkg-price {
  font-size: 34px;
  font-weight: 900;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.pkg-currency {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
}

/* Package Features List */
.pkg-features {
  list-style: none;
  margin-bottom: 28px;
  flex: 1;
}

.pkg-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.5;
}

.pkg-features span.check {
  color: var(--green);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.pkg-features span.check svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 3;
  fill: none;
}

/* Stat Card */
.stat-card {
  background: var(--bg-stat-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  transition: all var(--transition-base);
}

.stat-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.stat-label {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  font-weight: 500;
}

.stat-value {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  color: var(--text-primary);
}

.stat-value.accent {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Contact Card */
.contact-card {
  background: var(--bg-contact-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  transition: all var(--transition-slow);
}

.contact-card:hover {
  border-color: var(--border-hover);
  transform: translateX(4px);
}

.contact-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-gradient-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 12px var(--accent-glow);
}

/* Review Card */
.review-card {
  background: var(--bg-review-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.review-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: var(--font-size-lg);
  flex-shrink: 0;
}

.review-stars {
  color: var(--amber);
  display: flex;
  gap: 2px;
}

/* Info Card (Alert style) */
.info-card {
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  color: var(--cyan);
}

.warning-card {
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.2);
  color: var(--amber);
}

.success-card {
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.2);
  color: var(--green);
}

.error-card {
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.2);
  color: var(--red);
}

/* Glass Card */
.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
}

/* Responsive Cards */
@media (max-width: 768px) {
  .package-card {
    padding: 28px 20px 24px;
  }

  .pkg-name {
    font-size: 19px;
  }

  .pkg-price {
    font-size: 28px;
  }

  .contact-card {
    padding: var(--space-lg);
    gap: var(--space-md);
  }

  .contact-icon {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }

  .glass-card {
    padding: var(--space-xl);
  }
}

@media (max-width: 375px) {
  .package-card {
    padding: 24px 16px 20px;
  }

  .pkg-icon {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }
}


/* ===== components\forms.css ===== */
/* ===== Form Components ===== */

/* Form Group */
.form-group {
  margin-bottom: var(--space-lg);
  text-align: left;
}

.form-group label {
  display: block;
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.form-group label.required::after {
  content: ' *';
  color: var(--red);
}

/* Text Inputs */
.form-input,
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="number"],
.form-group input[type="tel"],
.form-group input[type="url"],
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  outline: none;
  transition: all var(--transition-base);
  -webkit-appearance: none;
  appearance: none;
}

.form-input:focus,
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-1);
  background: rgba(124, 58, 237, 0.03);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.form-input::placeholder,
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

/* Textarea */
textarea.form-input,
.form-group textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}

/* Select Dropdown */
.form-select,
.form-group select {
  width: 100%;
  padding: 12px 40px 12px 16px;
  background: var(--bg-input) url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23a5a5c8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  outline: none;
  transition: all var(--transition-base);
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.form-select:focus,
.form-group select:focus {
  border-color: var(--accent-1);
  background-color: rgba(124, 58, 237, 0.03);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

/* Checkbox */
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 2px solid var(--border);
  background: var(--bg-input);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  margin-top: 2px;
  -webkit-appearance: none;
  appearance: none;
  transition: all var(--transition-base);
}

.form-checkbox input[type="checkbox"]:checked {
  background: var(--accent-gradient-btn);
  border-color: var(--accent-1);
}

.form-checkbox input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 6px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.form-checkbox label {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  cursor: pointer;
  margin-bottom: 0;
  user-select: none;
}

/* Radio Buttons */
.form-radio {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  cursor: pointer;
}

.form-radio input[type="radio"] {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--bg-input);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  -webkit-appearance: none;
  appearance: none;
  transition: all var(--transition-base);
}

.form-radio input[type="radio"]:checked {
  border-color: var(--accent-1);
  background: var(--accent-1);
}

.form-radio input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
}

.form-radio label {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  cursor: pointer;
  user-select: none;
}

/* Radio/Checkbox Group */
.form-radio-group,
.form-checkbox-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

/* Input with Icon */
.form-input-icon {
  position: relative;
}

.form-input-icon svg,
.form-input-icon .icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  pointer-events: none;
}

.form-input-icon input {
  padding-left: 46px;
}

/* Input States */
.form-input.error,
.form-group input.error,
.form-group textarea.error,
.form-group select.error {
  border-color: var(--red);
  background: rgba(248, 113, 113, 0.05);
}

.form-input.success,
.form-group input.success {
  border-color: var(--green);
  background: rgba(52, 211, 153, 0.05);
}

/* Error Message */
.form-error {
  display: block;
  margin-top: var(--space-xs);
  font-size: var(--font-size-xs);
  color: var(--red);
  font-weight: 500;
}

/* Help Text */
.form-help {
  display: block;
  margin-top: var(--space-xs);
  font-size: var(--font-size-xs);
  color: var(--text-muted);
}

/* Input Group (with button) */
.input-group {
  display: flex;
  gap: var(--space-sm);
}

.input-group .form-input {
  flex: 1;
}

.input-group .btn {
  flex-shrink: 0;
}

/* Switch Toggle */
.form-switch {
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
  cursor: pointer;
}

.form-switch input[type="checkbox"] {
  position: relative;
  width: 48px;
  height: 26px;
  background: var(--bg-input);
  border: 2px solid var(--border);
  border-radius: 50px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: all var(--transition-base);
  flex-shrink: 0;
}

.form-switch input[type="checkbox"]::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background: var(--text-muted);
  border-radius: 50%;
  transition: all var(--transition-base);
}

.form-switch input[type="checkbox"]:checked {
  background: var(--accent-1);
  border-color: var(--accent-1);
}

.form-switch input[type="checkbox"]:checked::before {
  left: 24px;
  background: white;
}

.form-switch label {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  cursor: pointer;
  user-select: none;
}

/* Form Actions */
.form-actions {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.form-actions .btn {
  flex: 1;
}

/* Responsive Forms */
@media (max-width: 768px) {
  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: 16px; /* Prevent iOS zoom on focus */
    padding: 14px 16px;
  }

  .form-input-icon input {
    padding-left: 44px;
  }

  .form-actions {
    flex-direction: column;
  }

  .form-actions .btn {
    width: 100%;
  }
}

/* Focus visible for keyboard navigation */
.form-input:focus-visible,
.form-group input:focus-visible,
.form-group textarea:focus-visible,
.form-group select:focus-visible {
  outline: 2px solid var(--accent-1);
  outline-offset: 2px;
}


/* ===== components\modals.css ===== */
/* ===== Modal Components ===== */

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-modal-overlay);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-slow);
  padding: var(--space-lg);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Base Modal */
.modal {
  background: var(--bg-card);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 480px;
  padding: var(--space-2xl) var(--space-xl);
  position: relative;
  transform: scale(0.95);
  transition: all 0.3s cubic-bezier(0.2, 0.9, 0.3, 1);
  color: var(--text-primary);
  box-shadow: var(--shadow-xl);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.active .modal {
  transform: scale(1);
}

/* Payment Modal (Special Styling) */
.payment-modal {
  padding: 0;
  overflow: hidden;
  max-width: 420px;
  background: rgba(18, 18, 50, 0.65);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(124, 58, 237, 0.3);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(124, 58, 237, 0.15);
  border-radius: 24px;
}

/* Modal Header */
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
}

.modal-header h2 {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  margin: 0;
}

/* Modal Top Right (close button area) */
.modal-top-right {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  z-index: 10;
}

/* Modal Title */
.modal h2 {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  margin-bottom: var(--space-sm);
  text-align: center;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.modal-sub {
  text-align: center;
  color: var(--text-secondary);
  font-size: var(--font-size-base);
  margin-bottom: var(--space-xl);
  line-height: 1.6;
}

/* Modal Body */
.modal-body {
  margin-bottom: var(--space-xl);
}

/* Modal Footer */
.modal-footer {
  display: flex;
  gap: var(--space-md);
  justify-content: flex-end;
}

.modal-footer .btn {
  flex: 1;
}

/* Modal Summary Box */
.modal-summary {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-bottom: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sum-label {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sum-name {
  font-weight: 700;
  font-size: var(--font-size-md);
  color: var(--accent-3);
}

.sum-price {
  font-size: var(--font-size-2xl);
  font-weight: 800;
  color: var(--green);
}

/* Payment Modal Header */
.pay-header {
  background: rgba(0, 0, 0, 0.2);
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.pay-amount-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.pay-amount-label {
  display: block;
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pay-amount-value {
  display: block;
  font-size: var(--font-size-3xl);
  font-weight: 900;
  color: var(--green);
}

/* Payment Timer */
.pay-timer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 0;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50px;
  font-size: var(--font-size-base);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--text-primary);
}

.pay-timer svg {
  width: 16px;
  height: 16px;
  stroke: var(--text-muted);
  fill: none;
  stroke-width: 2;
}

.pay-timer.urgent {
  background: rgba(248, 113, 113, 0.15);
  color: var(--red);
  animation: pulse 1s ease-in-out infinite;
}

.pay-timer.urgent svg {
  stroke: var(--red);
}

/* Payment Body */
.pay-body {
  padding: 20px;
}

/* QR Code Section */
.qr-section {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.qr-frame {
  display: inline-block;
  padding: 10px;
  background: #fff;
  border-radius: 12px;
  margin-bottom: var(--space-sm);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.qr-frame img {
  display: block;
  width: 180px;
  height: 180px;
  border-radius: 6px;
}

.qr-bank-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  padding: 6px 16px 6px 6px;
  margin: var(--space-md) auto var(--space-sm);
}

.qr-bank-badge img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
  padding: 2px;
  flex-shrink: 0;
}

.qr-bank-badge span {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--text-primary);
}

.qr-hint {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  max-width: 260px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Payment Divider */
.pay-divider {
  text-align: center;
  margin: var(--space-lg) 0;
  position: relative;
}

.pay-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
  z-index: 1;
}

.pay-divider span {
  display: inline-block;
  background: var(--bg-card);
  padding: 0 var(--space-md);
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  position: relative;
  z-index: 2;
}

/* Bank Info Rows */
.bank-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.bank-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: var(--bg-bank-row);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-base);
}

.bank-row.copyable {
  cursor: pointer;
}

.bank-row.copyable:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
}

.bank-row.copyable:active {
  transform: scale(0.98);
}

.bank-label {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
}

.bank-value {
  font-size: var(--font-size-base);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-sm);
  color: var(--text-primary);
}

.bank-logo-inline {
  height: 24px;
  width: auto;
  max-width: 70px;
  border-radius: 4px;
  object-fit: contain;
  background: #fff;
  padding: 2px 4px;
  flex-shrink: 0;
}

/* Copy Icon in bank row */
.bank-value svg.copy-icon {
  width: 16px;
  height: 16px;
  opacity: 0.5;
  transition: opacity var(--transition-fast);
}

.bank-row:hover .bank-value svg.copy-icon {
  opacity: 1;
}

/* Responsive Modal */
@media (max-width: 768px) {
  .modal {
    max-width: 95vw;
    padding: var(--space-xl) var(--space-lg);
    border-radius: var(--radius-lg);
  }

  .payment-modal {
    max-width: 95vw;
  }

  .modal h2 {
    font-size: var(--font-size-2xl);
  }

  .qr-frame img {
    width: 160px;
    height: 160px;
  }

  .modal-footer {
    flex-direction: column;
  }

  .modal-footer .btn {
    width: 100%;
  }
}

@media (max-width: 375px) {
  .modal {
    padding: var(--space-lg) var(--space-md);
  }

  .pay-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }

  .pay-timer {
    align-self: flex-start;
  }
}

/* Prevent scroll when modal is open */
body.modal-open {
  overflow: hidden;
}


/* ===== components\tables.css ===== */
/* ===== Table Components ===== */

/* Base Table */
.table-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  font-size: var(--font-size-base);
}

/* Table Header */
thead {
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid var(--border);
}

thead th {
  padding: 14px 16px;
  text-align: left;
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* Table Body */
tbody tr {
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-fast);
}

tbody tr:last-child {
  border-bottom: none;
}

tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

tbody td {
  padding: 14px 16px;
  color: var(--text-secondary);
  vertical-align: middle;
}

/* Table Cell Alignments */
.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

/* Status Badges in Tables */
tbody td .badge {
  display: inline-flex;
}

/* Table Actions */
.table-actions {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
  justify-content: flex-end;
}

.table-actions .btn {
  padding: 6px 12px;
  font-size: var(--font-size-xs);
}

/* Striped Table */
.table-striped tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.01);
}

/* Compact Table */
.table-compact thead th,
.table-compact tbody td {
  padding: 10px 12px;
  font-size: var(--font-size-sm);
}

/* Borderless Table */
.table-borderless tbody tr {
  border-bottom: none;
}

/* Table Empty State */
.table-empty {
  padding: var(--space-3xl) var(--space-lg);
  text-align: center;
  color: var(--text-muted);
}

.table-empty-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-lg);
  opacity: 0.2;
}

.table-empty-text {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
}

/* Responsive Table */
@media (max-width: 768px) {
  .table-container {
    border-radius: var(--radius-md);
  }

  /* Stack table on mobile */
  .table-responsive {
    display: block;
  }

  .table-responsive thead {
    display: none;
  }

  .table-responsive tbody,
  .table-responsive tr,
  .table-responsive td {
    display: block;
    width: 100%;
  }

  .table-responsive tr {
    margin-bottom: var(--space-lg);
    padding: var(--space-md);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-card);
  }

  .table-responsive tr:hover {
    background: var(--bg-card-hover);
  }

  .table-responsive td {
    padding: var(--space-sm) 0;
    text-align: left;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .table-responsive td::before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--text-primary);
    margin-right: var(--space-md);
    flex-shrink: 0;
  }

  .table-responsive .table-actions {
    justify-content: flex-start;
    width: 100%;
    margin-top: var(--space-sm);
    padding-top: var(--space-sm);
    border-top: 1px solid var(--border-subtle);
  }

  .table-responsive .table-actions::before {
    display: none;
  }
}

/* Fixed First Column (for wide tables) */
.table-fixed-first thead th:first-child,
.table-fixed-first tbody td:first-child {
  position: sticky;
  left: 0;
  background: var(--bg-card);
  z-index: 1;
  box-shadow: 2px 0 4px rgba(0, 0, 0, 0.1);
}

/* Table Loading */
.table-loading {
  position: relative;
  opacity: 0.5;
  pointer-events: none;
}

.table-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--accent-1);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* Sortable Headers */
.table-sortable thead th {
  cursor: pointer;
  user-select: none;
  position: relative;
  padding-right: 28px;
}

.table-sortable thead th:hover {
  background: rgba(255, 255, 255, 0.03);
}

.table-sortable thead th::after {
  content: '⇅';
  position: absolute;
  right: 12px;
  opacity: 0.3;
  font-size: 12px;
}

.table-sortable thead th.sort-asc::after {
  content: '↑';
  opacity: 1;
  color: var(--accent-1);
}

.table-sortable thead th.sort-desc::after {
  content: '↓';
  opacity: 1;
  color: var(--accent-1);
}

/* Pagination */
.table-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg);
  border-top: 1px solid var(--border);
  background: var(--bg-card);
}

.table-pagination-info {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
}

.table-pagination-controls {
  display: flex;
  gap: var(--space-sm);
}

.table-pagination-controls .btn {
  padding: 8px 12px;
  font-size: var(--font-size-sm);
}

@media (max-width: 768px) {
  .table-pagination {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .table-pagination-controls {
    width: 100%;
    justify-content: center;
  }
}


/* ===== utilities\animations.css ===== */
/* ===== Animations & Keyframes ===== */

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Spin Animation (loading spinners) */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.spinner,
.loading-spinner {
  animation: spin 1s linear infinite;
}

/* Pulse Animation */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

.pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* Fade In */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fadeIn {
  animation: fadeIn 0.5s ease both;
}

/* Fade In Up */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fadeInUp {
  animation: fadeInUp 0.6s ease both;
}

/* Fade In Down */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fadeInDown {
  animation: fadeInDown 0.6s ease both;
}

/* Fade In Left */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fadeInLeft {
  animation: fadeInLeft 0.6s ease both;
}

/* Fade In Right */
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fadeInRight {
  animation: fadeInRight 0.6s ease both;
}

/* Scale In */
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.scaleIn {
  animation: scaleIn 0.4s cubic-bezier(0.2, 0.9, 0.3, 1) both;
}

/* Modal In */
@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modalIn {
  animation: modalIn 0.5s cubic-bezier(0.2, 0.9, 0.3, 1) both;
}

/* Slide In (for mobile menu) */
@keyframes slideInLeft {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

.slideInLeft {
  animation: slideInLeft 0.3s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

.slideInRight {
  animation: slideInRight 0.3s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes slideInUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.slideInUp {
  animation: slideInUp 0.3s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* Background Orb Animations */
@keyframes orbFloat1 {
  0%, 100% {
    transform: translate(0, 0);
  }
  33% {
    transform: translate(80px, 40px);
  }
  66% {
    transform: translate(-30px, 80px);
  }
}

@keyframes orbFloat2 {
  0%, 100% {
    transform: translate(0, 0);
  }
  33% {
    transform: translate(-60px, -30px);
  }
  66% {
    transform: translate(40px, -60px);
  }
}

/* Shimmer Effect (skeleton loading) */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.skeleton {
  background: linear-gradient(
    90deg,
    var(--bg-card) 0%,
    rgba(255, 255, 255, 0.05) 50%,
    var(--bg-card) 100%
  );
  background-size: 1000px 100%;
  animation: shimmer 2s infinite linear;
  border-radius: var(--radius-md);
}

/* Bounce */
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.bounce {
  animation: bounce 1s ease-in-out infinite;
}

/* Shake (for errors) */
@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: translateX(-5px);
  }
  20%, 40%, 60%, 80% {
    transform: translateX(5px);
  }
}

.shake {
  animation: shake 0.5s ease-in-out;
}

/* Glow Pulse */
@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 20px var(--accent-glow);
  }
  50% {
    box-shadow: 0 0 40px var(--accent-glow);
  }
}

.glow-pulse {
  animation: glowPulse 2s ease-in-out infinite;
}

/* Stagger Animation Delays */
.stagger-1 {
  animation-delay: 0.1s;
}

.stagger-2 {
  animation-delay: 0.2s;
}

.stagger-3 {
  animation-delay: 0.3s;
}

.stagger-4 {
  animation-delay: 0.4s;
}

.stagger-5 {
  animation-delay: 0.5s;
}

/* Transition Utilities */
.transition-all {
  transition: all var(--transition-base);
}

.transition-fast {
  transition: all var(--transition-fast);
}

.transition-slow {
  transition: all var(--transition-slow);
}

.transition-colors {
  transition: color var(--transition-base), background-color var(--transition-base), border-color var(--transition-base);
}

.transition-transform {
  transition: transform var(--transition-base);
}

.transition-opacity {
  transition: opacity var(--transition-base);
}

/* Hover Lift */
.hover-lift {
  transition: transform var(--transition-base);
}

.hover-lift:hover {
  transform: translateY(-4px);
}

/* Hover Scale */
.hover-scale {
  transition: transform var(--transition-base);
}

.hover-scale:hover {
  transform: scale(1.05);
}

/* Hover Glow */
.hover-glow {
  transition: box-shadow var(--transition-base);
}

.hover-glow:hover {
  box-shadow: 0 8px 24px var(--accent-glow);
}

/* Page Transition */
.page-transition {
  animation: fadeInUp 0.5s ease both;
}

/* Reduce Motion (Accessibility) */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Loading Dots */
@keyframes loadingDots {
  0%, 20% {
    opacity: 0.2;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.2;
  }
}

.loading-dots span {
  animation: loadingDots 1.4s ease-in-out infinite;
}

.loading-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.loading-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

/* Ticker Animation (for announcement) */
@keyframes ticker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.ticker-animate {
  animation: ticker 30s linear infinite;
}

/* Progress Bar Animation */
@keyframes progress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.progress-animate {
  transform-origin: left;
  animation: progress 2s ease-in-out;
}

/* Gradient Animation */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.gradient-animate {
  background-size: 200% 200%;
  animation: gradientShift 3s ease infinite;
}


/* ===== utilities\helpers.css ===== */
/* ===== Utility Helper Classes ===== */

/* Display */
.hidden {
  display: none !important;
}

.block {
  display: block;
}

.inline-block {
  display: inline-block;
}

.inline {
  display: inline;
}

/* Visibility */
.visible {
  visibility: visible;
}

.invisible {
  visibility: hidden;
}

/* Opacity */
.opacity-0 {
  opacity: 0;
}

.opacity-50 {
  opacity: 0.5;
}

.opacity-75 {
  opacity: 0.75;
}

.opacity-100 {
  opacity: 1;
}

/* Position */
.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.fixed {
  position: fixed;
}

.sticky {
  position: sticky;
}

/* Spacing - Margin */
.m-0 {
  margin: 0;
}

.m-auto {
  margin: auto;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.my-auto {
  margin-top: auto;
  margin-bottom: auto;
}

.mt-xs {
  margin-top: var(--space-xs);
}

.mt-sm {
  margin-top: var(--space-sm);
}

.mt-md {
  margin-top: var(--space-md);
}

.mt-lg {
  margin-top: var(--space-lg);
}

.mt-xl {
  margin-top: var(--space-xl);
}

.mt-2xl {
  margin-top: var(--space-2xl);
}

.mb-xs {
  margin-bottom: var(--space-xs);
}

.mb-sm {
  margin-bottom: var(--space-sm);
}

.mb-md {
  margin-bottom: var(--space-md);
}

.mb-lg {
  margin-bottom: var(--space-lg);
}

.mb-xl {
  margin-bottom: var(--space-xl);
}

.mb-2xl {
  margin-bottom: var(--space-2xl);
}

.ml-auto {
  margin-left: auto;
}

.mr-auto {
  margin-right: auto;
}

/* Spacing - Padding */
.p-0 {
  padding: 0;
}

.p-xs {
  padding: var(--space-xs);
}

.p-sm {
  padding: var(--space-sm);
}

.p-md {
  padding: var(--space-md);
}

.p-lg {
  padding: var(--space-lg);
}

.p-xl {
  padding: var(--space-xl);
}

.p-2xl {
  padding: var(--space-2xl);
}

.px-md {
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

.px-lg {
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
}

.py-md {
  padding-top: var(--space-md);
  padding-bottom: var(--space-md);
}

.py-lg {
  padding-top: var(--space-lg);
  padding-bottom: var(--space-lg);
}

/* Width */
.w-full {
  width: 100%;
}

.w-auto {
  width: auto;
}

.w-screen {
  width: 100vw;
}

.max-w-full {
  max-width: 100%;
}

.min-w-0 {
  min-width: 0;
}

/* Height */
.h-full {
  height: 100%;
}

.h-auto {
  height: auto;
}

.h-screen {
  height: 100vh;
}

.min-h-screen {
  min-height: 100vh;
}

/* Overflow */
.overflow-hidden {
  overflow: hidden;
}

.overflow-auto {
  overflow: auto;
}

.overflow-scroll {
  overflow: scroll;
}

.overflow-x-hidden {
  overflow-x: hidden;
}

.overflow-y-auto {
  overflow-y: auto;
}

/* Z-Index */
.z-0 {
  z-index: 0;
}

.z-10 {
  z-index: 10;
}

.z-20 {
  z-index: 20;
}

.z-30 {
  z-index: 30;
}

.z-40 {
  z-index: 40;
}

.z-50 {
  z-index: 50;
}

.z-max {
  z-index: var(--z-max);
}

/* Cursor */
.cursor-pointer {
  cursor: pointer;
}

.cursor-not-allowed {
  cursor: not-allowed;
}

.cursor-default {
  cursor: default;
}

/* User Select */
.select-none {
  user-select: none;
}

.select-text {
  user-select: text;
}

.select-all {
  user-select: all;
}

/* Pointer Events */
.pointer-events-none {
  pointer-events: none;
}

.pointer-events-auto {
  pointer-events: auto;
}

/* Border */
.border {
  border: 1px solid var(--border);
}

.border-0 {
  border: none;
}

.border-t {
  border-top: 1px solid var(--border);
}

.border-b {
  border-bottom: 1px solid var(--border);
}

.border-l {
  border-left: 1px solid var(--border);
}

.border-r {
  border-right: 1px solid var(--border);
}

/* Border Radius */
.rounded-none {
  border-radius: 0;
}

.rounded-sm {
  border-radius: var(--radius-sm);
}

.rounded-md {
  border-radius: var(--radius-md);
}

.rounded-lg {
  border-radius: var(--radius-lg);
}

.rounded-xl {
  border-radius: var(--radius-xl);
}

.rounded-full {
  border-radius: 9999px;
}

/* Shadow */
.shadow-none {
  box-shadow: none;
}

.shadow-sm {
  box-shadow: var(--shadow-sm);
}

.shadow-md {
  box-shadow: var(--shadow-md);
}

.shadow-lg {
  box-shadow: var(--shadow-lg);
}

.shadow-xl {
  box-shadow: var(--shadow-xl);
}

.shadow-glow {
  box-shadow: var(--shadow-glow);
}

/* Backdrop Blur */
.backdrop-blur {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.backdrop-blur-lg {
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

/* Object Fit */
.object-contain {
  object-fit: contain;
}

.object-cover {
  object-fit: cover;
}

.object-fill {
  object-fit: fill;
}

/* Background */
.bg-transparent {
  background-color: transparent;
}

.bg-primary {
  background: var(--bg-primary);
}

.bg-secondary {
  background: var(--bg-secondary);
}

.bg-card {
  background: var(--bg-card);
}

.bg-gradient {
  background: var(--accent-gradient);
}

/* Text Transform */
.uppercase {
  text-transform: uppercase;
}

.lowercase {
  text-transform: lowercase;
}

.capitalize {
  text-transform: capitalize;
}

.normal-case {
  text-transform: none;
}

/* Letter Spacing */
.tracking-tight {
  letter-spacing: -0.025em;
}

.tracking-normal {
  letter-spacing: 0;
}

.tracking-wide {
  letter-spacing: 0.025em;
}

.tracking-wider {
  letter-spacing: 0.05em;
}

/* Line Height */
.leading-none {
  line-height: 1;
}

.leading-tight {
  line-height: 1.25;
}

.leading-normal {
  line-height: 1.5;
}

.leading-relaxed {
  line-height: 1.75;
}

.leading-loose {
  line-height: 2;
}

/* Whitespace */
.whitespace-normal {
  white-space: normal;
}

.whitespace-nowrap {
  white-space: nowrap;
}

.whitespace-pre {
  white-space: pre;
}

.whitespace-pre-wrap {
  white-space: pre-wrap;
}

/* Truncate */
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Word Break */
.break-normal {
  word-break: normal;
  overflow-wrap: normal;
}

.break-words {
  overflow-wrap: break-word;
}

.break-all {
  word-break: break-all;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: var(--space-3xl) var(--space-lg);
  color: var(--text-muted);
}

.empty-state-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-lg);
  opacity: 0.3;
}

.empty-state-title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

.empty-state-description {
  font-size: var(--font-size-base);
  color: var(--text-muted);
  max-width: 400px;
  margin: 0 auto var(--space-xl);
}

/* Loading State */
.loading-state {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2xl);
  color: var(--text-muted);
}

/* Divider */
.divider {
  height: 1px;
  background: var(--border);
  margin: var(--space-lg) 0;
}

.divider-vertical {
  width: 1px;
  height: auto;
  background: var(--border);
  margin: 0 var(--space-lg);
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  font-size: var(--font-size-xs);
  font-weight: 600;
  border-radius: 50px;
  white-space: nowrap;
}

.badge-primary {
  background: rgba(124, 58, 237, 0.15);
  color: var(--accent-1);
  border: 1px solid rgba(124, 58, 237, 0.3);
}

.badge-success {
  background: rgba(52, 211, 153, 0.15);
  color: var(--green);
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.badge-warning {
  background: rgba(251, 191, 36, 0.15);
  color: var(--amber);
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.badge-error {
  background: rgba(248, 113, 113, 0.15);
  color: var(--red);
  border: 1px solid rgba(248, 113, 113, 0.3);
}

.badge-info {
  background: rgba(34, 211, 238, 0.15);
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.3);
}

/* Avatar */
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  background: var(--accent-gradient);
  color: #fff;
  flex-shrink: 0;
}

.avatar-sm {
  width: 32px;
  height: 32px;
  font-size: var(--font-size-sm);
}

.avatar-lg {
  width: 56px;
  height: 56px;
  font-size: var(--font-size-xl);
}

.avatar-xl {
  width: 72px;
  height: 72px;
  font-size: var(--font-size-2xl);
}

/* Skeleton Loader */
.skeleton-text {
  height: 1em;
  background: var(--bg-card);
  border-radius: 4px;
  animation: shimmer 2s infinite linear;
}

.skeleton-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  animation: shimmer 2s infinite linear;
}

.skeleton-card {
  height: 200px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  animation: shimmer 2s infinite linear;
}

/* Noise Overlay */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
}

/* Background Orbs */
body::before,
body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  z-index: 0;
  pointer-events: none;
}

body::before {
  width: clamp(280px, 50vw, 600px);
  height: clamp(280px, 50vw, 600px);
  top: -10%;
  left: clamp(-60px, -5%, 0px);
  background: radial-gradient(circle, var(--orb1-color) 0%, transparent 70%);
  animation: orbFloat1 25s ease-in-out infinite;
}

body::after {
  width: clamp(220px, 45vw, 500px);
  height: clamp(220px, 45vw, 500px);
  bottom: -10%;
  right: clamp(-60px, -5%, 0px);
  background: radial-gradient(circle, var(--orb2-color) 0%, transparent 70%);
  animation: orbFloat2 20s ease-in-out infinite;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: rgba(124, 58, 237, 0.3);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(124, 58, 237, 0.5);
}

/* Firefox Scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(124, 58, 237, 0.3) var(--bg-secondary);
}


/* ===== pages\home.css ===== */
/* ===== Home Page Specific Styles ===== */

/* Announcement Bar */
.announce-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: calc(var(--z-fixed) + 1);
  background: var(--accent-gradient);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  font-size: var(--font-size-sm);
  color: #fff;
}

.announce-inner {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
}

.announce-badge {
  background: rgba(255, 255, 255, 0.25);
  padding: 4px 10px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.5px;
}

.announce-text {
  font-size: var(--font-size-sm);
  font-weight: 500;
}

.announce-text strong {
  font-weight: 700;
  text-decoration: underline;
}

.announce-sep {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.3);
}

.announce-close {
  position: absolute;
  right: 20px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.announce-close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}

/* Purchase Ticker */
.ticker-wrap {
  position: fixed;
  top: 48px;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  padding: 8px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.ticker-track {
  display: flex;
  gap: var(--space-3xl);
  animation: ticker 40s linear infinite;
  white-space: nowrap;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-size-xs);
  color: var(--text-secondary);
  flex-shrink: 0;
}

.ticker-item .emoji {
  font-size: 14px;
}

.ticker-item .name {
  font-weight: 600;
  color: var(--text-primary);
}

.ticker-item .action {
  color: var(--text-muted);
}

.ticker-item .package {
  color: var(--accent-2);
  font-weight: 600;
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  margin: var(--space-3xl) 0;
}

.feature-card {
  background: var(--bg-feature-banner);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  transition: all var(--transition-slow);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-lg);
  background: var(--accent-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  box-shadow: 0 8px 24px var(--accent-glow);
}

.feature-title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.feature-description {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Stats Section */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  margin: var(--space-2xl) 0;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
  margin: var(--space-2xl) 0;
}

/* Reviews Section */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-lg);
  margin: var(--space-2xl) 0;
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: var(--space-3xl) var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  margin: var(--space-3xl) 0;
}

.cta-title {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  margin-bottom: var(--space-md);
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-description {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto var(--space-xl);
}

.cta-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive Home */
@media (max-width: 768px) {
  .announce-bar {
    padding: 8px 16px;
    font-size: 11px;
  }

  .announce-sep {
    display: none;
  }

  .announce-close {
    right: 12px;
    width: 24px;
    height: 24px;
    font-size: 16px;
  }

  .ticker-wrap {
    top: 42px;
    padding: 6px 0;
  }

  .ticker-item {
    font-size: 10px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .feature-icon {
    width: 56px;
    height: 56px;
    font-size: 24px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .contact-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .cta-section {
    padding: var(--space-2xl) var(--space-lg);
  }

  .cta-title {
    font-size: var(--font-size-3xl);
  }

  .cta-description {
    font-size: var(--font-size-base);
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn {
    width: 100%;
  }
}

@media (max-width: 375px) {
  .announce-bar {
    padding: 6px 12px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Home Hero Split Layout ===== */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  gap: 40px;
}

.hero-left {
  flex: 1;
  max-width: 550px;
}

.hero-left h1 {
  font-size: clamp(34px, 5.5vw, 54px);
  margin-bottom: 20px;
  line-height: 1.08;
}

.hero-left p {
  margin: 0;
}

.hero-right {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 48px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.6);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s;
}

.cta-button:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 40px rgba(139, 92, 246, 0.8);
  color: #fff;
}

.mock-dash {
  width: 100%;
  max-width: 500px;
  background: rgba(15, 15, 25, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(124, 58, 237, 0.2);
  backdrop-filter: blur(20px);
  overflow: hidden;
  position: relative;
  z-index: 2;
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: transform 0.5s;
}

.mock-dash:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-10px);
}

.mock-dash-header {
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  padding: 0 16px;
}

.mock-dots {
  display: flex;
  gap: 6px;
}

.mock-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.mock-dots span:nth-child(1) {
  background: #ff5f56;
}

.mock-dots span:nth-child(2) {
  background: #ffbd2e;
}

.mock-dots span:nth-child(3) {
  background: #27c93f;
}

.mock-title {
  flex: 1;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.mock-dash-body {
  display: flex;
  height: 320px;
}

.mock-sidebar {
  width: 60px;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 16px;
  gap: 16px;
}

.mock-menu-item {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.mock-menu-item.active {
  background: var(--accent-gradient-btn);
  box-shadow: 0 0 15px var(--accent-glow);
}

.mock-menu-item.mt {
  margin-top: auto;
  margin-bottom: 20px;
}

.mock-content {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mock-top-cards {
  display: flex;
  gap: 12px;
}

.mock-card {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 12px;
}

.mock-card-title {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.mock-card-val {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}

.mock-card-val.mock-green {
  color: var(--green);
}

.mock-chart {
  height: 80px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
}

.mock-chart-bar {
  flex: 1;
  background: rgba(124, 58, 237, 0.5);
  border-radius: 4px 4px 0 0;
  animation: barGrow 2s ease-out;
}

.mock-terminal {
  flex: 1;
  background: #000;
  border-radius: 8px;
  padding: 12px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 10px;
  color: #a5a5c8;
  line-height: 1.6;
}

.mock-float {
  position: absolute;
  background: rgba(20, 20, 30, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 16px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  z-index: 3;
}

.mock-float-1 {
  top: 40px;
  right: -20px;
  animation: float1 6s ease-in-out infinite;
}

.mock-float-2 {
  bottom: 50px;
  left: -30px;
  animation: float2 5s ease-in-out infinite alternate;
}

.mock-guild-icon {
  width: 32px;
  height: 32px;
  background: var(--accent-gradient-btn);
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 auto;
}

@keyframes barGrow {
  from {
    transform: scaleY(0);
    transform-origin: bottom;
  }

  to {
    transform: scaleY(1);
    transform-origin: bottom;
  }
}

@keyframes float1 {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

@keyframes float2 {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(10px);
  }
}

@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-left {
    margin: 0 auto;
  }

  .hero-left p {
    margin: 0 auto;
  }

  .hero-right {
    width: 100%;
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  .hero-right {
    margin-top: 28px;
    min-height: auto;
  }

  .mock-dash {
    max-width: 100%;
    transform: none;
  }

  .mock-dash:hover {
    transform: translateY(-6px);
  }

  .mock-dash-body {
    height: auto;
    min-height: 280px;
  }

  .mock-sidebar {
    width: 50px;
  }

  .mock-content {
    padding: 14px;
    gap: 14px;
  }

  .mock-top-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .mock-card {
    min-width: 0;
    padding: 10px;
  }

  .mock-card-val {
    font-size: 16px;
  }

  .mock-chart {
    height: 72px;
    gap: 6px;
    padding: 8px;
  }

  .mock-terminal {
    min-height: 104px;
  }

  .mock-float {
    display: none;
  }

  .cta-button {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    padding: 16px 24px;
  }
}

@media (max-width: 480px) {
  .hero-right {
    margin-top: 24px;
  }

  .mock-dash {
    border-radius: 14px;
  }

  .mock-dash-header {
    padding: 0 12px;
  }

  .mock-title {
    font-size: 10px;
    letter-spacing: 0.4px;
  }

  .mock-dash-body {
    min-height: 244px;
  }

  .mock-sidebar {
    width: 44px;
    padding-top: 12px;
    gap: 12px;
  }

  .mock-menu-item {
    width: 26px;
    height: 26px;
  }

  .mock-content {
    padding: 12px;
    gap: 12px;
  }

  .mock-top-cards {
    grid-template-columns: 1fr;
  }

  .mock-card-title {
    font-size: 9px;
  }

  .mock-card-val {
    font-size: 15px;
  }

  .mock-chart {
    height: 64px;
  }

  .mock-terminal {
    min-height: 96px;
    font-size: 9px;
  }

  .hero h1 {
    font-size: 28px;
    letter-spacing: -1px;
  }

  .hero p {
    font-size: 14px;
  }
}

/* ===== Home Page Scoped Styles ===== */
.home-page .main {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 148px 28px 64px;
}

.home-page .hero {
  margin-bottom: 56px;
}

.home-page .hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.25);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-2);
  margin-bottom: 18px;
}

.home-page .hero-tag svg {
  width: 16px;
  height: 16px;
}

.home-page .hero h1 .gradient-text {
  background: var(--accent-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.home-page .hero-left p {
  max-width: 560px;
  color: var(--text-secondary);
  line-height: 1.75;
}

.home-page .stats-section {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 52px;
}

.home-page .stats-section .stat-card {
  background: var(--bg-stat-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.home-page .stats-section .stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 12px 30px rgba(124, 58, 237, 0.18);
}

.home-page .stats-section .stat-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.home-page .stats-section .stat-icon-green {
  background: rgba(52, 211, 153, 0.12);
  color: var(--green);
  border: 1px solid rgba(52, 211, 153, 0.24);
}

.home-page .stats-section .stat-icon-cyan {
  background: rgba(34, 211, 238, 0.12);
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.24);
}

.home-page .stats-section .stat-icon-amber {
  background: rgba(251, 191, 36, 0.12);
  color: var(--amber);
  border: 1px solid rgba(251, 191, 36, 0.24);
}

.home-page .stats-section .stat-icon-purple {
  background: rgba(139, 92, 246, 0.15);
  color: var(--accent-2);
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.home-page .stats-section .stat-value {
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--text-primary);
}

.home-page .stats-section .stat-label {
  font-size: 12px;
  margin-top: 2px;
  color: var(--text-muted);
  font-weight: 500;
}

.home-page .stats-section .stat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 4px;
  align-self: flex-start;
}

.home-page .stats-section .stat-dot.green {
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: homePulse 2s ease-in-out infinite;
}

.home-page .features-banner {
  background: var(--bg-feature-banner);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 34px;
  margin-bottom: 58px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 20px;
  flex-wrap: wrap;
}

.home-page .feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.home-page .features-banner .feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 92, 246, 0.14);
  color: var(--accent-2);
  border: 1px solid rgba(139, 92, 246, 0.25);
  flex: 0 0 auto;
}

.home-page .features-banner .feature-icon.feature-icon-green {
  background: rgba(52, 211, 153, 0.12);
  color: var(--green);
  border-color: rgba(52, 211, 153, 0.26);
}

.home-page .features-banner .feature-icon.feature-icon-cyan {
  background: rgba(34, 211, 238, 0.12);
  color: var(--cyan);
  border-color: rgba(34, 211, 238, 0.26);
}

.home-page .features-banner .feature-icon.feature-icon-amber {
  background: rgba(251, 191, 36, 0.12);
  color: var(--amber);
  border-color: rgba(251, 191, 36, 0.26);
}

.home-page .feature-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
}

.home-page .feature-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
  white-space: nowrap;
}

.home-page .feature-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.home-page .section-header {
  text-align: center;
  margin-bottom: 34px;
}

.home-page .section-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-2);
  margin-bottom: 14px;
}

.home-page .section-header h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1px;
  color: var(--text-primary);
}

.home-page .feedback-section {
  margin-bottom: 58px;
}

.home-page .reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.home-page .review-card {
  background: var(--bg-review-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.home-page .review-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  box-shadow: 0 12px 28px rgba(124, 58, 237, 0.16);
}

.home-page .review-stars {
  display: flex;
  gap: 3px;
}

.home-page .review-content {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
}

.home-page .review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.home-page .review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 auto;
}

.home-page .review-name {
  font-size: 13px;
  color: var(--text-primary);
  font-weight: 700;
}

.home-page .review-date {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.home-page .contact-section {
  margin-bottom: 58px;
}

.home-page .contact-card {
  background: var(--bg-contact-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
}

.home-page .contact-header {
  margin-bottom: 26px;
}

.home-page .contact-header h2 {
  font-size: clamp(24px, 3.4vw, 36px);
  line-height: 1.24;
  letter-spacing: -0.8px;
  margin-bottom: 10px;
}

.home-page .contact-desc {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 420px;
  margin: 0 auto;
}

.home-page .contact-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.home-page .contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 200px;
  padding: 16px 28px;
  border-radius: var(--radius-md);
  text-decoration: none;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-page .contact-btn:hover {
  transform: translateY(-3px);
}

.home-page .zalo-btn {
  background: linear-gradient(135deg, #0068ff 0%, #0052cc 100%);
  color: #fff;
  border-color: rgba(0, 104, 255, 0.3);
}

.home-page .zalo-btn:hover {
  box-shadow: 0 10px 28px rgba(0, 104, 255, 0.35);
}

.home-page .fb-btn {
  background: linear-gradient(135deg, #1877f2 0%, #0b5fcc 100%);
  color: #fff;
  border-color: rgba(24, 119, 242, 0.3);
}

.home-page .fb-btn:hover {
  box-shadow: 0 10px 28px rgba(24, 119, 242, 0.35);
}

.home-page .contact-btn-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.home-page .contact-btn-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 2px;
}

.home-page .contact-live-dot {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
  animation: homePulse 2s ease-in-out infinite;
}

.home-page .contact-note {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  line-height: 1.5;
}

.home-page .faq-section {
  margin: 0 auto 58px;
  max-width: 760px;
}

.home-page .faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.home-page .faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.home-page .faq-item.open {
  border-color: var(--accent-1);
}

.home-page .faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  background: none;
  border: none;
  text-align: left;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  transition: color 0.2s ease;
}

.home-page .faq-question:hover,
.home-page .faq-item.open .faq-question {
  color: var(--accent-2);
}

.home-page .faq-arrow {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.3s ease, color 0.3s ease;
}

.home-page .faq-item.open .faq-arrow {
  transform: rotate(180deg);
  color: var(--accent-2);
}

.home-page .faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.home-page .faq-item.open .faq-answer {
  max-height: 220px;
  padding: 0 20px 18px;
}

.home-page .faq-answer strong {
  color: var(--text-primary);
}

.home-page .uptime-section {
  max-width: 920px;
  margin: 0 auto 78px;
}

.home-page .uptime-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.home-page .uptime-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.home-page .uptime-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 10px 24px rgba(124, 58, 237, 0.14);
}

.home-page .u-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.home-page .u-val {
  font-family: 'Courier New', Courier, monospace;
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.home-page .u-progress {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  margin-bottom: 12px;
}

.home-page .u-bar {
  height: 100%;
  border-radius: 999px;
  transition: width 0.8s ease;
}

.home-page .u-sub {
  font-size: 12px;
  color: var(--text-muted);
}

.home-page .trust-strip {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.home-page .trust-inner {
  max-width: 940px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.home-page .trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--accent-2);
}

.home-page .trust-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}

.home-page .trust-sub {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 1px;
}

.home-page .trust-sep {
  width: 1px;
  height: 34px;
  background: var(--border);
}

.home-page .footer-v2 {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}

.home-page .footer-v2-top {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 28px 36px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
}

.home-page .footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.home-page .footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.home-page .footer-brand-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 300px;
}

.home-page .footer-socials {
  display: flex;
  gap: 10px;
}

.home-page .footer-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-page .footer-social-btn:hover {
  transform: translateY(-2px);
  border-color: var(--border-hover);
  box-shadow: 0 6px 14px rgba(124, 58, 237, 0.16);
}

.home-page .footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.home-page .footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.home-page .footer-col-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.home-page .footer-col-link {
  font-size: 13.5px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.home-page .footer-col-link:hover {
  color: var(--accent-2);
}

.home-page .footer-v2-bottom {
  border-top: 1px solid var(--border);
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.home-page .footer-copy-v2 {
  font-size: 13px;
  color: var(--text-muted);
}

.home-page .footer-status {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: var(--green);
  font-weight: 600;
}

.home-page .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: homePulse 2s ease-in-out infinite;
}

.home-page .float-zalo {
  position: fixed;
  right: 20px;
  bottom: 80px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #0068ff;
  color: #fff;
  text-decoration: none;
  padding: 10px 16px 10px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 6px 24px rgba(0, 104, 255, 0.4);
  animation: homeBounce 3s ease-in-out infinite;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-page .float-zalo:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 30px rgba(0, 104, 255, 0.52);
  animation: none;
}

.home-page .float-zalo-label {
  color: #fff;
}

.home-page .back-to-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 999;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
}

.home-page .back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.home-page .back-to-top:hover {
  background: var(--accent-gradient-btn);
  color: #fff;
  border-color: var(--accent-1);
  transform: translateY(-2px);
}

@keyframes homePulse {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.45;
  }
}

@keyframes homeBounce {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@media (max-width: 900px) {
  .home-page .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .home-page .main {
    padding: 138px 16px 48px;
  }

  .home-page .hero {
    margin-bottom: 38px;
  }

  .home-page .stats-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 34px;
  }

  .home-page .stats-section .stat-card {
    padding: 14px;
    gap: 10px;
  }

  .home-page .stats-section .stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .home-page .stats-section .stat-value {
    font-size: 18px;
  }

  .home-page .features-banner {
    padding: 18px;
    margin-bottom: 36px;
  }

  .home-page .feature-divider {
    display: none;
  }

  .home-page .feature-item {
    width: calc(50% - 7px);
  }

  .home-page .feature-title,
  .home-page .feature-desc {
    white-space: normal;
  }

  .home-page .reviews-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .home-page .contact-card {
    padding: 24px 16px;
  }

  .home-page .contact-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .home-page .contact-btn {
    min-width: unset;
  }

  .home-page .contact-note {
    border-radius: 12px;
    text-align: left;
  }

  .home-page .uptime-cards {
    grid-template-columns: 1fr;
  }

  .home-page .trust-sep {
    display: none;
  }

  .home-page .trust-item {
    width: calc(50% - 9px);
  }

  .home-page .footer-v2-top {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 32px 20px 20px;
  }
}

@media (max-width: 480px) {
  .home-page .main {
    padding: 124px 12px 40px;
  }

  .home-page .hero h1 {
    font-size: 30px;
    letter-spacing: -1px;
  }

  .home-page .hero-left p {
    font-size: 14px;
  }

  .home-page .feature-item {
    width: 100%;
  }

  .home-page .section-header h2,
  .home-page .contact-header h2 {
    font-size: 22px;
  }

  .home-page .footer-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-page .float-zalo {
    right: 14px;
    bottom: 76px;
    padding: 9px 12px;
  }

  .home-page .float-zalo-label {
    display: none;
  }
}

/* ===== Home Polish V2 ===== */
.home-page {
  --home-accent-a: #0ea5e9;
  --home-accent-b: #14b8a6;
  --home-accent-c: #22d3ee;
  --home-surface-a: rgba(7, 16, 34, 0.76);
  --home-surface-b: rgba(11, 28, 47, 0.62);
  --home-border-strong: rgba(103, 232, 249, 0.22);
  --home-shadow: 0 20px 46px rgba(2, 12, 27, 0.46);
}

.home-page .main {
  isolation: isolate;
  overflow: visible;
}

.home-page .main::before,
.home-page .main::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(40px);
  pointer-events: none;
  z-index: -1;
}

.home-page .main::before {
  width: 420px;
  height: 420px;
  top: 140px;
  right: -180px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.22) 0%, rgba(56, 189, 248, 0) 70%);
}

.home-page .main::after {
  width: 360px;
  height: 360px;
  top: 560px;
  left: -160px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.2) 0%, rgba(20, 184, 166, 0) 72%);
}

.home-page .hero {
  margin-bottom: 64px;
  gap: 54px;
  align-items: stretch;
}

.home-page .hero-left {
  padding: 34px 34px 30px;
  border-radius: 26px;
  border: 1px solid var(--home-border-strong);
  background: linear-gradient(150deg, var(--home-surface-a), var(--home-surface-b));
  box-shadow: var(--home-shadow);
}

.home-page .hero-left h1 {
  letter-spacing: -1.2px;
}

.home-page .hero-left p {
  max-width: none;
  font-size: 16px;
}

.home-page .hero h1 .gradient-text {
  background: linear-gradient(120deg, var(--home-accent-a), var(--home-accent-c), var(--home-accent-b));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.home-page .cta-button {
  border: 1px solid rgba(125, 211, 252, 0.34);
  background: linear-gradient(135deg, #0284c7, #06b6d4);
  box-shadow: 0 14px 34px rgba(3, 105, 161, 0.44);
}

.home-page .cta-button:hover {
  box-shadow: 0 16px 42px rgba(2, 132, 199, 0.56);
}

.home-page .hero-right {
  min-height: 430px;
}

.home-page .mock-dash {
  max-width: 560px;
  border-radius: 20px;
  border: 1px solid var(--home-border-strong);
  background: linear-gradient(160deg, rgba(8, 16, 30, 0.88), rgba(13, 26, 44, 0.78));
  transform: perspective(1400px) rotateY(-6deg) rotateX(4deg);
}

.home-page .mock-dash:hover {
  transform: perspective(1400px) rotateY(-2deg) rotateX(1deg) translateY(-8px);
}

.home-page .mock-dash-header {
  height: 46px;
}

.home-page .mock-chart-bar {
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.95), rgba(14, 165, 233, 0.78));
}

.home-page .mock-float {
  border: 1px solid rgba(125, 211, 252, 0.24);
  background: rgba(7, 21, 36, 0.86);
}

.home-page .stats-section {
  gap: 16px;
  margin-bottom: 56px;
}

.home-page .stats-section .stat-card {
  border-radius: 18px;
  padding: 20px 18px;
}

.home-page .stats-section .stat-value {
  font-size: 24px;
}

.home-page .features-banner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
  padding: 16px;
  border-radius: 20px;
  margin-bottom: 62px;
}

.home-page .feature-divider {
  display: none;
}

.home-page .feature-item {
  border: 1px solid rgba(125, 211, 252, 0.14);
  border-radius: 14px;
  background: rgba(7, 17, 31, 0.5);
  padding: 14px 12px;
  align-items: center;
  min-height: 94px;
}

.home-page .feature-item > div:last-child {
  min-width: 0;
}

.home-page .feature-title {
  white-space: normal;
}

.home-page .feature-desc {
  white-space: normal;
}

.home-page .feedback-section,
.home-page .contact-section,
.home-page .faq-section {
  margin-bottom: 62px;
}

.home-page .reviews-grid {
  gap: 20px;
}

.home-page .review-card {
  border-radius: 18px;
  background: linear-gradient(165deg, rgba(9, 20, 37, 0.8), rgba(14, 27, 47, 0.7));
}

.home-page .review-content {
  font-size: 14.5px;
}

.home-page .contact-card {
  border-radius: 24px;
  padding: 38px 30px;
  background: linear-gradient(170deg, rgba(7, 16, 33, 0.84), rgba(10, 24, 41, 0.72));
  box-shadow: var(--home-shadow);
}

.home-page .contact-note {
  border-radius: 14px;
}

.home-page .faq-item {
  border-radius: 16px;
}

.home-page .faq-question {
  padding: 19px 22px;
}

.home-page .uptime-section {
  margin-bottom: 82px;
}

.home-page .uptime-card {
  border-radius: 18px;
  background: linear-gradient(165deg, rgba(8, 20, 36, 0.84), rgba(12, 27, 46, 0.72));
}

.home-page .u-val {
  color: #e0f2fe;
}

.home-page .trust-strip {
  background: linear-gradient(180deg, rgba(8, 16, 33, 0.84), rgba(7, 15, 28, 0.92));
}

.home-page .footer-v2 {
  background: linear-gradient(180deg, rgba(7, 15, 28, 0.96), rgba(6, 13, 24, 1));
}

.home-page .footer-v2-top {
  gap: 52px;
}

@media (max-width: 1100px) {
  .home-page .hero {
    flex-direction: column;
    gap: 24px;
  }

  .home-page .hero-left,
  .home-page .hero-right {
    width: 100%;
    max-width: 100%;
  }

  .home-page .hero-left p {
    max-width: 620px;
  }

  .home-page .features-banner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .home-page .hero-left {
    padding: 24px 20px 22px;
    border-radius: 20px;
  }

  .home-page .mock-dash {
    transform: none;
  }

  .home-page .mock-dash:hover {
    transform: translateY(-4px);
  }

  .home-page .features-banner {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .home-page .feature-item {
    width: 100%;
    min-height: 86px;
  }

  .home-page .review-card {
    border-radius: 16px;
  }

  .home-page .contact-card {
    border-radius: 18px;
    padding: 24px 16px;
  }

  .home-page .trust-item {
    width: calc(50% - 8px);
  }
}

@media (max-width: 480px) {
  .home-page .hero-left {
    padding: 20px 16px 18px;
    border-radius: 16px;
  }

  .home-page .stats-section .stat-card {
    padding: 12px;
    gap: 8px;
    border-radius: 14px;
  }

  .home-page .stats-section .stat-value {
    font-size: 17px;
  }

  .home-page .contact-btn {
    padding: 13px 16px;
    min-width: 0;
  }

  .home-page .u-val {
    font-size: 24px;
  }
}

/* ===== Home Refinement V3 ===== */
.home-page {
  --home-bg: #060b1a;
  --home-card: #0d1530;
  --home-primary: #22c1ff;
  --home-secondary: #8b5cf6;
  --home-text: #f5f7ff;
  --home-muted: #aab4d6;
  --home-border: rgba(255, 255, 255, 0.08);
  --home-soft-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.home-page {
  font-size: 16px;
  line-height: 1.6;
  color: var(--home-text);
  background: var(--home-bg);
}

.home-page p,
.home-page .muted,
.home-page .feature-desc,
.home-page .review-date,
.home-page .contact-desc,
.home-page .u-sub,
.home-page .trust-sub,
.home-page .footer-copy-v2,
.home-page .footer-col-link,
.home-page .footer-brand-desc {
  color: var(--home-muted);
}

.home-page h1,
.home-page h2,
.home-page h3 {
  color: var(--home-text);
}

.home-page a:focus-visible,
.home-page button:focus-visible {
  outline: 2px solid var(--home-primary);
  outline-offset: 2px;
}

.home-page .header {
  padding: 16px 28px;
  background: rgba(6, 11, 26, 0.88);
  border-bottom: 1px solid var(--home-border);
}

.home-page .header-actions {
  gap: 16px;
}

.home-page .header-nav {
  gap: 12px;
}

.home-page .header-nav a {
  font-size: 15px;
  font-weight: 600;
  padding: 10px 16px;
  border: 1px solid transparent;
  color: var(--home-muted);
}

.home-page .header-nav a:hover {
  color: var(--home-text);
  background: rgba(34, 193, 255, 0.08);
  border-color: rgba(34, 193, 255, 0.18);
}

.home-page .header-nav a.active {
  color: var(--home-text);
  background: rgba(34, 193, 255, 0.16);
  border-color: rgba(34, 193, 255, 0.34);
  box-shadow: inset 0 0 0 1px rgba(34, 193, 255, 0.08);
}

.home-page .header-nav a:active {
  transform: translateY(1px);
}

.home-page .header-badge {
  padding: 8px 14px;
  font-size: 13px;
  color: #c7d8ff;
  background: rgba(139, 92, 246, 0.12);
  border-color: rgba(139, 92, 246, 0.24);
}

.home-page .header-badge::before {
  background: var(--home-secondary);
  box-shadow: 0 0 6px rgba(139, 92, 246, 0.6);
}

.home-page .header-utility-group {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border: 1px solid var(--home-border);
  border-radius: 14px;
  background: rgba(13, 21, 48, 0.45);
}

.home-page .header-user-area {
  gap: 10px;
  padding-left: 8px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.home-page #headerWalletChip {
  padding: 7px 13px;
}

.home-page #headerBell,
.home-page #headerAvatar {
  width: 38px !important;
  height: 38px !important;
}

.home-page .hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(28px, 4vw, 48px);
  margin-bottom: 0;
}

.home-page .hero-left {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(180deg, rgba(13, 21, 48, 0.95), rgba(9, 14, 34, 0.95));
  border-color: var(--home-border);
  box-shadow: var(--home-soft-shadow);
}

.home-page .hero-left h1 {
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.14;
  letter-spacing: -0.9px;
  margin-bottom: 20px;
}

.home-page .hero-left p {
  font-size: 16px;
  line-height: 1.75;
  margin-top: 0;
  margin-bottom: 0;
}

.home-page .hero h1 .gradient-text {
  background: linear-gradient(130deg, var(--home-primary), var(--home-secondary));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.home-page .cta-button {
  min-height: 58px;
  padding: 18px 50px;
  border-radius: 16px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.2px;
  border: 1px solid rgba(34, 193, 255, 0.34);
  background: linear-gradient(135deg, #0ea5e9, #22c1ff);
  box-shadow: 0 12px 28px rgba(14, 165, 233, 0.22);
}

.home-page .cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(14, 165, 233, 0.3);
}

.home-page .cta-button:active {
  transform: translateY(-1px);
}

.home-page .hero-right {
  min-height: 100%;
  display: flex;
  align-items: center;
}

.home-page .mock-dash {
  width: 100%;
  max-width: 520px;
  background: linear-gradient(180deg, rgba(13, 21, 48, 0.95), rgba(9, 14, 34, 0.95));
  border: 1px solid var(--home-border);
  box-shadow: var(--home-soft-shadow);
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
}

.home-page .mock-dash:hover {
  transform: perspective(1200px) rotateY(-1deg) rotateX(1deg) translateY(-5px);
}

.home-page .main::before,
.home-page .main::after {
  filter: blur(26px);
  opacity: 0.55;
}

.home-page main > section {
  margin: 0;
}

.home-page main > section + section {
  margin-top: clamp(64px, 8vw, 104px);
}

.home-page .stats-section,
.home-page .features-banner,
.home-page .feedback-section,
.home-page .contact-section,
.home-page .faq-section,
.home-page .uptime-section {
  margin-bottom: 0;
}

.home-page .stats-section {
  gap: 20px;
}

.home-page .stats-section .stat-card {
  padding: 24px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(12, 18, 40, 0.9);
  box-shadow: none;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.home-page .stats-section .stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 193, 255, 0.35);
  box-shadow: 0 10px 28px rgba(34, 193, 255, 0.12);
}

.home-page .stats-section .stat-card:first-child {
  border-color: rgba(34, 193, 255, 0.36);
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.12), rgba(12, 18, 40, 0.9));
}

.home-page .stats-section .stat-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
}

.home-page .stats-section .stat-label {
  font-size: 13px;
}

.home-page .features-banner {
  backdrop-filter: blur(8px);
  border: 1px solid var(--home-border);
  box-shadow: none;
}

.home-page .feature-item {
  background: linear-gradient(180deg, rgba(13, 21, 48, 0.9), rgba(10, 16, 35, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.home-page .feature-title {
  font-size: 15px;
}

.home-page .feature-desc {
  font-size: 13px;
}

.home-page .review-card {
  border: 1px solid var(--home-border);
  background: linear-gradient(180deg, rgba(13, 21, 48, 0.9), rgba(10, 16, 35, 0.9));
  backdrop-filter: blur(8px);
  box-shadow: none;
  gap: 16px;
}

.home-page .review-stars {
  gap: 5px;
}

.home-page .review-stars svg {
  width: 15px;
  height: 15px;
}

.home-page .review-content {
  font-size: 15px;
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-page .review-author {
  padding-top: 14px;
  gap: 14px;
}

.home-page .review-avatar {
  width: 42px;
  height: 42px;
}

.home-page .review-name {
  font-size: 14px;
}

.home-page .faq-item {
  border: 1px solid var(--home-border);
  border-radius: 16px;
  background: rgba(12, 18, 40, 0.74);
}

.home-page .faq-question {
  padding: 20px;
  font-size: 16px;
  min-height: 62px;
}

.home-page .faq-answer {
  font-size: 15px;
  line-height: 1.7;
  transition: max-height 0.35s ease, padding 0.35s ease, background 0.25s ease;
}

.home-page .faq-item.open .faq-answer {
  max-height: 260px;
  padding: 2px 20px 20px;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.home-page .contact-card,
.home-page .uptime-card {
  backdrop-filter: blur(8px);
  box-shadow: none;
  border-color: var(--home-border);
  background: linear-gradient(180deg, rgba(13, 21, 48, 0.92), rgba(9, 14, 34, 0.92));
}

.home-page .footer-v2 {
  border-top-color: rgba(255, 255, 255, 0.12);
}

.home-page .footer-col-link:hover {
  color: var(--home-primary);
}

.home-page .footer-col-title {
  color: #dbe7ff;
  font-size: 12px;
  letter-spacing: 0.7px;
}

.home-page .footer-copy-v2 {
  color: #b9c7e8;
}

@media (max-width: 992px) {
  .home-page .hero {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .home-page .hero-right {
    min-height: auto;
  }

  .home-page .mock-dash {
    max-width: 100%;
    transform: none;
  }

  .home-page .stats-section,
  .home-page .features-banner,
  .home-page .reviews-grid,
  .home-page .footer-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-page .header {
    padding: 14px 20px;
  }

  .home-page .header-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}

@media (max-width: 640px) {
  .home-page .header {
    padding: 12px 14px;
  }

  .home-page .header-actions {
    gap: 10px;
  }

  .home-page .header-utility-group {
    gap: 8px;
    padding: 5px 6px;
  }

  .home-page .header-user-area {
    padding-left: 6px;
    gap: 8px;
  }

  .home-page .stats-section,
  .home-page .features-banner,
  .home-page .reviews-grid,
  .home-page .footer-cols {
    grid-template-columns: 1fr;
  }

  .home-page .hero-left h1 {
    font-size: 32px;
  }

  .home-page .cta-button {
    width: 100%;
    padding-inline: 22px;
  }

  .home-page .stats-section .stat-card {
    padding: 18px;
  }

  .home-page .footer-v2-top {
    padding-inline: 14px;
  }
}

/* ===== Mobile Fixes - Terminal & Hero ===== */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
  }

  .hero-left {
    order: 1;
    text-align: center;
  }

  .hero-right {
    order: 2;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .mock-dash {
    max-width: 340px;
    margin: 0 auto;
  }

  .mock-dash-body {
    height: auto;
    min-height: 220px;
  }

  .mock-terminal {
    font-size: 8px;
    padding: 8px;
    min-height: 70px;
  }

  .mock-terminal div {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .home-page .mock-dash {
    max-width: 320px;
  }

  .home-page .mock-dash-body {
    height: auto;
    min-height: 200px;
  }

  .home-page .mock-terminal {
    font-size: 8px;
    min-height: 60px;
  }
}

@media (max-width: 480px) {
  .mock-dash {
    max-width: 100%;
  }

  .mock-dash-body {
    min-height: 180px;
  }

  .mock-terminal {
    font-size: 7px;
    min-height: 56px;
    padding: 6px;
  }

  .home-page .mock-dash {
    max-width: 100%;
  }

  .home-page .mock-dash-body {
    min-height: 170px;
  }

  .home-page .mock-terminal {
    font-size: 7px;
    min-height: 50px;
  }
}


/* ===== pages\store.css ===== */
/* ===== Store Page Specific Styles ===== */

/* Store Header */
.store-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
  padding: var(--space-xl) 0;
}

.store-title {
  font-size: var(--font-size-4xl);
  font-weight: 900;
  margin-bottom: var(--space-sm);
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.store-subtitle {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Package Filters */
.package-filters {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
}

.filter-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
}

.filter-btn.active {
  background: var(--accent-gradient-btn);
  color: #fff;
  border-color: var(--accent-1);
}

/* Package Comparison Table */
.comparison-table-wrapper {
  overflow-x: auto;
  margin: var(--space-3xl) 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.comparison-table {
  width: 100%;
  min-width: 800px;
}

.comparison-table thead th {
  background: rgba(0, 0, 0, 0.3);
  padding: var(--space-lg);
  text-align: center;
}

.comparison-table tbody td {
  text-align: center;
  padding: var(--space-md);
  border-bottom: 1px solid var(--border-subtle);
}

.comparison-table tbody td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--text-primary);
}

.comparison-table .check-icon {
  color: var(--green);
  font-size: 20px;
}

.comparison-table .cross-icon {
  color: var(--text-muted);
  opacity: 0.3;
  font-size: 20px;
}

/* FAQ Section */
.faq-section {
  margin: var(--space-3xl) 0;
}

.faq-title {
  text-align: center;
  font-size: var(--font-size-3xl);
  font-weight: 800;
  margin-bottom: var(--space-2xl);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item:hover {
  border-color: var(--border-hover);
}

.faq-question {
  width: 100%;
  padding: var(--space-lg);
  text-align: left;
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.02);
}

.faq-icon {
  font-size: 20px;
  transition: transform var(--transition-base);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-content {
  padding: 0 var(--space-lg) var(--space-lg);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Trust Badges */
.trust-badges {
  display: flex;
  justify-content: center;
  gap: var(--space-2xl);
  margin: var(--space-3xl) 0;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.trust-badge-icon {
  width: 48px;
  height: 48px;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 24px;
}

.trust-badge-text {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--text-secondary);
}

/* Responsive Store */
@media (max-width: 768px) {
  .store-header {
    margin-bottom: var(--space-xl);
    padding: var(--space-lg) 0;
  }

  .store-title {
    font-size: var(--font-size-3xl);
  }

  .store-subtitle {
    font-size: var(--font-size-base);
  }

  .package-filters {
    gap: var(--space-xs);
  }

  .filter-btn {
    padding: 8px 16px;
    font-size: 12px;
  }

  .comparison-table-wrapper {
    border-radius: var(--radius-md);
  }

  .faq-question {
    padding: var(--space-md);
    font-size: var(--font-size-sm);
  }

  .faq-answer-content {
    padding: 0 var(--space-md) var(--space-md);
    font-size: var(--font-size-sm);
  }

  .trust-badges {
    gap: var(--space-xl);
  }

  .trust-badge-icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .trust-badge-text {
    font-size: 12px;
  }
}


/* ===== pages\auth.css ===== */
/* ===== Authentication Pages (Login, Register, Forgot Password) ===== */

/* Auth Page Layout */
.auth-page {
  position: relative;
  z-index: var(--z-base, 1);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl, 24px);
}

/* Auth Card */
.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl, 20px);
  padding: 44px 36px;
  position: relative;
  overflow: hidden;
  animation: modalIn 0.5s ease;
  box-shadow: var(--shadow-xl, 0 20px 50px rgba(0, 0, 0, 0.25));
}

.auth-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--accent-gradient);
}

/* Auth Logo */
.auth-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: var(--space-2xl, 32px);
  text-decoration: none;
}

.auth-logo .logo-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-gradient-btn);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  box-shadow: 0 8px 24px var(--accent-glow, rgba(124, 58, 237, 0.28));
  overflow: hidden;
}

.auth-logo .logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.auth-logo .logo-text {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-primary);
}

.auth-logo .logo-text span {
  color: var(--accent-2);
}

/* Auth Title */
.auth-title {
  text-align: center;
  font-size: var(--font-size-3xl, 28px);
  font-weight: 800;
  margin-bottom: var(--space-xs, 6px);
  color: var(--text-primary);
}

.auth-subtitle {
  text-align: center;
  font-size: var(--font-size-base, 15px);
  color: var(--text-muted);
  margin-bottom: var(--space-2xl, 32px);
  line-height: 1.6;
}

/* Auth Tabs */
.auth-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: var(--space-xl, 24px);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  padding: 4px;
  border: 1px solid var(--border);
}

.auth-tab {
  flex: 1;
  padding: 12px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: var(--font-size-base, 15px);
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-base, 0.25s ease);
}

.auth-tab:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
}

.auth-tab.active {
  background: var(--accent-gradient-btn);
  color: #fff;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

/* Auth Form */
.auth-form {
  display: none;
  margin-bottom: var(--space-lg, 18px);
}

.auth-form.active {
  display: block;
  animation: fadeInUp 0.3s ease;
}

/* Input */
.auth-input {
  position: relative;
  margin-bottom: 16px;
}

.auth-input > svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  stroke: var(--text-muted);
  fill: none;
  stroke-width: 2;
  pointer-events: none;
  transition: stroke var(--transition-base, 0.25s ease);
}

.auth-input input {
  width: 100%;
  height: 52px;
  padding: 0 16px 0 44px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: var(--font-size-base, 15px);
  outline: none;
  transition: all var(--transition-base, 0.25s ease);
}

.auth-input input::placeholder {
  color: var(--text-muted);
}

.auth-input input:focus {
  border-color: var(--accent-1);
  background: rgba(124, 58, 237, 0.04);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}

.auth-input input.error {
  border-color: rgba(248, 113, 113, 0.5) !important;
  background: rgba(248, 113, 113, 0.04) !important;
  box-shadow: none !important;
}

.auth-input:focus-within > svg,
.auth-input input:focus ~ svg {
  stroke: var(--accent-2);
}

/* Toggle password */
.auth-input .toggle-pw {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base, 0.25s ease);
}

.auth-input .toggle-pw:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

.auth-input .toggle-pw svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  pointer-events: none;
}

.auth-input.has-toggle input {
  padding-right: 48px;
}

/* Hide browser eye */
.auth-input input[type="password"]::-ms-reveal,
.auth-input input[type="password"]::-ms-clear {
  display: none !important;
}

.auth-input input::-webkit-credentials-auto-fill-button,
.auth-input input::-webkit-password-was-exposed-button {
  display: none !important;
  visibility: hidden;
}

/* Captcha row */
.auth-captcha-row {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}

.auth-captcha-field {
  flex: 1;
  position: relative;
}

.auth-captcha-box {
  width: 120px;
  min-width: 120px;
  height: 52px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
}

.auth-captcha-box svg,
.auth-captcha-box img,
.auth-captcha-box canvas {
  max-width: 100%;
  max-height: 100%;
  display: block;
}

/* Primary button */
.btn-primary {
  width: 100%;
  height: 52px;
  border: none;
  border-radius: 12px;
  background: var(--accent-gradient-btn);
  color: #fff;
  font-size: var(--font-size-base, 15px);
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    transform var(--transition-base, 0.25s ease),
    box-shadow var(--transition-base, 0.25s ease),
    opacity var(--transition-base, 0.25s ease);
  box-shadow: 0 10px 24px rgba(124, 58, 237, 0.28);
  overflow: hidden;
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 55%);
  pointer-events: none;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(124, 58, 237, 0.35);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary:disabled,
.btn-primary.loading {
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.95;
}

.btn-primary .btn-text {
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.btn-primary .spinner {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-top-color: #fff;
  border-radius: 50%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  animation: spin .7s linear infinite;
}

.btn-primary.loading .btn-text {
  opacity: 0;
  transform: translateY(4px);
}

.btn-primary.loading .spinner {
  opacity: 1;
  visibility: visible;
}

/* Divider */
.auth-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: var(--space-xl, 24px) 0;
  width: 100%;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.auth-divider span {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 2px;
  color: var(--text-muted);
  font-size: var(--font-size-sm, 13px);
  text-transform: uppercase;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

/* Google Button */
.btn-google {
  width: 100%;
  height: 52px;
  padding: 0 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: var(--font-size-base, 15px);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all var(--transition-base, 0.25s ease);
}

.btn-google:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-hover, var(--border));
  transform: translateY(-1px);
}

/* Auth Footer */
.auth-footer {
  text-align: center;
  font-size: var(--font-size-sm, 13px);
  color: var(--text-secondary, var(--text-muted));
  margin-top: var(--space-lg, 18px);
}

.auth-footer a {
  color: var(--accent-2);
  font-weight: 600;
  text-decoration: none;
}

.auth-footer a:hover {
  color: var(--accent-1);
  text-decoration: underline;
}

/* Message */
.auth-success {
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.3);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--green, #34d399);
  font-size: var(--font-size-base, 15px);
  margin-bottom: 16px;
  text-align: center;
}

.auth-error {
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.3);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--red, #f87171);
  font-size: var(--font-size-base, 15px);
  margin-bottom: 16px;
  text-align: center;
}

/* Loading overlay */
.auth-loading {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xl, 20px);
  z-index: 10;
}

/* Back home */
.back-home {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
}

.back-home:hover {
  color: var(--text-primary);
}

/* Theme toggle wrap */
.auth-theme-toggle {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 10;
}

/* Animation */
@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .auth-page {
    padding: var(--space-lg, 18px);
  }

  .auth-card {
    max-width: 100%;
    padding: 36px 28px;
    border-radius: var(--radius-lg, 16px);
  }

  .auth-logo .logo-icon {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }

  .auth-logo .logo-text {
    font-size: 24px;
  }

  .auth-title {
    font-size: var(--font-size-2xl, 24px);
  }

  .auth-subtitle {
    font-size: var(--font-size-sm, 13px);
  }

  .auth-tabs {
    margin-bottom: var(--space-lg, 18px);
  }

  .auth-tab {
    padding: 10px;
    font-size: var(--font-size-sm, 13px);
  }
}

@media (max-width: 480px) {
  .auth-captcha-row {
    flex-direction: column;
  }

  .auth-captcha-box {
    width: 100%;
    min-width: 100%;
  }
}

@media (max-width: 375px) {
  .auth-card {
    padding: 28px 20px;
  }
}


/* ===== pages\admin.css ===== */
/* ===== Admin Dashboard Page ===== */

/* Admin Layout */
.admin-layout {
  display: flex;
  min-height: 100vh;
  background: var(--bg-primary);
}

/* Admin Sidebar */
.admin-sidebar {
  width: 260px;
  background: var(--bg-secondary);
  border-right: 1px solid var(--border);
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: var(--z-sticky);
  overflow-y: auto;
  transition: transform var(--transition-slow);
}

.admin-sidebar-header {
  padding: var(--space-xl) var(--space-lg);
  border-bottom: 1px solid var(--border);
}

.admin-sidebar-nav {
  padding: var(--space-lg) 0;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: 12px var(--space-lg);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: var(--font-size-base);
  font-weight: 600;
  transition: all var(--transition-base);
  border-left: 3px solid transparent;
}

.admin-nav-item:hover {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
}

.admin-nav-item.active {
  background: rgba(124, 58, 237, 0.1);
  color: var(--accent-1);
  border-left-color: var(--accent-1);
}

.admin-nav-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.admin-nav-label {
  flex: 1;
}

.admin-nav-badge {
  padding: 2px 8px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 50px;
}

/* Admin Content Area */
.admin-content {
  flex: 1;
  margin-left: 260px;
  padding: var(--space-xl) var(--space-2xl);
  min-height: 100vh;
}

/* Admin Header */
.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.admin-header-title {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
}

.admin-header-subtitle {
  font-size: var(--font-size-base);
  color: var(--text-muted);
  margin-top: var(--space-xs);
}

.admin-header-actions {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
}

/* Dashboard Stats Grid */
.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.dashboard-stat-card {
  background: var(--bg-stat-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.dashboard-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.dashboard-stat-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.dashboard-stat-card:hover::before {
  opacity: 1;
}

.stat-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-md);
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.stat-icon.primary {
  background: rgba(124, 58, 237, 0.15);
  color: var(--accent-1);
}

.stat-icon.success {
  background: rgba(52, 211, 153, 0.15);
  color: var(--green);
}

.stat-icon.warning {
  background: rgba(251, 191, 36, 0.15);
  color: var(--amber);
}

.stat-icon.danger {
  background: rgba(248, 113, 113, 0.15);
  color: var(--red);
}

.stat-icon.info {
  background: rgba(34, 211, 238, 0.15);
  color: var(--cyan);
}

.stat-body {
  flex: 1;
}

.stat-label {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-value {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.stat-change {
  font-size: var(--font-size-sm);
  display: flex;
  align-items: center;
  gap: 4px;
}

.stat-change.positive {
  color: var(--green);
}

.stat-change.negative {
  color: var(--red);
}

/* Admin Card */
.admin-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-lg);
}

.admin-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border);
}

.admin-card-title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.admin-card-actions {
  display: flex;
  gap: var(--space-sm);
}

/* Code List (Admin) */
.code-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.code-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.code-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
}

.code-info {
  flex: 1;
}

.code-value {
  font-family: 'Courier New', monospace;
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--accent-2);
  margin-bottom: var(--space-xs);
}

.code-meta {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
}

.code-actions {
  display: flex;
  gap: var(--space-sm);
}

/* Quick Actions */
.quick-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.quick-action-btn {
  padding: var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
}

.quick-action-btn:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.quick-action-icon {
  font-size: 32px;
  margin-bottom: var(--space-sm);
}

.quick-action-label {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--text-primary);
}

/* Sidebar Toggle (Mobile) */
.sidebar-toggle {
  display: none;
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-gradient-btn);
  color: #fff;
  border: none;
  box-shadow: 0 8px 24px var(--accent-glow);
  z-index: var(--z-fixed);
  cursor: pointer;
  transition: all var(--transition-base);
}

.sidebar-toggle:hover {
  transform: scale(1.1);
}

/* Responsive Admin */
@media (max-width: 1024px) {
  .admin-sidebar {
    width: 240px;
  }

  .admin-content {
    margin-left: 240px;
    padding: var(--space-lg) var(--space-xl);
  }

  .dashboard-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* Hide sidebar by default on mobile */
  .admin-sidebar {
    transform: translateX(-100%);
  }

  .admin-sidebar.open {
    transform: translateX(0);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.3);
  }

  .admin-content {
    margin-left: 0;
    padding: var(--space-lg);
  }

  .sidebar-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .admin-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-header-title {
    font-size: var(--font-size-3xl);
  }

  .dashboard-stats {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .stat-value {
    font-size: var(--font-size-3xl);
  }

  .quick-actions {
    grid-template-columns: repeat(2, 1fr);
  }

  .code-item {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }

  .code-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 375px) {
  .admin-content {
    padding: var(--space-md);
  }

  .dashboard-stats {
    gap: var(--space-sm);
  }

  .dashboard-stat-card {
    padding: var(--space-lg);
  }

  .quick-actions {
    grid-template-columns: 1fr;
  }
}

/* Admin Sidebar Overlay (Mobile) */
.admin-sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-modal-overlay);
  z-index: calc(var(--z-sticky) - 1);
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.admin-sidebar-overlay.active {
  display: block;
  opacity: 1;
}


/* ===== pages\dashboard.css ===== */
:root {
    --sidebar-width: 248px;
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-xl: 24px;

    --bg: #070b17;
    --bg-elevated: #0d1324;
    --bg-soft: #11192d;
    --bg-card: rgba(17, 25, 45, 0.78);
    --bg-card-strong: rgba(20, 30, 54, 0.92);
    --bg-input: rgba(255, 255, 255, 0.04);

    --text-primary: #f8fbff;
    --text-secondary: #b3bfd9;
    --text-muted: #7f8aac;

    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);

    --primary: #8b5cf6;
    --primary-2: #db2777;
    --primary-soft: rgba(139, 92, 246, 0.18);
    --green: #22c55e;
    --cyan: #22d3ee;
    --amber: #f59e0b;
    --red: #ef4444;

    --shadow-lg: 0 18px 60px rgba(0, 0, 0, 0.34);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.24);
    --shadow-sm: 0 6px 18px rgba(0, 0, 0, 0.16);

    --accent-gradient: linear-gradient(135deg, #8b5cf6 0%, #db2777 100%);
    --accent-gradient-soft: linear-gradient(135deg, rgba(139, 92, 246, 0.20), rgba(219, 39, 119, 0.14));
    --ease: 180ms ease;
}

html[data-theme="light"] {
    --bg: #f4f8ff;
    --bg-elevated: #ffffff;
    --bg-soft: #eef4ff;
    --bg-card: rgba(255, 255, 255, 0.88);
    --bg-card-strong: rgba(255, 255, 255, 0.98);
    --bg-input: rgba(15, 23, 42, 0.04);

    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;

    --border: rgba(15, 23, 42, 0.08);
    --border-strong: rgba(15, 23, 42, 0.16);

    --primary-soft: rgba(139, 92, 246, 0.10);

    --shadow-lg: 0 18px 60px rgba(15, 23, 42, 0.10);
    --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
    --shadow-sm: 0 6px 18px rgba(15, 23, 42, 0.06);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body.dashboard-page {
    margin: 0;
    color: var(--text-primary);
    line-height: 1.45;
    background:
        radial-gradient(circle at 6% 10%, rgba(139, 92, 246, 0.16), transparent 34%),
        radial-gradient(circle at 90% 0%, rgba(34, 211, 238, 0.08), transparent 24%),
        radial-gradient(circle at 92% 94%, rgba(219, 39, 119, 0.07), transparent 28%),
        var(--bg);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select {
    font: inherit;
}

.noise-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.045;
    background-image:
        radial-gradient(rgba(255, 255, 255, 0.45) 0.5px, transparent 0.5px);
    background-size: 8px 8px;
    mix-blend-mode: soft-light;
    z-index: 0;
}

.dashboard-shell {
    position: relative;
    isolation: isolate;
}

.dash-layout {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--sidebar-width);
    padding: 16px 12px 12px;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(circle at 18% 10%, rgba(139, 92, 246, 0.2), transparent 40%),
        radial-gradient(circle at 90% 90%, rgba(219, 39, 119, 0.12), transparent 32%),
        rgba(7, 12, 24, 0.96);
    border-right: 1px solid rgba(139, 92, 246, 0.16);
    backdrop-filter: blur(16px);
    box-shadow: 18px 0 48px rgba(2, 8, 23, 0.36);
    z-index: 1000;
    transition: transform var(--ease);
}

html[data-theme="light"] .sidebar {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.96), rgba(239,246,255,0.96));
    border-right-color: rgba(139, 92, 246, 0.14);
    box-shadow: 18px 0 48px rgba(15, 23, 42, 0.08);
}

.sidebar-logo {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 2px 6px 12px;
    padding: 12px 13px;
    border-radius: 16px;
    border: 1px solid rgba(139, 92, 246, 0.18);
    background:
        radial-gradient(circle at 8% 10%, rgba(139, 92, 246, 0.22), transparent 42%),
        linear-gradient(135deg, rgba(18, 26, 46, 0.96), rgba(12, 18, 34, 0.88));
    box-shadow: 0 14px 30px rgba(2, 8, 23, 0.18);
    transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}

.sidebar-logo::before {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    right: -42px;
    top: -44px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.18), transparent 68%);
    pointer-events: none;
}

.sidebar-logo:hover {
    transform: translateY(-1px);
    border-color: rgba(167, 139, 250, 0.34);
    box-shadow: 0 18px 36px rgba(139, 92, 246, 0.16);
}

.sidebar-logo-mark {
    position: relative;
    width: 46px;
    height: 46px;
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(145deg, #a78bfa 0%, #7c3aed 46%, #0f172a 100%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 16px 28px rgba(76, 29, 149, 0.28);
    flex-shrink: 0;
}

.sidebar-logo-mark::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 14px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.02) 55%);
    pointer-events: none;
}

.sidebar-logo-mark::after {
    content: "";
    position: absolute;
    top: 8px;
    right: 8px;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.42);
    pointer-events: none;
}

.sidebar-logo-glyph {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -1.6px;
    color: #ffffff;
    text-shadow: 0 10px 22px rgba(49, 10, 93, 0.42);
    transform: translateY(-1px);
}

.sidebar-logo-copy {
    position: relative;
    z-index: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sidebar-logo img {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 10px 22px rgba(124, 58, 237, 0.22);
}

.sidebar-logo > span:last-child {
    position: relative;
    z-index: 1;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.3px;
    color: var(--text-primary);
}

.sidebar-logo-kicker {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.15px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.54);
}

.sidebar-logo-title {
    font-size: 17px;
    font-weight: 900;
    letter-spacing: -0.45px;
    color: var(--text-primary);
}

.sidebar-logo-note {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15px;
    color: var(--text-secondary);
}

html[data-theme="light"] .sidebar-logo {
    border-color: rgba(139, 92, 246, 0.14);
    background:
        radial-gradient(circle at 8% 10%, rgba(139, 92, 246, 0.14), transparent 44%),
        linear-gradient(135deg, rgba(255,255,255,0.98), rgba(241,245,255,0.94));
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.08);
}

html[data-theme="light"] .sidebar-logo-kicker {
    color: rgba(15, 23, 42, 0.48);
}

html[data-theme="light"] .sidebar-logo-note {
    color: rgba(51, 65, 85, 0.84);
}

.sidebar-close {
    position: absolute;
    top: 18px;
    right: 14px;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.04);
    color: var(--text-primary);
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.sidebar-nav {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    flex-direction: column;
    gap: 7px;
    padding: 6px 4px;
    overflow-y: auto;
}

.sidebar-group-label {
    margin: 11px 7px 2px;
    padding: 0 7px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.05px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.sidebar-nav a {
    min-height: 46px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border-radius: 12px;
    border: 1px solid transparent;
    color: var(--text-secondary);
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.32;
    white-space: normal;
    overflow-wrap: anywhere;
    transition:
        background var(--ease),
        border-color var(--ease),
        color var(--ease),
        transform var(--ease);
}

.sidebar-nav a svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    flex-shrink: 0;
}

.sidebar-nav a:hover {
    color: var(--text-primary);
    background: rgba(139, 92, 246, 0.10);
    border-color: rgba(139, 92, 246, 0.18);
    transform: translateX(2px);
}

.sidebar-nav a.active {
    color: #fff;
    background: var(--accent-gradient-soft);
    border-color: rgba(139, 92, 246, 0.34);
    box-shadow: 0 10px 24px rgba(139, 92, 246, 0.18);
}

html[data-theme="light"] .sidebar-nav a.active {
    color: #0f172a;
}

.sidebar-mobile-footer {
    display: block;
    margin-top: auto;
    padding: 14px 8px 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar-mobile-logout {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid rgba(239, 68, 68, 0.24);
    border-radius: 12px;
    background: rgba(239, 68, 68, 0.08);
    color: #fca5a5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
}

.sidebar-mobile-logout svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.sidebar-mobile-logout:hover {
    background: rgba(239, 68, 68, 0.14);
}

.mobile-sidebar-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.60);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--ease), visibility var(--ease);
    z-index: 900;
}

.mobile-sidebar-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Main */
.dash-main {
    flex: 1;
    min-width: 0;
    margin-left: var(--sidebar-width);
    display: flex;
    flex-direction: column;
    position: relative;
}

.mobile-topbar {
    display: none;
    position: sticky;
    top: 0;
    z-index: 800;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(7, 11, 23, 0.82);
    border-bottom: 1px solid rgba(139, 92, 246, 0.12);
    backdrop-filter: blur(12px);
}

html[data-theme="light"] .mobile-topbar {
    background: rgba(255,255,255,0.90);
}

.mobile-topbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.mobile-topbar-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(145deg, #a78bfa 0%, #7c3aed 52%, #0f172a 100%);
    box-shadow: 0 12px 28px rgba(76, 29, 149, 0.24);
    flex-shrink: 0;
}

.mobile-topbar-icon::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 11px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.02) 58%);
    pointer-events: none;
}

.mobile-topbar-icon::after {
    content: "";
    position: absolute;
    top: 6px;
    right: 6px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 0 14px rgba(255, 255, 255, 0.32);
    pointer-events: none;
}

.mobile-topbar-glyph {
    position: relative;
    z-index: 1;
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -1px;
    color: #ffffff;
    text-shadow: 0 8px 18px rgba(49, 10, 93, 0.38);
}

.mobile-topbar-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.mobile-topbar-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.mobile-topbar-label {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mobile-topbar-title {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.2px;
}

.mobile-topbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-topbar-menu {
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(255,255,255,0.04);
    color: var(--text-primary);
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.mobile-topbar-menu svg {
    width: 20px;
    height: 20px;
}

/* Desktop topbar */
.dash-topbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: stretch;
    gap: 16px;
    padding: 18px 20px 10px;
    background: linear-gradient(180deg, rgba(7, 11, 23, 0.94), rgba(7, 11, 23, 0.42) 78%, transparent);
    border-bottom: 0;
    backdrop-filter: none;
}

@media (max-width: 992px) {
    .dash-topbar {
        display: none !important;
    }
}

html[data-theme="light"] .dash-topbar {
    background: linear-gradient(180deg, rgba(244, 248, 255, 0.94), rgba(244, 248, 255, 0.36) 78%, transparent);
}

.dash-topbar-right {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.dash-page-kicker {
    margin: 0 0 6px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 1.1px;
    font-weight: 800;
}

.dash-page-title {
    margin: 0;
    font-size: clamp(24px, 2.5vw, 36px);
    line-height: 1.1;
    letter-spacing: -0.7px;
}

.dash-page-title span {
    background: var(--accent-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dash-page-subtitle {
    margin: 6px 0 0;
    color: var(--text-secondary);
    font-size: 13px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    line-height: 1.45;
}

#headerSubtitle {
    color: var(--text-muted);
    overflow-wrap: anywhere;
}

#userEmail {
    display: inline-block;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.35;
    color: var(--text-secondary);
}

.dash-page-dot {
    opacity: 0.5;
}

.dash-search-box {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    height: 48px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    box-shadow: var(--shadow-sm);
}

.dash-search-box svg {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.dash-search-box input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text-primary);
    font-size: 14px;
}

.dash-search-box input::placeholder {
    color: var(--text-muted);
}

.dash-system-pill,
.dash-wallet-chip,
.icon-circle-btn,
.ds-btn,
.btn-secondary-inline {
    transition:
        transform var(--ease),
        border-color var(--ease),
        background var(--ease),
        box-shadow var(--ease);
}

.dash-system-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid rgba(34, 197, 94, 0.26);
    background: rgba(34, 197, 94, 0.10);
    color: #86efac;
    font-size: 12px;
    font-weight: 700;
}

html[data-theme="light"] .dash-system-pill {
    color: #166534;
}

.dash-topbar-right {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px 16px;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 12px 14px;
    border-radius: 18px;
    border: 1px solid rgba(139, 92, 246, 0.14);
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
        rgba(10, 15, 30, 0.82);
    box-shadow: 0 18px 36px rgba(2, 8, 23, 0.22);
    backdrop-filter: blur(18px);
}

html[data-theme="light"] .dash-topbar-right {
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.62)),
        rgba(255, 255, 255, 0.86);
    border-color: rgba(139, 92, 246, 0.10);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
}

.dash-quick-actions,
.dash-topbar-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.dash-quick-actions {
    justify-content: flex-start;
    min-width: 0;
}

.dash-topbar-controls {
    justify-content: flex-end;
    margin-left: auto;
    flex-direction: row;
    white-space: nowrap;
}

.dash-topbar-controls > * {
    flex: 0 0 auto;
}

.ds-btn,
.btn-secondary-inline {
    height: 40px;
    padding: 0 14px;
    border-radius: 11px;
    border: 1px solid transparent;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ds-btn:hover,
.btn-secondary-inline:hover,
.icon-circle-btn:hover,
.dash-wallet-chip:hover {
    transform: translateY(-1px);
}

.ds-btn-primary {
    color: #fff;
    background: var(--accent-gradient);
    box-shadow: 0 14px 28px rgba(139, 92, 246, 0.22);
}

.ds-btn-secondary {
    color: #ddd6fe;
    background: rgba(139, 92, 246, 0.12);
    border-color: rgba(139, 92, 246, 0.26);
}

html[data-theme="light"] .ds-btn-secondary {
    color: #5b21b6;
}

.ds-btn-ghost,
.btn-secondary-inline {
    color: var(--text-primary);
    background: var(--bg-card);
    border-color: var(--border);
}

.icon-circle-btn {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-primary);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.avatar-btn {
    font-weight: 800;
    font-size: 12px;
    letter-spacing: -0.2px;
}

#bellDot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.18);
}

.dash-wallet-chip {
    height: 40px;
    padding: 0 11px;
    border-radius: 11px;
    border: 1px solid rgba(34, 197, 94, 0.24);
    background: rgba(34, 197, 94, 0.10);
    color: #bbf7d0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

html[data-theme="light"] .dash-wallet-chip {
    color: #166534;
}

.user-menu {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 240px;
    padding: 10px;
    background: var(--bg-card-strong);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    z-index: 100;
}

.user-dropdown-header {
    padding: 10px 10px 12px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 8px;
}

.user-dropdown-name {
    font-size: 14px;
    font-weight: 800;
}

.user-dropdown-email {
    margin-top: 4px;
    font-size: 12px;
    color: var(--text-muted);
    word-break: break-word;
}

.user-dropdown-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 10px;
    border: 0;
    background: transparent;
    color: var(--text-primary);
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
}

.user-dropdown-item:hover {
    background: rgba(139, 92, 246, 0.10);
}

.user-dropdown-item.danger {
    color: #fca5a5;
}

.dash-wrap {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    padding: 10px 0 56px;
}

/* Shared cards */
.ds-card,
.dash-stat,
.wallet-summary-card,
.wallet-transactions-card,
.dash-section-card,
.ref-block,
.code-item,
.order-table-wrap {
    background:
        linear-gradient(165deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.006)),
        var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(18px);
}

html[data-theme="light"] .ds-card,
html[data-theme="light"] .dash-stat,
html[data-theme="light"] .wallet-summary-card,
html[data-theme="light"] .wallet-transactions-card,
html[data-theme="light"] .dash-section-card,
html[data-theme="light"] .ref-block,
html[data-theme="light"] .code-item,
html[data-theme="light"] .order-table-wrap {
    background:
        linear-gradient(165deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.45)),
        var(--bg-card);
}

.dash-stat,
.wallet-summary-card,
.wallet-transactions-card,
.dash-section-card,
.ref-block,
.order-table-wrap {
    border-radius: var(--radius-lg);
}

/* Stats */
.dash-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.dash-stat {
    position: relative;
    padding: 18px;
    overflow: hidden;
}

.dash-stat::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: rgba(255,255,255,0.14);
}

.dash-stat[data-accent="money"]::before { background: var(--green); }
.dash-stat[data-accent="active"]::before { background: var(--primary); }
.dash-stat[data-accent="month"]::before { background: var(--cyan); }
.dash-stat[data-accent="affiliate"]::before { background: var(--amber); }

.dash-stat-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.dash-stat-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.12);
    color: #c4b5fd;
    border: 1px solid rgba(139, 92, 246, 0.16);
}

.dash-stat-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.dash-stat-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.dash-stat-value {
    font-size: clamp(30px, 3vw, 40px);
    line-height: 1;
    letter-spacing: -1px;
    font-weight: 800;
}

.dash-stat-sub {
    margin-top: 10px;
    font-size: 13px;
    color: var(--text-secondary);
}

/* Wallet */
.wallet-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.95fr);
    gap: 14px;
    margin-bottom: 18px;
}

.wallet-summary-card,
.wallet-transactions-card {
    padding: 18px;
}

.wallet-kicker {
    margin: 0;
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 800;
}

.wallet-balance {
    margin-top: 12px;
    font-size: clamp(34px, 4vw, 46px);
    line-height: 1;
    letter-spacing: -1px;
    font-weight: 800;
    background: var(--accent-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.wallet-actions {
    margin-top: 18px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.wallet-zero-hint {
    margin-top: 18px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px dashed rgba(139, 92, 246, 0.36);
    background: rgba(139, 92, 246, 0.08);
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    color: #e9d5ff;
    font-size: 13px;
}

html[data-theme="light"] .wallet-zero-hint {
    color: #5b21b6;
}

.wallet-card-head,
.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.wallet-card-head h3,
.dash-section-title {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.wallet-card-head a {
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
}

.wallet-tx-list,
.code-list,
.history-mini-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wallet-tx-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wallet-tx-list li {
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(255,255,255,0.03);
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.wallet-tx-empty,
.history-mini-empty {
    color: var(--text-muted);
    font-size: 13px;
}

/* Generic sections */
.dash-section {
    margin-bottom: 18px;
}

.dash-section-card {
    padding: 20px;
}

.section-head .section-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.order-filter {
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg-card);
    color: var(--text-primary);
    min-width: 130px;
    outline: none;
    appearance: none;
}

.order-filter:focus {
    border-color: rgba(139, 92, 246, 0.42);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.14);
}

/* Code list */
.code-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.code-item {
    padding: 16px 18px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.code-item-left {
    min-width: 0;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.code-item-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
}

.code-item-icon.unused {
    background: rgba(34, 211, 238, 0.10);
    border: 1px solid rgba(34, 211, 238, 0.18);
}

.code-item-icon.used {
    background: rgba(100, 116, 139, 0.10);
    border: 1px solid rgba(100, 116, 139, 0.18);
}

.code-item-main {
    min-width: 0;
    width: 100%;
}

.code-topline,
.code-secondline,
.code-thirdline {
    display: flex;
    align-items: center;
    gap: 10px;
    row-gap: 6px;
    flex-wrap: wrap;
}

.code-topline > *,
.code-secondline > *,
.code-thirdline > * {
    min-width: 0;
}

.code-package-name {
    font-weight: 700;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.code-item-code,
.ref-code,
.history-mini-code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.code-item-code {
    font-size: 15px;
    font-weight: 800;
    color: #c4b5fd;
    letter-spacing: 0.7px;
    line-height: 1.35;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.code-secondline .code-item-code {
    flex: 1 1 auto;
}

.code-secondline .btn-copy-inline {
    flex: 0 0 auto;
}

.code-thirdline {
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.45;
}

.code-thirdline span {
    overflow-wrap: anywhere;
}

.section-head {
    padding: 2px 2px 0;
}

.section-head,
.wallet-card-head {
    margin-bottom: 12px;
}

.code-badge {
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}

.code-badge.unused {
    color: var(--cyan);
    background: rgba(34, 211, 238, 0.1);
}

.code-badge.expired {
    color: #94a3b8;
    background: rgba(100, 116, 139, 0.12);
}

.btn-copy-inline,
.btn-copy-ref {
    height: 34px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid rgba(139, 92, 246, 0.24);
    background: rgba(139, 92, 246, 0.1);
    color: #ddd6fe;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.btn-copy-inline.copied,
.btn-copy-ref.copied {
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.24);
    color: #86efac;
}

/* Referral */
.ref-block {
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.ref-main {
    min-width: 0;
}

.ref-code {
    font-size: clamp(20px, 4vw, 28px);
    font-weight: 900;
    letter-spacing: 2px;
    color: #c4b5fd;
}

.ref-hint {
    margin-top: 4px;
    font-size: 12px;
    color: var(--text-muted);
}

/* History mini */
.history-mini-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.history-mini-item,
.history-mini-more a {
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
}

.history-mini-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.history-mini-main {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.history-mini-code {
    font-size: 14px;
    font-weight: 800;
    color: #c4b5fd;
}

.history-mini-meta,
.history-mini-time {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}

.history-mini-more a {
    display: block;
    color: var(--primary);
    font-weight: 700;
}

/* Orders table */
.order-table-wrap {
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.order-table-scroll {
    width: 100%;
    overflow: auto;
}

.order-table {
    width: 100%;
    min-width: 860px;
    border-collapse: separate;
    border-spacing: 0;
}

.order-table th {
    padding: 13px 14px;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    font-size: 11px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

.order-table td {
    padding: 13px 14px;
    font-size: 13px;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    vertical-align: middle;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.order-table tr:last-child td {
    border-bottom: none;
}

.order-table tr:hover td {
    background: rgba(139, 92, 246, 0.06);
}

.table-empty {
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    padding: 18px 14px;
}

.col-order-code {
    width: 168px;
}

.col-order-status {
    width: 156px;
}

.col-order-date {
    width: 184px;
}

.order-amount-cell,
.order-date-cell {
    white-space: nowrap;
}

.order-filter-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.order-code-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 9px;
    border-radius: 10px;
    border: 1px solid rgba(139, 92, 246, 0.24);
    background: rgba(139, 92, 246, 0.10);
    color: #ddd6fe;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12px;
    font-weight: 700;
}

.o-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.o-badge.paid {
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.24);
    color: #86efac;
}

.o-badge.pending {
    background: rgba(245, 158, 11, 0.14);
    border-color: rgba(245, 158, 11, 0.28);
    color: #fcd34d;
}

.o-badge.cancelled {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.24);
    color: #fca5a5;
}

.o-badge.expired {
    background: rgba(100, 116, 139, 0.18);
    border-color: rgba(100, 116, 139, 0.3);
    color: #cbd5e1;
}

html[data-theme="light"] .o-badge.paid {
    color: #166534;
}

html[data-theme="light"] .o-badge.pending {
    color: #92400e;
}

html[data-theme="light"] .o-badge.cancelled {
    color: #991b1b;
}

html[data-theme="light"] .o-badge.expired {
    color: #334155;
}

.dash-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.referral-card,
.history-mini-card {
    padding: 20px;
}

.dash-section-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.dash-section-title svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    color: var(--text-muted);
}

.ref-metrics {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.ref-metric {
    padding: 12px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.ref-metric span {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.ref-metric strong {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 44px 22px;
    border-radius: 16px;
    border: 1px dashed rgba(139, 92, 246, 0.28);
    background: rgba(139, 92, 246, 0.06);
    color: var(--text-muted);
}

.empty-state svg {
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    opacity: 0.65;
}

.empty-state p {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.55;
    max-width: 420px;
}

.confirm-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(2, 6, 23, 0.72);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--ease), visibility var(--ease);
}

.confirm-modal.active {
    opacity: 1;
    visibility: visible;
}

.confirm-box {
    width: min(440px, 100%);
    border-radius: 18px;
    border: 1px solid var(--border-strong);
    background: var(--bg-card-strong);
    box-shadow: var(--shadow-lg);
    padding: 28px;
    text-align: center;
    transform: translateY(14px) scale(0.96);
    transition: transform var(--ease);
}

.confirm-modal.active .confirm-box {
    transform: translateY(0) scale(1);
}

.confirm-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 16px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.28);
}

.confirm-icon svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.confirm-title {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.confirm-text {
    margin: 8px 0 22px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

.confirm-actions {
    display: flex;
    gap: 10px;
}

.btn-cancel-modal,
.btn-confirm-modal {
    flex: 1;
    height: 44px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.btn-cancel-modal {
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-primary);
}

.btn-cancel-modal:hover {
    background: rgba(255, 255, 255, 0.06);
}

.btn-confirm-modal {
    border: 1px solid rgba(239, 68, 68, 0.4);
    background: rgba(239, 68, 68, 0.22);
    color: #fecaca;
}

.btn-confirm-modal:hover {
    background: rgba(239, 68, 68, 0.28);
}

.toast-container {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    min-width: 240px;
    max-width: 380px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--bg-card-strong);
    color: var(--text-primary);
    font-size: 13px;
    line-height: 1.4;
    box-shadow: var(--shadow-md);
    animation: toastIn 0.28s ease forwards;
}

.toast.success {
    border-color: rgba(34, 197, 94, 0.28);
    background: rgba(34, 197, 94, 0.14);
    color: #bbf7d0;
}

.toast.error {
    border-color: rgba(239, 68, 68, 0.28);
    background: rgba(239, 68, 68, 0.14);
    color: #fecaca;
}

.toast.info {
    border-color: rgba(34, 211, 238, 0.3);
    background: rgba(34, 211, 238, 0.12);
    color: #a5f3fc;
}

@keyframes toastIn {
    from {
        transform: translateX(24px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes toastOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(24px);
        opacity: 0;
    }
}

.dep-preset {
    padding: 10px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: border-color var(--ease), background var(--ease), color var(--ease);
}

.dep-preset:hover,
.dep-preset.active {
    border-color: rgba(139, 92, 246, 0.34);
    background: rgba(139, 92, 246, 0.14);
    color: #ddd6fe;
}

#depositAmountInput::-webkit-outer-spin-button,
#depositAmountInput::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#depositAmountInput {
    -moz-appearance: textfield;
    appearance: textfield;
}

@media (max-width: 1200px) {
  .dash-wrap {
    width: min(1200px, calc(100% - 30px));
    padding-top: 10px;
  }

  .dash-topbar {
    padding: 16px 16px 10px;
  }

  .dash-topbar-right {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    width: min(1200px, calc(100% - 30px));
  }

  .dash-quick-actions {
    flex: 1 1 100%;
    justify-content: flex-end;
    order: 2;
  }

  .dash-topbar-controls {
    flex: 1 1 auto;
    width: 100%;
    order: 1;
  }

  .dash-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 992px) {
    .wallet-grid,
    .dash-mini-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --sidebar-width: 0;
    }

    body.dashboard-menu-open,
    body.profile-menu-open,
    body.codes-menu-open {
        overflow: hidden;
    }

    .sidebar {
        width: min(84vw, 320px);
        transform: translateX(-100%);
        box-shadow: none;
        border-right-color: rgba(255, 255, 255, 0.08);
    }

    .sidebar.open {
        transform: translateX(0);
        box-shadow: 0 24px 52px rgba(2, 8, 23, 0.44);
    }

    .sidebar-close {
        display: inline-flex;
    }

    .sidebar-mobile-footer {
        display: block;
        margin-top: auto;
        padding: 12px 6px 6px;
        border-top: 0;
    }

    .mobile-topbar {
        display: flex;
        padding: 12px 16px;
        background: rgba(7, 11, 23, 0.92);
        border-bottom: 1px solid rgba(139, 92, 246, 0.15);
    }

    .mobile-topbar-menu {
        display: inline-flex;
        width: 42px;
        height: 42px;
    }

    .dash-topbar {
        display: none;
    }

    .dash-main {
        margin-left: 0;
    }

    .dash-wrap {
        width: 100%;
        padding: 20px 16px 80px;
    }

    /* Mobile Stats - Modern Card Style */
    .dash-stats {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-bottom: 16px;
    }

    .dash-stat {
        min-height: 122px;
        padding: 14px 12px;
        border-radius: 18px;
        background: linear-gradient(160deg, rgba(17, 25, 45, 0.97), rgba(10, 16, 32, 0.99));
        border: 1px solid rgba(139, 92, 246, 0.16);
        box-shadow: 0 16px 30px rgba(2, 8, 23, 0.24);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12px;
    }

    .dash-stat::before {
        display: none;
    }

    .dash-stat-head {
        width: 100%;
        margin-bottom: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .dash-stat-icon {
        width: 40px;
        height: 40px;
        border-radius: 13px;
        flex-shrink: 0;
    }

    .dash-stat[data-accent="money"] .dash-stat-icon {
        background: rgba(34, 197, 94, 0.15);
        border-color: rgba(34, 197, 94, 0.25);
        color: #4ade80;
    }

    .dash-stat[data-accent="active"] .dash-stat-icon {
        background: rgba(139, 92, 246, 0.15);
        border-color: rgba(139, 92, 246, 0.25);
        color: #a78bfa;
    }

    .dash-stat[data-accent="month"] .dash-stat-icon {
        background: rgba(34, 211, 238, 0.15);
        border-color: rgba(34, 211, 238, 0.25);
        color: #67e8f9;
    }

    .dash-stat[data-accent="affiliate"] .dash-stat-icon {
        background: rgba(245, 158, 11, 0.15);
        border-color: rgba(245, 158, 11, 0.25);
        color: #fbbf24;
    }

    .dash-stat-label {
        font-size: 10px;
        line-height: 1.35;
        letter-spacing: 0.7px;
        order: 1;
    }

    .dash-stat-value {
        font-size: clamp(22px, 5.8vw, 28px);
        letter-spacing: -0.4px;
        order: 2;
    }

    .dash-stat[data-accent="money"] .dash-stat-value { color: #4ade80; }
    .dash-stat[data-accent="active"] .dash-stat-value { color: #a78bfa; }
    .dash-stat[data-accent="month"] .dash-stat-value { color: #67e8f9; }
    .dash-stat[data-accent="affiliate"] .dash-stat-value { color: #fbbf24; }

    .dash-stat-sub {
        display: none;
    }

    /* Mobile Wallet Grid */
    .wallet-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 18px;
    }

    .wallet-summary-card,
    .wallet-transactions-card,
    .referral-card,
    .history-mini-card {
        padding: 16px;
        border-radius: 18px;
    }

    .wallet-summary-card {
        background: linear-gradient(155deg, rgba(124, 58, 237, 0.22), rgba(76, 29, 149, 0.34));
        border: 1px solid rgba(167, 139, 250, 0.24);
        box-shadow: 0 18px 30px rgba(76, 29, 149, 0.18);
    }

    .wallet-kicker {
        font-size: 10px;
        letter-spacing: 1px;
    }

    .wallet-balance {
        margin-top: 8px;
        font-size: clamp(28px, 9vw, 34px) !important;
    }

    .wallet-actions {
        margin-top: 14px;
        flex-direction: column;
        gap: 8px;
    }

    .wallet-actions .ds-btn {
        width: 100%;
        height: 44px;
        padding: 0 16px;
        border-radius: 12px;
        font-size: 13px;
    }

    .wallet-zero-hint {
        margin-top: 14px;
        padding: 10px 12px;
        border-radius: 12px;
        gap: 8px;
        font-size: 12px;
    }

    .wallet-zero-hint .ds-btn {
        height: 34px;
        padding: 0 12px;
        border-radius: 10px;
        font-size: 12px;
    }

    .wallet-transactions-card {
        box-shadow: 0 16px 26px rgba(2, 8, 23, 0.16);
    }

    .wallet-card-head h3 {
        font-size: 15px;
    }

    .wallet-tx-list li {
        padding: 11px 12px;
        border-radius: 12px;
    }

    /* Mobile Sections */
    .dash-section {
        margin-bottom: 18px;
    }

    .section-head {
        margin-bottom: 12px;
        align-items: center;
    }

    .dash-section-title {
        font-size: 15px;
        gap: 8px;
    }

    .dash-section-title svg {
        width: 16px;
        height: 16px;
    }

    .wallet-card-head a,
    .section-head .btn-secondary-inline {
        height: 34px;
        padding: 0 10px;
        border-radius: 10px;
        font-size: 11px;
    }

    /* Mobile Code List */
    .code-list {
        gap: 10px;
    }

    .code-item {
        padding: 14px;
        border-radius: 16px;
        flex-direction: column;
        gap: 10px;
    }

    .code-item-left {
        gap: 12px;
    }

    .code-item-icon {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    .code-package-name {
        font-size: 14px;
    }

    .code-item-code {
        font-size: 13px;
        letter-spacing: 0.3px;
    }

    .code-thirdline {
        margin-top: 6px;
        font-size: 11px;
    }

    .code-main {
        width: 100%;
    }

    .code-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .btn-copy-inline {
        width: 100%;
        height: 36px;
        border-radius: 10px;
    }

    /* Mobile Orders */
    .order-filter-bar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-bottom: 12px;
    }

    .order-filter-bar .order-filter:last-child {
        grid-column: 1 / -1;
    }

    .order-filter {
        width: 100%;
        min-width: 0;
        height: 38px;
        padding: 0 10px;
        border-radius: 11px;
        font-size: 13px;
    }

    .order-table-wrap {
        border-radius: 0;
        overflow: visible;
        background: transparent;
        border: 0;
        box-shadow: none;
        backdrop-filter: none;
    }

    .order-table {
        min-width: 0;
        width: 100%;
    }

    .order-table thead {
        display: none;
    }

    .order-table,
    .order-table tbody,
    .order-table tr,
    .order-table td {
        display: block;
        width: 100%;
    }

    .order-table tbody {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .order-table tr {
        padding: 12px;
        border-radius: 16px;
        border: 1px solid var(--border);
        background: linear-gradient(165deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.008)), var(--bg-card);
        box-shadow: var(--shadow-md);
    }

    .order-table td {
        display: grid;
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 10px;
        align-items: start;
        padding: 0;
        border-bottom: 0;
        font-size: 12px;
        line-height: 1.45;
    }

    .order-table td + td {
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    .order-table td::before {
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.6px;
        text-transform: uppercase;
        color: var(--text-muted);
    }

    .order-table td:nth-child(1)::before { content: "Mã đơn"; }
    .order-table td:nth-child(2)::before { content: "Gói"; }
    .order-table td:nth-child(3)::before { content: "Số tiền"; }
    .order-table td:nth-child(4)::before { content: "Trạng thái"; }
    .order-table td:nth-child(5)::before { content: "Ngày tạo"; }

    .order-table td:nth-child(1) .order-code-chip,
    .order-table td:nth-child(4) .o-badge {
        margin-left: auto;
    }

    .order-table td:nth-child(2) {
        color: var(--text-primary);
        font-weight: 600;
    }

    .order-table td.order-amount-cell,
    .order-table td.order-date-cell {
        text-align: right;
        white-space: normal;
    }

    .order-code-chip {
        padding: 4px 8px;
        font-size: 11px;
    }

    .o-badge {
        padding: 4px 8px;
        font-size: 10px;
    }

    .table-empty {
        display: block;
        padding: 2px 0;
        font-size: 12px;
        text-align: center;
    }

    .order-table td.table-empty {
        display: block;
        padding: 2px 0;
    }

    .order-table td.table-empty::before {
        content: none;
    }

    /* Mobile Referral */
    .ref-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .ref-block {
        padding: 15px;
        border-radius: 14px;
    }

    .ref-metric {
        padding: 10px 12px;
    }

    .history-mini-item {
        padding: 10px 12px;
        align-items: flex-start;
    }

    .history-mini-time {
        text-align: right;
    }

    .confirm-box {
        padding: 22px;
        margin: 16px;
        border-radius: 18px;
    }

    .confirm-actions {
        flex-direction: column;
    }

    .confirm-actions button {
        width: 100%;
    }
}

@media (max-width: 560px) {
    .dash-wrap {
        padding: 14px 10px 70px;
    }

    .mobile-topbar {
        padding: 10px 12px;
    }

    .mobile-topbar-brand {
        gap: 10px;
    }

    .mobile-topbar-icon {
        width: 36px;
        height: 36px;
    }

    .mobile-topbar-title {
        font-size: 15px;
    }

    .dash-stats {
        gap: 8px;
    }

    .dash-stat {
        min-height: 112px;
        padding: 12px 10px;
        gap: 10px;
        border-radius: 16px;
    }

    .dash-stat-icon {
        width: 36px;
        height: 36px;
    }

    .dash-stat-label {
        font-size: 9px;
        letter-spacing: 0.6px;
    }

    .dash-stat-value {
        font-size: 20px;
    }

    .wallet-summary-card {
        padding: 14px;
    }

    .wallet-balance {
        font-size: 28px !important;
    }

    .wallet-actions .ds-btn {
        height: 42px;
        font-size: 12px;
    }

    .wallet-transactions-card,
    .referral-card,
    .history-mini-card {
        padding: 14px;
    }

    .wallet-card-head a,
    .section-head .btn-secondary-inline {
        height: 32px;
        padding: 0 9px;
        font-size: 10.5px;
    }

    .code-item {
        padding: 12px;
    }

    .empty-state {
        padding: 30px 16px;
    }

    .empty-state .ds-btn {
        width: 100%;
    }

    .code-item-left,
    .code-item-main {
        width: 100%;
    }

    .btn-copy-inline {
        width: 100%;
        height: 34px;
    }

    .ref-metrics {
        grid-template-columns: 1fr;
    }

    .order-table td {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 8px;
        font-size: 11.5px;
    }

    .order-table td::before {
        font-size: 9px;
    }

    .history-mini-item {
        gap: 6px;
    }

    .history-mini-time {
        width: 100%;
        text-align: left;
    }

    .toast-container {
        left: 12px;
        right: 12px;
        top: 12px;
    }

    .toast {
        min-width: 0;
        max-width: none;
        width: 100%;
    }
}

/* Light mode mobile improvements */
@media (max-width: 768px) {
    html[data-theme="light"] .mobile-topbar {
        background: rgba(255, 255, 255, 0.95);
        border-bottom-color: rgba(139, 92, 246, 0.12);
    }

    html[data-theme="light"] .dash-stat {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 255, 0.95));
        border-color: rgba(139, 92, 246, 0.10);
    }

    html[data-theme="light"] .dash-stat[data-accent="money"] .dash-stat-value { color: #16a34a; }
    html[data-theme="light"] .dash-stat[data-accent="active"] .dash-stat-value { color: #7c3aed; }
    html[data-theme="light"] .dash-stat[data-accent="month"] .dash-stat-value { color: #0891b2; }
    html[data-theme="light"] .dash-stat[data-accent="affiliate"] .dash-stat-value { color: #d97706; }

    html[data-theme="light"] .dash-stat[data-accent="money"] .dash-stat-icon { 
        background: rgba(34, 197, 94, 0.12);
        color: #16a34a;
    }
    html[data-theme="light"] .dash-stat[data-accent="active"] .dash-stat-icon { 
        background: rgba(139, 92, 246, 0.12);
        color: #7c3aed;
    }
    html[data-theme="light"] .dash-stat[data-accent="month"] .dash-stat-icon { 
        background: rgba(34, 211, 238, 0.12);
        color: #0891b2;
    }
    html[data-theme="light"] .dash-stat[data-accent="affiliate"] .dash-stat-icon { 
        background: rgba(245, 158, 11, 0.12);
        color: #d97706;
    }

    html[data-theme="light"] .wallet-summary-card {
        background: linear-gradient(145deg, rgba(139, 92, 246, 0.08), rgba(219, 39, 119, 0.05));
        border-color: rgba(139, 92, 246, 0.15);
    }

    html[data-theme="light"] .sidebar {
        background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,255,0.98));
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Better focus states */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 2px solid rgba(139, 92, 246, 0.5);
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background: rgba(139, 92, 246, 0.3);
    color: var(--text-primary);
}

/* Mobile quick actions bar */
.mobile-quick-actions {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px 20px;
    background: rgba(7, 11, 23, 0.95);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(139, 92, 246, 0.12);
    z-index: 800;
    gap: 10px;
}

html[data-theme="light"] .mobile-quick-actions {
    background: rgba(255, 255, 255, 0.95);
}

@media (max-width: 768px) {
    .mobile-quick-actions {
        display: flex;
    }

    .mobile-quick-actions .ds-btn {
        flex: 1;
        height: 48px;
        font-size: 13px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .mobile-quick-actions .ds-btn svg {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
    }
}


/* ===== style.css ===== */
/* ===== July Store - Premium Payment UI ===== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* CSS Variables - Dark Mode (default) */
:root,
[data-theme="dark"] {
  --bg-primary: #050510;
  --bg-secondary: #0c0c24;
  --bg-card: rgba(18, 18, 50, 0.7);
  --bg-card-hover: rgba(28, 28, 68, 0.8);
  --bg-glass: rgba(16, 16, 44, 0.5);
  --bg-header: rgba(5, 5, 16, 0.75);
  --bg-modal-overlay: rgba(0, 0, 0, 0.7);
  --bg-input: rgba(255, 255, 255, 0.03);
  --bg-bank-row: rgba(0, 0, 0, 0.15);
  --bg-stat-card: rgba(18, 18, 50, 0.6);
  --bg-feature-banner: rgba(18, 18, 50, 0.5);
  --bg-contact-card: rgba(18, 18, 50, 0.6);
  --bg-review-card: rgba(18, 18, 50, 0.6);

  --accent-1: #7c3aed;
  --accent-2: #a78bfa;
  --accent-3: #c4b5fd;
  --accent-glow: rgba(124, 58, 237, 0.35);
  --accent-gradient: linear-gradient(135deg, #7c3aed 0%, #a78bfa 50%, #c4b5fd 100%);
  --accent-gradient-btn: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%);

  --cyan: #22d3ee;
  --cyan-glow: rgba(34, 211, 238, 0.25);
  --green: #34d399;
  --green-glow: rgba(52, 211, 153, 0.25);
  --amber: #fbbf24;
  --amber-glow: rgba(251, 191, 36, 0.15);
  --red: #f87171;

  --text-primary: #f1f1ff;
  --text-secondary: #a5a5c8;
  --text-muted: #64648a;

  --border: rgba(124, 58, 237, 0.12);
  --border-hover: rgba(124, 58, 237, 0.35);
  --border-subtle: rgba(255, 255, 255, 0.04);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  --orb1-color: rgba(124, 58, 237, 0.12);
  --orb2-color: rgba(34, 211, 238, 0.08);
}

/* CSS Variables - Light Mode */
[data-theme="light"] {
  --bg-primary: #f0f0fa;
  --bg-secondary: #e4e4f5;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: rgba(255, 255, 255, 0.95);
  --bg-glass: rgba(255, 255, 255, 0.6);
  --bg-header: rgba(240, 240, 250, 0.85);
  --bg-modal-overlay: rgba(0, 0, 0, 0.4);
  --bg-input: rgba(0, 0, 0, 0.03);
  --bg-bank-row: rgba(0, 0, 0, 0.04);
  --bg-stat-card: rgba(255, 255, 255, 0.8);
  --bg-feature-banner: rgba(255, 255, 255, 0.7);
  --bg-contact-card: rgba(255, 255, 255, 0.85);
  --bg-review-card: rgba(255, 255, 255, 0.85);

  --accent-1: #7c3aed;
  --accent-2: #6d28d9;
  --accent-3: #5b21b6;
  --accent-glow: rgba(124, 58, 237, 0.2);
  --accent-gradient: linear-gradient(135deg, #7c3aed 0%, #6d28d9 50%, #5b21b6 100%);
  --accent-gradient-btn: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);

  --cyan: #0891b2;
  --cyan-glow: rgba(8, 145, 178, 0.2);
  --green: #059669;
  --green-glow: rgba(5, 150, 105, 0.2);
  --amber: #d97706;
  --amber-glow: rgba(217, 119, 6, 0.1);
  --red: #dc2626;

  --text-primary: #1a1a2e;
  --text-secondary: #4a4a6a;
  --text-muted: #8888aa;

  --border: rgba(124, 58, 237, 0.15);
  --border-hover: rgba(124, 58, 237, 0.4);
  --border-subtle: rgba(0, 0, 0, 0.06);

  --orb1-color: rgba(124, 58, 237, 0.07);
  --orb2-color: rgba(8, 145, 178, 0.05);
}

/* Reset */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Prevent horizontal overflow on ALL devices including iOS Safari */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  max-width: 100%;
  transition: background 0.3s, color 0.3s;
}

/* Guard all media & replaced elements */
img,
video,
canvas,
svg,
picture,
embed,
object,
iframe {
  max-width: 100%;
  height: auto;
}

/* Tables scroll inside their container, never push viewport */
table {
  width: 100%;
  table-layout: auto;
}

/* Inputs/textareas respect viewport width */
input,
textarea,
select {
  max-width: 100%;
}

/* Animated BG orbs */
body::before,
body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  z-index: 0;
  pointer-events: none;
}

body::before {
  width: clamp(280px, 50vw, 600px);
  height: clamp(280px, 50vw, 600px);
  top: -10%;
  left: clamp(-60px, -5%, 0px);
  background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, transparent 70%);
  animation: orbFloat1 25s ease-in-out infinite;
}

body::after {
  width: clamp(220px, 45vw, 500px);
  height: clamp(220px, 45vw, 500px);
  bottom: -10%;
  right: clamp(-60px, -5%, 0px);
  background: radial-gradient(circle, rgba(34, 211, 238, 0.08) 0%, transparent 70%);
  animation: orbFloat2 20s ease-in-out infinite;
}

@keyframes orbFloat1 {

  0%,
  100% {
    transform: translate(0, 0);
  }

  33% {
    transform: translate(80px, 40px);
  }

  66% {
    transform: translate(-30px, 80px);
  }
}

@keyframes orbFloat2 {

  0%,
  100% {
    transform: translate(0, 0);
  }

  33% {
    transform: translate(-60px, -30px);
  }

  66% {
    transform: translate(40px, -60px);
  }
}

/* Noise texture overlay */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 14px 36px;
  background: var(--bg-header);
  backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  margin-left: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.header-user-area {
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.header-login-btn {
  white-space: nowrap;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--accent-gradient-btn);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  box-shadow: 0 0 24px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  letter-spacing: -0.5px;
}

.logo-text {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.logo-text span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: rgba(34, 211, 238, 0.06);
  border: 1px solid rgba(34, 211, 238, 0.15);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  color: var(--cyan);
}

.header-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--cyan);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

/* ===== Main ===== */
.main {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 110px 28px 60px;
}

/* Hero */
.hero {
  text-align: center;
  margin-bottom: 64px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-2);
  margin-bottom: 24px;
}

.hero-tag svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.hero h1 {
  font-size: clamp(34px, 5.5vw, 58px);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 18px;
  letter-spacing: -1.5px;
}

.hero h1 .gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== Packages Grid ===== */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 20px;
  margin-bottom: 60px;
}

.package-card {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 26px 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.45s cubic-bezier(0.23, 1, 0.32, 1);
  overflow: hidden;
}

.package-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  box-shadow: 0 12px 40px rgba(124, 58, 237, 0.12);
}

.pkg-name {
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 4px;
}

.pkg-price {
  font-size: 34px;
  font-weight: 900;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn-buy {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  background: rgba(124, 58, 237, 0.1);
  color: var(--accent-2);
  border: 1px solid rgba(124, 58, 237, 0.2);
}

.btn-buy:hover {
  background: var(--accent-gradient-btn);
  color: #fff;
  transform: scale(1.02);
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fadeInUp {
  animation: fadeInUp 0.6s ease both;
}

/* --- Restored CSS below --- */

/* Packages */
.popular-tag {
  position: absolute;
  top: 14px;
  right: -30px;
  background: var(--accent-gradient-btn);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 34px;
  transform: rotate(45deg);
  box-shadow: 0 4px 10px var(--accent-glow);
}

.pkg-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.icon-basic {
  background: rgba(34, 211, 238, 0.1);
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.2);
}

.icon-standard {
  background: rgba(52, 211, 153, 0.1);
  color: var(--green);
  border: 1px solid rgba(52, 211, 153, 0.2);
}

.icon-premium {
  background: var(--accent-glow);
  color: var(--accent-2);
  border: 1px solid var(--border);
}

.icon-lifetime {
  background: rgba(251, 191, 36, 0.1);
  color: var(--amber);
  border: 1px solid rgba(251, 191, 36, 0.2);
}

.pkg-duration {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.pkg-price-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 24px;
}

.pkg-currency {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
}

.pkg-features {
  list-style: none;
  margin-bottom: 28px;
  flex: 1;
}

.pkg-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.pkg-features span.check {
  color: var(--green);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.pkg-features span.check svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 3;
  fill: none;
}

/* Footer */
.footer {
  text-align: center;
  padding: 30px;
  color: var(--text-muted);
  font-size: 14px;
  width: 100%;
}

.footer a {
  color: var(--accent-2);
  text-decoration: none;
  font-weight: 600;
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--bg-card);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 440px;
  padding: 32px 28px;
  position: relative;
  transform: scale(0.95);
  transition: all 0.3s cubic-bezier(.2, .9, .3, 1);
  color: var(--text-primary);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.modal-overlay.active .modal {
  transform: scale(1);
}

.payment-modal {
  padding: 0;
  overflow: hidden;
  max-width: 400px;
  background: rgba(18, 18, 50, 0.65);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(124, 58, 237, 0.3);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(124, 58, 237, 0.15);
  border-radius: 24px;
}

.modal-top-right {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
}

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  backdrop-filter: blur(4px);
  flex-shrink: 0;
}

.modal-close:hover {
  background: rgba(248, 113, 113, 0.15);
  color: var(--red);
  border-color: rgba(248, 113, 113, 0.3);
  transform: rotate(90deg);
}

.modal h2 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
  text-align: center;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.modal-sub {
  text-align: center;
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 24px;
}

.modal-summary {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sum-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.sum-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--accent-3);
}

.sum-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--green);
}

/* Form inputs */
.form-group {
  margin-bottom: 16px;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: 0.2s;
}

.form-group input:focus {
  border-color: var(--accent-1);
  background: rgba(124, 58, 237, 0.03);
}

/* Buttons */
.btn-primary {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  border: none;
  background: var(--accent-gradient-btn);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  font-family: inherit;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--accent-glow);
}

.btn-primary .spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  display: none;
}

.btn-primary.loading .btn-text {
  display: none;
}

.btn-primary.loading .spinner {
  display: block;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Payment Details */
.pay-header {
  background: rgba(0, 0, 0, 0.2);
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.pay-amount-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.pay-amount-label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.pay-amount-value {
  display: block;
  font-size: 24px;
  font-weight: 900;
  color: var(--green);
}

.pay-timer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 0;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.pay-timer svg {
  width: 14px;
  height: 14px;
  stroke: var(--text-muted);
  fill: none;
  stroke-width: 2;
}

.pay-timer.urgent {
  background: rgba(248, 113, 113, 0.1);
  color: var(--red);
}

.pay-timer.urgent svg {
  stroke: var(--red);
}

.pay-body {
  padding: 14px 20px 20px;
}

.qr-section {
  text-align: center;
  margin-bottom: 14px;
}

.qr-frame {
  display: inline-block;
  padding: 8px;
  background: #fff;
  border-radius: 12px;
  margin-bottom: 8px;
}

.qr-frame img {
  display: block;
  width: 175px;
  height: 175px;
  border-radius: 6px;
}

.qr-bank-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  padding: 5px 14px 5px 6px;
  margin: 10px auto 8px;
}

.qr-bank-badge img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
  padding: 2px;
  flex-shrink: 0;
}

.qr-bank-badge span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.qr-hint {
  font-size: 13px;
  color: var(--text-secondary);
  max-width: 240px;
  margin: 0 auto;
  line-height: 1.5;
}

.pay-divider {
  text-align: center;
  margin: 12px 0;
  position: relative;
}

.pay-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
  z-index: 1;
}

.pay-divider span {
  display: inline-block;
  background: var(--bg-card);
  padding: 0 12px;
  font-size: 12px;
  color: var(--text-muted);
  position: relative;
  z-index: 2;
}

.bank-info {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 14px;
}

.bank-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: var(--bg-bank-row);
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
}

.bank-row.copyable {
  cursor: pointer;
  transition: 0.2s;
}

.bank-logo-inline {
  height: 22px;
  width: auto;
  max-width: 60px;
  border-radius: 4px;
  object-fit: contain;
  background: #fff;
  padding: 2px 4px;
  flex-shrink: 0;
}

.bank-row.copyable:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
}

.bank-label {
  font-size: 13px;
  color: var(--text-muted);
}

.bank-value {
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}

.bank-value-copy {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
}

.btn-copy {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: var(--text-secondary);
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s;
}

/* ===== Payment Method Selector ===== */
.pay-method-select {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.pay-method-btn {
  flex: 1;
  min-width: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.pay-method-btn img {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  object-fit: cover;
}

.pay-method-btn.active {
  border-color: var(--accent-1);
  background: rgba(124, 58, 237, 0.1);
  color: var(--text-primary);
  box-shadow: 0 0 0 1px var(--accent-1);
}

.pay-method-btn:hover:not(.active) {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
}

/* ===== MoMo Section in Payment Modal ===== */
#momoSection {
  margin-top: 12px;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.momo-deeplink-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: linear-gradient(135deg, #ae2070 0%, #d4206b 100%);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s;
}

.momo-deeplink-btn:hover {
  opacity: 0.88;
}

.momo-deeplink-btn img {
  width: 22px;
  height: 22px;
  border-radius: 5px;
}

.momo-hint {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

/* MoMo POS - payment code input hint */
.pos-code-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
  line-height: 1.5;
}

.pos-code-hint strong {
  color: var(--text-secondary);
}

/* Maintenance badge on disabled method buttons */
.maint-badge {
  display: none;
  /* legacy - replaced by maint-overlay */
}

/* Maintenance overlay - covers button content */
.maint-overlay {
  display: none;
  position: absolute;
  inset: 0;
  background: rgba(10, 8, 20, 0.78);
  backdrop-filter: blur(2px);
  border-radius: inherit;
  align-items: center;
  justify-content: center;
  gap: 5px;
  pointer-events: none;
  z-index: 2;
}

.maint-overlay span {
  font-size: 11px;
  font-weight: 700;
  color: #fbbf24;
  letter-spacing: 0.3px;
}

.pay-method-btn {
  position: relative;
  overflow: hidden;
}

.pay-method-btn.maint-active .maint-overlay {
  display: flex;
}

.btn-copy:hover {
  background: var(--accent-glow);
  color: var(--accent-2);
  border-color: var(--accent-1);
}

.btn-copy.copied {
  background: rgba(52, 211, 153, 0.15);
  color: var(--green);
  border-color: rgba(52, 211, 153, 0.3);
}

.val-green {
  color: var(--green);
}

.val-accent {
  color: var(--accent-2);
  font-family: monospace;
  font-size: 16px;
}

.pay-warning {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  background: rgba(251, 191, 36, 0.05);
  border: 1px dashed rgba(251, 191, 36, 0.3);
  border-radius: 8px;
  font-size: 12px;
  color: var(--amber);
  line-height: 1.5;
}

.pay-warning svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  margin-top: 1px;
}

.pay-checking {
  padding: 16px;
  text-align: center;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

.check-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {

  0%,
  100% {
    opacity: 0.4;
    transform: scale(0.8);
  }

  50% {
    opacity: 1;
    transform: scale(1.2);
    box-shadow: 0 0 8px var(--cyan);
  }
}

.pay-result {
  padding: 32px 24px;
  text-align: center;
}

.result-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.result-icon-wrap.success {
  background: rgba(52, 211, 153, 0.1);
  box-shadow: 0 0 30px rgba(52, 211, 153, 0.2);
}

.result-icon-wrap.expired {
  background: rgba(251, 191, 36, 0.1);
  box-shadow: 0 0 30px rgba(251, 191, 36, 0.2);
}

/* Toast */
.toast {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  color: var(--text-primary);
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ===== Theme Toggle Button ===== */
.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  flex-shrink: 0;
  backdrop-filter: blur(8px);
}

.theme-toggle:hover {
  background: var(--accent-glow);
  color: var(--accent-2);
  border-color: var(--accent-1);
  transform: rotate(20deg) scale(1.08);
}

[data-theme="dark"] .theme-icon-light {
  display: none;
}

[data-theme="dark"] .theme-icon-dark {
  display: flex;
}

[data-theme="light"] .theme-icon-dark {
  display: none;
}

[data-theme="light"] .theme-icon-light {
  display: flex;
}

/* ===== Stats Section ===== */
.stats-section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 48px;
}

@media (max-width: 768px) {
  .stats-section {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .stats-section {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

.stat-card {
  background: var(--bg-stat-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.stat-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon-green {
  background: rgba(52, 211, 153, 0.1);
  color: var(--green);
  border: 1px solid rgba(52, 211, 153, 0.2);
}

.stat-icon-cyan {
  background: rgba(34, 211, 238, 0.1);
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.2);
}

.stat-icon-amber {
  background: rgba(251, 191, 36, 0.1);
  color: var(--amber);
  border: 1px solid rgba(251, 191, 36, 0.2);
}

.stat-icon-purple {
  background: var(--accent-glow);
  color: var(--accent-2);
  border: 1px solid var(--border);
}

.stat-info {
  flex: 1;
  min-width: 0;
}

.stat-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
  font-weight: 500;
}

.stat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 4px;
}

.stat-dot.green {
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s ease-in-out infinite;
}

/* ===== Features Banner ===== */
.features-banner {
  background: var(--bg-feature-banner);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 36px;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 24px;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow);
  color: var(--accent-2);
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.feature-icon.feature-icon-green {
  background: rgba(52, 211, 153, 0.1);
  color: var(--green);
  border-color: rgba(52, 211, 153, 0.2);
}

.feature-icon.feature-icon-cyan {
  background: rgba(34, 211, 238, 0.1);
  color: var(--cyan);
  border-color: rgba(34, 211, 238, 0.2);
}

.feature-icon.feature-icon-amber {
  background: rgba(251, 191, 36, 0.1);
  color: var(--amber);
  border-color: rgba(251, 191, 36, 0.2);
}

.feature-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
}

.feature-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
  white-space: nowrap;
}

.feature-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .features-banner {
    padding: 20px;
    gap: 18px;
  }

  .feature-divider {
    display: none;
  }

  .feature-item {
    width: calc(50% - 9px);
  }
}

/* ===== Section Header ===== */
.section-header {
  text-align: center;
  margin-bottom: 36px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-2);
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--text-primary);
  line-height: 1.2;
}

/* ===== Feedback / Reviews ===== */
.feedback-section {
  margin-bottom: 60px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 900px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

.review-card {
  background: var(--bg-review-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

.review-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  box-shadow: 0 10px 32px var(--accent-glow);
}

.review-stars {
  display: flex;
  gap: 3px;
}

.review-content {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.review-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}

.review-date {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ===== Contact Section ===== */
.contact-section {
  margin-bottom: 60px;
}

.contact-card {
  background: var(--bg-contact-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
}

.contact-header {
  margin-bottom: 28px;
}

.contact-header h2 {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  letter-spacing: -0.8px;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.25;
}

.contact-desc {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 420px;
  margin: 0 auto;
}

.contact-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 28px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  border: 1px solid transparent;
  min-width: 200px;
  position: relative;
  overflow: hidden;
  text-align: left;
}

.contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.zalo-btn {
  background: linear-gradient(135deg, #0068FF 0%, #0052cc 100%);
  color: #fff;
  border-color: rgba(0, 104, 255, 0.3);
}

.zalo-btn:hover {
  box-shadow: 0 10px 30px rgba(0, 104, 255, 0.35);
}

.fb-btn {
  background: linear-gradient(135deg, #1877F2 0%, #0b5fcc 100%);
  color: #fff;
  border-color: rgba(24, 119, 242, 0.3);
}

.fb-btn:hover {
  box-shadow: 0 10px 30px rgba(24, 119, 242, 0.35);
}

.contact-btn-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.contact-btn-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 2px;
}

.contact-live-dot {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
  animation: pulse 2s ease-in-out infinite;
}

.contact-note {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 8px 16px;
  line-height: 1.5;
}

/* ===== Footer Links ===== */
.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 8px;
}

.footer-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-muted);
  display: inline-block;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent-2);
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-copy a {
  color: var(--accent-2);
  text-decoration: none;
  font-weight: 600;
}

/* ===== Light mode overrides for hero gradient text ===== */
[data-theme="light"] .hero h1,
[data-theme="light"] .section-header h2,
[data-theme="light"] .contact-header h2 {
  color: var(--text-primary);
}

[data-theme="light"] body::before {
  background: radial-gradient(circle, rgba(124, 58, 237, 0.06) 0%, transparent 70%);
}

[data-theme="light"] body::after {
  background: radial-gradient(circle, rgba(8, 145, 178, 0.04) 0%, transparent 70%);
}

[data-theme="light"] .modal {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .modal-overlay {
  background: var(--bg-modal-overlay);
}

[data-theme="light"] .noise-overlay {
  opacity: 0.005;
}

/* ===== RESPONSIVE - MOBILE ===== */

/* Tablet: <= 768px */
@media (max-width: 768px) {

  /* Header */
  .header {
    padding: 12px 16px;
    gap: 10px;
  }

  .header-badge {
    display: none;
  }

  .logo-text {
    font-size: 17px;
  }

  .logo-icon {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }

  .header-actions {
    gap: 8px;
  }

  .header-nav {
    display: none;
  }

  .header-user-area {
    gap: 6px !important;
  }

  #headerWalletChip,
  #headerBell {
    display: none !important;
  }

  .header-login-btn {
    padding: 7px 14px !important;
  }

  #userDropdown {
    right: 0 !important;
    max-width: min(240px, calc(100vw - 24px));
  }

  #ddUserEmail {
    overflow-wrap: anywhere;
  }

  /* Main */
  .main {
    padding: 90px 16px 48px;
  }

  /* Hero */
  .hero {
    margin-bottom: 36px;
  }

  .hero p {
    font-size: 15px;
    padding: 0 8px;
  }

  /* Stats */
  .stats-section {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 28px;
  }

  .stat-card {
    padding: 14px 14px;
    gap: 10px;
  }

  .stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .stat-value {
    font-size: 18px;
  }

  .stat-label {
    font-size: 11px;
  }

  /* Packages grid */
  .packages-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 36px;
  }

  /* Features banner */
  .features-banner {
    padding: 18px 16px;
    gap: 14px;
    margin-bottom: 36px;
    flex-wrap: wrap;
  }

  .feature-divider {
    display: none;
  }

  .feature-item {
    width: calc(50% - 7px);
    flex-shrink: 0;
  }

  .feature-icon {
    width: 38px;
    height: 38px;
  }

  .feature-title {
    font-size: 13px;
    white-space: normal;
  }

  .feature-desc {
    font-size: 11px;
    white-space: normal;
  }

  /* Reviews */
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .review-card {
    padding: 18px;
  }

  /* Contact */
  .contact-card {
    padding: 24px 16px;
  }

  .contact-buttons {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }

  .contact-btn {
    min-width: unset;
    justify-content: flex-start;
  }

  .contact-note {
    font-size: 11px;
    border-radius: 12px;
    text-align: left;
  }

  /* Footer */
  .footer {
    padding: 20px 16px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 8px;
  }

  /* Modal */
  .modal {
    max-width: 100%;
    padding: 24px 18px;
    border-radius: 20px;
  }

  .payment-modal {
    max-width: 100%;
  }

  .pay-method-select {
    gap: 6px;
  }

  .pay-method-btn {
    font-size: 11px;
    padding: 9px 8px;
    gap: 5px;
    min-width: 70px;
  }

  .hero-right {
    min-height: auto;
    margin-top: 28px;
  }

  .mock-dash {
    max-width: 100%;
    transform: none;
  }

  .mock-dash:hover {
    transform: translateY(-6px);
  }

  .mock-dash-body {
    height: auto;
    min-height: 280px;
  }

  .mock-sidebar {
    width: 50px;
  }

  .mock-content {
    padding: 14px;
    gap: 14px;
  }

  .mock-top-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .mock-card {
    min-width: 0;
    padding: 10px;
  }

  .mock-card-val {
    font-size: 16px;
  }

  .mock-chart {
    height: 72px;
    gap: 6px;
    padding: 8px;
  }

  .mock-terminal {
    min-height: 104px;
  }

  .mock-float {
    display: none;
  }

  .cta-button {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    padding: 16px 24px;
  }
}

/* Mobile nhỏ: <= 480px */
@media (max-width: 480px) {

  /* Header */
  .header {
    padding: 10px 14px;
  }

  .logo-text {
    font-size: 15px;
  }

  .logo-icon {
    width: 32px;
    height: 32px;
    font-size: 14px;
    border-radius: 9px;
  }

  /* Nút đăng nhập ở header */
  #headerAuth {
    padding: 6px 13px !important;
    font-size: 12px !important;
  }

  /* Theme toggle */
  .theme-toggle {
    width: 34px;
    height: 34px;
  }

  .header-actions {
    gap: 6px;
  }

  .header-login-btn {
    padding: 6px 12px !important;
    font-size: 12px !important;
  }

  /* Main */
  .main {
    padding: 80px 12px 40px;
  }

  /* Hero */
  .hero {
    margin-bottom: 28px;
  }

  .hero-tag {
    font-size: 12px;
    padding: 6px 13px;
  }

  .hero h1 {
    font-size: 28px;
    letter-spacing: -1px;
  }

  .hero p {
    font-size: 14px;
  }

  /* Stats: 2 cột vẫn giữ, nhưng nhỏ hơn */
  .stats-section {
    gap: 8px;
    margin-bottom: 24px;
  }

  .stat-card {
    padding: 12px 12px;
    gap: 9px;
    border-radius: 12px;
  }

  .stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
  }

  .stat-value {
    font-size: 16px;
  }

  /* Features: stack dọc khi quá nhỏ */
  .feature-item {
    width: 100%;
  }

  /* Section header */
  .section-header h2 {
    font-size: 22px;
  }

  /* Reviews */
  .review-card {
    padding: 14px;
    gap: 10px;
  }

  .review-content {
    font-size: 13px;
  }

  /* Contact */
  .contact-header h2 {
    font-size: 22px;
  }

  .contact-desc {
    font-size: 13px;
  }

  .contact-btn {
    padding: 13px 18px;
    gap: 10px;
  }

  /* Modal overlay - đặt modal ở dưới màn hình kiểu sheet */
  .modal-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .modal {
    border-radius: 20px 20px 0 0;
    max-height: 92vh;
    overflow-y: auto;
  }

  .payment-modal {
    border-radius: 20px 20px 0 0;
    max-height: 95vh;
    overflow-y: auto;
  }

  .hero-right {
    margin-top: 24px;
  }

  .mock-dash {
    border-radius: 14px;
  }

  .mock-dash-header {
    padding: 0 12px;
  }

  .mock-title {
    font-size: 10px;
    letter-spacing: 0.4px;
  }

  .mock-dash-body {
    min-height: 244px;
  }

  .mock-sidebar {
    width: 44px;
    padding-top: 12px;
    gap: 12px;
  }

  .mock-menu-item {
    width: 26px;
    height: 26px;
  }

  .mock-content {
    padding: 12px;
    gap: 12px;
  }

  .mock-top-cards {
    grid-template-columns: 1fr;
  }

  .mock-card-title {
    font-size: 9px;
  }

  .mock-card-val {
    font-size: 15px;
  }

  .mock-chart {
    height: 64px;
  }

  .mock-terminal {
    min-height: 96px;
    font-size: 9px;
  }

  /* Pay method buttons */
  .pay-method-select {
    flex-wrap: wrap;
  }

  .pay-method-btn {
    flex: 1 1 calc(33% - 6px);
    font-size: 11px;
    padding: 9px 6px;
  }

  /* QR image nhỏ hơn */
  .qr-frame img {
    width: 150px;
    height: 150px;
  }

  /* Bank info rows */
  .bank-row {
    padding: 7px 10px;
  }

  .bank-label {
    font-size: 12px;
  }

  .bank-value,
  .bank-value-copy {
    font-size: 12px;
  }

  .val-accent {
    font-size: 13px;
  }

  /* Footer */
  .footer-links {
    gap: 6px;
    font-size: 12px;
  }
}

/* ===== Announcement Bar ===== */
.announce-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: linear-gradient(90deg, #7c3aed 0%, #4f46e5 50%, #7c3aed 100%);
  background-size: 200% 100%;
  animation: shimmerBg 4s linear infinite;
  padding: 8px 48px 8px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  max-height: 50px;
}

@keyframes shimmerBg {
  0% {
    background-position: 0% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

.announce-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  overflow: hidden;
}

.announce-badge {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 50px;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.announce-text {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
}

.announce-text strong {
  color: #fff;
  font-weight: 800;
}

.announce-sep {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}

.announce-close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  flex-shrink: 0;
}

.announce-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* ===== Ticker ===== */
.ticker-wrap {
  position: fixed;
  top: 82px;
  left: 0;
  right: 0;
  z-index: 99;
  background: var(--bg-header);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  height: 34px;
  display: flex;
  align-items: center;
}

.ticker-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: tickerScroll 32s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--text-secondary);
  padding: 0 40px 0 0;
}

.ticker-item strong {
  color: var(--text-primary);
  font-weight: 600;
}

.ticker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  flex-shrink: 0;
}

.ticker-pkg {
  color: var(--accent-2);
  font-weight: 700;
}

/* Main padding adjustment */
.main {
  padding-top: 148px;
}

@media (max-width: 768px) {
  .ticker-wrap {
    top: 76px;
  }

  .main {
    padding-top: 138px;
  }
}

@media (max-width: 480px) {
  .ticker-wrap {
    top: 66px;
  }

  .main {
    padding-top: 124px;
  }
}

@media (max-width: 600px) {

  .announce-sep,
  .announce-text:last-child {
    display: none;
  }
}

/* ===== FAQ ===== */
.faq-section {
  margin-bottom: 60px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.25s;
}

.faq-item.open {
  border-color: var(--accent-1);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--accent-2);
}

.faq-item.open .faq-question {
  color: var(--accent-2);
}

.faq-arrow {
  flex-shrink: 0;
  transition: transform 0.3s;
  color: var(--text-muted);
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
  color: var(--accent-2);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  transition: max-height 0.35s ease, padding 0.3s;
  padding: 0 20px;
}

.faq-item.open .faq-answer {
  max-height: 200px;
  padding: 0 20px 18px;
}

.faq-answer strong {
  color: var(--text-primary);
}

/* ===== Uptime Section ===== */
.uptime-section {
  max-width: 900px;
  margin: 0 auto 80px auto;
  padding: 0 20px;
}

.uptime-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.uptime-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 24px 20px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.uptime-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-color: var(--border-hover);
}

.u-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.u-val {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
  font-family: 'Courier New', Courier, monospace;
}

.u-progress {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50px;
  margin-bottom: 12px;
  overflow: hidden;
}

.u-bar {
  height: 100%;
  border-radius: 50px;
  transition: width 1s ease-out;
}

.u-sub {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .uptime-cards {
    grid-template-columns: 1fr;
  }
}

/* ===== Trust Strip ===== */
.trust-strip {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.trust-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--accent-2);
}

.trust-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}

.trust-sub {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 1px;
}

.trust-sep {
  width: 1px;
  height: 36px;
  background: var(--border);
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .trust-inner {
    gap: 18px;
  }

  .trust-sep {
    display: none;
  }

  .trust-item {
    width: calc(50% - 9px);
  }
}

/* ===== Footer v2 ===== */
.footer-v2 {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}

.footer-v2-top {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 28px 36px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
}

@media (max-width: 768px) {
  .footer-v2-top {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 32px 20px 20px;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.footer-brand-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
}

.footer-social-btn:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--accent-glow);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 480px) {
  .footer-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.footer-col-link {
  font-size: 13.5px;
  color: var(--text-muted);
  text-decoration: none;
  display: block;
  transition: color 0.2s;
}

.footer-col-link:hover {
  color: var(--accent-2);
}

.footer-v2-bottom {
  border-top: 1px solid var(--border);
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-copy-v2 {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: var(--green);
  font-weight: 600;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 2s ease-in-out infinite;
}

/* ===== Floating Zalo ===== */
.float-zalo {
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #0068FF;
  color: #fff;
  text-decoration: none;
  padding: 10px 16px 10px 12px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 6px 24px rgba(0, 104, 255, 0.4);
  transition: all 0.3s;
  animation: floatBounce 3s ease-in-out infinite;
}

.float-zalo:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 10px 32px rgba(0, 104, 255, 0.55);
  animation: none;
}

.float-zalo-label {
  font-size: 13px;
  color: #fff;
}

@keyframes floatBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@media (max-width: 480px) {
  .float-zalo {
    bottom: 76px;
    right: 14px;
    padding: 9px 12px;
  }
}

/* ===== GLOBAL MOBILE OVERFLOW SAFETY ===== */
/* Prevents ANY element from pushing the page wider than the viewport.
   Applies site-wide across all pages and admin panel. */

/* Admin inline #toast: clamp width so it never overflows on narrow phones */
#toast {
  max-width: calc(100vw - 32px) !important;
  right: 16px !important;
  left: auto !important;
}

/* Search wrap min-width should never exceed viewport */
.search-wrap {
  min-width: 0 !important;
}

/* Flex containers that may force children wider than viewport */
.toolbar,
.form-row,
.page-header,
.page-actions {
  flex-wrap: wrap;
}

/* All table wrappers scroll horizontally — never push body */
.table-wrap {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Modal / modal-box must respect viewport */
.modal-box,
.modal {
  max-width: min(400px, calc(100vw - 32px));
  width: 100%;
}

/* Stats grids fallback to 1 col on very narrow screens */
@media (max-width: 400px) {

  .stats-row,
  .stats-strip {
    grid-template-columns: 1fr 1fr !important;
  }

  .charts-row,
  .bottom-row,
  .cards-grid {
    grid-template-columns: 1fr !important;
  }

  .admin-main,
  .content-wrap {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

@media (max-width: 480px) {
  .float-zalo-label {
    display: none;
  }
}

/* ===== Back to Top ===== */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 999;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s;
  backdrop-filter: blur(8px);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--accent-gradient-btn);
  color: #fff;
  border-color: var(--accent-1);
  transform: translateY(-2px);
}

/* ===== Scroll Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.23, 1, 0.32, 1), transform 0.65s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Toast Notification Global */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: rgba(11, 11, 21, 0.95);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  color: #fff;
  padding: 16px 20px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.05);
  animation: toastIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  min-width: 280px;
  max-width: 420px;
  word-wrap: break-word;
}

.toast.success {
  background: rgba(52, 211, 153, 0.1);
  border-color: rgba(52, 211, 153, 0.4);
  color: #fff;
}

.toast.success svg {
  stroke: #34d399;
}

.toast.error {
  background: rgba(248, 113, 113, 0.1);
  border-color: rgba(248, 113, 113, 0.4);
  color: #fff;
}

.toast.error svg {
  stroke: #f87171;
}

.toast.warning {
  background: rgba(251, 191, 36, 0.1);
  border-color: rgba(251, 191, 36, 0.4);
  color: #fff;
}

.toast.warning svg {
  stroke: #fbbf24;
}

@keyframes toastIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes toastOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }

  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* Responsive Toast for Mobile */
@media (max-width: 640px) {
  .toast-container {
    top: 10px;
    right: 10px;
    left: 10px;
    width: auto;
  }

  .toast {
    min-width: auto;
    max-width: 100%;
  }
}

/* =========================================
   PREMIUM UI UPGRADES
========================================= */

/* Hero 2-column layout */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  gap: 40px;
}

.hero-left {
  flex: 1;
  max-width: 550px;
}

.hero-left h1 {
  font-size: clamp(34px, 5.5vw, 54px);
  margin-bottom: 20px;
}

.hero-left p {
  margin: 0;
}

.hero-right {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}

@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-left {
    margin: 0 auto;
  }

  .hero-left p {
    margin: 0 auto;
  }

  .hero-right {
    width: 100%;
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  .hero-right {
    margin-top: 28px;
    min-height: auto;
  }
}

@media (max-width: 480px) {
  .hero-right {
    margin-top: 24px;
  }
}

/* CTA Button */
.cta-button {
  display: inline-flex;
  align-items: center;
  padding: 18px 48px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.6);
  transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cta-button:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 40px rgba(139, 92, 246, 0.8);
  color: #fff;
}

/* Stat Cards & Features Hover Effects */
.stat-card {
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(124, 58, 237, 0.15) inset;
  border-color: rgba(124, 58, 237, 0.3);
}

.feature-item {
  transition: transform 0.3s, background 0.3s;
  padding: 10px;
  border-radius: 16px;
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.03);
  transform: translateY(-2px);
}

.feature-item:hover .feature-icon {
  animation: bounceIcon 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 0 20px currentColor;
  /* uses the inherited color from svgs */
}

@keyframes bounceIcon {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

/* Mock Dashboard CSS */
.mock-dash {
  width: 100%;
  max-width: 500px;
  background: rgba(15, 15, 25, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(124, 58, 237, 0.2);
  backdrop-filter: blur(20px);
  overflow: hidden;
  position: relative;
  z-index: 2;
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: transform 0.5s;
}

.mock-dash:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-10px);
}

.mock-dash-header {
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  padding: 0 16px;
}

.mock-dots {
  display: flex;
  gap: 6px;
}

.mock-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.mock-dots span:nth-child(1) {
  background: #ff5f56;
}

.mock-dots span:nth-child(2) {
  background: #ffbd2e;
}

.mock-dots span:nth-child(3) {
  background: #27c93f;
}

.mock-title {
  flex: 1;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.mock-dash-body {
  display: flex;
  height: 320px;
}

.mock-sidebar {
  width: 60px;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 16px;
  gap: 16px;
}

.mock-menu-item {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.mock-menu-item.active {
  background: var(--accent-gradient-btn);
  box-shadow: 0 0 15px var(--accent-glow);
}

.mock-menu-item.mt {
  margin-top: auto;
  margin-bottom: 20px;
}

.mock-content {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mock-top-cards {
  display: flex;
  gap: 12px;
}

.mock-card {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 12px;
}

.mock-card-title {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.mock-card-val {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}

.mock-card-val.mock-green {
  color: var(--green);
}

.mock-chart {
  height: 80px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
}

.mock-chart-bar {
  flex: 1;
  background: rgba(124, 58, 237, 0.5);
  border-radius: 4px 4px 0 0;
  animation: barGrow 2s ease-out;
}

@keyframes barGrow {
  from {
    transform: scaleY(0);
    transform-origin: bottom;
  }

  to {
    transform: scaleY(1);
    transform-origin: bottom;
  }
}

.mock-terminal {
  flex: 1;
  background: #000;
  border-radius: 8px;
  padding: 12px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 10px;
  color: #a5a5c8;
  line-height: 1.6;
}

.mock-float {
  position: absolute;
  background: rgba(20, 20, 30, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 16px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  z-index: 3;
}

.mock-float-1 {
  top: 40px;
  right: -20px;
  animation: float1 6s ease-in-out infinite;
}

.mock-float-2 {
  bottom: 50px;
  left: -30px;
  animation: float2 5s ease-in-out infinite alternate;
}

.mock-guild-icon {
  width: 32px;
  height: 32px;
  background: var(--accent-gradient-btn);
  border-radius: 50%;
}

@keyframes float1 {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

@keyframes float2 {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(10px);
  }
}



/* === Dashboard topbar override: prevent .header fixed styles from conflicting === */
.header.dash-topbar {
    position: sticky !important;
    left: auto !important;
    right: auto !important;
    height: auto !important;
    padding: 14px 22px !important;
    z-index: 1000 !important;
    justify-content: stretch !important;
}

@media (max-width: 992px) {
    .header.dash-topbar {
        display: none !important;
    }
}

