/* assets/style.css — halotypay v17.0 Ultra-Luxury Obsidian & GOLD Web3 UI (v17.0 — gold identity, dark bg kept, mobile-first) */
:root {
  --bg: #06080D;
  --bg2: #0D111A;
  --panel: rgba(18, 23, 35, 0.78);
  --panel2: rgba(25, 32, 48, 0.85);
  --line: rgba(255, 255, 255, 0.08);
  --line2: rgba(212, 160, 23, 0.28);
  --gold: #D4A017;
  --gold2: #F5C542;
  --gold-soft: #FDE68A;
  --gold-dim: rgba(212, 160, 23, 0.35);
  --gold-bg: rgba(212, 160, 23, 0.12);
  --text: #F3F4F6;
  --muted: #9CA3AF;
  --faint: #6B7280;
  --green: #34D399; /* semantic success/up green only — brand accent is gold */
  --red: #F87171;
  --radius: 16px;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  /* v15.0 — the RING is gold/amber (the owner's "another strong
     color"), glowing. The site accent stays emerald. */
  --ring: #F59E0B;
  --ring-bright: #FDE68A;
  --ring-glow: rgba(245, 158, 11, 0.55);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}
h1, h2, h3, .brand, .wordmark { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; }

/* Ambient Animated Background */
.ambient-bg { position: fixed; inset: 0; pointer-events: none; z-index: -1; overflow: hidden; }
.ambient-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 20%, #000 35%, transparent 80%);
}
.ambient-glow { position: absolute; border-radius: 50%; filter: blur(110px); opacity: 0.35; animation: floatGlow 14s ease-in-out infinite alternate; }
.ambient-glow.g1 { width: 520px; height: 520px; background: radial-gradient(circle, #F5C542, transparent 70%); top: -180px; right: -100px; }
.ambient-glow.g2 { width: 460px; height: 460px; background: radial-gradient(circle, #1E69FF, transparent 70%); bottom: -160px; left: -120px; animation-delay: -6s; }
@keyframes floatGlow { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(-40px, 35px) scale(1.12); } }

a { color: var(--gold2); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-soft); }
.wrap { max-width: 580px; margin: 2em auto; padding: 0 1.2em; }
.wrap.wide { max-width: 1140px; }
h1 { font-size: clamp(1.8em, 4vw, 2.5em); margin: .2em 0; color: #fff; letter-spacing: -.02em; line-height: 1.2; }
h2 { font-size: 1.35em; margin-top: 1.8em; color: #fff; }
h3 { color: #fff; margin: .2em 0 .4em; }
.sub { color: var(--muted); margin-top: 0; font-size: 1.02em; }
.muted, .small { color: var(--muted); font-size: .92em; }
.lead { font-size: 1.12em; color: var(--muted); max-width: 660px; }
.gold { color: var(--gold2); }

/* Icons */
.ic-xs { width: 15px; height: 15px; vertical-align: -2px; display: inline-block; }
.ic-sm { width: 18px; height: 18px; vertical-align: -3px; display: inline-block; }
.ic-md { width: 24px; height: 24px; vertical-align: -5px; display: inline-block; }
.ic-lg { width: 30px; height: 30px; display: inline-block; color: var(--gold2); }
.ic-nav { width: 16px; height: 16px; }
.coin-svg { vertical-align: middle; flex-shrink: 0; }

/* Animations */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes glowPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(212, 160, 23, .35); } 50% { box-shadow: 0 0 24px 4px rgba(212, 160, 23, .28); } }
.fade-up { animation: fadeUp .65s ease both; }
.fade-up.d1 { animation-delay: .08s; }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Header & Glass Nav */
.site-header {
  background: rgba(10, 14, 22, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 60;
}
.header-inner { display: flex; align-items: center; gap: 1em; padding: .75em 1.2em; margin: 0 auto; }
.brand { font-weight: 900; font-size: 1.28em; color: #fff; display: inline-flex; align-items: center; gap: .55em; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2em; height: 2em; border-radius: 11px;
  background: linear-gradient(135deg, #FDE68A, #D4A017);
  color: #17130A; font-weight: 900; font-size: .88em;
  box-shadow: 0 4px 18px rgba(245, 197, 66, 0.4);
}
.main-nav { display: flex; flex-wrap: wrap; gap: .25em; flex: 1; justify-content: center; }
.main-nav a {
  color: var(--muted); padding: .5em .85em; border-radius: 10px;
  font-size: .92em; font-weight: 600; display: inline-flex; align-items: center; gap: .45em;
  transition: all .2s ease;
}
.main-nav a:hover { background: rgba(255,255,255,0.06); color: #fff; transform: translateY(-1px); }
.main-nav a.active { background: var(--gold-bg); color: var(--gold2); border: 1px solid var(--gold-dim); }
.user-box { display: flex; align-items: center; gap: .6em; }
.user-email { color: var(--muted); font-size: .88em; max-width: 150px; overflow: hidden; text-overflow: ellipsis; }
.points {
  background: linear-gradient(135deg, rgba(245, 197, 66,0.2), rgba(212, 160, 23,0.08));
  color: var(--gold2); border: 1px solid var(--gold-dim); border-radius: 999px;
  padding: .38em .95em; font-weight: 800; font-size: .9em; display: inline-flex; align-items: center; gap: .35em;
  transition: transform .3s ease, box-shadow .3s ease;
}
.points.pill-pulse { transform: scale(1.18); box-shadow: 0 0 28px rgba(245, 197, 66, 0.75); }

/* Mobile Bottom App Bar */
/* v14.0 — COMPACT. The old bar was too wide/tall: 5 items with big
   icons + labels crowded a phone screen. Now each item flexes evenly
   (never overflows), icons are smaller, labels are smaller, and the
   bar is shorter. */
.mobile-bottom-nav {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 80;
  background: rgba(10, 14, 22, 0.94); backdrop-filter: blur(18px);
  border-top: 1px solid var(--line); padding: .3em .2em;
  justify-content: space-between; align-items: center;
}
.mobile-bottom-nav a {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  color: var(--muted); font-size: .62em; font-weight: 600; padding: .3em .1em; border-radius: 10px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mobile-bottom-nav a.active { color: var(--gold2); }
.ic-mob { width: 18px; height: 18px; }

/* Glass Cards & Containers */
.glass-card, .claim-box, .balance-box, .panel, .stat, .card, .task-runner {
  background: var(--panel);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5em;
  box-shadow: var(--shadow);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  margin-bottom: 1.2em;
}
.card:hover, .bento-card:hover, .stat:hover {
  transform: translateY(-5px);
  border-color: var(--line2);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.65), 0 0 24px rgba(245, 197, 66, 0.12);
}

/* Task Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.2em; margin: 1.2em 0; }
.card { display: flex; flex-direction: column; gap: .4em; margin-bottom: 0; }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: .5em; }
.card-type {
  display: inline-flex; align-items: center; gap: .35em;
  background: var(--gold-bg); color: var(--gold2); border: 1px solid var(--gold-dim);
  border-radius: 999px; padding: .22em .75em; font-size: .75em; font-weight: 700; text-transform: uppercase;
}
.card-reward-badge {
  background: rgba(245, 197, 66, 0.14); color: var(--green); border: 1px solid rgba(245, 197, 66, 0.3);
  border-radius: 999px; padding: .2em .7em; font-size: .8em; font-weight: 800;
}
.card-source { color: var(--muted); font-size: .86em; margin: 0 0 .6em; }
.card-footer { margin-top: auto; padding-top: .8em; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.card-duration { color: var(--muted); font-size: .88em; font-weight: 600; }

/* Task Runner & SVG Progress Ring */
.task-header-bar { display: flex; justify-content: space-between; align-items: center; gap: 1em; flex-wrap: wrap; margin-bottom: 1em; }
.task-reward-pill {
  background: var(--gold-bg); border: 1px solid var(--gold-dim); border-radius: 14px;
  padding: .6em 1.2em; text-align: right;
}
.task-reward-pill span { display: block; font-size: .75em; color: var(--muted); text-transform: uppercase; }
.task-reward-pill strong { font-size: 1.4em; color: var(--gold2); }
.task-runner-grid { display: grid; grid-template-columns: 1fr 290px; gap: 1.6em; align-items: center; }
.task-timer-col {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: rgba(10, 14, 22, 0.65); border: 1px solid var(--line); border-radius: 14px; padding: 1.4em;
}
.svg-ring-wrap { position: relative; width: 130px; height: 130px; margin-bottom: .8em; }
.progress-ring { transform: rotate(-90deg); }
.progress-ring-fill { transition: stroke-dashoffset 0.45s linear; filter: drop-shadow(0 0 10px var(--ring-glow)) drop-shadow(0 0 22px rgba(245, 158, 11, 0.25)); }
.ring-glow { animation: ringPulse 2.2s ease-in-out infinite; }
@keyframes ringPulse { 0%, 100% { filter: drop-shadow(0 0 8px var(--ring-glow)) drop-shadow(0 0 18px rgba(245, 158, 11, 0.22)); } 50% { filter: drop-shadow(0 0 16px var(--ring-glow)) drop-shadow(0 0 34px rgba(245, 158, 11, 0.4)); } }
.ring-center-text {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.ring-center-text strong { font-size: 1.65em; font-weight: 900; color: var(--gold2); line-height: 1.1; }
.ring-center-text span { font-size: .72em; color: var(--muted); text-transform: uppercase; }
.full-btn { width: 100%; justify-content: center; }
.pulse-gold { animation: glowPulse 1.5s infinite; }

/* VIP Crypto Card (Account & Advertise) */
.vip-wallet-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.4em; margin: 1.5em 0; }
.vip-card {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #161B26 0%, #0C0F17 55%, #231C0B 100%);
  border: 1px solid var(--line2); border-radius: 20px; padding: 1.8em;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,233,150,0.2);
}
.vip-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.2em; }
.vip-chip {
  background: linear-gradient(135deg, #FDE68A, #D4A017); color: #17130A;
  padding: .25em .8em; border-radius: 999px; font-size: .75em; font-weight: 900; text-transform: uppercase; letter-spacing: .08em;
}
.vip-balance-val { font-size: clamp(2.2em, 5vw, 3.1em); font-weight: 900; color: #fff; line-height: 1; margin: .2em 0; }
.vip-balance-val span { color: var(--gold2); font-size: .55em; font-weight: 700; }
.deposit-methods-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1em; margin: 1.2em 0; }
.deposit-addr-card {
  background: rgba(10, 14, 22, 0.75); border: 1px solid var(--line); border-radius: 14px; padding: 1.1em;
  display: flex; flex-direction: column; gap: .55em;
}
.deposit-addr-head { display: flex; align-items: center; gap: .55em; font-weight: 700; color: #fff; }
.deposit-addr-code {
  background: rgba(0,0,0,0.45); border: 1px solid var(--line); border-radius: 8px;
  padding: .5em .7em; font-family: ui-monospace, monospace; font-size: .82em; color: var(--gold-soft);
  word-break: break-all;
}

/* Floating Reward Toast */
.reward-toast {
  position: fixed; bottom: 90px; right: 28px; z-index: 200;
  background: linear-gradient(135deg, #FDE68A, #D4A017); color: #17130A;
  padding: .75em 1.4em; border-radius: 999px; font-weight: 900; font-size: 1.1em;
  box-shadow: 0 12px 32px rgba(245, 197, 66, 0.5);
  animation: toastFly 2.5s cubic-bezier(.2,.8,.2,1) forwards;
}
@keyframes toastFly {
  0% { opacity: 0; transform: translateY(30px) scale(0.8); }
  15% { opacity: 1; transform: translateY(0) scale(1.05); }
  75% { opacity: 1; transform: translateY(-20px) scale(1); }
  100% { opacity: 0; transform: translateY(-70px) scale(0.9); }
}

/* Bento Grid & Crypto Chips on Homepage */
.hero-crypto-row { display: flex; flex-wrap: wrap; gap: .6em; justify-content: center; margin-top: 1.8em; }
.crypto-chip, .trust-pill {
  display: inline-flex; align-items: center; gap: .45em;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line);
  border-radius: 999px; padding: .4em .9em; font-size: .85em; font-weight: 600; color: #E5E7EB;
}
.bento-showcase {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2em; margin: 1em 0 3em;
}
.bento-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--gold-bg); border: 1px solid var(--gold-dim);
  display: flex; align-items: center; justify-content: center; margin-bottom: .8em;
}
.crypto-trust-bar { display: flex; flex-wrap: wrap; gap: .5em; margin-top: .8em; }

/* Buttons & Inputs */
label { display: block; font-weight: 600; margin-bottom: .4em; color: var(--text); font-size: .92em; }
input[type=text], input[type=password], input[type=number], input[type=email], input[type=url], textarea, select {
  width: 100%; padding: .8em .95em; border: 1px solid var(--line); border-radius: 11px;
  font-size: .96em; margin-bottom: 1em; background: rgba(8, 11, 18, 0.85); color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212, 160, 23, .18); }
input[type=checkbox] { width: auto; margin: 0 .4em 0 0; }
button, .btn {
  background: linear-gradient(135deg, #F6D365, #D4A017); color: #17130A; border: 0;
  border-radius: 11px; padding: .8em 1.45em; font-size: .96em; font-weight: 800;
  cursor: pointer; display: inline-flex; align-items: center; gap: .45em;
  transition: transform .2s, box-shadow .2s, filter .2s;
}
button:hover, .btn:hover { filter: brightness(1.08); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(212, 160, 23, .32); color: #17130A; }
button:disabled, .btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn.small { padding: .48em .95em; font-size: .86em; }
.btn.ghost { background: rgba(255,255,255,0.04); color: var(--text); border: 1px solid var(--line); box-shadow: none; }
.btn.ghost:hover { border-color: var(--gold); color: var(--gold2); }
.btn.danger { background: linear-gradient(135deg, #f87171, #dc2626); color: #fff; }
/* v15.2 — Google Sign-In button, official Google branding: white, thin
   grey border, the multicolour "G" on the left, dark text. Same look as
   the button on every big site. Hover is a soft Google shadow, no lift. */
.google-btn { background: #fff; color: #1f1f1f; border: 1px solid #dadce0; display: inline-flex; align-items: center; justify-content: center; gap: .6em; font-weight: 500; letter-spacing: .01em; }
.google-btn:hover { background: #f8f9fa; border-color: #d2e3fc; box-shadow: 0 1px 3px rgba(60,64,67,.3), 0 4px 8px rgba(60,64,67,.15); transform: none; filter: none; color: #1f1f1f; }
.google-btn .google-g { flex: none; display: block; }
.google-btn:disabled { background: #fff; color: #1f1f1f; }
.oauth-box { margin-top: 1.2em; border-top: 1px solid var(--line); padding-top: 1em; }
.copy-row { display: flex; gap: .6em; align-items: stretch; flex-wrap: wrap; }
.copy-row input { margin-bottom: 0; flex: 1; min-width: 220px; }

/* Sections & Hero */
.hero { padding: 2.8em 1.2em 2em; text-align: center; border-bottom: 1px solid var(--line); margin-bottom: 1.5em; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .4em; font-size: .78em; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold2); border: 1px solid var(--gold-dim);
  background: var(--gold-bg); border-radius: 999px; padding: .35em 1em; margin-bottom: .9em; font-weight: 700;
}
.hero .lead { margin: 0 auto 1.4em; }
.hero-cta { display: flex; gap: .8em; justify-content: center; flex-wrap: wrap; }
.hero-balance {
  display: inline-flex; gap: 1.4em; align-items: center; flex-wrap: wrap;
  background: rgba(10, 14, 22, 0.7); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1em 1.6em; margin-top: 1.2em;
}
.hero-balance .big { font-size: 1.85em; font-weight: 900; color: var(--gold2); line-height: 1.1; }
.hero-balance .lbl { display: block; font-size: .78em; color: var(--muted); text-transform: uppercase; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); gap: 1em; margin: 1.5em 0; }
.stat { text-align: center; margin-bottom: 0; }
.stat-icon-wrap { color: var(--gold2); margin-bottom: .35em; }
.stat-num { display: block; font-size: 1.85em; font-weight: 900; color: var(--gold2); line-height: 1.1; }
.stat-label { color: var(--muted); font-size: .85em; }
.progress { background: rgba(255,255,255,0.08); border-radius: 999px; height: .65em; overflow: hidden; margin: .5em 0 1em; }
.progress-bar { background: linear-gradient(90deg, #D4A017, #FDE68A); height: 100%; width: 0%; transition: width .4s linear; }
.notice { background: var(--gold-bg); border: 1px solid var(--gold-dim); border-radius: 12px; padding: .85em 1.1em; color: var(--gold-soft); margin: 1em 0; }
.notice.bad { background: rgba(127, 29, 29, 0.35); border-color: #991b1b; color: #fca5a5; }
.notice.good { background: rgba(20, 83, 45, 0.35); border-color: #166534; color: #86efac; }
.badge { display: inline-block; border-radius: 999px; padding: .2em .75em; font-size: .78em; font-weight: 700; }
.badge-pending { background: var(--gold-bg); color: var(--gold2); border: 1px solid var(--gold-dim); }
.badge-approved { background: rgba(30, 64, 175, 0.35); color: #93c5fd; border: 1px solid #1e40af; }
.badge-paid { background: rgba(20, 83, 45, 0.35); color: #86efac; border: 1px solid #14532d; }
.badge-rejected { background: rgba(127, 29, 29, 0.35); color: #fca5a5; border: 1px solid #7f1d1d; }
table { width: 100%; border-collapse: collapse; font-size: .9em; margin: 1em 0; background: var(--panel); border-radius: 14px; overflow: hidden; }
th, td { border-bottom: 1px solid var(--line); padding: .8em .75em; text-align: left; }
th { color: var(--muted); font-size: .78em; text-transform: uppercase; letter-spacing: .06em; background: rgba(0,0,0,0.25); }
tr:hover td { background: rgba(245, 197, 66, 0.04); }
.inline-form { display: inline; }
.inline-form button { padding: .42em .85em; font-size: .82em; margin: .1em; }
.gate-box { border: 1px solid var(--gold-dim); background: var(--gold-bg); border-radius: var(--radius); padding: 1.2em; margin: 1.2em 0; }
.gate-open { border-color: #14532d; background: rgba(20, 83, 45, 0.28); }
.search-row { display: flex; gap: .6em; flex-wrap: wrap; align-items: center; }
.search-row input { flex: 1; min-width: 220px; margin-bottom: 0; }
.ad-slot { border: 1px dashed var(--line2); border-radius: 12px; padding: .75em; margin: 1.2em 0; background: rgba(12, 16, 24, 0.6); text-align: center; overflow: hidden; }
.ad-label { display: block; font-size: .72em; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .35em; }
.ad-empty { color: var(--faint); font-size: .85em; }
.shimmer-text {
  background: linear-gradient(90deg, var(--gold2) 20%, #fff 40%, var(--gold2) 60%);
  background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 4s linear infinite;
}
.countdown { font-size: 1.4em; font-weight: 900; color: var(--gold2); }
.site-footer { border-top: 1px solid var(--line); margin-top: 4em; padding: 2.5em 0; background: rgba(6, 8, 13, 0.85); }
.footer-inner { display: flex; justify-content: space-between; gap: 2em; flex-wrap: wrap; margin: 0 auto; }
.footer-nav { display: flex; gap: 1.2em; flex-wrap: wrap; align-items: center; }
.footer-nav a { color: var(--muted); font-size: .95em; font-weight: 600; }

/* Admin Command Center */
.admin-tabs { display: flex; flex-wrap: wrap; gap: .45em; margin: 1.4em 0; }
.admin-tabs a { color: var(--muted); padding: .6em 1.05em; border: 1px solid var(--line); border-radius: 11px; font-weight: 600; background: var(--panel); transition: all .2s; }
.admin-tabs a:hover { color: #fff; border-color: var(--line2); }
.admin-tabs a.active { background: var(--gold-bg); color: var(--gold2); border-color: var(--gold-dim); box-shadow: 0 4px 16px rgba(245, 197, 66, 0.15); }
.admin-status-bar {
  display: flex; flex-wrap: wrap; gap: .8em; align-items: center; justify-content: space-between;
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: .9em 1.2em; margin-bottom: 1.2em;
}

/* Homepage Hero */
.home-hero { position: relative; min-height: 66vh; display: flex; align-items: center; justify-content: center; overflow: hidden; isolation: isolate; }
.home-stage { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.orb {
  position: absolute; left: 50%; top: 44%; width: min(55vw, 480px); aspect-ratio: 1;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, rgba(255, 233, 150, .9), rgba(245, 197, 66, .65) 34%, rgba(184, 145, 42, .25) 58%, transparent 72%);
  filter: blur(4px); box-shadow: 0 0 120px 40px rgba(245, 197, 66, .22);
  animation: orb-breathe 7s ease-in-out infinite;
}
@keyframes orb-breathe { 0%, 100% { transform: translate(-50%, -50%) scale(1); } 50% { transform: translate(-50%, -52%) scale(1.06); } }
.ring { position: absolute; left: 50%; top: 44%; border-radius: 50%; border: 1px solid rgba(245, 197, 66, .3); }
.ring-a { width: min(68vw, 600px); aspect-ratio: 1; transform: translate(-50%, -50%); border-style: dashed; animation: spin-a 46s linear infinite; }
.ring-b { width: min(82vw, 740px); aspect-ratio: 1; transform: translate(-50%, -50%); border-color: rgba(245, 197, 66, .14); animation: spin-b 64s linear infinite reverse; }
@keyframes spin-a { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes spin-b { to { transform: translate(-50%, -50%) rotate(-360deg); } }
.particle {
  position: absolute; bottom: -12px; width: 6px; height: 6px; border-radius: 50%;
  background: radial-gradient(circle, #a7f3d0, #34d399 60%, transparent 75%);
  opacity: 0; animation: rise 11s linear infinite;
}
.particle.p1 { left: 18%; animation-delay: 0s; }
.particle.p2 { left: 30%; width: 4px; height: 4px; animation-delay: 2.4s; animation-duration: 13s; }
.particle.p3 { left: 44%; width: 8px; height: 8px; animation-delay: 5s; animation-duration: 15s; }
.particle.p4 { left: 56%; width: 4px; height: 4px; animation-delay: 1.2s; }
.particle.p5 { left: 66%; animation-delay: 7s; animation-duration: 12s; }
.particle.p6 { left: 74%; width: 5px; height: 5px; animation-delay: 3.6s; animation-duration: 14s; }
.particle.p7 { left: 82%; width: 7px; height: 7px; animation-delay: 8.5s; }
.particle.p8 { left: 24%; width: 5px; height: 5px; animation-delay: 9.8s; animation-duration: 16s; }
.particle.p9 { left: 60%; width: 3px; height: 3px; animation-delay: 6.2s; animation-duration: 10s; }
@keyframes rise {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  12% { opacity: .9; }
  55% { transform: translateY(-52vh) translateX(14px); opacity: .7; }
  100% { transform: translateY(-88vh) translateX(-10px); opacity: 0; }
}
.home-copy { position: relative; z-index: 1; text-align: center; padding: 0 1em; }
.wordmark {
  margin: 0; font-size: clamp(3rem, 11vw, 7rem); font-weight: 900; letter-spacing: -.04em; line-height: 1;
  background: linear-gradient(100deg, #6B4E00 0%, #10b981 22%, #a7f3d0 50%, #34d399 78%, #6B4E00 100%);
  background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tagline { margin: 1em 0 0; font-size: clamp(1rem, 2.4vw, 1.3rem); color: var(--muted); }
.slider { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--panel); border: 1px solid var(--line); margin: 1.2em 0; }
.slide { display: none; padding: 2.2em 1.5em; text-align: center; }
.slide.active { display: block; }
.slide-title { display: block; font-size: 1.35em; font-weight: 800; color: #fff; margin: .6em 0; }
.slide-meta-row { display: flex; justify-content: center; gap: .6em; margin-bottom: .8em; }
.slide-pill { background: rgba(255,255,255,0.06); padding: .25em .75em; border-radius: 999px; font-size: .85em; }
.gold-pill { background: var(--gold-bg); color: var(--gold2); font-weight: 700; }
.slide-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.6); color: #fff; border-radius: 50%; width: 2.4em; height: 2.4em; padding: 0; justify-content: center; }
.slide-btn.prev { left: .6em; }
.slide-btn.next { right: .6em; }
.slide-dots { text-align: center; padding-bottom: .8em; }
.slide-dots button { width: .55em; height: .55em; border-radius: 50%; padding: 0; margin: 0 .2em; background: var(--line); }
.slide-dots button.on { background: var(--gold2); }
.progress-line { color: var(--muted); margin: .6em 0 0; }
.progress-line strong { color: var(--gold2); }
.task-next { margin-top: 1em; display: flex; gap: .6em; justify-content: center; flex-wrap: wrap; }

@media (max-width: 768px) {
  body { padding-bottom: 58px; }
  .main-nav { display: none; }
  .mobile-bottom-nav { display: flex; }
  .task-runner-grid, .vip-wallet-grid { grid-template-columns: 1fr; }
  .user-email { display: none; }
}

/* v12.0 — classes the v12 components use (were missing from the
   delivered stylesheet): slider type/CTA pills, task media columns,
   faucet cooldown ring wrapper. */
.slide-type { display: inline-block; background: var(--gold-bg); color: var(--gold2); border: 1px solid var(--gold-dim); border-radius: 999px; padding: .2em .8em; font-size: .8em; text-transform: uppercase; letter-spacing: .08em; }
.slide-cta { display: inline-block; margin-top: .9em; font-weight: 800; color: var(--gold2); }
.slider-empty { background: var(--panel); border: 1px dashed var(--line2); border-radius: var(--radius); padding: 1.8em; text-align: center; color: var(--faint); }
.video-wrap iframe { border-radius: 10px; background: #000; width: 100%; }
.article-wrap, .visit-wrap { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2em; margin: 1em 0; }
.task-media-col { min-width: 0; }
.faucet-ring-wrap { display: flex; flex-direction: column; align-items: center; margin: 1em 0; }

/* ============================================================
   v13.0 — Emerald identity: stronger hero rings, task frame,
   verification window, house banners, task hub, USD notes.
   ============================================================ */

/* Stronger animated hero rings (the rotating rings the owner asked
   to make prominent on the homepage). Two extra rings + a brighter
   core orb, all emerald now. */
.home-stage .ring-c { width: min(52vw, 460px); aspect-ratio: 1; transform: translate(-50%, -50%); border: 2px solid rgba(245, 197, 66, .45); animation: spin-a 30s linear infinite; }
.home-stage .ring-d { width: min(96vw, 880px); aspect-ratio: 1; transform: translate(-50%, -50%); border: 1px solid rgba(245, 197, 66, .10); border-style: dotted; animation: spin-b 90s linear infinite; }
.home-stage .orb { background: radial-gradient(circle, rgba(245, 197, 66, .55), rgba(212, 160, 23, .18) 45%, transparent 70%); }
.home-stage .ring { box-shadow: 0 0 40px rgba(212, 160, 23, .12) inset; }

/* How it works / features / FAQ (homepage, display-only — no counts,
   no action buttons, per the owner's standing rule). */
.how-section, .features-section, .faq-section { margin: 3.5em 0 0; }
.section-title { font-size: 1.6em; font-weight: 800; margin: 0 0 .3em; }
.section-sub { color: var(--muted); margin: 0 0 1.4em; }
.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1em; }
.how-step { padding: 1.4em; }
.how-step-num { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 1.2em; color: #17130A; background: linear-gradient(135deg, #FDE68A, #D4A017); margin-bottom: .8em; }
.how-step h3 { margin: 0 0 .4em; }
.how-step p { margin: 0; color: var(--muted); }
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1em; }
.feature { padding: 1.3em; display: flex; gap: 1em; align-items: flex-start; }
.feature-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-bg); color: var(--gold2); flex: none; }
.feature h3 { margin: 0 0 .3em; }
.feature p { margin: 0; color: var(--muted); }
.faq-item { padding: 1.1em 1.3em; margin-bottom: .7em; }
.faq-item h3 { margin: 0 0 .3em; font-size: 1.05em; }
.faq-item p { margin: 0; color: var(--muted); }
@media (max-width: 768px) {
  .how-steps { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
}

/* Task frame (article / visit shown inside the task page). */
.task-frame-wrap { position: relative; }
.task-frame { width: 100%; height: 520px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.task-frame-fallback { text-align: center; padding: 2.2em 1.2em; border: 1px dashed var(--line2); border-radius: 14px; }
.task-frame-fallback h3 { margin: 0 0 .4em; }
@media (max-width: 768px) {
  .task-frame { height: 420px; }
}

/* Verification window (shown when the verified timer finishes). */
.verify-panel { margin-top: 1em; padding: 1.1em; border: 1px solid var(--line2); border-radius: 14px; background: var(--gold-bg); }
.verify-panel h3 { margin: 0 0 .3em; display: flex; align-items: center; gap: .4em; }
.verify-panel p { margin: 0 0 .8em; }
.verify-confirm { display: flex; gap: .6em; align-items: flex-start; font-weight: 600; cursor: pointer; margin-bottom: .9em; }
.verify-confirm input { width: 20px; height: 20px; margin-top: 2px; accent-color: #D4A017; }

/* USD note next to a reward pill. */
.usd-note { display: block; font-size: .75em; color: var(--muted); font-weight: 600; }
.task-reward-pill { text-align: right; }

/* House banner (shown in an ad slot while no network code is set). */
.house-banner { display: block; max-width: 728px; margin: 0 auto; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.house-banner img { display: block; width: 100%; height: auto; }
.ad-slot .ad-empty { color: var(--muted); font-size: .85em; }

/* Task hub: category cards + filter chips. */
.task-hub { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1em; margin: 0 0 1.6em; }
.hub-card { display: block; padding: 1.4em; text-decoration: none; color: inherit; transition: transform .2s, border-color .2s; }
.hub-card:hover { transform: translateY(-3px); border-color: var(--gold-dim); }
.hub-card-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-bg); color: var(--gold2); margin-bottom: .8em; }
.hub-card h3 { margin: 0 0 .3em; }
.hub-card p { margin: 0; color: var(--muted); font-size: .92em; }
.hub-card .hub-cta { display: inline-block; margin-top: .8em; font-weight: 700; color: var(--gold2); font-size: .9em; }
.filter-chips { display: flex; gap: .5em; flex-wrap: wrap; margin: 0 0 1.2em; }
.chip { display: inline-block; padding: .45em 1em; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); text-decoration: none; font-weight: 600; font-size: .9em; }
.chip.active { background: var(--gold-bg); border-color: var(--gold-dim); color: var(--gold2); }
@media (max-width: 768px) {
  .task-hub { grid-template-columns: 1fr; }
}

/* Card USD line (under the reward badge). */
.card-usd { font-size: .8em; color: var(--muted); font-weight: 600; }

/* Simple content pages (privacy / terms / contact). */
.legal-page { max-width: 760px; }
.legal-page h2 { margin-top: 1.6em; }
.legal-page p, .legal-page li { color: var(--muted); }

/* ============================================================
   v14.0 — NEW-TAB task runner + dashboard stats row.
   ============================================================ */

/* Destination card (the task opens in a new tab — no iframe). */
.visit-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2em; margin: 1em 0; }
.visit-card h3 { margin: 0 0 .4em; display: flex; align-items: center; gap: .4em; }
.visit-host { font-weight: 700; color: var(--gold2); }
.visit-card .full-btn { margin-top: .6em; }

/* Video thumbnail preview (an image, NOT an iframe). */
.video-thumb-wrap { position: relative; border-radius: 14px; overflow: hidden; margin-bottom: 1em; }
.video-thumb-wrap img { display: block; width: 100%; height: auto; }
.video-thumb-play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(0,0,0,.25); }

/* Dashboard "today at a glance" stats row. */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1em; }
@media (max-width: 768px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   v15.0 — LIGHT / DARK THEMES, TICKERS, EARN HUB, LEVELS
   ============================================================ */

/* Light theme (morning mode). The toggle in the header switches
   data-theme on <html>; the choice is saved in localStorage. */
[data-theme="light"] {
  --bg: #F4F6FA;
  --bg2: #FFFFFF;
  --panel: rgba(255, 255, 255, 0.9);
  --panel2: rgba(255, 255, 255, 0.95);
  --line: rgba(10, 20, 40, 0.1);
  --line2: rgba(212, 160, 23, 0.35);
  --text: #111827;
  --muted: #4B5563;
  --faint: #9CA3AF;
  --shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
}
[data-theme="light"] body { background: var(--bg); }
[data-theme="light"] .ambient-bg { opacity: 0.35; }
[data-theme="light"] .glass-card { background: var(--panel); border-color: var(--line); }
[data-theme="light"] .site-header { background: rgba(255, 255, 255, 0.92); }
[data-theme="light"] .mobile-bottom-nav { background: rgba(255, 255, 255, 0.96); }
[data-theme="light"] .news-ticker { background: #111827; }

/* Theme toggle icon — show sun in dark mode, moon in light mode. */
.theme-toggle { position: relative; }
.theme-toggle .theme-icon-moon { display: none; }
[data-theme="light"] .theme-toggle .theme-icon-sun { display: none; }
[data-theme="light"] .theme-toggle .theme-icon-moon { display: inline-block; }
/* v18.5 — the toggle icon is now an <img> (assets/icons/sun.svg /
   moon.svg): inline SVG sun/moon stayed invisible in the live render
   in v18.2–v18.4 despite correct markup + CSS (verified in the served
   HTML by curl, pixel-verified empty pill). <img> renders as a plain
   image — the same way the brand logo and article banners already do
   on this site — so it sidesteps whatever blocks the inline SVG.
   Colours are baked into the files (sun gold #D4A017 for dark mode,
   moon darker gold #8a6d1b for light mode). The show/hide rules above
   still govern (class-based, element-agnostic). */
.theme-toggle { color: #D4A017; }
.theme-toggle .theme-icon-sun,
.theme-toggle .theme-icon-moon { width: 20px; height: 20px; flex: none; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 999px; cursor: pointer;
  background: var(--panel); border: 1px solid var(--line); color: var(--text);
  transition: border-color .2s, background .2s;
}
.icon-btn:hover { border-color: var(--gold-dim); background: var(--gold-bg); }
.level-chip {
  display: inline-flex; align-items: center; gap: .35em;
  padding: .35em .7em; border-radius: 999px; font-size: .85em; font-weight: 700;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.22), rgba(245, 158, 11, 0.08));
  border: 1px solid rgba(245, 158, 11, 0.45); color: var(--ring-bright);
}
[data-theme="light"] .level-chip { color: #92400E; }
.notif-bell { position: relative; }
.notif-count {
  position: absolute; top: -5px; right: -5px; min-width: 17px; height: 17px;
  padding: 0 4px; border-radius: 999px; background: #EF4444; color: #fff;
  font-size: .68em; font-weight: 800; line-height: 17px; text-align: center;
}

/* ---------- TICKERS ---------- */
/* Crypto price ticker — top bar, moving, every page. */
.crypto-ticker {
  background: #0B0F17; border-bottom: 1px solid var(--line);
  overflow: hidden; white-space: nowrap; height: 34px;
  display: flex; align-items: center;
}
.crypto-ticker .ticker-track {
  display: inline-flex; gap: 2.2em; padding-left: 1em;
  animation: tickerScroll 55s linear infinite; will-change: transform;
}
.crypto-ticker .ticker-item { font-size: .82em; font-weight: 600; color: #D1D5DB; }
.crypto-ticker .ticker-item b { color: #fff; }
.crypto-ticker .up { color: var(--green); }
.crypto-ticker .down { color: var(--red); }
@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* News ticker — fixed at the bottom, every page, above the mobile nav. */
.news-ticker {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
  background: #0B0F17; border-top: 1px solid var(--line);
  height: 36px; display: flex; align-items: stretch; overflow: hidden;
}
.news-ticker-label {
  display: inline-flex; align-items: center; gap: .35em; flex: 0 0 auto;
  background: var(--gold); color: #17130A; font-weight: 800; font-size: .8em;
  padding: 0 .9em; text-transform: uppercase; letter-spacing: .06em;
}
.news-ticker .news-track {
  display: inline-flex; align-items: center; gap: 1.6em; padding-left: 1em;
  animation: tickerScroll 70s linear infinite; will-change: transform; white-space: nowrap;
}
.news-ticker .ticker-item { font-size: .85em; color: #D1D5DB; }
.news-ticker .ticker-sep { color: var(--gold2); }
/* Keep the footer clear of the fixed news bar. */
.site-footer { padding-bottom: 52px; }
@media (max-width: 768px) {
  .site-footer { padding-bottom: 110px; }
  .news-ticker { bottom: 56px; }
}

/* ---------- EARN HUB ---------- */
.earn-hub { margin: 2.2em 0; }
.earn-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1em; }
.earn-card { padding: 1.3em; display: flex; flex-direction: column; }
.earn-card h3 { margin: .5em 0 .1em; }
.earn-aka { font-size: .85em; font-weight: 700; margin: 0 0 .5em; }
.earn-icon {
  width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: var(--gold-bg); border: 1px solid var(--gold-dim);
}
.earn-subs { list-style: none; margin: .4em 0 1em; padding: 0; }
.earn-subs li { font-size: .88em; color: var(--muted); padding-left: 1.1em; position: relative; }
.earn-subs li::before { content: "▸"; position: absolute; left: 0; color: var(--gold2); }
.earn-card .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 900px) { .earn-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .earn-grid { grid-template-columns: 1fr; } }

/* ---------- LEVEL + BONUS (account page) ---------- */
.level-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1em; margin: 1.2em 0; }
.level-card, .bonus-card { display: flex; gap: 1em; align-items: flex-start; padding: 1.2em; }
.level-badge {
  width: 54px; height: 54px; flex: 0 0 auto; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(245, 158, 11, 0.06));
  border: 1px solid rgba(245, 158, 11, 0.45); color: var(--ring);
}
.level-info { flex: 1; min-width: 0; }
.gold-bar { background: linear-gradient(90deg, #FDE68A, #F59E0B, #D97706) !important; }
@media (max-width: 700px) { .level-row { grid-template-columns: 1fr; } }

/* Notifications */
.notif-row { padding: .7em .9em; border: 1px solid var(--line); border-radius: 12px; margin: .5em 0; }
.notif-row.unread { border-color: rgba(245, 158, 11, 0.5); background: rgba(245, 158, 11, 0.07); }
.good-text { color: var(--green); }
.bad-text { color: var(--red); }

/* House banners — never slow the page (pure SVG, lazy). */
.house-banner { display: block; text-align: center; }
.house-banner img { max-width: 100%; height: auto; border-radius: 12px; }

/* v16.0 — PROFESSIONAL AUTH PANEL (login / forgot / reset).
 * One centred card, brand on top, generous spacing, full-width
 * primary button. Reuses the existing glass-card / button / input
 * styles — nothing else on the site changes. */
.auth-panel { display: flex; justify-content: center; padding: 2.5em 0 3em; }
.auth-card { width: 100%; max-width: 480px; padding: 2.2em 2em 1.8em; }
.auth-card h1 { font-size: 1.7em; margin: .15em 0 .35em; }
.auth-card .lead { margin: 0 0 1.4em; }
.auth-brand { display: flex; align-items: center; gap: .55em; margin-bottom: 1.4em; }
.auth-brand .brand-mark { width: 40px; height: 40px; font-size: 1.3em; }
.auth-brand .brand-text { font-size: 1.35em; font-weight: 800; }
.auth-forgot { text-align: right; margin: -.2em 0 .9em; font-size: .9em; }
.auth-alt { text-align: center; margin: 1.2em 0 0; }
.auth-secure { text-align: center; margin: 1.4em 0 0; display: flex; align-items: center; justify-content: center; gap: .35em; }
.auth-card .oauth-box { margin-top: 1.4em; }
.auth-card .google-btn { width: 100%; }
@media (max-width: 560px) {
  .auth-panel { padding: 1.2em 0 2em; }
  .auth-card { padding: 1.6em 1.2em 1.4em; }
}

/* v16.0 — EARNINGS AT A GLANCE (account page). */
.earnings-glance { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8em; margin: 1em 0; }
.earn-cell { padding: 1em 1.1em; }
.earn-cell .earn-num { display: block; font-size: 1.5em; font-weight: 800; line-height: 1.15; }
.earn-cell .earn-num small { font-size: .55em; font-weight: 600; color: var(--muted); }
.earn-cell .earn-label { display: block; margin-top: .3em; font-size: .85em; color: var(--muted); }
@media (max-width: 700px) { .earnings-glance { grid-template-columns: repeat(2, 1fr); } }

/* v16.0 — SOCIAL TASKS (tasks hub). */
.social-hub { margin: 1.2em 0; }
.social-card { border-color: rgba(245, 158, 11, 0.35); }
.social-note { margin: .4em 0 0; font-size: .9em; }

/* ============================================================
   v17.0 — GOLD identity, notifications, social marquee,
   balance actions, deposit panel, mobile-first fixes.
   ============================================================ */

/* Gold brand mark (favicon image inside the gold tile). */
.brand-mark { background: linear-gradient(135deg, #FDE68A, #D4A017); overflow: hidden; }
.brand-mark img { display: block; width: 100%; height: 100%; border-radius: 11px; }
.brand-text .gold, .gold { color: var(--gold2); }

/* Header balance actions (Withdraw / Deposit next to the points pill). */
.balance-actions { display: inline-flex; gap: .45em; align-items: center; }
.balance-actions .btn { white-space: nowrap; }
.points-pill-link { display: inline-flex; }

/* In-app notification panel (bell dropdown — no browser popups). */
.notif-wrap { position: relative; }
.notif-panel {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 120;
  width: min(340px, 86vw); max-height: 380px; overflow-y: auto;
  background: var(--panel2); border: 1px solid var(--line2); border-radius: 14px;
  box-shadow: var(--shadow); padding: .6em; text-align: left;
  animation: fadeUp .25s ease both;
}
.notif-panel-head { display: flex; justify-content: space-between; align-items: center; padding: .4em .5em .6em; font-size: .9em; }
.notif-panel-head a { font-size: .85em; }
.notif-item { display: block; padding: .6em .7em; border-radius: 10px; color: var(--text); }
.notif-item:hover { background: rgba(255, 255, 255, 0.05); }
.notif-item.unread { background: var(--gold-bg); border: 1px solid var(--gold-dim); }
.notif-item strong { display: block; font-size: .92em; }
.notif-item span { display: block; font-size: .85em; color: var(--muted); }
.notif-item time { font-size: .75em; color: var(--faint); }
.notif-empty { padding: .8em; color: var(--muted); font-size: .9em; margin: 0; }
.notif-all { display: block; text-align: center; padding: .6em; font-weight: 700; font-size: .9em; }

/* Deposit panel (account page) — addresses from Admin Settings. */
.deposit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1em; margin: 1em 0; }
.balance-actions-row { display: flex; gap: .7em; flex-wrap: wrap; margin-top: 1.1em; }

/* Animated social marquee (footer, every page). */
.social-marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: .7em 0; margin-bottom: 2em; background: rgba(212, 160, 23, 0.05); }
.social-marquee-track { display: inline-flex; gap: 2.4em; padding-left: 1.2em; white-space: nowrap; animation: socialScroll 32s linear infinite; will-change: transform; }
.social-marquee:hover .social-marquee-track { animation-play-state: paused; }
@keyframes socialScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.social-marquee-item { display: inline-flex; align-items: center; gap: .5em; color: var(--muted); font-weight: 700; font-size: .92em; }
.social-marquee-item:hover { color: var(--gold2); }
.social-marquee-icon {
  width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(253, 230, 138, 0.22), rgba(212, 160, 23, 0.12));
  border: 1px solid var(--gold-dim); color: var(--gold2);
  animation: iconBob 2.6s ease-in-out infinite;
}
.social-marquee-item:nth-child(2n) .social-marquee-icon { animation-delay: -.65s; }
.social-marquee-item:nth-child(3n) .social-marquee-icon { animation-delay: -1.3s; }
.social-marquee-item:nth-child(4n) .social-marquee-icon { animation-delay: -1.95s; }
@keyframes iconBob { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-4px) scale(1.08); } }

/* Footer columns (v17: clean 3-column footer, all links live). */
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2em; align-items: start; }
.footer-brand-col p { margin: .8em 0 0; }
.footer-col { display: flex; flex-direction: column; gap: .55em; }
.footer-col strong { color: #fff; font-size: .9em; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .2em; }
.footer-col a { color: var(--muted); font-size: .95em; font-weight: 600; }
.footer-col a:hover { color: var(--gold2); }
.footer-social { display: flex; gap: .5em; flex-wrap: wrap; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--gold-bg); border: 1px solid var(--gold-dim); color: var(--gold2);
  transition: transform .2s ease, background .2s ease;
}
.footer-social a:hover { transform: translateY(-3px) scale(1.08); background: rgba(212, 160, 23, 0.22); }
.footer-base { display: flex; justify-content: space-between; gap: 1em; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 1.2em; margin-top: 2em; }
.footer-base p { margin: 0; }

/* Gold shimmer on the wordmark + gentle float on hero chips. */
.hero-crypto-row .crypto-chip { animation: chipFloat 5s ease-in-out infinite; }
.hero-crypto-row .crypto-chip:nth-child(2n) { animation-delay: -1.2s; }
.hero-crypto-row .crypto-chip:nth-child(3n) { animation-delay: -2.4s; }
@keyframes chipFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) {
  .social-marquee-track, .hero-crypto-row .crypto-chip, .social-marquee-icon, .ambient-glow, .orb, .ring-a, .ring-b, .particle { animation: none !important; }
}

/* ---------- Mobile-first fixes (v17) ---------- */
img, svg, video, iframe { max-width: 100%; }
.ad-slot iframe, .ad-slot img { max-width: 100%; height: auto; }
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  /* v17: the fixed news ticker ("withdrawal notification bar") is
     hidden on mobile — it took width and crowded the bottom nav. */
  .news-ticker { display: none; }
  .site-footer { padding-bottom: 24px; }
  body { padding-bottom: 58px; }
  .header-inner { gap: .5em; padding: .6em .8em; flex-wrap: wrap; }
  .brand { font-size: 1.1em; }
  .user-box { gap: .4em; margin-left: auto; }
  .level-chip span { display: none; }
  .balance-actions { display: none; } /* Withdraw/Deposit live on the account page on mobile */
  .points { padding: .3em .7em; font-size: .82em; }
  .notif-panel { position: fixed; top: 64px; left: 8px; right: 8px; width: auto; max-height: 60vh; }
  .wrap { padding: 0 .9em; }
  h1 { font-size: 1.7em; }
  .hero { padding: 1.8em .9em 1.4em; }
  .hero-balance { gap: .8em; padding: .8em 1em; width: 100%; justify-content: space-around; }
  .hero-balance .big { font-size: 1.4em; }
  .vip-balance-val { font-size: 2.1em; }
  .vip-card { padding: 1.3em 1.1em; }
  .glass-card, .claim-box, .balance-box, .panel, .stat, .card, .task-runner { padding: 1.1em; }
  .cards { grid-template-columns: 1fr; }
  .slide { padding: 1.6em 1em; }
  .slide-meta-row { flex-wrap: wrap; }
  .slide-btn { display: none; }
  table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.4em; }
  .footer-base { flex-direction: column; gap: .2em; }
  .auth-card { padding: 1.6em 1.1em 1.4em; }
  .copy-row input { min-width: 0; }
  .social-marquee-track { gap: 1.6em; }
}

/* ============================================================
   v17.1 — PRO HEADER, COLLAPSIBLES, EARN SUB-NAV, EMOJI POLISH
   ============================================================ */

/* Professional header: gold top line, deeper shadow, more air. */
.site-header { border-top: 2px solid var(--gold); box-shadow: 0 6px 28px rgba(0, 0, 0, 0.45); }
.header-inner { padding: .85em 1.2em; gap: 1.1em; }
.brand { font-size: 1.35em; letter-spacing: -.01em; }
.main-nav { gap: .35em; }
.main-nav a { padding: .55em .95em; border: 1px solid transparent; }
.main-nav a.active { box-shadow: 0 0 16px rgba(212, 160, 23, 0.18); }
.user-box { gap: .7em; }

/* Earn sub-nav sits under the header, above the hero. */
.earn-subnav { margin: 1.2em 0 0; }

/* Collapsible sections (native <details> — no JS needed, works everywhere). */
.collapse { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); margin-bottom: 1.2em; overflow: hidden; }
.collapse.panel { padding: 0; }
.collapse > summary { cursor: pointer; list-style: none; padding: 1em 1.2em; font-weight: 800; color: #fff; display: flex; justify-content: space-between; align-items: center; gap: .8em; }
.collapse > summary::-webkit-details-marker { display: none; }
.collapse > summary::after { content: "▾"; color: var(--gold2); font-size: 1.1em; transition: transform .25s ease; flex: none; }
.collapse[open] > summary::after { transform: rotate(180deg); }
.collapse > summary:hover { color: var(--gold2); }
.collapse > summary h2, .collapse > summary h3 { display: inline; margin: 0; font-size: 1.05em; }
.collapse > *:not(summary) { padding-left: 1.2em; padding-right: 1.2em; }
.collapse > table { margin-top: .4em; }
.collapse > :last-child { padding-bottom: 1.2em; }
.cards-more { background: transparent; border-style: dashed; }
.cards-more > summary { justify-content: center; color: var(--gold2); }
.cards-more > summary::after { content: ""; }
.cards-more .cards { margin: 0; padding-top: 1em; }

/* Task card: where it opens (new tab / watch page / side page). */
.card-open-hint { font-size: .8em; color: var(--muted); margin: .35em 0 0; }

/* Task groups on the Earn hub (one subdivision per type). */
.task-group h2 { margin-top: 1.4em; }

/* YouTube bonus side-page banner (Watch hub, Phase 4 intermediary). */
.yt-bonus-banner {
  display: flex; gap: 1.2em; align-items: center; justify-content: space-between; flex-wrap: wrap;
  border: 1px solid var(--gold-dim); border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(253, 230, 138, 0.12), rgba(212, 160, 23, 0.05));
  padding: 1.2em 1.4em; margin: 1.2em 0;
}
.yt-bonus-banner .btn { flex: none; }
@media (max-width: 768px) {
  .header-inner { padding: .65em .8em; }
  .brand { font-size: 1.2em; }
  .collapse > summary { padding: .85em 1em; }
}


/* ============================================================
   v18.0 ULTIMATE — CLEAN AD SLOTS, 3D GIF ICONS, WP BLOG CARDS
   (ported from Gemini's v18 style.css block, lines 884-934)
   MERGE NOTE: Gemini's `.news-ticker { display: none !important; }`
   line was deliberately LEFT OUT — v17's layout.php still renders
   the live bottom news ticker (pageFoot), and Gemini only hid it
   because its own layout.php deleted the ticker element, a removal
   this merge did NOT port. Hiding it here would silently kill a
   live v17 feature. Everything else in the block is ported verbatim.
   ============================================================ */
.ad-slot, .ad-slot-clean {
  border: 0 !important;
  padding: 0 !important;
  margin: 8px auto !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: center;
  overflow: hidden;
  max-width: 100%;
}
.ad-label { display: none !important; }

.card-title-row {
  display: flex;
  align-items: center;
  gap: 0.65em;
  margin: 0.25em 0;
}
.card-title-row h3 { margin: 0; }
.task-gif-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 10px;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 12px rgba(212, 160, 23, 0.3));
}

.article-card-img-wrap {
  margin: -1.5em -1.5em 1em -1.5em;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  /* v18.2 — the featured banners are 728x90 (aspect ~8:1). A 16/9
     container + contain made the banner a ~35px sliver floating in a
     ~120px+ empty box. Matching the container to the banner aspect
     makes the image fill it exactly, no empty space above/below. */
  aspect-ratio: 728 / 90;
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid var(--line);
  display: block;
}
.article-card-img-wrap img, .article-hero-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.35s ease;
}
.card:hover .article-card-img-wrap img {
  transform: scale(1.04);
}
html, body {
  max-width: 100vw;
  overflow-x: hidden !important;
}

/* ============================================================
   v18.1 — HEADER REBUILD + TEXT-ONLY NAV + TICKER REMOVAL
   (owner screenshot 2026-11-13 + follow-up orders)
   ROOT CAUSES:
   - .header-inner inherited .wrap.wide (max-width 1140px + 2em
     margin), crushing a ~1900px header (brand + 9 links + 7
     user-box items) into 1140px; .main-nav (flex:1, basis 0)
     collapsed to ~one link wide and its links stacked one per
     line, and the user-box (theme toggle + bell) was squeezed
     out of view. Assets were also pinned at ?v=17.0, so a cached
     stylesheet could keep showing the broken layout.
   - The bottom news ticker was still rendered by pageFoot()
     (the v18 hide lived only in a comment).
   - The header nav had an emoji + an icon on every link.
   FIX: full-width header; user-box never shrinks; text-only nav;
   nav takes its own horizontal row below 1850px; hamburger +
   styled dropdown below 1024px; ticker markup removed AND
   hidden by a real rule; assets bumped to ?v=18.1.
   ============================================================ */

/* --- Header shell: full width, no .wrap cap, no vertical margin. --- */
.site-header .header-inner {
  width: 100%; max-width: none; margin: 0;
  display: flex; align-items: center; gap: 1em;
  padding: .6em 1.2em; flex-wrap: wrap;
}
.site-header .brand { flex: none; }
.site-header .user-box { flex: none; margin-left: auto; }

/* --- Text-only nav: clean professional links, no emoji, no icons. --- */
.site-header .main-nav {
  display: flex; flex-wrap: wrap; gap: .15em;
  flex: 1 1 auto; min-width: 0; justify-content: center;
}
.site-header .main-nav a {
  color: var(--muted); padding: .5em .8em; border-radius: 9px;
  font-size: .93em; font-weight: 600; letter-spacing: .01em;
  display: inline-flex; align-items: center; white-space: nowrap;
  border: 1px solid transparent; transition: all .2s ease;
}
.site-header .main-nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.site-header .main-nav a.active {
  background: var(--gold-bg); color: var(--gold2);
  border-color: var(--gold-dim);
  box-shadow: 0 0 16px rgba(212,160,23,.18);
}

/* --- Hamburger: hidden on desktop, shown on tablet/phone. --- */
.nav-toggle { display: none; }

/* Wide desktop: one row. */
@media (min-width: 1850px) {
  .site-header .header-inner { flex-wrap: nowrap; }
}

/* Laptop / medium desktop: nav on its own horizontal row (never a column). */
@media (max-width: 1849px) {
  .site-header .main-nav { order: 3; flex-basis: 100%; justify-content: center; }
  .site-header .user-box .user-email { display: none; }
  .site-header .user-box .level-chip span { display: none; }
}

/* Tablet + phone: hamburger + styled dropdown panel. */
@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; }
  .site-header .main-nav {
    display: none; order: 3; flex-basis: 100%;
    flex-direction: column; align-items: stretch; gap: .15em;
    background: var(--panel); border: 1px solid var(--line);
    border-radius: var(--radius); padding: .5em; margin-top: .5em;
    box-shadow: 0 12px 32px rgba(0,0,0,.45);
  }
  .site-header .main-nav.open { display: flex; }
  .site-header .main-nav a { justify-content: flex-start; padding: .65em .9em; }
}

/* --- News ticker: REMOVED (owner order). Markup is gone from
   layout.php; this is a safety net so a cached page can never
   show it again. The top crypto price ticker is untouched. --- */
.news-ticker { display: none !important; }

/* --- Article images: wide house banners must show whole (contain),
   not a cropped slice (cover). --- */
.article-card-img-wrap img, .article-hero-img { object-fit: contain; }
.article-hero-img-wrap {
  border-radius: var(--radius); overflow: hidden;
  background: rgba(0,0,0,.35); border: 1px solid var(--line);
  margin: 1em 0 1.4em;
}
.article-hero-img-wrap .article-hero-img {
  width: 100%; height: auto; display: block;
}
