/* Landing page v2 — layout refresh. Uses the colour tokens from style.css. */

body { overflow-x: hidden; }

.hero{
  padding: 68px 0 48px;
  gap: 56px;
  align-items: center;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 60px 10% auto auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45,212,176,0.18), transparent 60%);
  pointer-events: none;
}
.hero-copy { position: relative; z-index: 1; }
.hero h1{ font-size: clamp(36px, 5.4vw, 60px); max-width: 17ch; }
.hero p.lead{ font-size: 18px; max-width: 46ch; line-height: 1.55; }
.btn-lg{ padding: 14px 26px; font-size: 15px; border-radius: 12px; }
.trust-row span{ background: transparent; border-color: var(--border); color: var(--text-dim); font-weight: 500; }
.stat-row{ gap: 36px; }
.stat .label{ text-transform: none; letter-spacing: 0; font-size: 13px; }

.hero .auth-card{
  position:relative;
  display:flex;
  flex-direction:column;
  border-color: rgba(243,186,74,.45);
  background:linear-gradient(150deg, var(--bg-card), var(--bg-raised));
  box-shadow: 0 0 0 4px rgba(243,186,74,.07), 0 24px 60px rgba(0,0,0,.28);
  animation:auth-border-pulse 2.8s ease-in-out infinite;
}
.hero .auth-card::before{
  content:""; position:absolute; inset:0 0 auto; height:3px;
  border-radius:var(--radius) var(--radius) 0 0;
  background:linear-gradient(90deg, var(--gold), var(--mint));
}
@keyframes auth-border-pulse{
  0%,100%{
    border-color:rgba(243,186,74,.45);
    box-shadow:0 0 0 4px rgba(243,186,74,.07), 0 24px 60px rgba(0,0,0,.28);
  }
  50%{
    border-color:var(--mint);
    box-shadow:0 0 0 4px rgba(45,212,176,.16), 0 0 22px rgba(45,212,176,.2), 0 24px 60px rgba(0,0,0,.28);
  }
}
@media (prefers-reduced-motion:reduce){
  .hero .auth-card{ animation:none; }
}
@media (min-width:601px) and (max-width:900px){
  .hero h1{ font-size:clamp(34px, 5vw, 42px); }
}
@media (min-width:901px){
  .hero #signupCard,
  .hero #loginCard{ min-height:603px; box-sizing:border-box; }
  .hero #loginForm{ margin-top:auto; }
}
.bonus-badge{
  display:inline-flex; align-items:center; gap:8px;
  background: rgba(243,186,74,.14); color: var(--gold);
  border: 1px solid rgba(243,186,74,.4); border-radius: 999px;
  padding: 6px 12px; font-size: 12px; font-weight: 600; margin-bottom: 14px;
}
.bonus-badge::before{ content:""; width:7px; height:7px; border-radius:50%; background: var(--gold); }

/* Payout methods strip */
.pay-strip{
  display:flex; align-items:center; gap: 18px; flex-wrap: wrap;
  padding: 18px 22px; margin: 8px 0 24px;
  background: linear-gradient(90deg, rgba(45,212,176,0.07), rgba(243,186,74,0.05));
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.pay-strip-label{ font-weight: 600; color: var(--text); font-size: 14px; }
.pay-chips{ list-style:none; display:flex; flex-wrap:wrap; gap:8px; margin:0; padding:0; }
.pay-chips li{
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 999px;
  padding: 7px 14px; font-size: 13px; color: var(--text-dim); font-weight: 500;
}

section.ways-block, section.steps-block, section.more-block, section.proof-block,
section.faq-block, section#partnersSection{ padding-top: 44px; }

/* Ways to earn */
.ways-grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.way-card{
  background: linear-gradient(180deg, var(--bg-card), var(--bg-raised));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; display:flex; flex-direction:column; gap: 10px;
  box-shadow:var(--shadow-soft);
  transition: border-color .18s, transform .18s, box-shadow .18s;
}
.way-card:hover{ border-color: var(--mint); transform:translateY(-3px); box-shadow:0 20px 44px rgba(0,0,0,.2); }
.way-card h3{ margin: 0; font-size: 18px; font-family: var(--font-display); }
.way-card p{ margin: 0; color: var(--text-dim); font-size: 14px; line-height: 1.55; }
.way-icon{
  width: 44px; height: 44px; border-radius: 12px; display:grid; place-items:center;
  background: rgba(45,212,176,.12); color: var(--mint); margin-bottom: 4px;
}
.way-card:nth-child(2) .way-icon{ background: rgba(243,186,74,.14); color: var(--gold); }
.way-card:nth-child(3) .way-icon{ background: rgba(120,160,255,.14); color: #8FB0FF; }
.way-card:nth-child(4) .way-icon{ background: rgba(255,118,118,.12); color: #FF9A9A; }

/* Steps — a real sequence, so numbered */
.steps{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: none; }
.steps li{
  display:flex; gap: 16px; align-items:flex-start;
  background: linear-gradient(145deg, var(--bg-card), var(--bg-raised)); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px;
  box-shadow:var(--shadow-soft);
}
.step-n{
  flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%;
  display:grid; place-items:center; font-family: var(--font-mono); font-weight:700;
  background: var(--mint); color: #06241d;
}
.steps h3{ margin: 2px 0 6px; font-size: 17px; font-family: var(--font-display); }
.steps p{ margin: 0; color: var(--text-dim); font-size: 14px; line-height: 1.55; }

/* Earn even more */
.more-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.more-single{ grid-template-columns: 1fr; }
.more-card{
  border-radius: var(--radius); padding: 28px; border: 1px solid var(--border);
  min-height: 150px; box-shadow:var(--shadow-soft);
}
.more-card h3{ margin: 0 0 8px; font-size: 22px; font-family: var(--font-display); }
.more-card p{ margin: 0; color: var(--text-dim); max-width: 44ch; line-height: 1.55; }
.more-board{ background: linear-gradient(135deg, rgba(243,186,74,.16), rgba(243,186,74,.03)); border-color: rgba(243,186,74,.3); }
.more-refer{ background: linear-gradient(135deg, rgba(45,212,176,.16), rgba(45,212,176,.03)); border-color: rgba(45,212,176,.3); }

/* Proof: cashouts + top earners */
.proof-block{ display:grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.proof-block .section-head{ margin-bottom: 16px; }
.proof-block .section-head h2{ font-size: 22px; }
.cashout-list{ display:flex; flex-direction:column; gap: 8px; }
.cashout-row{
  display:flex; align-items:center; gap: 12px;
  padding: 12px 16px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px;
  box-shadow:var(--shadow-soft);
}
.cashout-dot{ width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(45,212,176,.15); flex:0 0 auto; }
.cashout-name{ flex:1; font-weight: 600; font-size: 14px; }
.cashout-time{ color: var(--text-dim); font-size: 12px; }
.cashout-amt{ font-family: var(--font-mono); font-weight: 700; color: var(--gold); }
.empty-note{ color: var(--text-dim); font-size: 14px; margin: 0; padding: 18px; border: 1px dashed var(--border); border-radius: 10px; }

/* Top-3 podium */
.podium{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-items:end; margin-bottom: 12px; }
.podium-slot{
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px;
  padding: 14px 10px; text-align:center; box-shadow:var(--shadow-soft);
}
.podium-slot.p1{ order: 2; padding-top: 26px; border-color: rgba(243,186,74,.55); background: linear-gradient(180deg, rgba(243,186,74,.14), var(--bg-card)); }
.podium-slot.p2{ order: 1; }
.podium-slot.p3{ order: 3; }
.podium-rank{ font-family: var(--font-mono); font-weight: 700; font-size: 13px; color: var(--text-dim); }
.p1 .podium-rank{ color: var(--gold); }
.podium-name{ font-weight: 600; font-size: 14px; margin: 6px 0 4px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.podium-pts{ font-family: var(--font-mono); font-weight: 700; color: var(--mint); font-size: 13px; }

/* FAQ */
.faq-list{ display:grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items:start; }
.faq-list details{ background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; box-shadow:var(--shadow-soft); }
.faq-list summary{
  cursor:pointer; list-style:none; padding: 16px 20px; font-weight: 600;
  display:flex; justify-content:space-between; align-items:center; gap: 16px;
}
.faq-list summary::-webkit-details-marker{ display:none; }
.faq-list summary::after{ content:"+"; font-size: 22px; color: var(--mint); line-height:1; transition: transform .15s; }
.faq-list details[open] summary::after{ transform: rotate(45deg); }
.faq-list details p{ margin: 0; padding: 0 20px 18px; color: var(--text-dim); line-height: 1.6; font-size: 14px; max-width: 70ch; }

.faq-list summary:focus-visible, .btn:focus-visible{ outline: 2px solid var(--mint); outline-offset: 2px; }

/* CTA band */
.cta-band{
  margin: 56px 0 0; padding: 44px 24px; text-align:center;
  background: linear-gradient(135deg, rgba(45,212,176,.18), rgba(243,186,74,.12));
  border: 1px solid var(--border); border-radius: 20px; box-shadow:var(--shadow-soft);
}
.cta-band h2{ margin: 0 0 8px; font-family: var(--font-display); font-size: clamp(24px, 3.4vw, 34px); }
.cta-band p{ margin: 0 0 22px; color: var(--text-dim); }

/* Footer */
.site-footer{ margin-top: 64px; padding: 44px 0 24px; text-align: left; background: var(--bg-raised); }
.footer-grid{ display:grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand img{ height: 36px; width:auto; border-radius: 8px; margin-bottom: 12px; }
.footer-brand p{ margin: 0; max-width: 34ch; line-height: 1.55; }
.site-footer h4{ margin: 0 0 12px; font-size: 14px; color: var(--text); font-family: var(--font-display); }
.site-footer nav a{ display:block; color: var(--text-dim); text-decoration:none; padding: 4px 0; }
.site-footer nav a:hover{ color: var(--mint); }
.footer-base{ margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--border); text-align:center; }

.partner-tile{ font-size: 14px; }

.mobile-bottom-nav,.mobile-quick-menu{ display:none; }

@media (max-width: 980px){
  .hero{ grid-template-columns: 1fr; gap: 32px; padding-top: 42px; }
  .hero h1{ max-width: 18ch; }
  .ways-grid{ grid-template-columns: repeat(2, 1fr); }
  .steps{ grid-template-columns: 1fr; }
  .proof-block{ grid-template-columns: 1fr; }
  .faq-list{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px){
  .wrap{ padding-right:18px; padding-left:18px; }
  .hero{ gap:24px; padding:30px 0 28px; }
  .hero h1{ font-size:clamp(34px, 10vw, 42px); line-height:1.06; }
  .hero p.lead{ margin-bottom:20px; font-size:16px; }
  .hero-actions{ align-items:stretch; gap:9px; }
  .hero-actions .btn{ flex:1 1 100%; justify-content:center; }
  .trust-row{ gap:7px; margin-bottom:16px; }
  .trust-row span{ padding:6px 9px; font-size:11px; }
  .stat-row{ gap:12px; }
  .stat{ flex:1 1 28%; }
  .hero .auth-card{ padding:22px 17px; }
  .pay-strip{ align-items:flex-start; flex-direction:column; gap:10px; margin:4px 0 14px; }
  .pay-chips{ gap:7px; }
  .pay-chips li{ padding:6px 10px; font-size:12px; }
  section.ways-block, section.steps-block, section.more-block, section.proof-block,
  section.faq-block, section#partnersSection{ padding-top:30px; }
  .ways-grid, .more-grid{ grid-template-columns: 1fr; }
  .way-card{ padding:18px; }
  .steps li{ padding:17px; gap:12px; }
  .more-card{ min-height:0; padding:22px 19px; }
  .proof-block{ gap:24px; }
  .cashout-row{ gap:9px; padding:11px 12px; }
  .cashout-name{ min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .cashout-time{ white-space:nowrap; }
  .cashout-amt{ font-size:12px; white-space:nowrap; }
  .podium{ gap:7px; }
  .podium-slot{ padding:12px 6px; }
  .podium-name{ font-size:12px; }
  .faq-list summary{ padding:14px 15px; gap:10px; }
  .faq-list details p{ padding:0 15px 15px; }
  .cta-band{ margin-top:34px; padding:30px 18px; }
  .site-footer{ margin-top:42px; padding:34px 0 20px; }
  .footer-grid{ grid-template-columns: 1fr; }
  body{ padding-bottom:calc(76px + env(safe-area-inset-bottom)); }
  .site-header{ position:sticky; top:0; z-index:40; padding:11px 16px; }
  .site-header .logo-image{ max-width:142px; height:auto; }
  .header-actions{ gap:7px; }
  #installAppButton{ display:none; }
  .ticker{ margin-top:0; }
  .hero{ padding:24px 0 20px; }
  .hero-copy{ padding:24px 19px; border:1px solid rgba(45,212,176,.25); border-radius:20px; background:radial-gradient(ellipse at 12% 100%,rgba(45,212,176,.24),transparent 58%),linear-gradient(145deg,var(--bg-card),var(--bg-raised)); }
  .hero h1{ font-size:clamp(30px,8.5vw,38px); }
  .hero-actions .btn-ghost{ display:none; }
  .pay-strip{ padding:16px; }
  .pay-chips{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); width:100%; }
  .pay-chips li{ text-align:center; border-radius:10px; }
  .mobile-bottom-nav{
    position:fixed; z-index:80; right:0; bottom:0; left:0;
    display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); align-items:end;
    min-height:68px; padding:7px 8px calc(7px + env(safe-area-inset-bottom));
    border-top:1px solid var(--border); background:rgba(11,31,47,.97);
    box-shadow:0 -8px 26px rgba(0,0,0,.24); backdrop-filter:blur(16px);
  }
  .mobile-bottom-nav-item{
    display:flex; min-width:0; min-height:52px; flex-direction:column; align-items:center; justify-content:center;
    gap:4px; border:0; border-radius:12px; background:transparent; color:var(--text-dim);
    font:600 11px var(--font-body); text-decoration:none; cursor:pointer;
  }
  .mobile-bottom-nav-item svg{ width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
  .mobile-bottom-nav-item:hover,.mobile-bottom-nav-item:focus-visible{ color:var(--mint); }
  .mobile-bottom-nav-home{ position:relative; transform:translateY(-8px); color:var(--gold); }
  .mobile-bottom-nav-home::before{
    position:absolute; z-index:-1; top:-7px; width:54px; height:54px; border:1px solid var(--gold);
    border-radius:50%; background:var(--bg-card); content:"";
  }
  .mobile-bottom-nav-home svg{ width:25px; height:25px; fill:currentColor; stroke:currentColor; }
  .mobile-quick-menu:not([hidden]){
    position:fixed; z-index:79; right:12px; bottom:calc(82px + env(safe-area-inset-bottom));
    display:grid; width:min(250px,calc(100vw - 24px)); gap:4px; padding:9px;
    border:1px solid var(--border); border-radius:16px; background:var(--bg-card); box-shadow:0 16px 40px rgba(0,0,0,.4);
  }
  .mobile-quick-menu a{ padding:12px; border-radius:10px; color:var(--text); text-decoration:none; font-size:14px; }
  .mobile-quick-menu a:hover,.mobile-quick-menu a:focus-visible{ background:var(--bg-raised); color:var(--mint); }
}
@media (prefers-reduced-motion: reduce){
  .ticker-track{ animation: none; }
  .faq-list summary::after, .way-card{ transition:none; }
  .way-card:hover{ transform:none; }
}
