/* ============================================================
   GOPRO APP — COMPLETE CSS
   ============================================================ */

/* ── CSS Variables ── */
:root {
  --primary:  #1a237e;
  --blue:     #1565c0;
  --accent:   #f9a825;
  --green:    #2e7d32;
  --red:      #c62828;
  --gray:     #888;
  --border:   #eee;
  --bg:       #f4f6fb;
  --white:    #fff;
  --text:     #222;
  --radius:   14px;
  --shadow:   0 4px 20px rgba(0,0,0,.08);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { height: 100%; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  -webkit-tap-highlight-color: transparent;
  max-width: 480px;
  margin: 0 auto;
  padding-bottom: 76px;
  overflow-x: hidden;
  min-height: 100vh;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }
#app { min-height: 100vh; display: flex; flex-direction: column; }

/* ============================================================
   GLOBAL HEADER
   ============================================================ */
.global-header {
  background: var(--primary);
  padding: 10px 16px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.global-header-inner { display: flex; align-items: center; gap: 10px; }
.global-logo-img { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; }
.global-logo-text {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--accent); color: var(--primary);
  font-weight: 900; font-size: 20px;
  display: flex; align-items: center; justify-content: center;
}
.global-site-name { color: #fff; font-weight: 700; font-size: 16px; letter-spacing: .3px; }

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 16px;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.top-bar .icons { display: flex; gap: 16px; font-size: 19px; color: var(--primary); }
.top-bar .icons a { color: var(--primary); position: relative; }

/* ============================================================
   BOTTOM NAV
   ============================================================ */
.bottom-nav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 480px;
  background: #fff; border-top: 1px solid var(--border);
  display: flex; z-index: 500;
  box-shadow: 0 -2px 12px rgba(0,0,0,.07);
}
.nav-item {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 8px 4px 6px; color: #aaa;
  font-size: 10px; gap: 3px; transition: color .2s;
}
.nav-item i { font-size: 20px; }
.nav-item.active { color: var(--blue); }
.nav-item span { font-weight: 600; }

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-header {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 90;
}
.page-header h2 { font-size: 17px; font-weight: 700; color: var(--primary); }
.back-btn {
  width: 34px; height: 34px; border-radius: 50%;
  background: #f0f4ff;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 15px; flex-shrink: 0;
}
.inner-page { padding-bottom: 20px; }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: #fff; border-radius: var(--radius);
  padding: 16px; margin: 12px 16px; box-shadow: var(--shadow);
}

/* ============================================================
   ALERTS
   ============================================================ */
.alert {
  margin: 10px 16px; padding: 12px 16px;
  border-radius: 12px; font-size: 14px; font-weight: 500;
}
.alert-success { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
.alert-error   { background: #fce4ec; color: #c62828; border: 1px solid #ef9a9a; }

/* ============================================================
   LOGIN / REGISTER PAGE
   ============================================================ */
.form-page {
  min-height: 100vh;
  background: linear-gradient(160deg, #1a237e 0%, #1565c0 45%, #e3f2fd 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px 40px;
}

/* Logo */
.form-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}
.form-logo img {
  width: 72px; height: 72px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  border: 3px solid rgba(255,255,255,.3);
}
.form-logo div {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: .5px;
  text-shadow: 0 2px 8px rgba(0,0,0,.2);
}

/* Tab switch (Login / Register) */
.tab-switch {
  display: flex;
  background: rgba(255,255,255,.15);
  border-radius: 30px;
  padding: 4px;
  margin-bottom: 20px;
  width: 100%;
  max-width: 340px;
  backdrop-filter: blur(4px);
}
.tab-switch a {
  flex: 1;
  text-align: center;
  padding: 9px 0;
  border-radius: 26px;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,.7);
  transition: background .2s, color .2s;
}
.tab-switch a.active {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 2px 10px rgba(0,0,0,.15);
}

/* Form box */
.form-box {
  background: #fff;
  border-radius: 24px;
  padding: 28px 22px 22px;
  width: 100%;
  max-width: 340px;
  box-shadow: 0 16px 48px rgba(0,0,0,.18);
  margin-bottom: 16px;
}
.form-box h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 20px;
  text-align: center;
  letter-spacing: .5px;
}

/* Form groups */
.form-group { margin-bottom: 14px; }
.form-group .input-wrap {
  display: flex;
  align-items: center;
  background: #f5f7fb;
  border: 1.5px solid #e0e6f0;
  border-radius: 12px;
  padding: 0 14px;
  gap: 10px;
  transition: border-color .2s;
}
.form-group .input-wrap:focus-within { border-color: var(--blue); background: #fff; }
.form-group .input-wrap > i {
  color: var(--blue);
  font-size: 16px;
  flex-shrink: 0;
  width: 18px;
  text-align: center;
}
.form-group .input-wrap input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 13px 0;
  font-size: 15px;
  color: var(--text);
  outline: none;
}
.form-group .input-wrap input::placeholder { color: #bbb; }
.form-group .input-wrap .toggle-pw {
  background: none;
  border: none;
  color: #888;
  font-size: 16px;
  padding: 4px;
  flex-shrink: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  min-height: 28px;
  -webkit-appearance: none;
}
.form-group .input-wrap .toggle-pw:hover { color: var(--blue); }
.form-group .input-wrap .toggle-pw i { pointer-events: none; }

/* Forgot password link */
.form-link {
  text-align: right;
  margin: -6px 0 14px;
}
.form-link a { font-size: 12px; color: var(--blue); font-weight: 600; }

/* Submit button */
.form-submit {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--primary), var(--blue));
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .5px;
  cursor: pointer;
  transition: opacity .2s, transform .15s;
  box-shadow: 0 6px 18px rgba(21,101,192,.35);
}
.form-submit:active { opacity: .9; transform: scale(.98); }

/* Quick login (Fingerprint / Face ID) */
.quick-login {
  width: 100%;
  max-width: 340px;
  text-align: center;
  margin-bottom: 16px;
}
.quick-login h4 {
  font-size: 12px;
  color: rgba(255,255,255,.65);
  margin-bottom: 12px;
  font-weight: 500;
  position: relative;
}
.quick-login h4::before,
.quick-login h4::after {
  content: '';
  position: absolute;
  top: 50%; width: 28%;
  height: 1px;
  background: rgba(255,255,255,.25);
}
.quick-login h4::before { left: 0; }
.quick-login h4::after  { right: 0; }
.quick-methods { display: flex; gap: 12px; justify-content: center; }
.quick-method {
  display: flex; flex-direction: column;
  align-items: center; gap: 6px;
  background: rgba(255,255,255,.15);
  border-radius: 14px;
  padding: 14px 22px;
  cursor: pointer;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  transition: background .2s;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.2);
}
.quick-method:active { background: rgba(255,255,255,.25); }
.quick-method i { font-size: 26px; }

/* Create account / login link */
.create-link {
  font-size: 13px;
  color: rgba(255,255,255,.75);
  text-align: center;
}
.create-link a {
  color: var(--accent);
  font-weight: 700;
  margin-left: 4px;
}

/* ============================================================
   ME PAGE
   ============================================================ */

/* User header section */
.me-header {
  background: linear-gradient(135deg, var(--primary), #1565c0);
  padding: 20px 16px 28px;
  color: #fff;
}
.user-info {
  display: flex;
  align-items: center;
  gap: 14px;
}
.avatar {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  border: 2px solid rgba(255,255,255,.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
  position: relative;
}
.avatar .tick {
  position: absolute;
  bottom: 0; right: 0;
  width: 18px; height: 18px;
  background: #4caf50;
  border-radius: 50%;
  border: 2px solid #fff;
  display: flex; align-items: center; justify-content: center;
}
.user-info .name { font-size: 17px; font-weight: 700; margin-bottom: 2px; }
.user-info .id   { font-size: 12px; opacity: .7; margin-bottom: 6px; }
.vip-badge {
  background: rgba(249,168,37,.25);
  color: var(--accent);
  border: 1px solid rgba(249,168,37,.4);
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
}

/* Balance card on me page */
.me-card {
  background: #fff;
  border-radius: 18px;
  margin: -16px 16px 0;
  padding: 18px;
  box-shadow: 0 8px 28px rgba(0,0,0,.12);
  position: relative;
  z-index: 2;
}
.me-card .balance-row {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.me-card .balance-item {
  flex: 1;
  background: #f5f7fa;
  border-radius: 10px;
  padding: 10px 12px;
}
.me-card .balance-item .lbl {
  font-size: 10px;
  color: var(--gray);
  margin-bottom: 3px;
}
.me-card .balance-item .val { font-size: 13px; font-weight: 700; }
.me-card .balance-item .val.green  { color: var(--green); }
.me-card .balance-item .val.orange { color: #e65100; }

/* Download app button */
.download-app-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px;
  background: linear-gradient(135deg,#1a237e,#1565c0);
  color: #fff;
  border-radius: 14px;
  font-weight: 700;
  font-size: 14px;
  margin: 14px 16px 0;
  box-shadow: 0 4px 14px rgba(21,101,192,.3);
}

/* Menu list */
.menu-list { margin: 14px 16px 0; }
.menu-item {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 14px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background .15s;
}
.menu-item:first-child { border-radius: 16px 16px 0 0; }
.menu-item:last-child  { border-radius: 0 0 16px 16px; border-bottom: none; }
.menu-item:active { background: #f5f7fb; }
.menu-item .icon {
  width: 34px; height: 34px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; flex-shrink: 0;
}
.menu-item .label { flex: 1; font-size: 13px; font-weight: 500; color: var(--text); }
.menu-item .arrow  { color: #ccc; font-size: 11px; }

/* Logout button */
.logout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 14px 16px 20px;
  padding: 14px;
  background: #fff;
  border: 1.5px solid #ffcdd2;
  border-radius: 14px;
  color: var(--red);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 2px 8px rgba(198,40,40,.08);
}

/* ============================================================
   HERO (home page)
   ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--primary), var(--blue));
  color: #fff; padding: 24px 16px 28px; text-align: center;
}
.hero h1 { font-size: 20px; font-weight: 800; line-height: 1.3; margin-bottom: 8px; }
.hero h1 span { color: var(--accent); }
.hero p { font-size: 13px; opacity: .85; line-height: 1.5; }

/* ============================================================
   BALANCE CARD (home)
   ============================================================ */
.balance-card {
  background: linear-gradient(135deg,#1a237e,#1565c0);
  margin: -14px 16px 0; border-radius: 16px;
  padding: 18px; color: #fff;
  box-shadow: 0 8px 24px rgba(21,101,192,.35);
  position: relative; z-index: 2;
}
.balance-card .label {
  font-size: 12px; opacity: .8;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.balance-card .amount { font-size: 28px; font-weight: 800; margin: 6px 0 12px; letter-spacing: .5px; }
.balance-row { display: flex; gap: 10px; }
.balance-item {
  flex: 1; background: rgba(255,255,255,.12);
  border-radius: 10px; padding: 8px 10px;
}
.balance-item .lbl { font-size: 10px; opacity: .75; margin-bottom: 2px; }
.balance-item .val { font-size: 13px; font-weight: 700; }
.balance-item .val.green  { color: #69f0ae; }
.balance-item .val.orange { color: var(--accent); }
.toggle-balance {
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,.7); font-size: 12px; padding: 0;
}

/* ============================================================
   ACTION BUTTONS (home — deposit/withdraw)
   ============================================================ */
.action-btns { display: flex; gap: 12px; padding: 20px 16px 0; }
.action-btn {
  flex: 1; display: flex; align-items: center; gap: 12px;
  padding: 16px; border-radius: 14px; color: #fff;
  font-weight: 700; font-size: 15px;
}
.action-btn i { font-size: 22px; }
.action-btn.deposit  { background: linear-gradient(135deg,#1565c0,#42a5f5); }
.action-btn.withdraw { background: linear-gradient(135deg,#e65100,#f9a825); }

/* ============================================================
   UPGRADE BANNER
   ============================================================ */
.upgrade-banner {
  display: flex; align-items: center; gap: 12px;
  margin: 16px 16px 0; background: linear-gradient(135deg,#f9a825,#ff8f00);
  border-radius: 14px; padding: 14px 16px; color: #fff;
}
.upgrade-banner .info { flex: 1; }
.upgrade-banner .info h4 { font-size: 14px; font-weight: 700; }
.upgrade-banner .info p  { font-size: 11px; opacity: .85; margin-top: 2px; }
.upgrade-banner a {
  background: #fff; color: #e65100;
  padding: 8px 14px; border-radius: 10px;
  font-weight: 700; font-size: 13px; white-space: nowrap;
}
.upgrade-banner > div:first-child { font-size: 28px; }

/* ============================================================
   SECTION TITLE
   ============================================================ */
.section-title { padding: 20px 16px 10px; font-size: 16px; font-weight: 700; }

/* ============================================================
   PLAN CARDS — HOME (2x2 grid)
   ============================================================ */
.plans-grid-2x2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 16px 16px; }
.plan-card-full {
  background: #fff; border-radius: 14px;
  overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.plan-card-img         { width: 100%; height: 90px; object-fit: cover; display: block; }
.plan-card-img-placeholder {
  width: 100%; height: 90px;
  background: linear-gradient(135deg,#1a237e,#1565c0);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 28px;
}
.plan-card-body        { padding: 8px; display: flex; flex-direction: column; flex: 1; gap: 2px; }
.plan-card-name-row    { display: flex; justify-content: space-between; align-items: center; margin-bottom: 5px; }
.plan-card-name        { font-size: 11px; font-weight: 700; color: var(--primary); }
.plan-card-days        { font-size: 9px; background: #e3f2fd; color: #1565c0; padding: 2px 6px; border-radius: 20px; font-weight: 600; }
.plan-info-row         { display: flex; align-items: center; margin-bottom: 2px; }
.plan-info-label       { color: var(--gray); white-space: nowrap; min-width: 44px; font-size: 9.5px; }
.plan-info-dots        { flex: 1; border-bottom: 1px dotted #ddd; margin: 0 3px 2px; }
.plan-info-val         { font-weight: 700; color: #222; white-space: nowrap; font-size: 9.5px; }
.plan-info-val.green-val  { color: var(--green); }
.plan-info-val.accent-val { color: var(--blue); }
.plan-card-full .invest-btn {
  margin-top: auto; width: 100%; padding: 7px;
  background: var(--blue); color: #fff; border: none;
  border-radius: 8px; font-size: 11px; font-weight: 700; cursor: pointer;
}

/* ============================================================
   FORMS — Generic inputs used across pages
   ============================================================ */
.input-field {
  width: 100%; padding: 13px 14px;
  border: 1.5px solid #e0e0e0; border-radius: 12px;
  font-size: 15px; outline: none; background: #fff;
  color: var(--text); transition: border-color .2s; display: block;
}
.input-field:focus { border-color: var(--blue); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 7px; padding: 13px 20px; border-radius: 12px; border: none;
  font-size: 15px; font-weight: 700; cursor: pointer;
  transition: opacity .2s, transform .15s;
}
.btn:active { transform: scale(.97); opacity: .9; }
.btn-block   { width: 100%; display: flex; }
.btn-primary { background: var(--blue); color: #fff; }

/* ============================================================
   DEPOSIT — Step labels & method options
   ============================================================ */
.step-label {
  font-size: 13px; font-weight: 700; color: #1565c0;
  text-transform: uppercase; letter-spacing: .5px;
  margin-bottom: 10px; display: flex; align-items: center; gap: 6px;
}
.method-option {
  border: 2px solid #e0e0e0; border-radius: 12px;
  padding: 12px; cursor: pointer;
  display: flex; align-items: center; gap: 8px;
  transition: border-color .2s, background .2s; user-select: none;
}
.method-option:active { transform: scale(.97); }
.method-option--active { border-color: #1565c0; background: #e3f2fd; }
.method-option span { font-size: 13px; font-weight: 600; }

/* ============================================================
   TASK PAGE
   ============================================================ */
.vip-card {
  background: linear-gradient(135deg,#1a237e,#1565c0);
  color: #fff; margin: 12px 16px; border-radius: 16px; padding: 18px;
  box-shadow: 0 6px 20px rgba(21,101,192,.3);
}
.badge-active {
  display: inline-block; background: var(--accent); color: #1a237e;
  font-size: 10px; font-weight: 800; padding: 2px 10px;
  border-radius: 20px; margin-bottom: 6px; letter-spacing: .5px;
}
.wallet-label { font-size: 12px; opacity: .75; margin-top: 10px; }
.wallet-amount { font-size: 26px; font-weight: 800; margin-top: 4px; }

.task-progress {
  background: #fff; margin: 0 16px 12px;
  border-radius: 14px; padding: 14px; box-shadow: var(--shadow);
}
.task-progress .top {
  display: flex; justify-content: space-between;
  font-size: 13px; font-weight: 600; margin-bottom: 8px; color: var(--primary);
}
.progress-bar { background: #e3f2fd; border-radius: 20px; height: 8px; overflow: hidden; margin-bottom: 12px; }
.progress-fill {
  height: 100%; background: linear-gradient(90deg,var(--blue),var(--accent));
  border-radius: 20px; transition: width .4s ease;
}
.task-get-btn {
  width: 100%; padding: 13px;
  background: linear-gradient(135deg,#1565c0,#42a5f5);
  color: #fff; border: none; border-radius: 12px;
  font-size: 15px; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.task-get-btn:disabled { background: #ccc; cursor: not-allowed; }
.task-get-btn--done { background: linear-gradient(135deg,#2e7d32,#66bb6a) !important; }

.task-boxes { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; padding: 0 16px 16px; }
.task-box {
  background: #fff; border-radius: 12px; padding: 10px 8px;
  text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,.06); border: 2px solid transparent;
}
.task-box--done    { border-color: #a5d6a7; background: #f1f8e9; }
.task-box--pending { border-color: #90caf9; background: #e3f2fd; }
.task-box--locked  { border-color: #e0e0e0; background: #fafafa; opacity: .65; }
.task-box-num    { font-size: 11px; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.task-box-status { font-size: 10px; font-weight: 600; margin-bottom: 4px; }
.task-box-status--done    { color: #2e7d32; }
.task-box-status--pending { color: #1565c0; }
.task-box-status--locked  { color: #aaa; }
.task-box-amount          { font-size: 11px; font-weight: 700; color: var(--text); }
.task-box-amount--locked  { color: #bbb; }

.reset-bar { text-align: center; padding: 10px; font-size: 12px; color: var(--gray); margin-bottom: 8px; }

/* ============================================================
   BOOM POPUP
   ============================================================ */
.boom-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.75);
  z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 20px;
}
.boom-box {
  background: linear-gradient(135deg,#1a237e,#1565c0);
  border-radius: 24px; padding: 36px 24px 28px;
  text-align: center; color: #fff;
  width: 100%; max-width: 340px;
  position: relative; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.boom-fireworks { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.boom-icon { font-size: 56px; margin-bottom: 10px; }
.boom-icon i { color: var(--accent); }
.boom-title  { font-size: 38px; font-weight: 900; color: var(--accent); letter-spacing: 2px; }
.boom-sub    { font-size: 18px; font-weight: 700; margin: 4px 0; }
.boom-msg    { font-size: 14px; opacity: .85; margin-bottom: 6px; }
.boom-amount { font-size: 32px; font-weight: 900; color: var(--accent); margin: 8px 0 20px; }
.boom-next-btn {
  background: var(--accent); color: #1a237e; border: none;
  border-radius: 12px; padding: 13px 32px;
  font-size: 16px; font-weight: 800; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
}
@keyframes fw { to { transform: translate(var(--fx),var(--fy)); opacity: 0; } }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero {
  background: linear-gradient(135deg,var(--primary),#1565c0);
  color: #fff; padding: 30px 16px 24px; text-align: center;
}
.about-hero h1 { font-size: 20px; font-weight: 800; line-height: 1.3; }
.about-hero h1 span { color: var(--accent); }
.info-card { background: #fff; margin: 12px 16px; border-radius: 14px; padding: 16px; box-shadow: var(--shadow); }
.info-card h3 { font-size: 15px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.info-card p  { font-size: 13px; color: #555; line-height: 1.6; }
.mission-vision { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 16px 12px; }
.mv-card { background: #fff; border-radius: 14px; padding: 14px; box-shadow: var(--shadow); }
.mv-card h4 { font-size: 13px; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.mv-card p  { font-size: 12px; color: #555; line-height: 1.5; }
.what-we-do { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 16px 16px; }
.wwd-item { background: #fff; border-radius: 14px; padding: 14px; box-shadow: var(--shadow); text-align: center; }
.wwd-item h4 { font-size: 13px; font-weight: 700; margin: 8px 0 4px; color: var(--primary); }
.wwd-item p  { font-size: 11px; color: #666; line-height: 1.5; }
.icon-circle { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; margin: 0 auto; }
.stats-bar { display: grid; }
.stat-item { padding: 14px 8px; text-align: center; }
.contact-bar { margin: 0 16px 16px; border-radius: 16px; padding: 16px; background: var(--primary); color: #fff; }
.contact-bar h3 { font-size: 14px; font-weight: 700; margin-bottom: 12px; }

/* ============================================================
   TEAM PAGE
   ============================================================ */
.overview-card {
  background: linear-gradient(135deg,#1a237e,#1565c0);
  color: #fff; margin: 12px 16px; border-radius: 16px; padding: 18px;
  box-shadow: 0 6px 20px rgba(21,101,192,.3);
}
.overview-card h3 { font-size: 13px; font-weight: 800; opacity: .75; letter-spacing: .5px; margin-bottom: 14px; }
.overview-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.stat-box { text-align: center; }
.stat-box .lbl { font-size: 10px; opacity: .7; margin-bottom: 4px; }
.stat-box .val { font-size: 22px; font-weight: 800; color: var(--accent); }
.level-tabs { display: flex; gap: 6px; margin-top: 12px; }
.level-tab {
  flex: 1; padding: 7px; border-radius: 8px; text-align: center;
  font-size: 12px; font-weight: 700;
  background: rgba(255,255,255,.12); cursor: pointer; transition: background .2s;
}
.level-tab.active { background: var(--accent); color: #1a237e; }
.level-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 14px; }
.level-card { background: rgba(255,255,255,.1); border-radius: 12px; padding: 12px 8px; text-align: center; }
.level-card h4 { font-size: 13px; font-weight: 700; color: var(--accent); }
.level-card .sub     { font-size: 9px; opacity: .7; margin: 2px 0 6px; }
.level-card .members { font-size: 11px; margin-bottom: 4px; }
.level-card .revenue { font-size: 11px; opacity: .85; }
.level-members-panel { margin-top: 14px; }
.member-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.member-row:last-child { border-bottom: none; }
.ref-card { margin: 12px 16px; border-radius: 16px; padding: 18px; box-shadow: var(--shadow); color: #fff; }
.ref-code-box { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.1); border-radius: 12px; padding: 10px 14px; margin-bottom: 14px; }
.ref-code-box .code { flex: 1; font-size: 20px; font-weight: 800; letter-spacing: 2px; color: var(--accent); }
.share-icons { display: flex; gap: 10px; justify-content: center; }
.share-icon { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.commission-card { background: #fff; margin: 0 16px 16px; border-radius: 16px; padding: 18px; box-shadow: var(--shadow); }
.commission-card h3 { font-size: 13px; font-weight: 800; color: var(--primary); letter-spacing: .5px; margin-bottom: 14px; }
.commission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.comm-item { display: flex; align-items: center; gap: 10px; background: #f5f7fa; border-radius: 10px; padding: 10px; }
.comm-item .lbl { font-size: 11px; color: var(--gray); margin-bottom: 2px; }
.comm-item .val { font-size: 13px; font-weight: 700; color: var(--primary); }

/* ============================================================
   COPY BUTTON
   ============================================================ */
.copy-btn {
  background: var(--blue); color: #fff; border: none;
  border-radius: 8px; padding: 7px 14px;
  font-size: 12px; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; gap: 5px; white-space: nowrap;
}

/* ============================================================
   STATUS COLORS
   ============================================================ */
.green  { color: var(--green); }
.red    { color: var(--red); }
.yellow { color: #e65100; }
.lbl { font-size: 11px; color: var(--gray); }
.val { font-size: 15px; font-weight: 700; color: var(--text); }
.sub { font-size: 12px; color: var(--gray); }

/* ============================================================
   ADMIN PANEL
   ============================================================ */
.admin-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px; background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.admin-sidebar { background: var(--primary); color: #fff; }
.sidebar-logo {
  display: flex; align-items: center; gap: 8px;
  padding: 18px 16px; font-size: 18px; font-weight: 800;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.sidebar-section {
  padding: 14px 16px 6px; font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; opacity: .5;
}
.sidebar-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 16px; color: rgba(255,255,255,.75);
  font-size: 14px; font-weight: 500; transition: background .2s, color .2s;
}
.sidebar-menu a:hover,
.sidebar-menu a.active { background: rgba(255,255,255,.12); color: #fff; }
.sidebar-menu a i { width: 18px; text-align: center; font-size: 15px; }

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #ccc; border-radius: 4px; }