:root {
  --bg: #0e1512;
  --panel: #102019;
  --brand: #1faa5f;
  --brand-2: #2dd07f;
  --text: #eaf7ef;
  --muted: #a7c7b6;
  --accent: #ffffff;
  --ring: 0 0 0 3px rgba(47, 214, 120, 0.25);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: radial-gradient(1200px 800px at 80% -10%, rgba(47,208,127,0.18), transparent 60%),
              radial-gradient(1000px 600px at -10% 20%, rgba(18,185,96,0.16), transparent 60%),
              var(--bg);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: rgba(16,32,25,0.6);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.brand { display: flex; align-items: center; gap: 12px; }
.logo { width: 44px; height: 44px; object-fit: cover; border-radius: 999px; border: 2px solid rgba(255,255,255,0.12); }
.brand-text .title { margin: 0; font-size: 22px; letter-spacing: 0.5px; }
.brand-text .subtitle { margin: 0; color: var(--muted); font-size: 12px; }

.nav { display: flex; gap: 14px; }
.nav-link { color: var(--text); text-decoration: none; opacity: 0.88; padding: 8px 10px; border-radius: 8px; }
.nav-link:hover { background: rgba(255,255,255,0.06); opacity: 1; }

.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
  align-items: center;
  padding: 48px 20px 24px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.hero-title { font-size: 44px; line-height: 1.05; margin: 0 0 10px 0; }
.hero-desc { margin: 0 0 20px 0; color: var(--muted); font-size: 16px; }
.cta-row { display: flex; gap: 12px; }

.btn { border: none; border-radius: 12px; padding: 12px 16px; cursor: pointer; font-weight: 600; letter-spacing: 0.2px; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.btn.primary { background: linear-gradient(90deg, var(--brand), var(--brand-2)); color: #0b0f0d; box-shadow: 0 10px 30px rgba(47,208,127,0.35); }
.btn.primary:hover { filter: brightness(1.05); }
.btn.ghost { background: transparent; border: 1px solid rgba(255,255,255,0.18); color: var(--text); }
.btn.ghost:hover { background: rgba(255,255,255,0.06); }
.btn.copy { background: #1a2a22; color: var(--text); border: 1px solid rgba(255,255,255,0.14); }
.btn.copy:hover { background: #21362b; }

.hero-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
}
.hero-visual::before {
  content: "";
  position: absolute; inset: 0;
  background: url('./assets/ath-logo.jpg') center/contain no-repeat;
  opacity: 0.08; filter: saturate(0.8);
}
#athChart { position: relative; width: 100%; height: 100%; display: block; }

.section-title { max-width: 1100px; margin: 40px auto 6px auto; padding: 0 20px; font-size: 28px; }
.section-subtitle { max-width: 1100px; margin: 0 auto 18px auto; padding: 0 20px; color: var(--muted); }

.contract { max-width: 1100px; margin: 10px auto 0 auto; padding: 0 20px; }
.contract-box { display: flex; gap: 10px; background: var(--panel); padding: 14px; border-radius: 14px; border: 1px solid rgba(255,255,255,0.08); }
.contract-input { flex: 1; background: transparent; color: var(--accent); font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; border: none; outline: none; font-size: 14px; }
.copy-note { color: var(--muted); height: 18px; margin: 8px 0 0 4px; font-size: 12px; }

.chart-section { max-width: 1100px; margin: 10px auto 0 auto; padding: 0 20px 10px 20px; }
.chart-wrapper { position: relative; border-radius: 20px; overflow: hidden; background: #0f1b15; border: 1px solid rgba(255,255,255,0.08); height: 360px; }
#athChartLarge { width: 100%; height: 100%; display: block; }

.community { max-width: 1100px; margin: 10px auto 40px auto; padding: 0 20px; }
.community.center .section-title, .community.center .section-subtitle { text-align: center; }
.socials { display: flex; gap: 12px; }
.socials.center { justify-content: center; }
.social {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 999px; text-decoration: none; color: #0b0f0d;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  box-shadow: 0 12px 30px rgba(47,208,127,0.35);
  transform: translateY(0);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.social:hover { transform: translateY(-1px); filter: brightness(1.05); box-shadow: 0 16px 36px rgba(47,208,127,0.45); }
.social.x svg { width: 18px; height: 18px; fill: var(--text); }
.social.x span { color: #0b0f0d; font-weight: 700; letter-spacing: 0.2px; }

.site-footer { border-top: 1px solid rgba(255,255,255,0.06); padding: 18px 20px; color: var(--muted); text-align: center; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { text-decoration: none; }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero-title { font-size: 36px; }
}

/* Accessibility */
.btn:focus-visible, .nav-link:focus-visible, .social:focus-visible, .contract-input:focus-visible, #copyBtn:focus-visible {
  outline: none; box-shadow: var(--ring);
}

