@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;600;700&display=swap');

:root {
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing Tokens */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;

  /* Color Tokens */
  --bg-body: #070A11;
  --bg-card: rgba(15, 23, 42, 0.78);
  --bg-header: rgba(7, 10, 17, 0.92);
  --bg-glass: rgba(255, 255, 255, 0.04);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(97, 212, 255, 0.4);

  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-dim: #64748B;

  --primary-blue: #3B82F6;
  --primary-cyan: #38BDF8;
  --accent-purple: #C084FC;
  --accent-emerald: #10B981;
  --accent-amber: #F59E0B;
  --accent-rose: #F43F5E;

  --pill-active-bg: linear-gradient(135deg, rgba(56, 189, 248, 0.2) 0%, rgba(192, 132, 252, 0.15) 100%);
  --gradient-brand: linear-gradient(135deg, #38BDF8 0%, #818CF8 50%, #C084FC 100%);
  --gradient-zalo: linear-gradient(135deg, #0084FF 0%, #0056B3 100%);
  --gradient-tele: linear-gradient(135deg, #0088CC 0%, #005580 100%);

  --radius-pill: 999px;
  --radius-btn: 14px;
  --radius-card: 20px;

  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.25);
  --shadow-modal: 0 24px 60px rgba(0, 0, 0, 0.65);

  --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Theme Overrides */
body.light-theme {
  --bg-body: #F8FAFC;
  --bg-card: rgba(255, 255, 255, 0.95);
  --bg-header: rgba(248, 250, 252, 0.94);
  --bg-glass: rgba(0, 0, 0, 0.03);
  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(56, 189, 248, 0.6);

  --text-main: #0F172A;
  --text-muted: #475569;
  --text-dim: #64748B;
  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.06);
}

/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Ambient Glowing Background */
.ambient-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.2;
}
.orb-1 { top: -10%; left: 20%; width: 500px; height: 500px; background: var(--primary-cyan); }
.orb-2 { top: 35%; right: -5%; width: 550px; height: 550px; background: var(--accent-purple); }
.orb-3 { bottom: -10%; left: 25%; width: 450px; height: 450px; background: var(--primary-blue); }

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--space-6);
  position: relative;
  z-index: 1;
}

/* Announcement Bar (30px) */
.announcement-bar {
  height: 30px;
  background: rgba(15, 23, 42, 0.9);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 10;
  color: var(--text-muted);
}
.announcement-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
}
.badge-live {
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 1px 8px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.pulse-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--accent-emerald);
  animation: pulseDot 1.5s infinite;
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.5; }
}

.announcement-text {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 500;
}
.divider { color: var(--text-dim); opacity: 0.5; }

/* HEADER NAVBAR */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-header);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: var(--space-4);
}

/* Brand Logo */
.logo-container {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
}
.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.25);
}
.logo-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--text-main) 30%, var(--primary-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.logo-subtitle {
  font-size: 0.65rem;
  color: var(--text-dim);
  font-weight: 600;
  text-transform: uppercase;
}

/* Desktop Navigation Pills */
.nav-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(0, 0, 0, 0.3);
  padding: 4px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
}
.nav-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: var(--transition-fast);
}
.nav-btn:hover {
  color: var(--text-main);
  background: rgba(56, 189, 248, 0.1);
  border-color: rgba(56, 189, 248, 0.2);
}
.nav-btn.active {
  background: var(--pill-active-bg);
  color: var(--primary-cyan);
  border-color: rgba(56, 189, 248, 0.35);
  font-weight: 700;
}
.nav-btn.donate-pill { color: #FB7185; }
.nav-btn.donate-pill.active {
  background: rgba(244, 63, 94, 0.15);
  border-color: rgba(244, 63, 94, 0.3);
  color: #FB7185;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
}

.donate-header-btn {
  background: rgba(244, 63, 94, 0.14);
  border: 1px solid rgba(244, 63, 94, 0.35);
  color: #FB7185;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-main);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition-fast);
  white-space: nowrap;
}
.donate-header-btn:hover, .donate-header-btn.active {
  background: linear-gradient(135deg, #f43f5e 0%, #fb7185 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(244, 63, 94, 0.4);
}

.music-toggle-btn, .theme-toggle-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}
.music-toggle-btn:hover, .theme-toggle-btn:hover {
  color: var(--primary-cyan);
  border-color: var(--border-hover);
}
.music-toggle-btn.playing {
  color: var(--accent-emerald);
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.12);
  animation: pulseMusic 1.5s infinite;
}
@keyframes pulseMusic {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.contact-btn-outline {
  background: transparent;
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: var(--primary-cyan);
  padding: 7px 16px;
  border-radius: var(--radius-btn);
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
  white-space: nowrap;
}
.contact-btn-outline:hover {
  background: rgba(56, 189, 248, 0.12);
  border-color: var(--primary-cyan);
  color: #fff;
}

/* HERO SECTION */
.hero-section {
  padding: 36px 0 28px;
  text-align: center;
  position: relative;
}
.hero-top-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  color: var(--primary-cyan);
  font-size: 0.825rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.hero-banner-img {
  max-width: 540px;
  width: 90%;
  height: auto;
  filter: drop-shadow(0 0 24px rgba(56, 189, 248, 0.3));
  margin-bottom: 14px;
}
.hero-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 24px;
  font-weight: 400;
}

.hero-search-wrapper {
  max-width: 600px;
  margin: 0 auto 32px;
  position: relative;
}
.hero-search-input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-pill);
  padding: 14px 20px 14px 50px;
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: 0.925rem;
  outline: none;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  transition: var(--transition-fast);
}
.hero-search-input:focus {
  border-color: var(--primary-cyan);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}
.hero-search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-cyan);
  font-size: 1rem;
  pointer-events: none;
}

/* Stats Row */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 16px;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: var(--transition-smooth);
}
.stat-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
}
.stat-number {
  font-size: 1.6rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--primary-cyan);
  margin-bottom: 2px;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* SECTION HEADER & FILTERS */
.section-header {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.section-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-btn);
  background: rgba(56, 189, 248, 0.12);
  color: var(--primary-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.section-title {
  font-size: 1.4rem;
  font-weight: 700;
}
.section-subtitle {
  font-size: 0.825rem;
  color: var(--text-muted);
}

.controls-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.search-box {
  position: relative;
  min-width: 240px;
}
.search-input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 9px 14px 9px 38px;
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: 0.85rem;
  outline: none;
  transition: var(--transition-fast);
}
.search-input:focus {
  border-color: var(--primary-cyan);
}
.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  pointer-events: none;
}
.filter-select {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 9px 16px;
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: 0.85rem;
  outline: none;
  cursor: pointer;
}

.category-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.category-pill {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.825rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.category-pill:hover {
  border-color: var(--primary-cyan);
  color: var(--text-main);
}
.category-pill.active {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--primary-cyan);
  color: var(--primary-cyan);
}

.service-section {
  display: none;
  animation: fadeIn 0.3s ease-out;
}
.service-section.active {
  display: block;
}

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

/* SMM & Domain Tables */
.table-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: var(--shadow-subtle);
  backdrop-filter: blur(14px);
}
.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 800px;
}
.custom-table th {
  background: rgba(0, 0, 0, 0.3);
  padding: 14px 18px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border-subtle);
}
.custom-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.875rem;
  vertical-align: middle;
}
.custom-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}
.custom-table tbody tr:last-child td {
  border-bottom: none;
}

.id-badge {
  font-family: var(--font-mono);
  background: rgba(56, 189, 248, 0.12);
  color: var(--primary-cyan);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid rgba(56, 189, 248, 0.25);
  display: inline-flex;
  align-items: center;
}
.price-tag {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--accent-emerald);
  font-size: 0.9rem;
}
.price-unit {
  font-size: 0.75rem;
  color: var(--text-dim);
  display: block;
}
.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(192, 132, 252, 0.12);
  color: var(--accent-purple);
  border: 1px solid rgba(192, 132, 252, 0.22);
}
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
}
.status-badge.auto {
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.22);
}
.status-badge.manual {
  background: rgba(245, 158, 11, 0.12);
  color: var(--accent-amber);
  border: 1px solid rgba(245, 158, 11, 0.22);
}

.btn-action-copy {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--primary-cyan);
  padding: 6px 14px;
  border-radius: var(--radius-btn);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.btn-action-copy:hover {
  background: var(--primary-cyan);
  color: #070A11;
  border-color: var(--primary-cyan);
}

/* Hosting & VPS Grid Cards */
.sub-tabs-container {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}
.sub-tabs {
  display: inline-flex;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 4px;
  border-radius: var(--radius-pill);
}
.sub-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 7px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.825rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}
.sub-tab-btn.active {
  background: var(--primary-cyan);
  color: #070A11;
  font-weight: 700;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 20px;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(14px);
  transition: var(--transition-smooth);
}
.pricing-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
}
.pricing-card.popular {
  border-color: rgba(56, 189, 248, 0.4);
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.08) 0%, rgba(15, 23, 42, 0.85) 100%);
}
.popular-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--gradient-brand);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}
.card-header {
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 14px;
}
.card-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.card-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  min-height: 36px;
}
.card-price {
  font-size: 1.6rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--primary-cyan);
}

.feature-list {
  list-style: none;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-main);
}
.feature-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
}
.feature-icon.cross {
  background: rgba(244, 63, 94, 0.15);
  color: var(--accent-rose);
}

.btn-order-full {
  width: 100%;
  background: var(--gradient-brand);
  border: none;
  color: #fff;
  padding: 11px;
  border-radius: var(--radius-btn);
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.btn-order-full:hover {
  opacity: 0.92;
}

/* DONATE ADMIN SECTION */
.donate-container {
  max-width: 760px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid rgba(244, 63, 94, 0.3);
  border-radius: var(--radius-card);
  padding: 32px 20px;
  text-align: center;
  backdrop-filter: blur(16px);
}
.donate-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(244, 63, 94, 0.12);
  color: #FB7185;
  border: 1px solid rgba(244, 63, 94, 0.25);
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.donate-qr-wrapper {
  margin: 16px auto;
  display: inline-block;
  padding: 12px;
  background: #fff;
  border-radius: 16px;
}
.donate-qr-img {
  max-width: 260px;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}
.donate-bank-info {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-btn);
  padding: 16px;
  margin: 20px auto;
  max-width: 460px;
  text-align: left;
}
.bank-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.bank-info-row:last-child {
  border-bottom: none;
}
.bank-label { color: var(--text-muted); font-size: 0.85rem; }
.bank-val { font-family: var(--font-mono); font-weight: 700; color: var(--text-main); font-size: 0.9rem; }

.btn-done-donate {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* WELCOME POPUP MODAL STYLES */
.welcome-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 13, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadeIn 0.3s ease-out;
}

.info-card {
  max-width: 620px;
  width: 100%;
  padding: 32px 28px;
  border-radius: 20px;
  background: linear-gradient(145deg, #0f172a, #1e293b);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(56, 189, 248, 0.15);
  color: #fff;
  font-family: var(--font-main);
  position: relative;
  overflow: hidden;
  animation: scaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes scaleUp {
  from { transform: scale(0.9) translateY(10px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

.info-card::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  background: rgba(59, 130, 246, 0.15);
  border-radius: 50%;
  top: -90px;
  right: -90px;
  pointer-events: none;
}

.close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: .25s;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-btn:hover {
  background: #ef4444;
  transform: rotate(90deg);
}

.info-card h2 {
  margin: 0 0 12px;
  font-size: 26px;
  font-weight: 800;
  color: #60a5fa;
}

.info-card p {
  margin: 10px 0;
  color: #cbd5e1;
  line-height: 1.7;
  font-size: 15px;
}

.links {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.links a {
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.925rem;
  transition: .3s;
}

.btn-primary {
  background: #2563eb;
  color: #fff;
}

.btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-outline {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(96, 165, 250, .35);
  color: #93c5fd;
}

.btn-outline:hover {
  background: rgba(59, 130, 246, .15);
  color: #fff;
  border-color: #60a5fa;
}
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 13, 0.85);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-box-premium {
  background: #0D1322;
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-card);
  max-width: 480px;
  width: 100%;
  padding: 28px 20px;
  position: relative;
  transform: scale(0.95);
  transition: var(--transition-smooth);
}
.modal-overlay.active .modal-box-premium { transform: scale(1); }
.modal-top-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: var(--primary-cyan);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.modal-code-card {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-btn);
  padding: 14px;
  margin: 16px 0 20px;
}
.modal-code-text {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent-emerald);
  word-break: break-all;
}
.modal-price-text {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-cyan);
  margin-top: 6px;
}

.btn-zalo-direct, .btn-tele-direct {
  width: 100%;
  color: #fff;
  border: none;
  padding: 12px 16px;
  border-radius: var(--radius-btn);
  font-family: var(--font-main);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  margin-bottom: 8px;
}
.btn-zalo-direct { background: var(--gradient-zalo); }
.btn-tele-direct { background: var(--gradient-tele); }

/* Toast */
.toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.toast {
  background: #0D1322;
  border: 1px solid var(--primary-cyan);
  color: var(--text-main);
  padding: 12px 18px;
  border-radius: var(--radius-btn);
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Footer */
.footer {
  margin-top: 60px;
  border-top: 1px solid var(--border-subtle);
  padding: 32px 0;
  background: rgba(0, 0, 0, 0.4);
  font-size: 0.825rem;
  color: var(--text-muted);
}
.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

/* --- ULTRA SLEEK CLEAN MOBILE RESPONSIVE DESIGN --- */
@media (max-width: 900px) {
  .announcement-bar {
    height: 28px;
    padding: 0 8px;
    font-size: 0.72rem;
    overflow: hidden;
  }
  .announcement-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
    width: 100%;
  }
  .announcement-text {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
  }
  .extra-text {
    display: none;
  }

  /* Compact Mobile Header (Height: 60px) */
  .nav-wrapper {
    height: 60px;
    padding: 0;
  }
  .logo-title {
    font-size: 1.15rem;
  }
  .logo-icon {
    width: 34px;
    height: 34px;
    font-size: 1rem;
    border-radius: 10px;
  }
  .logo-subtitle {
    display: none;
  }
  .contact-btn-outline {
    padding: 6px 12px;
    font-size: 0.78rem;
  }

  /* VISIBLE DIRECT HORIZONTAL NAV TAB BAR ON MOBILE (No hidden drawer required!) */
  .nav-tabs {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100vw;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-top: 1px solid var(--border-subtle);
    background: rgba(7, 10, 17, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 6px 12px;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 99;
    box-shadow: 0 4px 16px rgba(0,0,0,0.4);
    scrollbar-width: none;
  }
  .nav-tabs::-webkit-scrollbar { display: none; }
  .nav-btn {
    padding: 6px 14px;
    font-size: 0.78rem;
    border-radius: var(--radius-pill);
  }

  /* Extra Padding for Page Body so fixed tabs don't overlap Hero */
  main.container {
    padding-top: 48px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero-section {
    padding: 20px 0 16px;
  }
  .hero-banner-img {
    width: 95%;
  }
  .hero-desc {
    font-size: 0.875rem;
    margin-bottom: 18px;
  }
  .hero-search-wrapper {
    margin-bottom: 20px;
  }
  .hero-search-input {
    padding: 11px 16px 11px 42px;
    font-size: 0.85rem;
  }
  .hero-search-icon {
    left: 14px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .stat-card {
    padding: 12px 8px;
  }
  .stat-number {
    font-size: 1.25rem;
  }
  .stat-label {
    font-size: 0.725rem;
  }

  .section-title {
    font-size: 1.15rem;
  }
  .section-subtitle {
    font-size: 0.75rem;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .pricing-card {
    padding: 18px;
  }
  .card-name {
    font-size: 1.1rem;
  }
  .card-price {
    font-size: 1.4rem;
  }

  .donate-container {
    padding: 20px 14px;
  }
  .donate-qr-img {
    max-width: 220px;
  }
  .bank-info-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}
