:root {
  --navy: #0b1c3d;
  --navy-deep: #061028;
  --crimson: #c8102e;
  --crimson-hot: #e0183a;
  --gold: #f5c518;
  --gold-soft: #e8d5a3;
  --cream: #f7f0e2;
  --ink: #0a0a0a;
  --sky: #2a5caa;
  --panel: #122448;
  --shadow: 6px 6px 0 #000;
  --shadow-sm: 3px 3px 0 #000;
  --font-display: "Bangers", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--cream);
  background:
    radial-gradient(ellipse 90% 55% at 10% 0%, rgba(200, 16, 46, 0.28), transparent 55%),
    radial-gradient(ellipse 80% 50% at 90% 20%, rgba(245, 197, 24, 0.18), transparent 50%),
    radial-gradient(ellipse 70% 40% at 50% 100%, rgba(42, 92, 170, 0.35), transparent 55%),
    linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 40%, #0e2048 100%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* ---------- NAV ---------- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 1.25rem;
  background: rgba(6, 16, 40, 0.88);
  border-bottom: 4px solid var(--ink);
  backdrop-filter: blur(8px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 50%;
  border: 3px solid var(--ink);
  box-shadow: var(--shadow-sm);
  background: #111;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  color: var(--gold);
  text-shadow: 2px 2px 0 var(--ink);
  line-height: 1;
}

.brand-text span {
  display: block;
  font-size: 0.72rem;
  color: var(--cream);
  letter-spacing: 0.18em;
  margin-top: 0.15rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  padding: 0.4rem 0.85rem;
  border: 3px solid transparent;
  border-radius: 999px;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.nav-menu a:hover {
  background: var(--crimson);
  border-color: var(--ink);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 3px solid var(--ink);
  border-radius: 10px;
  background: var(--gold);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 3px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ---------- SHARED ---------- */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  letter-spacing: 0.04em;
  color: var(--gold);
  text-shadow: 3px 3px 0 var(--ink), -1px -1px 0 var(--crimson);
  margin: 0 0 0.35rem;
  line-height: 1.05;
}

.section-lead {
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--gold-soft);
  max-width: 38rem;
  margin: 0 0 1.75rem;
}

.ink-panel {
  background: var(--panel);
  border: 4px solid var(--ink);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  padding: 0.7rem 1.2rem;
  border: 3px solid var(--ink);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.12s, filter 0.12s;
  line-height: 1;
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 #000;
  filter: brightness(1.05);
}

.btn:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 #000;
}

.btn img,
.btn i {
  width: 1.35rem;
  height: 1.35rem;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.btn-gold {
  background: linear-gradient(180deg, #ffe066, var(--gold));
  color: var(--ink);
}

.btn-crimson {
  background: linear-gradient(180deg, var(--crimson-hot), var(--crimson));
  color: #fff;
}

.btn-navy {
  background: linear-gradient(180deg, #1a3a72, var(--navy));
  color: var(--cream);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 6.5rem 1.25rem 3rem;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 16, 40, 0.92) 0%, rgba(6, 16, 40, 0.72) 42%, rgba(6, 16, 40, 0.25) 72%, rgba(6, 16, 40, 0.45) 100%),
    linear-gradient(0deg, rgba(6, 16, 40, 0.85) 0%, transparent 38%);
}

.hero-content {
  width: min(640px, 100%);
  animation: rise-in 0.7s ease-out both;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  color: var(--ink);
  background: var(--gold);
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 5.4rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  margin: 0 0 0.4rem;
  color: #fff;
  text-shadow:
    4px 4px 0 var(--ink),
    -2px 0 0 var(--crimson),
    0 -2px 0 var(--gold);
}

.hero-symbol {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  color: var(--gold);
  letter-spacing: 0.12em;
  margin: 0 0 1rem;
  text-shadow: 2px 2px 0 var(--ink);
}

.hero-bio {
  font-size: 1.15rem;
  line-height: 1.55;
  max-width: 32rem;
  margin: 0 0 1.4rem;
  color: var(--cream);
}

.ca-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.55rem;
  margin: 1.25rem 0 1.4rem;
  background: rgba(6, 16, 40, 0.75);
  border: 3px solid var(--ink);
  border-radius: 14px;
  padding: 0.55rem;
  box-shadow: var(--shadow-sm);
}

.ca-bar code {
  flex: 1 1 180px;
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 0.78rem;
  word-break: break-all;
  padding: 0.55rem 0.65rem;
  color: var(--gold-soft);
  display: flex;
  align-items: center;
}

.ca-bar .btn {
  flex: 0 0 auto;
  font-size: 1rem;
  padding: 0.55rem 0.95rem;
}

/* ---------- SECTIONS ---------- */
.section {
  padding: 4.5rem 1.25rem;
  position: relative;
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.gutter {
  height: 10px;
  background: repeating-linear-gradient(
    90deg,
    var(--crimson) 0 28px,
    var(--cream) 28px 56px,
    var(--navy) 56px 84px,
    var(--gold) 84px 112px
  );
  border-top: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
}

/* ---------- ABOUT ---------- */
.about-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.75rem;
  align-items: start;
}

.about-copy p {
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0 0 1rem;
  color: var(--cream);
}

.about-banner {
  margin-top: 1.25rem;
  border: 4px solid var(--ink);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #000;
}

.about-banner img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.story-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.story-frame {
  border: 4px solid var(--ink);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #0a1224;
}

.story-frame img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.gallery .story-frame {
  margin: 0;
}

/* ---------- HOW TO BUY ---------- */
.buy-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.buy-step {
  text-align: center;
  position: relative;
}

.buy-step .step-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #1a3a72, var(--navy-deep));
  border: 4px solid var(--ink);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}

.buy-step .step-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.buy-step h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.04em;
  color: var(--gold);
  margin: 0 0 0.55rem;
  text-shadow: 2px 2px 0 var(--ink);
}

.buy-step p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--gold-soft);
}

.buy-cta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

/* ---------- COMMUNITY ---------- */
.community {
  padding-bottom: 5rem;
}

.community-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.75rem;
  align-items: center;
}

.community-logo-wrap {
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.community-logo-wrap img {
  width: min(340px, 100%);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.45));
}

.community-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: flex-start;
}

.community-actions .btn {
  min-width: 220px;
}

.site-footer {
  border-top: 4px solid var(--ink);
  padding: 1.4rem 1.25rem;
  text-align: center;
  background: rgba(6, 16, 40, 0.95);
}

.site-footer p {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  color: var(--gold-soft);
  font-size: 1.05rem;
}

.site-footer small {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: rgba(247, 240, 226, 0.55);
  letter-spacing: 0;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .about-layout,
  .community-grid,
  .buy-steps,
  .gallery {
    grid-template-columns: 1fr;
  }

  .hero-bg img {
    object-position: 70% center;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 4px);
    right: 1rem;
    left: 1rem;
    flex-direction: column;
    align-items: stretch;
    background: var(--navy-deep);
    border: 4px solid var(--ink);
    border-radius: 16px;
    padding: 0.6rem;
    box-shadow: var(--shadow);
    display: none;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu a {
    text-align: center;
  }

  .hero {
    align-items: center;
    padding-top: 6rem;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(6, 16, 40, 0.55) 0%, rgba(6, 16, 40, 0.82) 45%, rgba(6, 16, 40, 0.92) 100%),
      linear-gradient(90deg, rgba(6, 16, 40, 0.7), rgba(6, 16, 40, 0.35));
  }
}
