:root {
  --gold: #d4af37;
  --gold-light: #f0d78c;
  --gold-dark: #8b6914;
  --crimson: #7a1025;
  --crimson-deep: #4a0816;
  --blood: #b8183a;
  --stone: #120e0c;
  --stone-mid: #1f1814;
  --marble: #f3ebe0;
  --marble-dim: #c4b5a3;
  --shadow: rgba(0, 0, 0, 0.55);
  --font-display: "Cinzel", "Times New Roman", serif;
  --font-body: "Cormorant Garamond", Georgia, serif;
  --nav-h: 4.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--marble);
  background: var(--stone);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold-light);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: #fff;
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

/* —— Nav —— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(18, 14, 12, 0.95) 0%, rgba(18, 14, 12, 0.75) 100%);
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  backdrop-filter: blur(10px);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--marble);
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.35);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand-symbol {
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 0.12em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--marble-dim);
}

.nav-links a:hover {
  color: var(--gold-light);
}

.nav-cta {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.55rem 1.1rem;
  background: linear-gradient(180deg, var(--blood) 0%, var(--crimson-deep) 100%);
  border: 1px solid var(--gold-dark);
  color: var(--marble) !important;
  border-radius: 2px;
  box-shadow: 0 4px 16px rgba(122, 16, 37, 0.5);
}

.nav-cta:hover {
  filter: brightness(1.15);
  color: #fff !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--gold-dark);
  color: var(--gold);
  padding: 0.4rem 0.6rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  cursor: pointer;
  letter-spacing: 0.1em;
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 2rem) 1rem 4rem;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, transparent 0%, var(--stone) 85%),
    linear-gradient(180deg, rgba(18, 14, 12, 0.35) 0%, rgba(74, 8, 22, 0.75) 55%, var(--stone) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
}

.hero-logo {
  width: min(200px, 42vw);
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  border: 3px solid var(--gold);
  box-shadow:
    0 0 0 6px rgba(212, 175, 55, 0.15),
    0 0 60px rgba(212, 175, 55, 0.4),
    0 20px 50px var(--shadow);
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.4rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 4px 30px var(--shadow);
  margin-bottom: 0.5rem;
}

.hero-symbol {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  color: var(--gold-light);
  letter-spacing: 0.2em;
  margin-bottom: 1.25rem;
}

.hero-tagline {
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  font-style: italic;
  color: var(--marble-dim);
  max-width: 36em;
  margin: 0 auto 2rem;
  border-top: 1px solid rgba(212, 175, 55, 0.3);
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  padding: 1rem 0.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.btn {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.9rem 1.6rem;
  border-radius: 2px;
  border: 1px solid var(--gold-dark);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.btn-primary {
  background: linear-gradient(180deg, #c41e3a 0%, var(--crimson-deep) 100%);
  color: var(--marble);
  box-shadow: 0 6px 24px rgba(184, 24, 58, 0.45);
}

.btn-gold {
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold-dark) 100%);
  color: var(--stone);
  border-color: var(--gold-light);
}

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

.scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--marble-dim);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

/* —— Sections —— */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-alt {
  background: linear-gradient(180deg, var(--stone-mid) 0%, var(--stone) 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--marble);
  margin-bottom: 0.75rem;
}

.section-header h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  margin: 0.75rem auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.section-header p {
  color: var(--marble-dim);
  font-size: 1.1rem;
  max-width: 32em;
  margin-inline: auto;
}

.ornament {
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold-dark);
  letter-spacing: 0.5em;
  margin-bottom: 1rem;
  opacity: 0.7;
}

/* —— About —— */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: center;
}

.about-emblem {
  display: flex;
  justify-content: center;
}

.about-emblem img {
  width: min(280px, 70%);
  border-radius: 50%;
  border: 3px solid var(--gold);
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.25);
}

.about-copy p {
  margin-bottom: 1.25rem;
  color: var(--marble-dim);
  font-size: 1.2rem;
}

.about-copy p:first-of-type {
  font-size: 1.35rem;
  color: var(--marble);
  font-weight: 600;
}

.battle-cry {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
  text-align: center;
  margin-top: 2rem;
  padding: 1rem;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(122, 16, 37, 0.2);
}

/* —— How to buy —— */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.step-card {
  background: linear-gradient(145deg, rgba(31, 24, 20, 0.9) 0%, rgba(18, 14, 12, 0.95) 100%);
  border: 1px solid rgba(212, 175, 55, 0.2);
  padding: 1.75rem 1.25rem;
  text-align: center;
  position: relative;
}

.step-card::before {
  content: attr(data-step);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: rgba(212, 175, 55, 0.15);
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.step-card p {
  font-size: 1rem;
  color: var(--marble-dim);
}

.buy-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.contract-box {
  margin-top: 2rem;
  text-align: center;
  padding: 1.25rem;
  border: 1px dashed rgba(212, 175, 55, 0.35);
  background: rgba(0, 0, 0, 0.25);
}

.contract-box label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.5rem;
}

.contract-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}

.contract-row code {
  font-family: ui-monospace, monospace;
  font-size: 0.85rem;
  color: var(--marble);
  word-break: break-all;
  max-width: 100%;
}

.btn-copy {
  font-size: 0.65rem;
  padding: 0.5rem 0.9rem;
}

/* —— Chart —— */
.chart-wrap {
  border: 2px solid rgba(212, 175, 55, 0.3);
  border-radius: 4px;
  overflow: hidden;
  background: #0d0b0a;
  min-height: 480px;
  box-shadow: 0 12px 40px var(--shadow);
}

.chart-wrap iframe {
  width: 100%;
  height: min(70vh, 560px);
  border: 0;
  display: block;
}

.chart-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  padding: 2rem;
  text-align: center;
  color: var(--marble-dim);
  font-style: italic;
}

.chart-actions {
  margin-top: 1.5rem;
  text-align: center;
}

/* —— Join us —— */
.join-section {
  background:
    radial-gradient(ellipse at center top, rgba(122, 16, 37, 0.25) 0%, transparent 50%),
    var(--stone-mid);
}

.join-banner {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 2.5rem;
  border: 3px solid var(--gold);
  border-radius: 4px;
  box-shadow: 0 16px 50px var(--shadow);
}

.join-content {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}

.join-content h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.join-content p {
  color: var(--marble-dim);
  margin-bottom: 2rem;
  font-size: 1.2rem;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.social-btn {
  min-width: 160px;
}

/* —— Footer —— */
.site-footer {
  padding: 2rem 0;
  text-align: center;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  font-size: 0.95rem;
  color: var(--marble-dim);
}

.site-footer strong {
  color: var(--gold);
  font-family: var(--font-display);
  letter-spacing: 0.08em;
}

.disclaimer {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  opacity: 0.65;
  max-width: 50em;
  margin-inline: auto;
}

/* —— Mobile —— */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(18, 14, 12, 0.98);
    padding: 1.5rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-cta {
    display: none;
  }

  .steps {
    grid-template-columns: 1fr;
  }
}
