/* ---------- shared buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid transparent;
  background: var(--accent); color: #0A0A0C; text-decoration: none; cursor: pointer;
  font-family: 'Unbounded', sans-serif; font-weight: 800; font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase;
  transition: background .15s, border-color .15s, transform .1s, box-shadow .2s;
}
.btn:hover { background: var(--accent-hi); color: #0A0A0C; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.btn-sm { min-height: 44px; font-size: 12px; }
.btn-md { min-height: 50px; padding: 0 22px; font-size: 13px; }
.btn-lg { min-height: 60px; padding: 0 30px; font-size: 15px; box-shadow: 0 10px 40px rgba(255, 106, 26, 0.28); }
.btn-ghost { background: transparent; color: var(--text); border-color: rgba(255, 255, 255, 0.22); box-shadow: none; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.06); color: var(--text); border-color: rgba(255, 255, 255, 0.4); }

.home .top { position: relative; z-index: 3; }
.home .nav { margin-left: auto; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 55% at 72% 45%, rgba(255, 106, 26, 0.28), rgba(255, 106, 26, 0) 70%),
    radial-gradient(40% 40% at 15% 10%, rgba(242, 181, 68, 0.08), rgba(242, 181, 68, 0) 70%);
}
.hero-bg::after {
  content: ''; position: absolute; top: -40%; right: -30%; width: 70%; height: 180%; transform: rotate(28deg);
  background: repeating-linear-gradient(90deg, rgba(255, 106, 26, 0.10) 0 4px, rgba(255, 106, 26, 0) 4px 40px);
}
.hero-inner {
  position: relative; z-index: 1; max-width: 1080px; margin: 0 auto; padding: 24px 16px 72px;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 40px; align-items: center;
}
.hero-title {
  font-family: 'Unbounded', sans-serif; font-weight: 900; text-transform: uppercase;
  font-size: clamp(56px, 10vw, 128px); line-height: 0.9; letter-spacing: -0.02em; margin: 18px 0 18px;
  text-shadow: 0 0 80px rgba(255, 106, 26, 0.25);
}
.hero .lead { font-size: 18px; max-width: 520px; }

.hero-emblem { position: relative; aspect-ratio: 1; width: 100%; max-width: 480px; justify-self: center; display: grid; place-items: center; }
.hero-emblem img { position: relative; z-index: 2; width: 58%; height: auto; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.6)); animation: float 6s ease-in-out infinite; }
.emblem-glow { position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,106,26,0.45), rgba(255,106,26,0) 75%); }
.ring { position: absolute; border-radius: 50%; border: 2px solid rgba(255,106,26,0.85); box-shadow: 0 0 24px rgba(255,106,26,0.55), inset 0 0 24px rgba(255,106,26,0.25); }
.ring.r1 { inset: 4%; }
.ring.r2 { inset: 13%; border-color: rgba(255,106,26,0.35); border-style: dashed; box-shadow: none; animation: spin 40s linear infinite; }
.ring.r3 { inset: -2%; border-color: rgba(242,181,68,0.25); border-width: 1px; box-shadow: none; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero-emblem img, .ring.r2 { animation: none; } }

/* countdown */
.countdown { margin: 30px 0 28px; }
.cd-label { display: block; font-weight: 800; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.cd-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; max-width: 460px; }
.cd-cell {
  background: rgba(19, 19, 22, 0.85); border: 1px solid var(--line); border-radius: 16px; padding: 14px 8px 10px; text-align: center;
  backdrop-filter: blur(6px);
}
.cd-cell b { display: block; font-family: 'Unbounded', sans-serif; font-weight: 900; font-size: clamp(26px, 4vw, 38px); line-height: 1; font-variant-numeric: tabular-nums; }
.cd-cell span { display: block; margin-top: 6px; font-size: 12px; font-weight: 700; color: var(--muted); }
.cd-date { display: inline-block; margin-top: 12px; font-weight: 800; color: var(--gold); }
.countdown.live .cd-grid { display: none; }
.countdown.live .cd-label { color: var(--ok); font-size: 15px; }

.hero .lead { margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.notice {
  margin: 16px 0 0; padding: 12px 16px; border-radius: 14px; max-width: 520px;
  background: rgba(242, 181, 68, 0.08); border: 1px solid rgba(242, 181, 68, 0.4); color: var(--text); font-weight: 600; font-size: 14px;
}
.notice[hidden] { display: none; }

/* ---------- sections ---------- */
.section { padding: 72px 0; position: relative; }
.section .wrap { padding-top: 0; padding-bottom: 0; }
.h2 {
  font-family: 'Unbounded', sans-serif; font-weight: 900; text-transform: uppercase;
  font-size: clamp(30px, 5vw, 52px); line-height: 1; margin: 16px 0 32px;
}

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.step {
  position: relative; padding: 26px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line); overflow: hidden;
}
.step::after { content: ''; position: absolute; left: 0; top: 0; height: 3px; width: 64px; background: var(--accent); border-radius: 0 0 3px 0; }
.step-n { font-family: 'Unbounded', sans-serif; font-weight: 900; font-size: 44px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 106, 26, 0.7); }
.step h3 { font-family: 'Unbounded', sans-serif; font-weight: 700; font-size: 19px; margin: 18px 0 8px; }
.step p { margin: 0; color: var(--muted); }
.link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 6px; font-weight: 800; text-decoration: none; }
.link:hover { text-decoration: underline; }

/* donate + forum tiles */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tile {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 32px;
  border-radius: 24px; border: 1px solid var(--line); color: var(--text); text-decoration: none; overflow: hidden; min-height: 280px;
  transition: border-color .2s, transform .2s;
}
.tile:hover { color: var(--text); border-color: rgba(255, 106, 26, 0.6); transform: translateY(-3px); }
.tile h3 { font-family: 'Unbounded', sans-serif; font-weight: 900; font-size: clamp(24px, 3vw, 34px); text-transform: uppercase; margin: 6px 0 0; line-height: 1.05; }
.tile p { margin: 0 0 auto; color: var(--muted); max-width: 380px; padding-bottom: 18px; }
.tile-donate { background: radial-gradient(80% 90% at 100% 100%, rgba(255, 106, 26, 0.32), rgba(255, 106, 26, 0) 60%), var(--panel); }
.tile-forum { background: radial-gradient(80% 90% at 100% 100%, rgba(242, 181, 68, 0.14), rgba(242, 181, 68, 0) 60%), var(--panel); }

.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-bottom: 48px; }
  .hero-emblem { max-width: 320px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .duo { grid-template-columns: minmax(0, 1fr); }
  .section { padding: 52px 0; }
}
@media (max-width: 560px) {
  .home .top .btn-sm { display: none; }
  .home .nav { margin-left: 0; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .cd-grid { gap: 8px; }
  .tile { padding: 24px; min-height: 0; }
}
