/* ============================================================
   OmMeToo — Premium User App CSS
   Mobile-first design with golden theme
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* ---- CSS Variables ---- */
:root {
  --primary:       #D4AF37;
  --primary-dark:  #AA8529;
  --primary-light: #F3E5AB;
  --primary-glow:  rgba(212, 175, 55, 0.3);
  --primary-bg:    #FCFBF4;
  --bg:            #F4F4F9;
  --card:          rgba(255, 255, 255, 0.65);
  --card-border:   rgba(255, 255, 255, 0.5);
  --text:          #1A1A24;
  --text-muted:    #64748B;
  --text-light:    #CBD5E1;
  --border:        rgba(226, 232, 240, 0.6);
  --success:       #10B981;
  --success-bg:    #D1FAE5;
  --danger:        #EF4444;
  --danger-bg:     #FEE2E2;
  --warning:       #F59E0B;
  --warning-bg:    #FEF3C7;
  --info:          #3B82F6;
  --info-bg:       #DBEAFE;
  --shadow-sm:     0 4px 15px rgba(0, 0, 0, 0.03);
  --shadow:        0 10px 40px rgba(0, 0, 0, 0.08);
  --shadow-lg:     0 24px 60px rgba(0, 0, 0, 0.12);
  --shadow-inner:  inset 0 1px 1px rgba(255, 255, 255, 0.9);
  --radius-sm:     10px;
  --radius:        16px;
  --radius-lg:     24px;
  --radius-xl:     32px;
  --transition:    0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --bottom-nav-h:  70px;
  --header-h:      56px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Outfit', 'Inter', system-ui, sans-serif;
  background: var(--bg);
  background-image: radial-gradient(circle at 10% 10%, rgba(212, 175, 55, 0.05) 0%, transparent 40%),
                    radial-gradient(circle at 90% 90%, rgba(212, 175, 55, 0.05) 0%, transparent 40%);
  background-attachment: fixed;
  color: var(--text);
  min-height: 100vh;
  max-width: 520px;
  margin: 0 auto;
  position: relative;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; outline: none; }
ul, ol { list-style: none; }

/* ============================================================
   APP WRAPPER
   ============================================================ */
.app-wrap {
  min-height: 100vh;
  padding-bottom: var(--bottom-nav-h);
  background: var(--bg);
}
.app-wrap.no-nav { padding-bottom: 0; }

/* ============================================================
   HEADER BAR (Inner pages)
   ============================================================ */
.header-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border);
}
.header-back {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(0,0,0,0.05);
  color: var(--text);
  border: none; cursor: pointer;
  transition: background var(--transition);
  flex-shrink: 0;
}
.header-back:active { background: rgba(0,0,0,0.1); }
.header-title {
  flex: 1;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.header-action {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: none; cursor: pointer;
  flex-shrink: 0;
}

/* ============================================================
   HERO BANNER
   ============================================================ */
.hero-banner {
  width: 100%;
  position: relative;
  overflow: hidden;
  background: #1a1a1a;
}
.hero-banner img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.hero-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.4));
}

/* ============================================================
   QUICK ACTIONS GRID
   ============================================================ */
.quick-actions {
  background: var(--card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 24px 16px 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px 8px;
  box-shadow: var(--shadow), var(--shadow-inner);
  border-bottom: 1px solid var(--card-border);
  margin-bottom: 8px;
}
.quick-action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: transform var(--transition);
}
.quick-action-item:active { transform: scale(0.92); }
.quick-action-icon {
  width: 54px; height: 54px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px var(--primary-glow);
  font-size: 22px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.quick-action-item:hover .quick-action-icon {
  box-shadow: 0 6px 18px rgba(230,168,23,0.4);
  transform: translateY(-2px);
}
.quick-action-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.2;
}

/* ============================================================
   SECTION HEADER
   ============================================================ */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 10px;
}
.section-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.section-link {
  font-size: 12px;
  color: var(--primary);
  font-weight: 500;
}

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.products-list {
  padding: 0 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.product-card {
  background: var(--card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow), var(--shadow-inner);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}
.product-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 4px; height: 100%;
  background: linear-gradient(to bottom, var(--primary), var(--primary-dark));
  border-radius: 4px 0 0 4px;
}
.product-card:active { transform: scale(0.98); }
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.product-card-img {
  width: 76px; height: 76px;
  border-radius: var(--radius);
  object-fit: cover;
  background: var(--bg);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.product-card-img-placeholder {
  width: 76px; height: 76px;
  border-radius: var(--radius);
  background: var(--primary-bg);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.product-card-info { flex: 1; min-width: 0; }
.product-card-name {
  font-size: 16px; font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.product-card-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.product-card-meta span {
  font-size: 12px;
  color: var(--text-muted);
}
.product-card-meta .highlight {
  font-weight: 700;
  color: var(--primary-dark);
}
.product-card-price {
  position: absolute;
  top: 16px; right: 16px;
  font-size: 16px;
  font-weight: 800;
  color: var(--primary-dark);
}
.btn-view-details {
  display: inline-block;
  background: var(--primary-bg);
  color: var(--primary-dark);
  border: 1px solid rgba(var(--primary-rgb, 230,168,23), 0.2);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.btn-view-details:hover { background: var(--primary); color: #fff; transform: translateY(-1px); }

/* ============================================================
   BOTTOM NAVIGATION
   ============================================================ */
.bottom-nav {
  position: fixed;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 520px;
  height: var(--bottom-nav-h);
  background: #fff;
  display: flex;
  align-items: center;
  border-top: 1px solid var(--border);
  z-index: 200;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}
.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 0;
  cursor: pointer;
  transition: color var(--transition);
  color: var(--text-muted);
  text-decoration: none;
}
.nav-item.active { color: var(--primary); }
.nav-icon {
  width: 26px; height: 26px;
  transition: transform var(--transition);
}
.nav-item.active .nav-icon { transform: translateY(-2px); }
.nav-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin: 12px;
  overflow: hidden;
}
.card-body { padding: 16px; }
.card-header {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

/* ============================================================
   GOLDEN PROFILE CARD
   ============================================================ */
.profile-card {
  background: linear-gradient(135deg, #F5C53A 0%, #E6A817 50%, #C88A00 100%);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin: 12px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 6px 20px rgba(230,168,23,0.35);
  position: relative;
  overflow: hidden;
}
.profile-card::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 140px; height: 140px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
}
.profile-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.5);
}
.profile-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.profile-info { flex: 1; }
.profile-name { font-size: 16px; font-weight: 700; margin-bottom: 2px; }
.profile-meta { font-size: 12px; opacity: 0.88; line-height: 1.6; }
.profile-vip {
  background: rgba(255,255,255,0.25);
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  margin-top: 6px;
  display: inline-block;
}

/* ============================================================
   BALANCE ROW
   ============================================================ */
.balance-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  margin: 0 12px 12px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.balance-item {
  padding: 14px 8px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.balance-item:last-child { border-right: none; }
.balance-amount {
  font-size: 16px; font-weight: 700;
  color: var(--primary);
  margin-bottom: 2px;
  display: block;
}
.balance-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ============================================================
   MENU LIST (Mine page)
   ============================================================ */
.menu-list {
  margin: 0 12px 12px;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.menu-item {
  display: flex;
  align-items: center;
  padding: 15px 16px;
  gap: 14px;
  cursor: pointer;
  transition: background var(--transition);
  text-decoration: none;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.menu-item:last-child { border-bottom: none; }
.menu-item:hover { background: var(--primary-bg); }
.menu-item:active { background: #FFF0C0; }
.menu-icon-wrap {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px var(--primary-glow);
}
.menu-item-label { flex: 1; font-size: 14px; font-weight: 500; }
.menu-chevron {
  color: var(--text-light);
  font-size: 16px;
}

/* ============================================================
   FORMS
   ============================================================ */
.form-group {
  margin-bottom: 16px;
}
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}
.form-control {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  background: #F8F9FF;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
  background: #fff;
}
.form-control::placeholder { color: var(--text-light); }
textarea.form-control { height: auto; padding: 12px 14px; resize: vertical; min-height: 90px; }
.input-group {
  display: flex;
  align-items: stretch;
}
.input-group .input-prefix {
  display: flex; align-items: center;
  padding: 0 12px;
  background: #F0F0F0;
  border: 1.5px solid var(--border);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}
.input-group .form-control {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* ---- Radio Options ---- */
.radio-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  margin-bottom: 10px;
  transition: border-color var(--transition), background var(--transition);
}
.radio-option.selected {
  border-color: var(--primary);
  background: var(--primary-bg);
}
.radio-option label {
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.radio-circle {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border);
  transition: border-color var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.radio-option.selected .radio-circle {
  border-color: var(--primary);
}
.radio-option.selected .radio-circle::after {
  content: '';
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--primary);
}

/* ---- Quick Amount Buttons ---- */
.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.amount-btn {
  height: 46px;
  background: #F5F5F5;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
}
.amount-btn.active, .amount-btn:hover {
  background: var(--primary-bg);
  border-color: var(--primary);
  color: var(--primary-dark);
}
.amount-btn:active { transform: scale(0.97); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 52px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  width: 0; height: 0;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s, height 0.4s, opacity 0.4s;
  opacity: 0;
}
.btn:active::after {
  width: 200px; height: 200px;
  opacity: 0;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary-light), var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 4px 16px rgba(230,168,23,0.4);
}
.btn-primary:hover { box-shadow: 0 6px 24px rgba(230,168,23,0.5); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); box-shadow: 0 2px 8px rgba(230,168,23,0.3); }
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary-bg); }
.btn-danger {
  background: var(--danger);
  color: #fff;
  box-shadow: 0 4px 12px rgba(239,68,68,0.3);
}
.btn-success {
  background: var(--success);
  color: #fff;
  box-shadow: 0 4px 12px rgba(34,197,94,0.3);
}
.btn-sm {
  height: 38px;
  font-size: 13px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  width: auto;
  display: inline-flex;
}
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}
.btn-loading::after {
  content: '';
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  position: static;
  background: none;
  opacity: 1;
  transform: none;
}

/* ============================================================
   TRANSACTION HISTORY ITEMS
   ============================================================ */
.txn-list { padding: 0 12px 12px; display: flex; flex-direction: column; gap: 8px; }
.txn-item {
  background: #fff;
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
.txn-item:hover { box-shadow: var(--shadow); }
.txn-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.txn-icon.income  { background: #DCFCE7; }
.txn-icon.debit   { background: #FEE2E2; }
.txn-icon.pending { background: #FEF3C7; }
.txn-details { flex: 1; }
.txn-title { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.txn-date  { font-size: 11px; color: var(--text-muted); }
.txn-amount {
  font-size: 15px;
  font-weight: 700;
}
.txn-amount.positive { color: var(--success); }
.txn-amount.negative { color: var(--danger); }

/* ============================================================
   TEAM PAGE
   ============================================================ */
.team-header {
  background: linear-gradient(135deg, var(--primary-light), var(--primary), var(--primary-dark));
  padding: 24px 20px 28px;
  text-align: center;
  color: #fff;
}
.team-header-title { font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.team-header-sub { font-size: 13px; opacity: 0.85; }

.referral-box {
  background: #fff;
  border-radius: var(--radius);
  margin: -14px 12px 12px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.referral-box-title { font-size: 13px; font-weight: 600; color: var(--primary); margin-bottom: 10px; }
.referral-link-row {
  display: flex; gap: 8px; align-items: stretch;
}
.referral-link-input {
  flex: 1;
  height: 44px;
  background: #F8F8F8;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0 12px;
  font-size: 12px;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.btn-copy {
  height: 44px;
  padding: 0 16px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition);
}
.btn-copy:hover { background: var(--primary-dark); }

.team-summary {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  border-radius: var(--radius);
  margin: 0 12px 12px;
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  gap: 0;
}
.team-summary-item { border-right: 1px solid rgba(255,255,255,0.3); }
.team-summary-item:last-child { border-right: none; }
.team-summary-value { font-size: 18px; font-weight: 800; color: #fff; display: block; margin-bottom: 2px; }
.team-summary-label { font-size: 10px; color: rgba(255,255,255,0.85); font-weight: 500; text-transform: uppercase; }

.level-card {
  background: #fff;
  border-radius: var(--radius);
  margin: 0 12px 10px;
  padding: 16px;
  box-shadow: var(--shadow-sm);
}
.level-card-header {
  display: flex; align-items: center; gap: 12px; margin-bottom: 12px;
}
.level-badge {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  box-shadow: 0 3px 10px var(--primary-glow);
}
.level-title { font-size: 15px; font-weight: 700; }
.level-rate {
  margin-left: auto;
  background: var(--success-bg);
  color: var(--success);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
}
.level-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.level-stat { text-align: center; }
.level-stat-value { font-size: 14px; font-weight: 700; color: var(--primary); display: block; }
.level-stat-label { font-size: 10px; color: var(--text-muted); text-transform: uppercase; }

/* ============================================================
   SUPPORT PAGE (Dark Luxury Theme)
   ============================================================ */
.support-page {
  min-height: 100vh;
  background: radial-gradient(ellipse at center, #1A1000 0%, #0D0D0D 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.support-card {
  background: linear-gradient(145deg, #1C1C1C, #111);
  border: 1px solid rgba(230,168,23,0.3);
  border-radius: var(--radius-xl);
  padding: 36px 28px 28px;
  max-width: 380px;
  width: 100%;
  text-align: center;
  box-shadow: 0 0 60px rgba(230,168,23,0.12), 0 20px 60px rgba(0,0,0,0.5);
  position: relative;
  overflow: hidden;
}
.support-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}
.support-crown {
  width: 70px; height: 70px;
  background: radial-gradient(circle, rgba(230,168,23,0.3) 0%, transparent 70%);
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 34px;
  animation: glow 2s ease-in-out infinite alternate;
}
@keyframes glow {
  from { box-shadow: 0 0 10px rgba(230,168,23,0.3); }
  to   { box-shadow: 0 0 30px rgba(230,168,23,0.6); }
}
.support-brand {
  font-family: 'Poppins', sans-serif;
  font-size: 22px; font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}
.support-subtitle { font-size: 12px; color: #888; margin-bottom: 16px; }
.support-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(230,168,23,0.4), transparent);
  margin: 16px 0;
}
.support-exclusive {
  font-size: 11px; font-weight: 700;
  color: var(--primary);
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}
.support-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #1E1E1E, #252525);
  border: 1px solid rgba(230,168,23,0.35);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.support-btn:hover {
  border-color: var(--primary);
  background: linear-gradient(135deg, #252500, #1A1500);
  box-shadow: 0 4px 20px rgba(230,168,23,0.2);
  transform: translateX(4px);
}
.support-btn-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(230,168,23,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.support-btn-text {
  font-size: 13px; font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.support-btn-arrow { margin-left: auto; color: rgba(230,168,23,0.6); font-size: 14px; }
.support-footer {
  margin-top: 20px;
  font-size: 11px;
  color: #555;
  letter-spacing: 1px;
}

/* ============================================================
   AUTH PAGES (Login/Register)
   ============================================================ */
.auth-page {
  min-height: 100vh;
  background: #F8F9FF;
  display: flex;
  flex-direction: column;
}
.auth-banner {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.auth-tabs {
  display: flex;
  background: #fff;
  padding: 0 20px;
  gap: 0;
}
.auth-tab {
  flex: 1;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
}
.auth-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}
.auth-body {
  flex: 1;
  padding: 24px 20px;
  background: #fff;
}
.auth-logo-wrap {
  text-align: center;
  padding: 32px 20px;
}
.auth-logo { width: 120px; margin: 0 auto 12px; }
.auth-logo-title { font-size: 24px; font-weight: 800; color: var(--primary); }
.auth-logo-sub { font-size: 13px; color: var(--text-muted); }

/* ============================================================
   BADGES
   ============================================================ */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}
.badge-success { background: var(--success-bg); color: var(--success); }
.badge-danger  { background: var(--danger-bg);  color: var(--danger);  }
.badge-warning { background: var(--warning-bg); color: var(--warning); }
.badge-info    { background: var(--info-bg);    color: var(--info);    }
.badge-muted   { background: #F3F4F6; color: #6B7280; }

/* ============================================================
   TOAST NOTIFICATIONS
   ============================================================ */
.toast-container {
  position: fixed;
  bottom: calc(var(--bottom-nav-h) + 12px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: calc(100% - 24px);
  max-width: 480px;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius);
  margin-bottom: 8px;
  box-shadow: var(--shadow-lg);
  font-size: 14px;
  font-weight: 500;
  animation: slideUp 0.3s cubic-bezier(0.4,0,0.2,1);
  pointer-events: auto;
}
.toast-success { background: #1A4731; color: #6EE7A0; }
.toast-error   { background: #4C1010; color: #FCA5A5; }
.toast-warning { background: #3D2A00; color: #FDE68A; }
.toast-info    { background: #0F2D4C; color: #93C5FD; }

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   LOADING SKELETON
   ============================================================ */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ============================================================
   EMPTY STATE
   ============================================================ */
.empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-muted);
}
.empty-state-icon { font-size: 56px; margin-bottom: 16px; opacity: 0.5; }
.empty-state-title { font-size: 16px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.empty-state-text { font-size: 13px; line-height: 1.6; }

/* ============================================================
   EXPLAIN BOX
   ============================================================ */
.explain-box {
  background: var(--primary-bg);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 16px;
  margin: 0 12px 12px;
}
.explain-box-title { font-size: 13px; font-weight: 700; color: var(--primary-dark); margin-bottom: 8px; }
.explain-box li {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.8;
  padding-left: 12px;
  position: relative;
}
.explain-box li::before {
  content: counter(li) '.';
  counter-increment: li;
  position: absolute;
  left: 0;
}
.explain-box ol { counter-reset: li; }

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.product-detail-header {
  background: linear-gradient(135deg, var(--primary-light), var(--primary), var(--primary-dark));
  padding: 20px 16px;
  text-align: center;
  color: #fff;
}
.product-detail-img {
  width: 100px; height: 100px;
  border-radius: var(--radius);
  object-fit: cover;
  margin: 0 auto 12px;
  border: 3px solid rgba(255,255,255,0.3);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.product-detail-name { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.product-detail-price { font-size: 18px; font-weight: 600; opacity: 0.9; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  margin: 12px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.stat-cell {
  background: #fff;
  padding: 16px;
  text-align: center;
}
.stat-cell-value { font-size: 18px; font-weight: 700; color: var(--primary); display: block; }
.stat-cell-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; font-weight: 600; }

/* ============================================================
   SCROLL UTILITIES
   ============================================================ */
::-webkit-scrollbar { width: 0; height: 0; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fadeIn { animation: fadeIn 0.3s ease; }
.animate-slideDown { animation: slideDown 0.3s ease; }

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-muted   { color: var(--text-muted); }
.text-success { color: var(--success); }
.text-danger  { color: var(--danger); }
.fw-bold { font-weight: 700; }
.fw-600  { font-weight: 600; }
.mt-8  { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mb-8  { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.p-12  { padding: 12px; }
.p-16  { padding: 16px; }
.px-16 { padding-left: 16px; padding-right: 16px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.w-100  { width: 100%; }
.divider { height: 1px; background: var(--border); margin: 12px 0; }

/* ---- Spacer ---- */
.spacer-4  { height: 4px; }
.spacer-8  { height: 8px; }
.spacer-12 { height: 12px; }
.spacer-16 { height: 16px; }

/* ============================================================
   DESKTOP CENTERING WRAPPER
   ============================================================ */
@media (min-width: 521px) {
  body {
    background: #E8E8E8;
    box-shadow: 0 0 40px rgba(0,0,0,0.15);
  }
  .bottom-nav { border-radius: 0 0 0 0; }
}
