:root {
  color-scheme: dark;
  --bg: #07071a;
  --bg2: #0d0d2b;
  --panel: rgba(255, 255, 255, 0.05);
  --panel-strong: rgba(255, 255, 255, 0.08);
  --card: #111130;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.55);
  --purple: #7c3aed;
  --purple-light: #9d5cf7;
  --teal: #00d4aa;
  --gold: #f59e0b;
  --danger: #ef4444;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: block;
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  overscroll-behavior: none;
}

body.auth-loading .main-screen,
body.auth-loading .install-card {
  display: none;
}

body.auth-loading::before {
  content: none;
}

button,
input {
  font: inherit;
}

button:disabled {
  cursor: wait;
  opacity: 0.64;
}

.app-shell {
  width: min(430px, 100vw);
  min-height: min(920px, 100vh);
  margin: 0 auto;
  background: var(--bg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
}

.seo-content {
  display: none;
}

.seo-inner {
  width: min(980px, 100%);
  margin: 0 auto;
}

.seo-kicker {
  margin: 0 0 8px;
  color: #08796e;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.seo-content h2 {
  max-width: 780px;
  margin: 0 0 14px;
  color: #211456;
  font-size: 30px;
  line-height: 1.18;
}

.seo-content > .seo-inner > p:not(.seo-kicker) {
  max-width: 780px;
  color: #555066;
  line-height: 1.7;
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0;
}

.seo-grid article {
  padding: 20px;
  border: 1px solid #e2def2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(31, 20, 79, 0.06);
}

.seo-grid h3 {
  margin: 0 0 8px;
  color: #211456;
  font-size: 18px;
}

.seo-grid p,
.seo-content details p {
  margin: 0;
  color: #625d70;
  line-height: 1.6;
}

.seo-note {
  margin: 22px 0 36px;
  padding: 16px 18px;
  border-left: 4px solid #08796e;
  border-radius: 6px;
  color: #3f3950;
  background: #e9f8f5;
  line-height: 1.6;
}

.seo-content details {
  margin: 10px 0;
  padding: 15px 17px;
  border: 1px solid #e2def2;
  border-radius: 8px;
  background: #fff;
}

.seo-content summary {
  cursor: pointer;
  color: #211456;
  font-weight: 850;
}

.seo-content details p {
  margin-top: 10px;
}

.seo-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.seo-links a {
  padding: 10px 13px;
  border-radius: 999px;
  color: #fff;
  background: #211456;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.seo-links a:hover {
  background: #08796e;
}

.app-shell {
  width: min(430px, 100vw);
  min-height: min(920px, 100vh);
  margin: 0 auto;
  background: var(--bg);
  overflow: hidden;
  position: relative;
}

/* Topbar */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 10px;
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
}

.topbar .eyebrow {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.topbar h2 {
  margin: 2px 0 0;
  font-size: 20px;
  font-weight: 800;
}

/* Coin balance chip in topbar */
.topbar-coin-chip {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  padding: 8px 12px;
  background: rgba(124,58,237,0.2);
  border: 1px solid rgba(124,58,237,0.35);
  border-radius: 12px;
}

.topbar-coin-chip .coin-amount {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}

.topbar-coin-chip .coin-amount img {
  width: 18px;
  height: 18px;
}

.topbar-coin-chip .coin-rupee {
  font-size: 11px;
  color: var(--teal);
  font-weight: 700;
}

/* Cards */
.card {
  margin: 8px 16px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  background: var(--card);
}

/* Balance card */
.balance-card {
  background: linear-gradient(135deg, #1a0a4e 0%, #0d0d2b 100%);
  border-color: rgba(124,58,237,0.4);
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.balance-card h3 {
  margin: 0;
  font-size: 38px;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 8px;
}

.balance-card h3 img {
  width: 32px;
  height: 32px;
}

.balance-rupees {
  display: block;
  margin-top: 6px;
  color: var(--teal);
  font-size: 18px;
  font-weight: 700;
}

.balance-note {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.coin-hero img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(245,158,11,0.4));
}

/* Bottom nav */
.bottom-nav {
  position: sticky;
  bottom: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
  background: rgba(10,10,30,0.95);
  border-top: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
}

.bottom-nav button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px 4px;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.45);
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.15s ease;
}

.bottom-nav button.active {
  color: var(--teal);
}

.bottom-nav svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* Notification bell */
.header-icon-button, .icon-button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  color: #fff;
  cursor: pointer;
  position: relative;
}

/* Offer cards */
.offer-card {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  margin: 0 16px 10px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.offer-card:hover, .offer-card:active {
  border-color: rgba(124,58,237,0.4);
  background: rgba(124,58,237,0.08);
}

.offer-card h4 {
  margin: 0 0 3px;
  font-size: 14px;
  font-weight: 700;
}

.offer-card p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.offer-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: rgba(124,58,237,0.2);
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
}

.offer-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Offer reward + start button */
.reward {
  font-size: 13px;
  font-weight: 800;
  color: var(--gold);
  white-space: nowrap;
  text-align: right;
}

.start-button {
  margin-top: 6px;
  padding: 7px 14px;
  border: 0;
  border-radius: 8px;
  background: var(--teal);
  color: #0a1a15;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.start-button.pending {
  background: rgba(245,158,11,0.2);
  color: var(--gold);
  border: 1px solid rgba(245,158,11,0.4);
}

/* Offer tags */
.offer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 5px;
}

.offer-tag {
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
}

.offer-tag.easy { background: rgba(0,212,170,0.15); color: var(--teal); }
.offer-tag.high { background: rgba(245,158,11,0.15); color: var(--gold); }
.offer-tag.new { background: rgba(124,58,237,0.2); color: var(--purple-light); }
.offer-tag.popular { background: rgba(239,68,68,0.15); color: #ff6b6b; }

/* Quick actions */
.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 0 16px 16px;
}

.quick-actions button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 6px;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  background: var(--card);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
}

.quick-actions b {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(124,58,237,0.25);
  font-size: 20px;
}

.quick-actions span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 1px;
}

/* Refer banner */
.refer-banner-card {
  margin: 0 16px 16px;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, #0d0d2b, #1a0a4e);
  border: 1px solid rgba(124,58,237,0.3);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0;
  min-height: 120px;
}

.refer-banner-text {
  padding: 16px;
}

.refer-banner-text h3 {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.3;
}

.refer-banner-text h3 span { color: var(--teal); }

.refer-banner-img {
  width: 130px;
  flex-shrink: 0;
  align-self: flex-end;
}

.refer-banner-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* Section headers */
.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 16px 8px;
}

.section-title-row h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
}

.section-title-row a, .section-title-row button {
  font-size: 13px;
  color: var(--teal);
  font-weight: 700;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

/* Search bar */
.search-bar-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin: 0 16px 12px;
}

.search-input {
  width: 100%;
  padding: 12px 16px 12px 40px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  color: #fff;
  font-size: 14px;
}

.search-wrap {
  position: relative;
}

.search-wrap::before {
  content: "🔍";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  pointer-events: none;
}

.how-it-works-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border: 1px solid rgba(124,58,237,0.4);
  border-radius: 12px;
  background: rgba(124,58,237,0.1);
  color: var(--purple-light);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

/* Filter chips */
.filter-chips {
  display: flex;
  gap: 8px;
  padding: 0 16px 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-chips::-webkit-scrollbar { display: none; }

.chip {
  padding: 7px 14px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  background: transparent;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.chip.active {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
}

/* Amount tiles for wallet */
.amount-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 12px 0;
}

.amount-tile {
  position: relative;
  padding: 14px 10px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  background: var(--card);
  color: #fff;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.amount-tile.active {
  border-color: var(--teal);
  background: rgba(0,212,170,0.1);
}

.amount-tile .tile-rupee {
  font-size: 20px;
  font-weight: 900;
  display: block;
}

.amount-tile .tile-coins {
  font-size: 11px;
  color: var(--muted);
  display: block;
  margin-top: 3px;
}

.amount-tile .tile-badge {
  position: absolute;
  top: -8px;
  right: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  background: var(--purple);
  color: #fff;
}

.amount-tile .tile-badge.best {
  background: var(--gold);
  color: #000;
}

/* Primary button */
.primary-button {
  width: 100%;
  padding: 16px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--teal), #00a87a);
  color: #0a1a15;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.pending-proof-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin: 14px 0;
  border-color: rgba(255, 190, 57, 0.42);
}

.pending-proof-card h3 { margin: 7px 0 0; }
.pending-proof-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #ffd76a;
  background: rgba(255, 190, 57, 0.15);
  font-size: 25px;
  font-weight: 950;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  width: max-content;
  padding: 5px 9px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}

.status-pill.proof_pending,
.status-pill.pending,
.status-pill.processing { color: #ffc942; background: rgba(255, 201, 66, 0.09); }
.status-pill.completed,
.status-pill.paid { color: #31d6bd; background: rgba(49, 214, 189, 0.1); }
.status-pill.failed,
.status-pill.rejected { color: #ff6c85; background: rgba(255, 95, 122, 0.1); }

.search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  gap: 10px;
  margin-bottom: 12px;
}

.search-row .search-input { margin: 0; }
.filter-icon {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: var(--teal);
  background: rgba(255, 255, 255, 0.09);
  font-weight: 900;
}

.offers-heading strong { color: var(--teal); }
.offer-card {
  border: 1px solid rgba(125, 91, 255, 0.34);
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, rgba(36, 20, 94, 0.96), rgba(11, 5, 40, 0.96));
}
.offer-card .reward { color: var(--gold); }
.start-button { color: #08241f; background: var(--teal); }
.start-button.pending { color: #ffc942; background: transparent; border: 1px solid #ffc942; }
.offer-icon { border-radius: 12px; }

.proof-status-row { display: flex; justify-content: flex-end; margin-bottom: 10px; }
.proof-offer-summary { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; }
.proof-reward { color: var(--gold); text-align: right; }
.proof-steps {
  display: grid;
  grid-template-columns: 1fr 28px 1fr 28px 1fr;
  align-items: start;
  margin: 12px 0;
  text-align: center;
}
.proof-steps span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin: 0 auto;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  font-weight: 900;
}
.proof-steps span.done { color: #08241f; border-color: var(--teal); background: var(--teal); }
.proof-steps span.active { color: var(--teal); border-color: var(--teal); }
.proof-steps strong { width: 92px; margin-top: 44px; color: #fff; font-size: 11px; }
.proof-steps i { height: 2px; margin-top: 19px; background: rgba(255, 255, 255, 0.35); }

.proof-form textarea {
  width: 100%;
  min-height: 112px;
  resize: vertical;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
  font: inherit;
}
.field-label { color: #fff; font-weight: 850; }
.field-label b { color: #ff6c85; }
.field-help { color: var(--muted); font-size: 12px; }
.proof-upload { min-height: 92px; border-radius: 10px; }
.proof-upload small { display: block; margin-top: 5px; color: var(--muted); }
.save-proof-later { width: 100%; border: 1px solid var(--teal); color: var(--teal); background: transparent; }
.centered { text-align: center; }

.refer-hero-v2 { position: relative; overflow: hidden; min-height: 260px; }
.refer-hero-v2 h2 { margin: 0; font-size: 31px; line-height: 1.12; }
.refer-hero-v2 h2 span { color: var(--teal); }
.gift-scene { position: relative; height: 130px; margin: 8px 0; }
.gift-box {
  position: absolute; left: 50%; bottom: 7px; width: 104px; height: 82px;
  transform: translateX(-50%); border-radius: 10px; background: linear-gradient(145deg, #8b49ed, #3c157c);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.38);
}
.gift-box::before { content: ""; position: absolute; left: 45px; inset-block: 0; width: 15px; background: #ffc942; }
.gift-box::after { content: ""; position: absolute; left: -7px; right: -7px; top: -18px; height: 26px; border-radius: 9px; background: linear-gradient(90deg, #6230bb, #a964ff); border-top: 7px solid #ffc942; }
.gift-coin { position: absolute; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: #643900; background: #ffc942; font-style: normal; font-weight: 900; }
.gift-coin.one { left: 20%; bottom: 14px; }.gift-coin.two { right: 17%; top: 16px; }
.reward-split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.reward-split span { padding: 10px; border: 1px solid rgba(49,214,189,.35); border-radius: 10px; text-align: center; }
.reward-split strong { display: block; color: var(--gold); }
.referral-actions { margin: 12px 0; }
.referral-actions > p { margin: 0 0 8px; color: var(--muted); }
.referral-actions .code-box { margin: 0 0 10px; padding: 12px; border: 1px dashed rgba(168,137,255,.7); border-radius: 10px; }
.icon-copy { padding: 9px 11px; border: 0; border-radius: 8px; color: #fff; background: rgba(125,91,255,.35); font-weight: 900; }
.refer-stats, .profile-stats, .wallet-stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 12px 0; overflow: hidden;
  border: 1px solid rgba(125,91,255,.34); border-radius: 12px; background: rgba(125,91,255,.34);
}
.refer-stats > div, .profile-stats > div, .wallet-stats > div { padding: 13px 10px; background: #120832; }
.refer-stats span, .profile-stats span, .wallet-stats span { display: block; color: var(--muted); font-size: 11px; }
.refer-stats strong, .profile-stats strong, .wallet-stats strong { display: block; margin-top: 5px; color: #fff; font-size: 17px; }
.reward-timeline h3 { margin-top: 0; }
.timeline-row { display: grid; grid-template-columns: 36px 1fr; gap: 11px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.09); }
.timeline-row b { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: #061f1b; background: var(--teal); }
.timeline-row strong, .timeline-row small { display: block; }.timeline-row small { margin-top: 3px; color: var(--muted); }
.referral-row { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 11px; }
.referral-avatar { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: #5c36b7; font-weight: 900; }
.referral-row small { display: block; color: var(--muted); }

.withdrawal-progress > div:first-child { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.progress-track { height: 9px; margin-top: 14px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.1); }
.progress-track i { display: block; height: 100%; border-radius: inherit; background: var(--teal); }
.wallet-form { margin-top: 12px; }
.amount-input-wrap { position: relative; }
.amount-input-wrap input { padding-right: 150px; }
.amount-input-wrap span { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--teal); font-size: 12px; font-weight: 800; }
.amount-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.amount-chips button { padding: 9px; border: 1px solid rgba(125,91,255,.5); border-radius: 8px; color: #fff; background: rgba(125,91,255,.12); font-weight: 850; }
.wallet-stats { grid-template-columns: repeat(2, 1fr); }
.wallet-tabs { display: grid; grid-template-columns: 1fr 1fr; margin: 15px 0 8px; border-bottom: 1px solid rgba(255,255,255,.12); }
.wallet-tabs button { padding: 12px; border: 0; color: var(--muted); background: transparent; font-weight: 850; }
.wallet-tabs button.active { color: #fff; border-bottom: 3px solid var(--teal); }
.wallet-history-row, .withdrawal-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wallet-history-row span, .withdrawal-row span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.wallet-history-row .positive { color: var(--teal); }.wallet-history-row .negative { color: #ff7a90; }
.withdrawal-row .rejection-reason { color: #ff9aad; }
.security-note { margin-top: 12px; padding: 13px; border: 1px solid rgba(49,214,189,.24); border-radius: 10px; color: #c5fff6; background: rgba(49,214,189,.08); font-size: 12px; text-align: center; }

.profile-identity .avatar { overflow: hidden; border-radius: 50%; }
.profile-identity .avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.account-status { margin: 12px 0; }
.account-status .section-header-row strong { color: var(--teal); font-size: 12px; }
.account-check { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid rgba(255,255,255,.09); }
.account-check b { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: #08241f; background: var(--teal); }
.account-check.missing b { color: #4a2b00; background: var(--gold); }
.quick-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 12px 0; }
.quick-actions button { min-width: 0; padding: 13px 9px; border: 1px solid rgba(125,91,255,.34); border-radius: 10px; color: #fff; background: rgba(28,15,75,.9); text-align: left; }
.quick-actions b { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 9px; border-radius: 9px; color: #07231e; background: var(--teal); }
.quick-actions strong, .quick-actions span { display: block; }.quick-actions span { margin-top: 3px; color: var(--muted); font-size: 11px; }
.settings-list { padding: 4px 14px; }
.settings-list button { width: 100%; display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 10px; padding: 13px 0; border: 0; border-top: 1px solid rgba(255,255,255,.09); color: #fff; background: transparent; text-align: left; }
.settings-list button:first-child { border-top: 0; }
.settings-list button > b { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; color: #fff; background: #5330a9; }
.settings-list strong, .settings-list small { display: block; }.settings-list small { margin-top: 3px; color: var(--muted); }
.settings-list i { color: var(--muted); font-style: normal; }
.profile-footer-actions { text-align: center; }
.profile-footer-actions > small { color: var(--muted); }

@media (max-width: 380px) {
  .pending-proof-card { grid-template-columns: 48px 1fr; }
  .pending-proof-card .small-button { grid-column: 1 / -1; }
  .proof-offer-summary { grid-template-columns: 64px 1fr; }
  .proof-reward { grid-column: 2; text-align: left; }
  .refer-stats, .profile-stats { grid-template-columns: 1fr; }
  .amount-input-wrap span { position: static; display: block; transform: none; margin-top: 6px; }
  .amount-input-wrap input { padding-right: 14px; }
}

@media (max-width: 640px) {
  .seo-content {
    padding: 42px 18px 56px;
  }

  .seo-content h2 {
    font-size: 25px;
  }

  .seo-grid {
    grid-template-columns: 1fr;
  }
}

.install-card {
  position: fixed;
  left: 50%;
  top: calc(14px + env(safe-area-inset-top));
  z-index: 80;
  width: min(390px, calc(100vw - 28px));
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto 28px;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  background: rgba(16, 7, 48, 0.94);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.36);
  color: #fff;
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

.install-card img {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  object-fit: cover;
}

.install-card strong,
.install-card span {
  display: block;
}

.install-card span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.install-card button {
  border: 0;
  cursor: pointer;
  font-weight: 900;
}

#install-app {
  padding: 10px 13px;
  border-radius: 999px;
  color: #12092f;
  background: var(--teal);
}

.install-close {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0;
}

.install-close::before {
  content: "x";
  font-size: 18px;
}

.proof-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(3, 1, 14, 0.92);
}

.proof-modal img {
  max-width: min(100%, 430px);
  max-height: 88vh;
  border-radius: 16px;
  object-fit: contain;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.52);
}

.proof-modal-close {
  position: fixed;
  top: calc(14px + env(safe-area-inset-top));
  right: 16px;
  z-index: 121;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  font-size: 22px;
  font-weight: 900;
}

.legal-link {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  font-weight: 800;
  text-decoration: underline;
}

.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 130;
  padding: 18px;
  background: rgba(3, 1, 14, 0.94);
  overflow-y: auto;
}

.legal-panel {
  position: relative;
  width: min(430px, 100%);
  margin: 0 auto;
  padding: 22px 18px 28px;
  border-radius: 22px;
  background: linear-gradient(180deg, #211060, #09031d);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.52);
}

.legal-panel h2 {
  margin: 0 0 8px;
}

.legal-block {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.legal-block h3 {
  margin: 0 0 8px;
}

.legal-block p {
  margin: 0 0 8px;
  color: var(--muted);
  line-height: 1.5;
}

.auth-screen,
.main-screen {
  min-height: min(920px, 100vh);
}

.auth-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(88,28,220,0.6) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(124,58,237,0.3) 0%, transparent 50%),
    #07021a;
  overflow: hidden;
  min-height: 100vh;
}

/* Safe badge top right */
.auth-safe-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(124,58,237,0.25);
  border: 1px solid rgba(124,58,237,0.5);
  border-radius: 999px;
  color: #c4b5fd;
  font-size: 11px;
  font-weight: 700;
  z-index: 2;
}

/* Splash section */
.splash-art {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 56px 20px 8px;
  position: relative;
  z-index: 1;
}

.splash-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.5) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.splash-art img {
  width: 260px;
  height: 260px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 30px 60px rgba(124,58,237,0.6)) drop-shadow(0 10px 30px rgba(0,0,0,0.4));
  animation: floatWallet 3s ease-in-out infinite;
}

@keyframes floatWallet {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* Auth copy */
.auth-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 28px;
  text-align: center;
  margin-bottom: 16px;
}

.auth-copy h1 {
  margin: 0 0 8px;
  font-size: 48px;
  line-height: 1;
  letter-spacing: -1px;
}

.auth-copy h1 span { color: #fff; }
.auth-copy h1 { color: var(--teal); }

.auth-copy p {
  margin: 0;
  color: rgba(255,255,255,0.65);
  font-size: 15px;
  line-height: 1.5;
}

/* Trust badges row */
.auth-trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: calc(100% - 40px);
  margin: 0 0 16px;
  padding: 14px 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
}

.auth-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-align: center;
}

.auth-trust-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
}

.auth-trust-purple { background: rgba(124,58,237,0.35); }
.auth-trust-gold { background: rgba(245,158,11,0.25); color: var(--gold); }
.auth-trust-teal { background: rgba(0,212,170,0.2); color: var(--teal); }

.auth-trust-item strong {
  font-size: 10px;
  color: #fff;
  font-weight: 800;
  display: block;
  line-height: 1.2;
}

.auth-trust-item span {
  font-size: 9px;
  color: var(--muted);
  display: block;
  line-height: 1.2;
}

/* Auth card */
.auth-card {
  position: relative;
  z-index: 1;
  width: calc(100% - 40px);
  padding: 0;
  margin-bottom: 12px;
}

.login-button {
  width: 100%;
  min-height: 58px;
  background: #fff;
  color: #20222a;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 14px 26px rgba(0,0,0,0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.login-button:active { transform: scale(0.97); }
.login-button:disabled { cursor: wait; opacity: 0.72; }

.auth-card small {
  display: block;
  margin-top: 10px;
  min-height: 18px;
  color: rgba(255,255,255,0.7);
  text-align: center;
  font-size: 12px;
}

.google-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: transparent;
}

.google-mark svg {
  width: 28px;
  height: 28px;
  display: block;
}

/* Auth info row */
.auth-info-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: calc(100% - 40px);
  margin-bottom: 12px;
}

.auth-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
}

.auth-info-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.auth-info-item span {
  font-size: 10px;
  color: var(--muted);
  display: block;
}

.auth-info-item strong {
  font-size: 17px;
  color: var(--teal);
  display: block;
  font-weight: 900;
}

/* Legal link */
.legal-link {
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.45);
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 5px;
  text-align: center;
  padding: 0 20px;
  line-height: 1.5;
}

/* Auth loader */
.auth-loader {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: none;
  place-items: center;
  align-content: center;
  gap: 11px;
  padding: 34px;
  background: radial-gradient(ellipse at 50% 30%, #1a0540 0%, #050115 100%);
  color: #fff;
  text-align: center;
}

.auth-loader img {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  box-shadow: 0 0 36px rgba(124,58,237,0.4);
}

.auth-loader strong { font-size: 18px; }
.auth-loader span { max-width: 260px; color: #b9b2d6; font-size: 13px; }

.auth-loader::after {
  content: "";
  width: 60px;
  height: 3px;
  margin-top: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--purple), var(--teal), transparent);
  animation: securePulse 1.4s ease-in-out infinite;
}

@keyframes securePulse {
  0%, 100% { opacity: .3; transform: scaleX(.6); }
  50% { opacity: 1; transform: scaleX(1); }
}

body.auth-loading .auth-loader { display: grid; }
body.auth-loading .auth-copy,
body.auth-loading .auth-card,
body.auth-loading .auth-trust-row,
body.auth-loading .auth-info-row,
body.auth-loading .auth-safe-badge,
body.auth-loading .splash-art,
body.auth-loading .legal-link { visibility: hidden; }
.auth-glow { display: none; }

.auth-card {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0;
  border-radius: 999px;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.login-button,
.primary-button,
.secondary-button,
.small-button {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  font-weight: 800;
}

.login-button {
  width: 100%;
  min-height: 60px;
  background: #fff;
  color: #20222a;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.login-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.auth-card small {
  display: block;
  margin-top: 12px;
  min-height: 20px;
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
}

.google-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: transparent;
}

.google-mark svg {
  width: 28px;
  height: 28px;
  display: block;
}

.main-screen {
  padding: 22px 18px 104px;
}

.hidden,
.view {
  display: none;
}

.view.active {
  display: block;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.topbar h2 {
  margin: 0;
  font-size: 24px;
}

.icon-button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 16px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  font-weight: 900;
}

.card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
}

.warning-card {
  margin-bottom: 14px;
  border-color: rgba(255, 201, 66, 0.38);
  background: rgba(255, 201, 66, 0.12);
}

.balance-card {
  min-height: 132px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  background:
    radial-gradient(circle at 85% 10%, rgba(255, 201, 66, 0.28), transparent 32%),
    linear-gradient(135deg, rgba(49, 214, 189, 0.25), rgba(255, 255, 255, 0.08));
}

.balance-card p,
.section-subtitle,
.offer-card p,
.profile-row span,
.empty-text {
  color: var(--muted);
}

.balance-card h3 {
  margin: 3px 0 0;
  font-size: 38px;
  line-height: 1;
}

.balance-note {
  display: inline-block;
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
}

.small-button {
  padding: 12px 16px;
  color: #130b2b;
  background: var(--gold);
  box-shadow: 0 10px 22px rgba(255, 201, 66, 0.22);
}

.primary-button {
  width: 100%;
  padding: 15px 18px;
  color: #000;
  background: linear-gradient(135deg, #00d9a3, #00b8e6);
  border-radius: 14px;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 0.2px;
  box-shadow: 0 8px 20px rgba(0,217,163,0.25);
}

.secondary-button {
  padding: 13px 18px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
}

.section-header {
  margin: 18px 0 12px;
}

.section-header h3 {
  margin: 0;
  font-size: 23px;
}

.section-subtitle {
  margin: 4px 0 0;
  font-size: 14px;
}

.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.chip {
  flex: 0 0 auto;
  padding: 9px 13px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 800;
  font-size: 13px;
}

.chip.active {
  color: #0e0929;
  background: var(--teal);
}

.offer-list,
.menu-list,
.transaction-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.offer-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: rgba(255,255,255,0.04);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
  margin-bottom: 8px;
}

.offer-card:active {
  border-color: rgba(124,58,237,0.5);
  background: rgba(255,255,255,0.07);
}

.offer-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(124,58,237,0.5), rgba(49,214,189,0.3));
  color: #fff;
  font-weight: 900;
  font-size: 22px;
  overflow: hidden;
  flex-shrink: 0;
}

.offer-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.offer-card h4,
.offer-card p {
  margin: 0;
}

.offer-card h4 {
  overflow: hidden;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #fff;
}

.offer-card p {
  margin-top: 4px;
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  white-space: normal;
}

.reward {
  color: var(--gold);
  font-weight: 900;
  font-size: 14px;
  text-align: right;
  white-space: nowrap;
}

.start-button {
  margin-top: 8px;
  padding: 9px 16px;
  border: 0;
  border-radius: 10px;
  background: var(--teal);
  color: #000;
  font-weight: 900;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s;
}

.start-button:active { opacity: 0.8; }
.start-button.pending {
  background: rgba(255,180,0,0.15);
  color: var(--gold);
  border: 1px solid rgba(255,180,0,0.3);
}

.search-input {
  width: 100%;
  margin-bottom: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.refer-hero {
  text-align: center;
}

.gift {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  border-radius: 30px;
  background: linear-gradient(145deg, #ffcc47, #28d3bd);
  color: #180d3c;
  font-size: 46px;
}

.code-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 14px 0;
}

.code {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 1px;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.stat strong {
  display: block;
  margin-top: 6px;
  font-size: 22px;
}

.profile-card {
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatar {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: linear-gradient(145deg, var(--teal), #8a6fff);
  font-size: 26px;
  font-weight: 900;
}

.verified {
  display: inline-block;
  margin-top: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #0b2f29;
  background: var(--teal);
  font-size: 12px;
  font-weight: 900;
}

.profile-row,
.admin-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.profile-row > div:first-child {
  min-width: 0;
}

.profile-row span {
  overflow-wrap: anywhere;
}

.right-stack {
  display: grid;
  gap: 4px;
  justify-items: end;
  min-width: max-content;
  text-align: right;
}

.profile-action {
  width: 100%;
  color: #fff;
  text-align: left;
  cursor: pointer;
}

.profile-section {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}

.profile-section h3 {
  margin: 0;
}

.profile-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-line span {
  color: var(--muted);
  font-size: 13px;
}

.profile-line strong {
  min-width: 0;
  overflow-wrap: anywhere;
  text-align: right;
}

.profile-actions-inline {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.logout {
  width: 100%;
  margin-top: 14px;
  padding: 14px 16px;
  border: 0;
  border-radius: 18px;
  background: rgba(255, 95, 122, 0.16);
  color: #ffb5c2;
  font-weight: 900;
}

.admin-form {
  display: grid;
  gap: 10px;
}

.admin-form input,
.admin-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.admin-form select option {
  color: #120832;
}

.admin-form textarea {
  width: 100%;
  min-height: 126px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  resize: vertical;
}

.admin-offer-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.admin-offer-row strong,
.admin-offer-row span {
  display: block;
}

.admin-offer-row span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.admin-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.mini-button {
  border: 0;
  border-radius: 999px;
  padding: 7px 10px;
  color: #12092f;
  background: var(--teal);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}

.mini-button.danger {
  color: #fff;
  background: var(--danger);
}

.file-picker {
  display: grid;
  place-items: center;
  min-height: 52px;
  border: 1px dashed rgba(49, 214, 189, 0.48);
  border-radius: 16px;
  color: #bffff6;
  background: rgba(49, 214, 189, 0.1);
  cursor: pointer;
  font-weight: 900;
}

.file-picker input {
  display: none;
}

.icon-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
}

.icon-preview.hidden {
  display: none !important;
}

.icon-preview img {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  object-fit: cover;
}

.offer-detail-hero {
  display: flex;
  align-items: center;
  gap: 14px;
}

.offer-icon.large {
  width: 72px;
  height: 72px;
  border-radius: 24px;
  font-size: 30px;
}

.detail-text {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.45;
}

.back-button {
  margin-bottom: 12px;
}

.proof-preview img {
  width: 92px;
  height: 92px;
}

.submission-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 76px;
  align-items: center;
  gap: 12px;
}

.submission-row strong,
.submission-row span,
.submission-row p {
  display: block;
}

.submission-row span,
.submission-row p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.submission-row img {
  width: 76px;
  height: 76px;
  border-radius: 16px;
  object-fit: cover;
}

.proof-thumb {
  width: 76px;
  height: 76px;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: transparent;
  cursor: zoom-in;
  overflow: hidden;
}

.proof-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.admin-submission-row {
  grid-template-columns: minmax(0, 1fr) 76px auto;
}

.text-button {
  border: 0;
  background: transparent;
  color: var(--teal);
  cursor: pointer;
  font-weight: 900;
}

.bottom-nav {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
  padding: 9px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

.nav-item {
  display: grid;
  place-items: center;
  gap: 4px;
  border: 0;
  border-radius: 18px;
  padding: 8px 3px;
  color: rgba(22, 11, 54, 0.55);
  background: transparent;
  font-size: 11px;
  font-weight: 800;
}

.nav-item svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.nav-item.active {
  color: #150839;
  background: linear-gradient(145deg, #31d6bd, #f8fffd);
  box-shadow: 0 8px 18px rgba(49, 214, 189, 0.28);
}

@media (max-width: 430px) {
  body {
    display: block;
  }

  .app-shell,
  .auth-screen,
  .main-screen {
    min-height: 100vh;
  }
}

/* Selected TaskPay theme: clean fintech navy + teal accent */
.app-shell {
  background: var(--bg);
}

.card {
  background: var(--panel-strong);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  backdrop-filter: none;
}

.balance-card {
  min-height: 150px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0, 217, 163, 0.14), rgba(255, 255, 255, 0.04));
  border-color: rgba(0, 217, 163, 0.25);
}

.balance-card::before {
  content: "";
  position: absolute;
  right: -22px;
  bottom: -40px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 1px solid rgba(0, 217, 163, 0.18);
}

.balance-card h3 {
  font-size: 31px;
}

.coin-hero {
  position: relative;
  width: 92px;
  height: 92px;
  flex: 0 0 auto;
}

.coin {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #5c3d00;
  font-weight: 1000;
  background: linear-gradient(145deg, var(--gold), #d99a1e);
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 16px rgba(240, 180, 41, 0.22);
}

.coin-one {
  width: 64px;
  height: 64px;
  right: 8px;
  top: 2px;
  font-size: 28px;
}

.coin-two {
  width: 52px;
  height: 52px;
  left: 4px;
  bottom: 4px;
  font-size: 22px;
}

.coin-three {
  width: 38px;
  height: 38px;
  right: 0;
  bottom: 8px;
  font-size: 16px;
}

.section-header.feature-card,
.feature-card,
.profile-card {
  background: var(--panel-strong);
  border-color: rgba(255, 255, 255, 0.08);
}

.chip {
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.chip.active {
  box-shadow: 0 6px 14px rgba(0, 217, 163, 0.18);
}

.offer-card {
  grid-template-columns: 54px minmax(0, 1fr) auto;
  background: var(--panel-strong);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.offer-card:hover,
.offer-card:active {
  border-color: rgba(0, 217, 163, 0.35);
  background: rgba(255, 255, 255, 0.07);
}

.offer-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.55), transparent 18%),
    linear-gradient(145deg, #35e0c5, #7456ff 70%);
  box-shadow: 0 12px 24px rgba(49, 214, 189, 0.24), inset 0 -4px 0 rgba(0, 0, 0, 0.16);
  overflow: hidden;
}

.offer-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.offer-card p {
  color: rgba(255, 255, 255, 0.66);
}

.reward {
  color: var(--gold);
  font-size: 13px;
  white-space: nowrap;
}

.start-button {
  background: linear-gradient(145deg, #31d6bd, #bcfff3);
  color: #140834;
  box-shadow: 0 10px 18px rgba(49, 214, 189, 0.22);
}

.gift {
  background:
    radial-gradient(circle at 30% 24%, #fff3a5 0 14%, transparent 15%),
    linear-gradient(145deg, #fff05d, #f6a500 58%, #b96800);
  border: 4px solid #ffd96a;
  color: #7a4900;
  box-shadow: 0 18px 34px rgba(255, 190, 44, 0.3), inset 0 -5px 0 rgba(110, 61, 0, 0.2);
}

.bottom-nav {
  background: rgba(18, 8, 49, 0.88);
  border: 1px solid rgba(211, 200, 255, 0.16);
  backdrop-filter: blur(18px);
}

.nav-item {
  color: rgba(255, 255, 255, 0.58);
}

.nav-item.active {
  color: #140834;
  background: linear-gradient(145deg, #31d6bd, #f4fffc);
}

/* Final precedence for the selected compact screen designs. */
.view .balance-card {
  min-height: 154px;
  border-color: rgba(125, 91, 255, 0.46);
  background: linear-gradient(135deg, rgba(47, 24, 126, 0.98), rgba(12, 5, 48, 0.98));
}

.view .balance-card::before { display: none; }
.view .coin-hero { width: 112px; height: 104px; }
.view .offer-card {
  border-radius: 12px;
  border-color: rgba(125, 91, 255, 0.34);
  background: linear-gradient(135deg, rgba(36, 20, 94, 0.96), rgba(11, 5, 40, 0.96));
}
.view .offer-icon { border-radius: 12px; }
.view .start-button.pending { color: #ffc942; background: transparent; border: 1px solid #ffc942; box-shadow: none; }

/* Approved TaskPay mobile UI - exact shared frame and palette */
:root {
  --bg: #020122;
  --panel: #0c0a31;
  --panel-strong: #12103f;
  --text: #f8f7ff;
  --muted: #aaa5ce;
  --teal: #00d7bd;
  --gold: #ffc400;
  --danger: #ff315f;
  --purple-border: #352080;
}

body {
  background: #181818;
}

.app-shell,
.main-screen {
  background: var(--bg);
}

.app-shell {
  width: min(420px, 100vw);
  box-shadow: none;
}

.main-screen {
  min-height: 100vh;
  padding: 18px 10px 92px;
}

.topbar {
  min-height: 54px;
  margin: 0 0 12px;
  color: #fff;
}

.home-topbar {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) auto 42px;
  gap: 10px;
  align-items: center;
}

.app-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.app-brand img {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(124,58,237,0.4);
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(124,58,237,0.3);
}

.app-brand strong {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.app-brand strong span { color: var(--teal); }

.home-greeting strong,
.home-greeting span {
  display: block;
}

.home-greeting strong { font-size: 16px; font-weight: 800; }
.home-greeting span { margin-top: 2px; color: rgba(255,255,255,0.45); font-size: 11px; }

.screen-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
}

.screen-topbar h2 {
  flex: 1;
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-icon-button,
.header-back-button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.05);
  cursor: pointer;
  transition: background 0.15s ease;
}

.header-icon-button:active,
.header-back-button:active {
  background: rgba(255,255,255,0.1);
}
  background: #0c0a31;
}

.header-back-button {
  width: 34px;
  border: 0;
  background: transparent;
}

.header-icon-button svg,
.header-back-button svg { width: 22px; height: 22px; fill: currentColor; }

.notification-bell { position: relative; }
.notification-bell i {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  border: 2px solid var(--bg);
  border-radius: 999px;
  padding: 1px 4px;
  background: #ff385a;
  color: #fff;
  font-size: 9px;
  font-style: normal;
  font-weight: 950;
  line-height: 1.2;
  text-align: center;
}

.header-balance,
.header-complete {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 34px;
  padding: 5px 10px;
  border: 1px solid #46309a;
  border-radius: 999px;
  color: #fff;
  background: #0c0a31;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.header-balance b {
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  color: #704200;
  background: var(--gold);
}

.header-balance small { color: #c9c5df; }
.header-complete { border-color: #008d83; color: #dffff9; }

.view .card {
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
  backdrop-filter: none;
  transition: border-color 0.15s ease;
}

.view .card:active { border-color: rgba(124,58,237,0.4); }

.section-header { margin: 16px 2px 8px; }
.section-header h3 { margin: 0; font-size: 20px; font-weight: 800; }
.section-subtitle { color: rgba(255,255,255,0.5); font-size: 13px; }

.view .balance-card {
  min-height: 160px;
  margin-bottom: 12px;
  padding: 20px;
  border: 1px solid rgba(124,58,237,0.35);
  border-radius: 20px;
  background:
    radial-gradient(ellipse at 85% 20%, rgba(124,58,237,0.45) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(0,212,170,0.15) 0%, transparent 40%),
    linear-gradient(135deg, #1a0a4e 0%, #0c0630 100%);
  overflow: hidden;
  position: relative;
}

.view .balance-card::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,58,237,0.6), rgba(0,212,170,0.4), transparent);
}

.balance-card p { margin: 0 0 6px; color: rgba(255,255,255,0.5); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.view .balance-card h3 { margin: 0; font-size: 42px; line-height: 1; letter-spacing: -2px; font-weight: 900; color: #fff; }
.view .balance-card h3 small { font-size: 20px; letter-spacing: 0; color: rgba(255,255,255,0.7); }
.balance-rupees { margin-top: 8px; color: var(--teal); font-size: 22px; font-weight: 800; }
.balance-rupees small { color: rgba(255,255,255,0.45); font-size: 13px; font-weight: 500; }
.balance-note { margin-top: 12px; color: rgba(255,255,255,0.4); font-size: 13px; }

.wallet-hero-art {
  position: absolute;
  right: -4px;
  top: -10px;
  width: 130px;
  height: auto;
  filter: drop-shadow(0 16px 24px rgba(124,58,237,0.4));
  pointer-events: none;
  user-select: none;
}

.wallet-shape { display: none; }
.coin-one { right: 25px; width: 53px; height: 53px; font-size: 29px; }
.coin-two { right: 0; width: 36px; height: 36px; font-size: 18px; }

.pending-proof-card {
  grid-template-columns: 62px minmax(0, 1fr) auto;
  min-height: 118px;
  padding: 11px;
  border-color: #452095 !important;
  border-radius: 10px !important;
}

.pending-proof-icon {
  width: 62px;
  height: 74px;
  border: 1px solid #7650d9;
  border-radius: 12px;
  color: #fff;
  background: radial-gradient(circle at center, #4d2f9b, #231151);
}

.pending-proof-card .status-pill { color: #211301; border: 0; background: var(--gold); }
.pending-proof-card h3 { margin: 5px 0 1px; font-size: 18px; }
.pending-proof-card .section-subtitle { margin: 0; font-size: 10px; line-height: 1.25; }
.pending-proof-card .small-button { padding: 12px 14px; border: 1px solid #55f2db; border-radius: 7px; color: #fff; background: linear-gradient(180deg, #21cbb6, #008e82); box-shadow: none; }

.search-row { grid-template-columns: 1fr 43px; margin: 0 0 11px; }
.search-input,
.filter-icon {
  height: 40px;
  border: 1px solid #3b2b75;
  border-radius: 7px;
  background: #0c0a31;
}
.search-input { padding: 0 14px; }
.filter-icon { color: #fff; }

.chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; padding: 0 0 12px; }
.chip { padding: 9px 4px; border: 1px solid #3d2a7a; border-radius: 7px; color: #fff; background: #0c0a31; font-size: 12px; }
.chip.active { color: #fff; background: linear-gradient(180deg, #16d6bd, #029b8c); box-shadow: none; }

.offers-heading { margin: 4px 2px 7px; }
.offers-heading h3 { font-size: 16px; }
.offers-heading .section-subtitle { margin: 4px 0 0; font-size: 11px; }
.offers-heading > strong { color: var(--teal); font-size: 14px; }

.offer-list { gap: 8px; margin-top: 7px; }
.view .offer-card {
  grid-template-columns: 50px minmax(0, 1fr) auto;
  min-height: 69px;
  gap: 10px;
  padding: 9px;
  border-color: #332070;
  border-radius: 8px;
  background: linear-gradient(135deg, #0d0b35, #09072b);
}
.view .offer-icon { width: 50px; height: 50px; border: 1px solid #6137cb; border-radius: 8px; background: linear-gradient(145deg, #7b38df, #32129b); box-shadow: none; }
.offer-card h4 { font-size: 15px; }
.offer-card > div:last-child { display: flex; align-items: center; gap: 16px; }
.offer-card .reward { font-size: 14px; }
.offer-card .start-button { min-width: 77px; margin: 0; padding: 10px 12px; border-radius: 7px; color: #fff; background: linear-gradient(180deg, #18d6bd, #009d8e); box-shadow: none; }
.view .start-button.pending { min-width: 86px; color: var(--gold); background: transparent; }

.bottom-nav {
  position: fixed;
  left: 50%;
  right: auto;
  bottom: max(10px, env(safe-area-inset-bottom));
  z-index: 60;
  width: min(420px, calc(100vw - 16px));
  transform: translateX(-50%);
  gap: 0;
  padding: 10px 8px 8px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  background: rgba(10,5,32,0.95);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-item {
  gap: 4px;
  padding: 4px 2px;
  border-radius: 12px;
  color: rgba(255,255,255,0.4);
  background: transparent;
  font-size: 10px;
  font-weight: 600;
  transition: color 0.15s ease;
}

.nav-item svg { width: 22px; height: 22px; }

.nav-item.active {
  color: var(--teal);
  background: transparent;
  box-shadow: none;
  position: relative;
}

.nav-item.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--teal);
}

@media (max-width: 365px) {
  .main-screen { padding-inline: 7px; }
  .app-brand strong { font-size: 18px; }
  .home-greeting { display: none; }
  .home-topbar { grid-template-columns: 1fr 42px; }
  .view .balance-card h3 { font-size: 34px; }
  .view .coin-hero { width: 96px; }
  .offer-card > div:last-child { gap: 7px; }
  .offer-card .start-button { min-width: 65px; }
}

/* Approved Refer screen */
.refer-hero-v2 {
  min-height: 248px;
  padding: 16px 14px 12px;
  background: radial-gradient(circle at 50% 50%, rgba(73, 26, 150, .72), transparent 43%), linear-gradient(180deg, #0b0634, #070329) !important;
}
.refer-hero-v2 h2 { position: relative; z-index: 3; font-size: 26px; }
.gift-scene { height: 118px; margin: -7px 0 0; }
.refer-gift-art {
  position: absolute;
  left: 50%;
  top: -48px;
  z-index: 2;
  width: min(100%, 355px);
  height: auto;
  transform: translateX(-50%);
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .36)) drop-shadow(0 0 18px rgba(112, 68, 255, .28));
  pointer-events: none;
  user-select: none;
}
.reward-split { position: absolute; left: 12px; right: 12px; bottom: 10px; z-index: 4; }
.reward-split span { padding: 7px; color: #fff; background: #10093b; font-size: 11px; }
.reward-split span:first-child { border-color: #975fff; }
.reward-split span:last-child { border-color: var(--teal); }
.reward-split strong { margin-top: 2px; font-size: 15px; }
.referral-actions { padding: 10px 13px; }
.referral-actions > p { font-size: 11px; }
.referral-actions .code-box { min-height: 52px; padding: 8px 12px; }
.referral-actions .code { font-size: 25px; letter-spacing: 1px; }
.referral-actions .primary-button { padding: 11px; border-radius: 7px; background: linear-gradient(180deg, #1ad6bd, #008f84); }
.refer-stats { margin: 8px 0; }
.refer-stats > div { min-height: 56px; padding: 9px; text-align: center; background: #0c0a31; }
.reward-timeline { padding: 12px 9px; }
.reward-timeline h3 { margin: 0 0 9px; font-size: 13px; }
.reward-timeline-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.timeline-row { position: relative; display: block; padding: 0 2px; border: 0; text-align: center; }
.timeline-row:not(:last-child)::after { content: ""; position: absolute; top: 16px; left: 69%; width: 66%; border-top: 2px dotted var(--teal); }
.timeline-row b { position: relative; z-index: 2; width: 34px; height: 34px; margin: 0 auto 6px; color: #fff; border: 2px solid #9062f4; background: #2c176f; }
.timeline-row:nth-child(2) b { border-color: var(--teal); background: #08766d; }
.timeline-row:nth-child(3) b { color: #3b2500; border-color: var(--gold); background: #b57b00; }
.timeline-row strong { font-size: 10px; }
.timeline-row small { font-size: 8px; line-height: 1.2; }
.referral-row { min-height: 53px; padding: 7px 10px; }

/* Approved Submit Proof screen */
.proof-offer-summary { grid-template-columns: 58px minmax(0, 1fr) 70px; min-height: 74px; padding: 9px; }
.proof-offer-summary .offer-icon.large { width: 54px; height: 54px; border-radius: 9px; }
.proof-offer-summary h3 { margin: 0; font-size: 16px; }
.proof-offer-summary p { margin: 4px 0 0; font-size: 10px; }
.offer-link-cta { width: 100%; margin: 10px 0 14px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.offer-link-cta svg { width: 18px; height: 18px; }
.proof-reward { display: grid; place-items: center; min-height: 54px; padding: 6px; border: 1px solid #46288d; border-radius: 8px; background: #141044; }
.proof-reward b { color: var(--gold); font-size: 20px; }
.proof-reward small { color: #fff; font-size: 10px; }
.proof-steps { min-height: 60px; padding: 8px 17px 6px; grid-template-columns: 1fr 45px 1fr 45px 1fr; }
.proof-steps span { position: relative; width: 24px; height: 24px; font-size: 11px; }
.proof-steps strong { position: absolute; top: 26px; left: 50%; width: 84px; margin: 0; transform: translateX(-50%); font-size: 9px; font-weight: 600; }
.proof-steps i { margin-top: 11px; }
.proof-form { margin-top: 9px; padding: 10px; }
.proof-form textarea { min-height: 82px; padding: 11px; border-color: #413375; border-radius: 7px; background: #11103b; font-size: 12px; }
.field-label { font-size: 12px; }
.field-help { font-size: 9px; }
.proof-upload { min-height: 70px; padding: 11px; border: 1px dashed #7150d6; border-radius: 8px; background: #09072d; }
.proof-form .primary-button { padding: 12px; border-radius: 7px; background: linear-gradient(180deg, #19d3bb, #009b8d); }
.save-proof-later { margin-top: 8px; padding: 10px; border-radius: 7px; }
.proof-form .centered { margin: -24px 0 8px; padding-top: 27px; font-size: 8px; pointer-events: none; }
.proof-credit-note { padding: 8px; border-color: #2d1d69; color: #aaa5d0; background: #0c0a31; }
.submission-row { min-height: 55px; padding: 9px; }

/* Approved Wallet screen */
.withdrawal-progress { margin: 8px 0; padding: 10px 13px; }
.withdrawal-progress strong { font-size: 11px; }
.withdrawal-progress .status-pill { padding: 3px 7px; font-size: 8px; }
.progress-track { height: 7px; margin-top: 9px; }
.wallet-form { margin-top: 8px; padding: 11px 12px; }
.wallet-form h3 { margin: 0 0 9px; font-size: 14px; }
.wallet-form input { min-height: 38px; padding: 9px 11px; border-color: #352769; border-radius: 6px; background: #10103a; }
.amount-chips button { padding: 7px; border-radius: 5px; font-size: 11px; }
.wallet-form .primary-button { padding: 11px; border-radius: 6px; background: linear-gradient(180deg, #18d4bb, #009587); }
.wallet-stats { margin: 8px 0; }
.wallet-stats > div { padding: 10px 12px; background: #0c0a31; }
.wallet-tabs { margin: 8px 0 3px; background: #0c0a31; }
.wallet-tabs button { padding: 9px; font-size: 11px; }
.withdrawal-row,
.wallet-history-row { min-height: 50px; padding: 7px 10px; border: 0 !important; border-radius: 0 !important; background: #0c0a31 !important; }
.withdrawal-row + .withdrawal-row,
.wallet-history-row + .wallet-history-row { border-top: 1px solid #211956 !important; }
.withdrawal-row strong { font-size: 12px; }
.withdrawal-row .status-pill { min-width: 82px; justify-content: center; padding: 3px 7px; font-size: 9px; }

/* Approved Profile screen */
.profile-identity { min-height: 100px; padding: 10px 13px; }
.profile-card { grid-template-columns: 72px minmax(0, 1fr); }
.profile-identity .avatar { width: 68px; height: 68px; border: 2px solid #d6caff; }
.profile-identity h3 { margin: 0; font-size: 21px; }
.profile-identity .verified { display: inline-block; margin-top: 6px; padding: 3px 7px; border: 1px solid #008e83; border-radius: 5px; color: var(--teal); font-size: 9px; }
.profile-stats { margin: 8px 0; }
.profile-stats > div { min-height: 59px; padding: 9px; text-align: center; background: #0c0a31; }
.profile-stats strong { font-size: 15px; }
.account-status { margin: 8px 0; padding: 12px; }
.account-status h3 { margin: 0; font-size: 15px; }
.account-check { padding: 9px 0; font-size: 11px; }
.account-check b { width: 22px; height: 22px; }
.quick-actions { grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 8px 0; }
.quick-actions button { min-height: 91px; padding: 9px 4px; text-align: center; }
.quick-actions b { width: 34px; height: 34px; margin: 0 auto 7px; }
.quick-actions strong { font-size: 10px; }
.quick-actions span { font-size: 8px; }
.settings-list { padding: 3px 11px; }
.settings-list button { min-height: 43px; padding: 7px 0; }
.settings-list button > b { width: 29px; height: 29px; }
.settings-list strong { font-size: 11px; }
.settings-list small { font-size: 8px; }
.profile-footer-actions { gap: 5px; margin-top: 7px; }
.profile-footer-actions .logout { padding: 9px; border: 1px solid var(--danger); border-radius: 7px; color: var(--danger); background: transparent; }

.design-preview .install-card { display: none !important; }

/* Final screenshot comparison corrections */
.filter-icon svg { width: 21px; height: 21px; fill: currentColor; }
.pending-proof-reward { display: block; margin: 1px 0; color: var(--gold); font-size: 12px; }
.proof-preview.hidden { display: none !important; }
.pending-submission-row { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 8px; }
.pending-submission-row .pending-submission-icon { grid-row: 1 / 3; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 8px; color: #fff; background: linear-gradient(145deg, #ffbd00, #8d4300); font-weight: 900; }
.pending-submission-row strong,
.pending-submission-row small { display: block; }
.pending-submission-row small { margin-top: 3px; color: var(--gold); font-size: 10px; }
.pending-submission-row .status-pill { font-size: 8px; }
.pending-submission-row .small-button { grid-column: 3; padding: 8px 9px; border-radius: 6px; color: #fff; background: linear-gradient(180deg, #20d3ba, #00988a); box-shadow: none; font-size: 9px; }
.wallet-form { gap: 6px; }
.wallet-tabs + .menu-list { gap: 0; margin-top: 0; overflow: hidden; border: 1px solid #25185c; border-radius: 7px; }

.proof-form { gap: 5px; }
.proof-form textarea { min-height: 65px; }
.proof-form .primary-button { padding: 10px; }
.proof-form .save-proof-later { margin-top: 2px; padding: 9px; }
.proof-form .centered { margin: -19px 0 2px; padding-top: 22px; }

.wallet-form { gap: 3px; }
.wallet-form h3 { margin-bottom: 3px; }
.wallet-form .field-label { font-size: 10px; }
.wallet-form input { min-height: 34px; padding-block: 6px; }
.wallet-form .amount-chips button { padding: 5px; }
.wallet-form .primary-button { padding: 9px; }
.wallet-form .centered { margin: 2px 0 0; font-size: 10px; }

.profile-identity .verified { background: transparent !important; }
.referral-list { gap: 0; overflow: hidden; border: 1px solid #2d1c68; border-radius: 8px; }
.referral-list .referral-row { min-height: 45px; border: 0 !important; border-radius: 0 !important; background: #0c0a31 !important; }
.referral-list .referral-row + .referral-row { border-top: 1px solid #211653 !important; }

/* Profile icon pass from the approved reference */
.profile-card.profile-identity { display: grid; grid-template-columns: 86px minmax(0, 1fr) 34px; align-items: center; padding: 7px 11px; }
.profile-identity .avatar { position: relative; display: grid; place-items: center; background: linear-gradient(145deg, #4ad9d1, #8d75f0); font-size: 24px; font-weight: 900; }
.profile-identity .avatar { width: 82px; height: 82px; }
.google-badge { position: absolute; right: -3px; bottom: -2px; width: 22px; height: 22px; display: grid; place-items: center; border: 2px solid #0c0a31; border-radius: 50%; color: #4285f4; background: #fff; font-size: 12px; font-style: normal; font-weight: 950; }
.profile-edit-button { width: 32px; height: 32px; display: grid; place-items: center; padding: 0; border: 1px solid #3a2675; border-radius: 50%; color: #c9c0ff; background: #28205e; }
.profile-edit-button svg { width: 17px; height: 17px; fill: currentColor; }

.profile-stats > div { display: grid; grid-template-columns: 34px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 5px; align-items: center; text-align: left; }
.profile-stats .stat-art { grid-row: 1 / 3; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; color: #fff; }
.profile-stats .stat-art svg { width: 22px; height: 22px; fill: currentColor; }
.profile-stats .stat-art.purple { background: linear-gradient(145deg, #9b5cff, #4920ae); }
.profile-stats .stat-art.gold { color: #2f1d00; background: linear-gradient(145deg, #ffe050, #d68a00); }
.profile-stats .stat-art.coin-art { color: #5c3500; border-radius: 50%; background: linear-gradient(145deg, #ffe86b, #dd9200); }
.profile-stats span { margin: 0; font-size: 8px; }
.profile-stats strong { margin: 0; font-size: 13px; }
.profile-stats > div:last-child strong { color: var(--gold); }

.account-status .section-header-row { position: relative; padding-bottom: 8px; }
.account-status .section-header-row::after { content: ""; position: absolute; right: 0; bottom: 0; width: 30%; height: 3px; border-radius: 99px; background: var(--teal); }

.quick-actions b { width: 41px; height: 41px; }
.quick-actions b svg { width: 27px; height: 27px; fill: currentColor; }
.settings-list button > b { width: 34px; height: 34px; }
.settings-list button > b svg { width: 24px; height: 24px; fill: currentColor; }
.quick-actions b.purple,
.settings-list button > b.purple { color: #f0e8ff; background: linear-gradient(145deg, #9b5cff, #4c20b1); }
.quick-actions b.teal,
.settings-list button > b.teal { color: #00352f; background: linear-gradient(145deg, #55f1dc, #00a88f); }

.screen-topbar .header-icon-button { width: 36px; height: 36px; }

/* Proof instructions and admin polish */
.task-instructions-card {
  padding: 11px 12px;
  background:
    radial-gradient(circle at 92% 10%, rgba(0, 215, 189, .18), transparent 28%),
    linear-gradient(145deg, #171052, #080427) !important;
}

.task-instructions-card .section-header-row {
  align-items: flex-start;
  gap: 10px;
}

.task-instructions-card h3 {
  margin: 0;
  font-size: 15px;
}

.task-instructions-card .status-pill {
  flex: 0 0 auto;
  margin-top: 1px;
}

.task-steps-list {
  display: grid;
  gap: 8px;
  margin: 10px 0;
  padding: 0;
  counter-reset: task-step;
  list-style: none;
}

.task-steps-list li {
  position: relative;
  min-height: 34px;
  padding: 9px 10px 9px 40px;
  border: 1px solid #30206f;
  border-radius: 9px;
  color: #efeaff;
  background: rgba(7, 4, 30, .72);
  font-size: 11px;
  line-height: 1.35;
}

.task-steps-list li::before {
  counter-increment: task-step;
  content: counter(task-step);
  position: absolute;
  left: 9px;
  top: 50%;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #001c18;
  background: var(--teal);
  transform: translateY(-50%);
  font-size: 11px;
  font-weight: 950;
}

.task-link-button {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--teal);
  border-radius: 8px;
  color: var(--teal);
  background: rgba(0, 215, 189, .08);
}

.proof-upload {
  display: grid;
  place-items: center;
  text-align: center;
}

.proof-upload b {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-bottom: 4px;
  border-radius: 9px;
  color: #0a0730;
  background: var(--teal);
}

.proof-upload b svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.proof-preview {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-height: 66px;
  padding: 8px;
  border: 1px solid #2e1f68;
  border-radius: 9px;
  background: #0c0a31;
}

.proof-preview img {
  width: 50px !important;
  height: 50px !important;
  border-radius: 8px;
  object-fit: cover;
}

.proof-preview strong,
.proof-preview span {
  display: block;
}

.proof-preview span {
  margin-top: 3px;
  color: #a9a2cc;
  font-size: 9px;
  overflow-wrap: anywhere;
}

.admin-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px;
  align-items: center;
  gap: 12px;
  min-height: 112px;
  background:
    radial-gradient(circle at 88% 18%, rgba(0, 215, 189, .28), transparent 30%),
    linear-gradient(145deg, #1c1262, #080427) !important;
}

.admin-hero h3 {
  margin: 4px 0 5px;
  font-size: 24px;
}

.admin-kicker {
  color: var(--teal);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.admin-hero > b {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #052f2a;
  background: linear-gradient(145deg, #5df3df, #00a18f);
  box-shadow: 0 12px 28px rgba(0, 215, 189, .24);
}

.admin-hero > b svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin: 8px 0;
}

.admin-stats .stat {
  min-height: 74px;
  padding: 10px;
  background: #0c0a31 !important;
}

.admin-stats .stat span,
.admin-stats .stat small {
  display: block;
  color: #aaa4cf;
  font-size: 9px;
}

.admin-stats .stat strong {
  display: block;
  margin: 4px 0 2px;
  color: #fff;
  font-size: 20px;
}

.admin-offer-form {
  gap: 7px;
  padding: 12px;
  background:
    radial-gradient(circle at 90% 5%, rgba(255, 201, 66, .12), transparent 24%),
    linear-gradient(145deg, #130d45, #080427) !important;
}

.admin-offer-form .field-label {
  margin-top: 3px;
  color: #eeeaff;
}

.admin-offer-form input,
.admin-offer-form textarea {
  border-color: #32236d;
  border-radius: 8px;
  background: #0d0a35;
  font-size: 12px;
}

.admin-offer-form textarea {
  min-height: 118px;
  line-height: 1.45;
}

.admin-offer-row {
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 10px;
}

.admin-offer-row .admin-actions {
  grid-column: 1 / -1;
  justify-content: stretch;
}

.admin-offer-row .mini-button {
  flex: 1 1 auto;
  border-radius: 8px;
}

.admin-submission-row {
  grid-template-columns: minmax(0, 1fr) 70px;
}

.admin-submission-row .admin-actions {
  grid-column: 1 / -1;
}

/* Refer icon and activity details pass */
.icon-copy { display: grid; place-items: center; width: 39px; height: 39px; padding: 0; }
.icon-copy svg { width: 22px; height: 22px; fill: currentColor; }
.refer-share-button { display: flex; align-items: center; justify-content: center; gap: 8px; }
.refer-share-button svg { width: 20px; height: 20px; fill: currentColor; }

.refer-stats > div { display: grid; grid-template-columns: 38px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 6px; align-items: center; text-align: left; }
.refer-stat-icon { grid-row: 1 / 3; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; }
.refer-stat-icon svg { width: 25px; height: 25px; fill: currentColor; }
.refer-stat-icon.purple { color: #eee6ff; background: linear-gradient(145deg, #9a60f2, #45209f); }
.refer-stat-icon.teal { color: #003b35; background: linear-gradient(145deg, #50efdb, #00988a); }
.refer-stat-icon.gold { color: #624000; background: linear-gradient(145deg, #ffe56b, #d88c00); }
.refer-stats span { margin: 0; font-size: 8px; }
.refer-stats strong { margin: 0; font-size: 15px; }

.timeline-row b { width: 44px; height: 44px; }
.timeline-row b svg { width: 25px; height: 25px; fill: currentColor; }
.timeline-row b i { position: absolute; top: -9px; left: -4px; width: 18px; height: 18px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; color: #fff; background: #2b155f; font-size: 9px; font-style: normal; }
.timeline-row:not(:last-child)::after { top: 21px; }

.referral-list .referral-row { grid-template-columns: 36px minmax(0, 1fr) auto 10px; }
.referral-list .referral-avatar { width: 34px; height: 34px; }
.referral-list .referral-row strong { font-size: 11px; }
.referral-list .referral-row small { font-size: 8px; }
.referral-list .status-pill { min-width: 76px; justify-content: center; font-size: 8px; }
.referral-chevron { color: #bdb5e4; font-style: normal; }

.refer-hero-v2 { min-height: 260px; padding-top: 12px; }
.refer-hero-v2 h2 { font-size: 25px; }
.gift-scene { height: 145px; }
.refer-gift-art { top: -30px; width: min(92%, 330px); }
.referral-actions { padding: 8px 12px; }
.referral-actions { margin: 6px 0; }
.referral-actions > p { margin-bottom: 5px; }
.referral-actions .code-box { min-height: 46px; padding-block: 5px; }
.referral-actions .primary-button { padding: 9px; }
#view-refer .section-header { margin: 8px 2px 5px; }

/* Navigation belongs after page content, matching the approved screens. */
.main-screen:not(.hidden) {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-bottom: 8px;
}

.view.active {
  flex: 1 0 auto;
}

.bottom-nav {
  position: static;
  left: auto;
  right: auto;
  bottom: auto;
  width: 100%;
  margin-top: 9px;
  transform: none;
  flex: 0 0 auto;
}

/* Final app navigation and offer browsing polish */
.main-screen:not(.hidden) {
  padding-bottom: calc(94px + env(safe-area-inset-bottom));
}

.bottom-nav {
  position: fixed !important;
  left: 50% !important;
  right: auto !important;
  bottom: max(8px, env(safe-area-inset-bottom)) !important;
  z-index: 80;
  width: min(400px, calc(100vw - 20px)) !important;
  margin-top: 0 !important;
  transform: translateX(-50%) !important;
  flex: none !important;
}

.view-all-offers-card {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  align-items: center;
  gap: 12px;
  margin-top: 9px;
  padding: 13px 14px;
  border-color: #1acdb8 !important;
  color: #fff;
  text-align: left;
  background:
    radial-gradient(circle at 90% 12%, rgba(0, 215, 189, .3), transparent 32%),
    linear-gradient(145deg, #16104e, #080427) !important;
}

.view-all-offers-card strong,
.view-all-offers-card small {
  display: block;
}

.view-all-offers-card strong {
  color: #fff;
  font-size: 15px;
}

.view-all-offers-card small {
  margin-top: 3px;
  color: #aaa4cf;
  font-size: 11px;
}

.view-all-offers-card b {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #062521;
  background: var(--teal);
  font-size: 22px;
}

.offer-stats-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 10px;
  overflow: hidden;
  border: 1px solid #2f2069;
  border-radius: 9px;
  background: #2f2069;
}

.offer-stats-strip span {
  display: grid;
  place-items: center;
  min-height: 47px;
  padding: 7px 5px;
  color: #aaa4cf;
  background: #0c0a31;
  text-align: center;
  font-size: 9px;
  line-height: 1.25;
}

.offer-stats-strip strong {
  display: block;
  color: #fff;
  font-size: 14px;
}

.chips {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.chip {
  min-height: 36px;
  font-size: 10px;
  line-height: 1.1;
}

.offer-card h4 {
  margin-bottom: 3px;
}

.offer-card p {
  margin: 0;
  color: #aaa4cf;
  font-size: 9px;
  line-height: 1.25;
}

.offer-card > div:last-child {
  display: grid;
  justify-items: end;
  gap: 5px;
}

.offer-chip {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding: 2px 6px;
  border: 1px solid rgba(255, 201, 66, .38);
  border-radius: 999px;
  color: var(--gold);
  font-size: 8px;
  font-weight: 850;
}

.loading-more-offers {
  display: grid;
  place-items: center;
  min-height: 48px;
  color: #aaa4cf;
  font-size: 11px;
}

.home-offer-list {
  gap: 6px;
}

.home-offer-list .offer-card {
  min-height: 62px;
  padding: 7px 9px;
}

.home-offer-list .offer-icon {
  width: 42px;
  height: 42px;
}

.home-offer-list .offer-card h4 {
  font-size: 14px;
}

.home-offer-list .offer-card p {
  font-size: 8px;
}

.home-offer-list .offer-card .reward {
  font-size: 12px;
}

.home-offer-list .offer-card .start-button {
  min-width: 68px;
  padding: 8px 10px;
}

.home-offer-list .offer-chip {
  display: none;
}

/* Home and Offers final premium pass */
.main-screen:not(.hidden) {
  padding-bottom: calc(104px + env(safe-area-inset-bottom));
}

.view.active {
  padding-bottom: 10px;
}

.view .balance-card {
  min-height: 178px;
  padding: 22px 26px;
  border: 1px solid #5b33c9;
  border-radius: 13px;
  background:
    radial-gradient(circle at 80% 15%, rgba(0, 215, 189, .18), transparent 31%),
    linear-gradient(145deg, #1c0c5f 0%, #0b062f 100%);
  box-shadow:
    0 20px 42px rgba(0, 0, 0, .42),
    inset 0 1px 0 rgba(255, 255, 255, .12);
}

.view .balance-card p {
  color: #aaa4cf;
  font-size: 17px;
  font-weight: 650;
}

.view .balance-card h3 {
  margin-top: 16px;
  font-size: 50px;
  letter-spacing: .2px;
}

.view .balance-card h3 small {
  font-size: 24px;
}

.view .balance-rupees {
  margin-top: 8px;
  color: var(--teal);
  font-size: 25px;
  font-weight: 950;
}

.view .balance-rupees small {
  color: #aaa4cf;
  font-size: 17px;
  font-weight: 750;
}

.view .balance-note {
  color: #aaa4cf;
  font-size: 16px;
}

.view .coin-hero {
  width: 170px;
  height: 150px;
  margin-right: -18px;
}

.wallet-hero-art {
  width: 178px;
  height: 160px;
  object-fit: contain;
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .42));
}

.pending-proof-card {
  min-height: 130px;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  gap: 16px;
  padding: 19px 22px;
  border: 1px solid #3d258e;
  border-radius: 13px;
  background:
    radial-gradient(circle at 13% 35%, rgba(131, 73, 255, .42), transparent 26%),
    linear-gradient(145deg, #170950, #090427);
}

.pending-proof-icon {
  width: 66px;
  height: 66px;
  border-radius: 15px;
  color: #fff;
  background:
    radial-gradient(circle at 66% 72%, rgba(255, 255, 255, .95), 0 11%, transparent 12%),
    linear-gradient(145deg, #7c3cff, #2a167c);
  box-shadow: 0 15px 28px rgba(84, 36, 202, .32), inset 0 -5px 0 rgba(0, 0, 0, .2);
}

.section-header-row {
  margin: 18px 3px 10px;
}

.section-header-row h3 {
  font-size: 24px;
  letter-spacing: -.2px;
}

.section-header-row .text-button {
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
}

.offer-list {
  display: grid;
  gap: 10px;
}

.view .offer-card {
  min-height: 84px;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  gap: 13px;
  padding: 12px 15px;
  border: 1px solid #30206f;
  border-radius: 12px;
  background:
    radial-gradient(circle at 7% 12%, rgba(121, 67, 255, .18), transparent 32%),
    linear-gradient(145deg, #120941 0%, #070321 100%);
  box-shadow:
    0 14px 28px rgba(0, 0, 0, .34),
    inset 0 1px 0 rgba(255, 255, 255, .08);
}

.view .offer-icon {
  width: 58px;
  height: 58px;
  border: 1px solid rgba(197, 170, 255, .22);
  border-radius: 11px;
  color: #fff;
  background:
    radial-gradient(circle at 30% 24%, rgba(255,255,255,.9) 0 16%, transparent 17%),
    linear-gradient(145deg, #8b42ff, #351098);
  box-shadow:
    0 13px 24px rgba(91, 45, 205, .34),
    inset 0 -6px 0 rgba(0, 0, 0, .22),
    inset 0 1px 0 rgba(255, 255, 255, .28);
  font-size: 22px;
  font-weight: 1000;
}

.view .offer-card:nth-child(2) .offer-icon,
.view .offer-card:nth-child(5) .offer-icon {
  background:
    radial-gradient(circle at 30% 24%, rgba(255,255,255,.92) 0 15%, transparent 16%),
    linear-gradient(145deg, #17a6ff, #07359e);
}

.view .offer-card:nth-child(3) .offer-icon {
  background:
    radial-gradient(circle at 30% 24%, rgba(255,255,255,.92) 0 15%, transparent 16%),
    linear-gradient(145deg, #1fda8f, #0a6f55);
}

.view .offer-card:nth-child(4) .offer-icon {
  background:
    radial-gradient(circle at 30% 24%, rgba(255,255,255,.92) 0 15%, transparent 16%),
    linear-gradient(145deg, #ff9a05, #a74200);
}

.view .offer-card h4 {
  color: #fff;
  font-size: 18px;
  font-weight: 950;
  line-height: 1.15;
}

.view .offer-card p {
  margin-top: 6px;
  color: #aaa4cf;
  font-size: 13px;
  line-height: 1.24;
}

.view .offer-card > div:last-child {
  display: grid;
  align-items: center;
  justify-items: end;
  gap: 7px;
}

.view .offer-card .reward {
  color: var(--gold);
  font-size: 17px;
  font-weight: 1000;
}

.view .offer-chip {
  display: none;
}

.view .offer-card .start-button {
  min-width: 90px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(180deg, #20e7cd, #02a995);
  box-shadow:
    0 12px 20px rgba(0, 215, 189, .24),
    inset 0 1px 0 rgba(255, 255, 255, .28);
  font-size: 16px;
  font-weight: 950;
}

.view .start-button.pending {
  min-width: 98px;
  min-height: 46px;
  color: var(--gold);
  background: rgba(0, 0, 0, .08);
  border: 1px solid var(--gold);
}

.home-offer-list {
  gap: 9px;
}

.home-offer-list .offer-card {
  min-height: 70px;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  padding: 8px 10px;
}

.home-offer-list .offer-icon {
  width: 48px;
  height: 48px;
}

.home-offer-list .offer-card h4 {
  font-size: 16px;
}

.home-offer-list .offer-card p {
  max-width: 128px;
  font-size: 11px;
}

.home-offer-list .offer-card .reward {
  font-size: 14px;
}

.home-offer-list .offer-card .start-button {
  min-width: 74px;
  min-height: 43px;
  padding: 0 13px;
  font-size: 14px;
}

.home-view-all-card {
  grid-template-columns: 116px minmax(0, 1fr) 62px;
  min-height: 124px;
  margin-top: 16px;
  padding: 13px 17px 13px 8px;
  border: 1px solid #42249d !important;
  border-radius: 16px !important;
  background:
    radial-gradient(circle at 10% 46%, rgba(132, 72, 255, .48), transparent 29%),
    radial-gradient(circle at 100% 15%, rgba(0, 215, 189, .16), transparent 34%),
    linear-gradient(145deg, #25106f, #080322) !important;
  box-shadow: 0 20px 34px rgba(0, 0, 0, .36), inset 0 1px 0 rgba(255,255,255,.1);
}

.home-view-all-card img {
  width: 118px;
  height: 98px;
  object-fit: contain;
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .45));
}

.home-view-all-card strong {
  font-size: 25px;
  line-height: 1.05;
}

.home-view-all-card small {
  margin-top: 8px;
  color: #aaa4cf;
  font-size: 15px;
}

.home-view-all-card small::first-letter {
  color: var(--teal);
}

.home-view-all-card b {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(180deg, #28ead1, #03a895);
  box-shadow: 0 14px 20px rgba(0, 215, 189, .27);
  font-size: 34px;
}

.search-row {
  grid-template-columns: minmax(0, 1fr) 58px;
  gap: 12px;
  margin-bottom: 14px;
}

.search-input,
.filter-icon {
  min-height: 58px;
  border: 1px solid #3b2584;
  border-radius: 11px;
  background: #0d0936;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.search-input {
  color: #fff;
  font-size: 20px;
}

.filter-icon svg {
  width: 27px;
  height: 27px;
}

.chips {
  gap: 12px;
  margin-bottom: 16px;
}

.chip {
  min-height: 48px;
  border: 1px solid #332073;
  border-radius: 11px;
  color: #fff;
  background: #0d0936;
  font-size: 15px;
  font-weight: 850;
}

.chip.active {
  color: #fff;
  border-color: #00f1d2;
  background: linear-gradient(180deg, #20e8ce, #04a995);
}

.offer-stats-strip {
  gap: 0;
  margin: 0 0 18px;
  border: 1px solid #332073;
  border-radius: 12px;
  background: #332073;
  box-shadow: 0 14px 26px rgba(0, 0, 0, .3);
}

.offer-stats-strip span {
  min-height: 94px;
  align-content: center;
  gap: 4px;
  padding: 12px 8px;
  background: #0d0936;
}

.offer-stats-strip i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 2px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #6c35df, #291065);
}

.offer-stats-strip i svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.offer-stats-strip strong {
  color: var(--teal);
  font-size: 22px;
  font-weight: 1000;
}

.offer-stats-strip span:nth-child(2) strong {
  color: #2b8cff;
  font-size: 17px;
  text-transform: lowercase;
}

.offer-stats-strip span:nth-child(3) strong {
  color: var(--gold);
}

.offer-stats-strip small {
  color: #aaa4cf;
  font-size: 11px;
}

.offers-heading {
  margin: 0 3px 12px;
}

.offers-heading h3 {
  font-size: 18px;
}

.offers-heading > strong {
  color: var(--teal);
  font-size: 16px;
}

.loading-more-offers {
  min-height: 58px;
  color: #aaa4cf;
  font-size: 14px;
}

.bottom-nav {
  height: 72px;
  padding: 7px 10px;
  border: 1px solid #241858;
  border-radius: 14px;
  background: rgba(8, 5, 34, .94);
  box-shadow: 0 -8px 26px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255,255,255,.08);
}

.nav-item {
  border-radius: 13px;
  color: #a9a1d2;
  font-size: 12px;
}

.nav-item svg {
  width: 25px;
  height: 25px;
}

.nav-item.active {
  color: var(--teal);
  background: rgba(54, 35, 126, .55);
  box-shadow: inset 0 0 0 1px rgba(84, 64, 163, .42);
}

.nav-item.active::after {
  content: "";
  position: absolute;
  bottom: 5px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}

@media (max-width: 365px) {
  .view .balance-card h3 { font-size: 42px; }
  .view .coin-hero { width: 130px; }
  .wallet-hero-art { width: 146px; }
  .home-view-all-card { grid-template-columns: 82px minmax(0, 1fr) 48px; }
  .home-view-all-card img { width: 90px; }
  .home-view-all-card strong { font-size: 20px; }
  .view .offer-card .start-button { min-width: 70px; }
}

/* Notification center */
.notification-modal {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: end center;
  padding: 18px 12px calc(18px + env(safe-area-inset-bottom));
  background: rgba(2, 1, 24, .72);
  backdrop-filter: blur(12px);
}

.notification-modal.hidden {
  display: none;
}

.notification-panel {
  width: min(398px, 100%);
  max-height: min(78vh, 720px);
  overflow: auto;
  padding: 18px;
  border: 1px solid #43289e;
  border-radius: 18px;
  color: #fff;
  background:
    radial-gradient(circle at 92% 0%, rgba(0, 215, 189, .18), transparent 30%),
    linear-gradient(180deg, #14094a, #07021f);
  box-shadow: 0 24px 58px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255,255,255,.1);
}

.notification-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding-right: 34px;
}

.notification-head h3 {
  margin: 4px 0 0;
  font-size: 24px;
}

.notification-list {
  display: grid;
  gap: 10px;
}

.notification-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  padding: 13px;
  border: 1px solid #2d1c73;
  border-radius: 13px;
  background: #0b0732;
}

.notification-item.unread {
  border-color: rgba(0, 215, 189, .62);
  background:
    radial-gradient(circle at 92% 18%, rgba(0, 215, 189, .14), transparent 32%),
    #0d0738;
}

.notification-item > b {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(145deg, #6d35df, #241062);
}

.notification-item > b svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.notification-item strong {
  display: block;
  font-size: 15px;
}

.notification-item p {
  margin: 5px 0 6px;
  color: #c7c0ed;
  font-size: 12px;
  line-height: 1.35;
}

.notification-item small {
  color: #8179ad;
  font-size: 10px;
}

.empty-notifications {
  display: grid;
  place-items: center;
  min-height: 180px;
  text-align: center;
  color: #aaa4cf;
}

.empty-notifications svg {
  width: 46px;
  height: 46px;
  margin-bottom: 10px;
  fill: var(--teal);
}

.empty-notifications strong {
  color: #fff;
}

.admin-notification-form {
  border-color: rgba(0, 215, 189, .28) !important;
  background:
    radial-gradient(circle at 92% 12%, rgba(0, 215, 189, .16), transparent 32%),
    linear-gradient(145deg, #13094b, #080324) !important;
}

.notification-form-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(145deg, #20e8ce, #065f86);
}

.notification-form-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.push-enable-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding: 12px;
  border: 1px solid rgba(0, 215, 189, .28);
  border-radius: 13px;
  background: rgba(0, 215, 189, .08);
}

.push-enable-card strong,
.push-enable-card span {
  display: block;
}

.push-enable-card span {
  margin-top: 4px;
  color: #aaa4cf;
  font-size: 11px;
  line-height: 1.35;
}

.admin-tabs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  gap: 8px;
  margin: 12px 0 14px;
  overflow-x: auto;
  padding-bottom: 3px;
  scrollbar-width: none;
}

.admin-tabs::-webkit-scrollbar {
  display: none;
}

.admin-tabs button {
  min-height: 39px;
  padding: 0 14px;
  border: 1px solid #332073;
  border-radius: 999px;
  color: #c6bff0;
  background: #0d0936;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.admin-tabs button.active {
  color: #051e1b;
  border-color: #00f1d2;
  background: linear-gradient(180deg, #20e8ce, #04a995);
  box-shadow: 0 12px 18px rgba(0, 215, 189, .2);
}

.admin-stats button.stat {
  border: 1px solid rgba(125, 91, 255, .34);
  color: inherit;
  text-align: left;
}

.admin-quick-grid {
  display: grid;
  gap: 10px;
}

.admin-quick-card {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  padding: 14px;
  color: #fff;
  text-align: left;
  border-color: rgba(125, 91, 255, .34) !important;
  background:
    radial-gradient(circle at 92% 12%, rgba(0, 215, 189, .13), transparent 30%),
    linear-gradient(145deg, #13094b, #080324) !important;
}

.admin-quick-card b {
  grid-row: span 2;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(145deg, #6d35df, #241062);
}

.admin-quick-card b svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.admin-quick-card strong,
.admin-quick-card span {
  display: block;
}

.admin-quick-card strong {
  font-size: 15px;
}

.admin-quick-card span {
  color: #aaa4cf;
  font-size: 11px;
}

.admin-notification-list .notification-item {
  grid-template-columns: 44px minmax(0, 1fr);
}

/* ── Skeleton loading ──────────────────────────────────────────────────────── */
@keyframes shimmer {
  0% { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

.skeleton {
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(255,255,255,0.06) 25%, rgba(255,255,255,0.12) 50%, rgba(255,255,255,0.06) 75%);
  background-size: 800px 100%;
  animation: shimmer 1.4s infinite;
}

.skeleton-card {
  padding: 16px;
  margin-bottom: 12px;
  border-radius: 12px;
  border: 1px solid rgba(125,91,255,0.2);
  background: rgba(28,15,75,0.5);
}

.skeleton-line {
  height: 14px;
  margin-bottom: 10px;
  border-radius: 6px;
}
.skeleton-line.short { width: 40%; }
.skeleton-line.medium { width: 65%; }
.skeleton-line.full { width: 100%; }
.skeleton-line.thin { height: 10px; }

.skeleton-avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  flex-shrink: 0;
}

.skeleton-offer {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  margin-bottom: 10px;
  border-radius: 12px;
  border: 1px solid rgba(125,91,255,0.2);
  background: rgba(28,15,75,0.5);
}

.skeleton-btn {
  width: 70px;
  height: 34px;
  border-radius: 8px;
}

.skeleton-balance {
  min-height: 154px;
  border-radius: 16px;
  border: 1px solid rgba(125,91,255,0.2);
}

.skeleton-notif {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

/* ── Admin users table ─────────────────────────────────────────────────────── */
.users-table-wrap {
  overflow-x: auto;
  margin-top: 12px;
  border-radius: 12px;
  border: 1px solid rgba(125,91,255,0.3);
}

.users-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 13px;
}

.users-table th {
  padding: 11px 12px;
  background: rgba(125,91,255,0.18);
  color: var(--teal);
  text-align: left;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .4px;
}

.users-table td {
  padding: 11px 12px;
  border-top: 1px solid rgba(255,255,255,0.07);
  color: var(--muted);
  vertical-align: middle;
}

.users-table tr:hover td { background: rgba(255,255,255,0.03); }

.users-table .user-name { color: #fff; font-weight: 700; }
.users-table .user-coins { color: var(--gold); font-weight: 800; }
.users-table .user-status-active { color: var(--teal); }
.users-table .user-status-new { color: #aaa; }

.admin-user-msg-btn {
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid rgba(125,91,255,0.5);
  background: rgba(125,91,255,0.15);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.users-search {
  margin-bottom: 12px;
}

/* ── Notification bell badge ───────────────────────────────────────────────── */
.notif-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: #e53935;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.icon-button { position: relative; }

/* ── Tutorial system ────────────────────────────────────────────────────────── */
.tutorial-sheet { border-color: rgba(0,217,163,0.4) !important; max-height: 75vh; }
.tutorial-sheet .emergency-title { color: #fff; }
.tutorial-steps { margin: 4px 0 18px; }
.tutorial-steps li { color: #ccc; margin-bottom: 10px; }
.tutorial-ok-btn { background: var(--teal) !important; color: #03241c !important; }
.tutorial-hub-list { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.tutorial-hub-item {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 14px 16px; border-radius: 10px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  color: #fff; font-size: 14px; font-weight: 600; text-align: left; cursor: pointer;
}
.tutorial-hub-item i { color: var(--teal); font-style: normal; font-size: 18px; }
.tutorial-hub-item:active { background: rgba(0,217,163,0.1); }
.tutorial-trigger { font-weight: 900; }


/* ── Load more offers button ─────────────────────────────────────────────────── */
.load-more-btn {
  width: 100%;
  padding: 14px;
  margin: 8px 0 16px;
  background: rgba(255,255,255,0.05);
  border: 1px dashed rgba(0, 217, 163, 0.35);
  border-radius: 12px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease;
}

.load-more-btn:active {
  background: rgba(0, 217, 163, 0.08);
}

/* ── Reject reason form ──────────────────────────────────────────────────────── */
.reject-reason-form {
  margin-top: 10px;
  padding: 12px;
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 10px;
}

.reject-reason-form textarea {
  width: 100%;
  padding: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  color: #fff;
  font-size: 13px;
  resize: vertical;
  min-height: 70px;
  margin-bottom: 4px;
}

/* ── Coin adjust form ─────────────────────────────────────────────────────────── */
#admin-coin-adjust-form {
  border: 1px solid rgba(0,217,163,0.3);
  margin-bottom: 16px;
}

#admin-coin-adjust-form h3 {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 15px;
}

/* ── Proof checklist for admin ─────────────────────────────────────────────── */
.proof-checklist {
  margin-top: 10px;
  padding: 10px 12px;
  background: rgba(0, 217, 163, 0.06);
  border: 1px solid rgba(0, 217, 163, 0.2);
  border-radius: 8px;
  font-size: 12px;
}

.proof-checklist strong {
  display: block;
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 12px;
}

.proof-checklist label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 6px;
  color: var(--muted);
  line-height: 1.4;
  cursor: pointer;
}

.proof-checklist input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--teal);
  width: 14px;
  height: 14px;
}

/* ── Refer section redesign ─────────────────────────────────────────────────── */
.refer-hero-banner {
  position: relative;
  border-radius: 20px;
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid rgba(124,58,237,0.3);
}

.refer-hero-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

.refer-hero-rewards {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.refer-reward-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.15);
}

.refer-reward-pill strong {
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

.refer-reward-pill.gold strong { color: var(--gold); }

.refer-reward-pill small {
  color: rgba(255,255,255,0.7);
  font-size: 11px;
}
}

.refer-hero-art img {
  width: 130px;
  height: auto;
  object-fit: contain;
}

/* Referral link card */
.referral-link-card { margin-bottom: 12px; }

.section-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin: 0 0 8px;
}

.refer-link-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  margin-bottom: 14px;
}

.refer-link-url {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  overflow: hidden;
}

.refer-link-url span {
  font-size: 12px;
  color: var(--teal);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.refer-copy-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  background: rgba(0,212,170,0.15);
  border: 1px solid rgba(0,212,170,0.4);
  border-radius: 8px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Share app buttons */
.refer-share-apps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.share-app-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 4px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
}

.share-app-btn svg { width: 28px; height: 28px; }
.share-app-btn.whatsapp svg { color: #25D366; }
.share-app-btn.telegram svg { color: #2AABEE; }
.share-app-btn.instagram svg { color: #E1306C; }
.share-app-btn.more svg { color: var(--muted); }

/* Earnings grid */
.refer-earnings-card { margin-bottom: 12px; }
.refer-earnings-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.refer-earnings-header h3 { margin: 0; font-size: 15px; }

.refer-earnings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.refer-earnings-grid > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 6px;
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  text-align: center;
}

.refer-earnings-grid b { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; }
.refer-earnings-grid b svg { width: 22px; height: 22px; }
.refer-earnings-grid strong { font-size: 16px; color: #fff; }
.refer-earnings-grid span { font-size: 10px; color: var(--muted); }
