:root {
  --bg-deep: #0a0f0d;
  --bg-panel: #111916;
  --green-wash: #0f1f18;
  --text: #f4f1ea;
  --text-muted: #9ca89e;
  --gold: #e8c547;
  --gold-dim: #b8941f;
  --gold-glow: rgba(232, 197, 71, 0.35);
  --border: rgba(232, 197, 71, 0.2);
  --radius: 14px;
  --font: "Outfit", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.55;
}

code {
  font-size: 0.9em;
  padding: 0.12em 0.35em;
  background: rgba(232, 197, 71, 0.12);
  border-radius: 6px;
  color: var(--gold);
}

cite {
  font-style: normal;
  color: var(--gold);
  font-weight: 600;
}

a {
  color: var(--gold);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(10, 15, 13, 0.96) 0%, rgba(10, 15, 13, 0.88) 100%);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.header-inner {
  width: min(1100px, 92vw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
  color: var(--gold);
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  box-shadow: 0 0 20px var(--gold-glow);
}

.brand-name {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
}

.nav a:hover {
  color: var(--gold);
  text-decoration: none;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(85vh, 820px);
  display: flex;
  align-items: flex-end;
  padding: clamp(2rem, 6vw, 4rem) 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("assets/banner.jpg");
  background-size: cover;
  background-position: center 25%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 15, 13, 0.35) 0%,
    rgba(10, 15, 13, 0.75) 45%,
    var(--bg-deep) 100%
  );
}

.hero-content {
  position: relative;
  width: min(1100px, 92vw);
  margin: 0 auto;
  padding-bottom: 1rem;
}

.hero-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.hero-title {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-shadow: 0 2px 32px rgba(0, 0, 0, 0.6);
}

.hero-sub {
  margin: 0 0 1.5rem;
  max-width: 32rem;
  font-size: 1.05rem;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.35rem;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dim) 100%);
  color: #1a1508;
  box-shadow: 0 4px 24px var(--gold-glow);
}

.btn-primary:hover {
  box-shadow: 0 6px 32px var(--gold-glow);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Sections */
.section {
  padding: clamp(3rem, 8vw, 5rem) 0;
}

.section-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.65rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-lead {
  margin: 0 0 1.75rem;
  max-width: 42rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.about {
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--green-wash) 50%, var(--bg-deep) 100%);
}

.about-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.about-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
}

.about-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--gold);
}

.about-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.chart-section {
  background: var(--bg-deep);
}

.chart-note {
  font-size: 0.95rem;
}

.chart-frame-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-panel);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3);
}

.dex-iframe {
  display: block;
  width: 100%;
  height: clamp(420px, 70vh, 640px);
  border: 0;
}

.join {
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(232, 197, 71, 0.08) 0%, transparent 55%),
    var(--green-wash);
  text-align: center;
}

.join-inner .section-lead {
  margin-left: auto;
  margin-right: auto;
}

.btn-x {
  background: #000;
  color: #fff;
  border-color: #333;
}

.btn-x:hover {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 24px rgba(232, 197, 71, 0.2);
}

.join-hint {
  margin: 1.25rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.site-footer {
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  background: var(--bg-deep);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-logo {
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
}

@media (max-width: 640px) {
  .nav {
    gap: 0.75rem;
    font-size: 0.85rem;
  }

  .brand-name {
    display: none;
  }

  .hero-bg {
    background-position: center 20%;
  }
}
