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

:root {
  --bg-dark: #060b12;
  --bg-card: rgba(10, 14, 22, 0.88);
  --bg-card-alt: rgba(12, 18, 28, 0.92);
  --accent: #f4c66a;
  --accent-soft: rgba(244, 198, 106, 0.2);
  --text-main: #f5f5f5;
  --text-muted: #a7b0c3;
  --border-subtle: rgba(255, 255, 255, 0.06);
  --radius-xl: 26px;
  --shadow-soft: 0 22px 60px rgba(0, 0, 0, 0.55);
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-dark);
  color: var(--text-main);
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  scroll-behavior: smooth;
}

body {
  position: relative;
  min-height: 100vh;
}

.bg-overlay {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: url("background.jpg") center/cover no-repeat fixed;
  filter: blur(0px);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at top, rgba(244,198,106,0.18), transparent 55%),
              radial-gradient(circle at bottom, rgba(70,95,140,0.55), rgba(6,11,18,0.95) 60%);
  mix-blend-mode: soft-light;
}

/* NAV */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(3,5,10,0.96), rgba(3,5,10,0.82));
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #151821;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0,0,0,0.65);
}

.logo-img.small {
  width: 32px;
  height: 32px;
}

.logo-text {
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 13px;
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 14px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background: var(--accent);
  transition: width 0.2s ease-out;
}

.nav-links a:hover {
  color: var(--text-main);
}

.nav-links a:hover::after {
  width: 100%;
}

/* SECTIONS */

.section {
  min-height: 100vh;
  padding: 80px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-alt {
  background: radial-gradient(circle at top left, rgba(244,198,106,0.04), rgba(0,0,0,0.8));
}

.section-inner {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: center;
}

.section h2 {
  font-size: 36px;
  margin-bottom: 18px;
}

.section-lead {
  max-width: 620px;
  margin-bottom: 28px;
  color: var(--text-muted);
  font-size: 16px;
}

/* HERO */

.hero {
  padding-top: 110px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(40px, 4vw + 10px, 56px);
  line-height: 1.05;
  margin: 0 0 14px;
}

.hero-copy .accent {
  color: var(--accent);
}

.hero-subtitle {
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 0 24px;
  font-size: 16px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
}

.hero-tags span {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(9, 14, 24, 0.9);
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--text-muted);
}

.hero-art {
  display: flex;
  justify-content: center;
}

.hero-card {
  background: var(--bg-card);
  border-radius: 30px;
  padding: 20px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  transform: translateY(0);
  transition: transform 0.25s ease-out, box-shadow 0.25s ease-out;
}

.hero-card.small {
  max-width: 360px;
  margin: 0 auto;
}

.hero-card img {
  display: block;
  max-width: 100%;
  border-radius: 24px;
}

.hero-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
}

/* BUTTONS */

.btn {
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out, background 0.15s ease-out, border-color 0.15s ease-out, color 0.15s ease-out;
}

.btn-large, .btn.large {
  padding: 12px 22px;
  font-size: 15px;
}

.btn-small {
  padding: 8px 14px;
  font-size: 13px;
}

.btn.primary {
  background: var(--accent);
  color: #121212;
  box-shadow: 0 12px 35px rgba(244, 198, 106, 0.35);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(244, 198, 106, 0.55);
}

.btn.secondary {
  background: rgba(11,18,30,0.9);
  color: var(--text-main);
  border-color: rgba(255,255,255,0.12);
}

.btn.secondary:hover {
  background: rgba(18,27,40,0.95);
}

.btn.ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.14);
  color: var(--text-muted);
}

.btn.ghost:hover {
  color: var(--text-main);
  background: rgba(10, 15, 24, 0.9);
}

/* ABOUT / LORE */

.col-text p {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 15px;
  margin-bottom: 14px;
}

.col-media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.stacked-cards {
  position: relative;
  width: 100%;
  max-width: 420px;
}

.stack-card {
  position: absolute;
  inset: 0;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}

.stack-card.bottom {
  transform: rotate(-4deg) translate(-12px, 18px);
  opacity: 0.8;
  filter: saturate(0.9);
}

.stack-card.top {
  transform: rotate(3deg) translate(12px, -10px);
}

.stack-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* GRID SECTIONS */

.grid {
  display: grid;
  gap: 22px;
}

.features {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 26px;
}

.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 22px 20px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

/* HOW TO BUY */

.steps {
  list-style: decimal;
  margin: 0 0 24px 18px;
  padding: 0;
  color: var(--text-muted);
  font-size: 14px;
}

.steps li {
  margin-bottom: 10px;
}

.steps code {
  background: rgba(0,0,0,0.6);
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 13px;
}

/* GALLERY */

.gallery-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 28px;
}

.gallery-card {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card-alt);
  box-shadow: var(--shadow-soft);
  transform: translateY(0);
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 70px rgba(0,0,0,0.8);
}

/* ROADMAP */

.roadmap-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 30px;
}

.roadmap-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 22px 20px 20px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}

.phase {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.roadmap-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.roadmap-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text-muted);
  font-size: 14px;
}

/* FOOTER */

.footer {
  border-top: 1px solid var(--border-subtle);
  background: rgba(3,5,10,0.96);
  padding: 20px 20px 26px;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.footer-text {
  color: var(--text-muted);
  font-size: 12px;
  max-width: 420px;
  margin-top: 8px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
}

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

.footer-links a:hover {
  color: var(--text-main);
}

/* RESPONSIVE */

@media (max-width: 960px) {
  .nav-inner {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .nav-links {
    display: none;
  }

  .section {
    padding: 70px 18px;
  }

  .hero {
    padding-top: 96px;
  }

  .hero-inner,
  .two-col {
    grid-template-columns: minmax(0, 1fr);
  }

  .col-media {
    order: -1;
    margin-bottom: 24px;
  }

  .features,
  .gallery-grid,
  .roadmap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stack-card.bottom {
    display: none;
  }
}

@media (max-width: 640px) {
  .section {
    min-height: 90vh;
  }

  .hero-inner {
    gap: 26px;
  }

  .hero-card {
    max-width: 320px;
  }

  .features,
  .gallery-grid,
  .roadmap-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    flex-direction: column;
  }
}


.stacked-cards.single {
  position: relative;
  max-width: 420px;
  width: 100%;
}

.stacked-cards.single .stack-single {
  display: block;
  width: 100%;
  border-radius: 26px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  object-fit: cover;
}
