/* ============================================================
   4NAYZ v2 — Homepage
   ============================================================ */

/* ---------- HERO ---------- */
.hero {
  padding: 80px 0 40px;
  position: relative;
  z-index: 2;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 72px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin-bottom: 28px;
}
.hero h1 .line-2 { display: block; color: var(--lime); }
.hero-sub {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 44ch;
  margin-bottom: 36px;
  line-height: 1.55;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-trust {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-trust span::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--lime);
}

/* Hero visual — live stream card */
.hero-stream {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: border-color 200ms var(--ease-out);
}
.hero-stream:hover { border-color: var(--border-bright); }

.hero-stream-header {
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.hero-stream-user {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-stream-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lime), var(--lime-dim));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: var(--bg);
}
.hero-stream-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}
.hero-stream-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-stream-embed {
  aspect-ratio: 16 / 9;
  background: #000;
  position: relative;
  overflow: hidden;
}
.hero-stream-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.hero-stream-embed-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0F1A0F 0%, #050705 100%);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  gap: 16px;
}
.hero-stream-embed-placeholder svg {
  width: 48px; height: 48px;
  color: var(--lime);
  opacity: 0.4;
}
.hero-stream-footer {
  padding: 14px 18px;
  display: flex;
  gap: 10px;
}
.hero-stream-footer .btn { flex: 1; }

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding: 48px 0 24px; }
}

/* ---------- HOW IT WORKS ---------- */
.how {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.how-step {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
}
.how-step-num {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  color: var(--lime);
  opacity: 0.15;
  position: absolute;
  top: 18px;
  right: 22px;
  letter-spacing: -0.05em;
}
.how-step h3 {
  font-size: 20px;
  margin-bottom: 8px;
  position: relative;
}
.how-step p {
  font-size: 14px;
  line-height: 1.55;
  position: relative;
}

@media (max-width: 800px) {
  .how { grid-template-columns: 1fr; }
}

/* ---------- REWARDS GRID ---------- */
.rewards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.reward {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 200ms var(--ease-out), transform 200ms var(--ease-out);
  display: flex;
  flex-direction: column;
}
.reward:hover {
  border-color: var(--lime);
  transform: translateY(-2px);
}
.reward-icon {
  width: 48px; height: 48px;
  background: var(--bg-elev);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--lime);
}
.reward-icon svg { width: 22px; height: 22px; }
.reward h3 {
  font-size: 20px;
  margin-bottom: 8px;
}
.reward p {
  font-size: 14px;
  line-height: 1.55;
  flex: 1;
  margin-bottom: 16px;
}
.reward-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
}
.reward-link:hover { color: var(--text); }
.reward-link::after {
  content: '→';
  transition: transform 160ms;
}
.reward:hover .reward-link::after { transform: translateX(4px); }

@media (max-width: 900px) {
  .rewards { grid-template-columns: 1fr; }
}

/* ---------- TOP CONTRIBUTORS / TEASER LB ---------- */
.splitbox {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.splitbox > .card { padding: 28px; }

.lb-teaser-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  gap: 16px;
}
.lb-teaser-row:last-child { border-bottom: none; }
.lb-teaser-rank {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  color: var(--muted);
  width: 28px;
  text-align: center;
}
.lb-teaser-rank.gold { color: #FFD633; }
.lb-teaser-rank.silver { color: #C0C0C0; }
.lb-teaser-rank.bronze { color: #CD7F32; }
.lb-teaser-name {
  flex: 1;
  font-weight: 600;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lb-teaser-xp {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--lime);
  font-weight: 500;
}
.lb-teaser-prize {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  padding: 3px 8px;
  background: var(--bg-elev);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-sm);
  min-width: 56px;
  text-align: right;
}

@media (max-width: 900px) {
  .splitbox { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 160ms;
}
.faq-item[open] { border-color: var(--border-bright); }
.faq-item summary {
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 400;
  color: var(--lime);
  transition: transform 200ms;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item-body {
  padding: 0 22px 22px;
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
}

@media (max-width: 780px) {
  .faq-grid { grid-template-columns: 1fr; }
}

/* ---------- FINAL CTA ---------- */
.final-cta {
  padding: 64px 40px;
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at 30% 0%, var(--lime-glow) 0%, transparent 50%), var(--surface);
  border: 1px solid var(--border-bright);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, transparent 0, transparent 40px, rgba(197, 248, 42, 0.02) 40px, rgba(197, 248, 42, 0.02) 41px);
  pointer-events: none;
}
.final-cta h2 {
  margin-bottom: 12px;
  position: relative;
}
.final-cta p {
  max-width: 52ch;
  margin: 0 auto 28px;
  position: relative;
}
.final-cta .hero-cta {
  justify-content: center;
  margin-bottom: 0;
  position: relative;
}
