/* =====================================================
   CULTURE COIN — Strength Culture
   Industrial / raw aesthetic, dark theme
   ===================================================== */

:root {
  /* Color */
  --bg: #0a0a0a;
  --bg-elev: #131313;
  --bg-elev-2: #1a1a1a;
  --line: #262626;
  --line-strong: #3a3a3a;
  --ink: #e8e4dc;          /* bone white */
  --ink-dim: #9a958c;
  --ink-mute: #5a564f;
  --accent: #d4cdbf;        /* warmer bone */
  --bronze: #b07a3b;
  --silver: #c8c8c8;
  --gold: #d4a747;
  --danger: #c75450;

  /* Type */
  --font-display: "Array", "Anton", "Impact", system-ui, sans-serif;
  --font-body: "Satoshi", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Sizing */
  --container: 1240px;
  --container-narrow: 760px;
  --radius: 2px;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100vh;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

ul {
  list-style: none;
}

/* Grain overlay */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* =====================================================
   UTILITIES
   ===================================================== */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.live-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.8);
  animation: livePulse 1.6s ease-in-out infinite;
  flex-shrink: 0;
}

.live-now {
  color: #ef4444;
  font-weight: 800;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}

.section {
  padding: clamp(80px, 12vw, 160px) 0;
  position: relative;
  border-top: 1px solid var(--line);
}

.section--dark {
  background: #060606;
}

.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 5.5vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  max-width: 18ch;
  margin-bottom: 24px;
}

.section__title--sm {
  font-size: clamp(26px, 3.5vw, 44px);
}

.section--faq {
  padding: clamp(56px, 8vw, 96px) 0;
}

.section__lead {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.6;
  color: var(--ink-dim);
  max-width: 60ch;
  margin-bottom: 64px;
}

/* =====================================================
   BUTTONS
   ===================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}

.btn--lg {
  padding: 18px 34px;
  font-size: 14px;
}

.btn--primary {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.btn--primary:hover {
  background: transparent;
  color: var(--ink);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn--ghost:hover {
  border-color: var(--ink);
  background: var(--bg-elev);
}

/* =====================================================
   NAV
   ===================================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 48px);
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.nav--scrolled {
  background: rgba(10, 10, 10, 0.92);
  border-bottom-color: var(--line);
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  transition: opacity 0.2s var(--ease);
}

.nav__brand:hover {
  opacity: 0.78;
}

.nav__logo-img {
  display: block;
  height: 32px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

@media (max-width: 640px) {
  .nav__logo-img {
    height: 28px;
    max-width: 180px;
  }
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav__links a {
  color: var(--ink-dim);
  transition: color 0.2s var(--ease);
  position: relative;
}

.nav__links a:hover {
  color: var(--ink);
}

.nav__back {
  color: var(--ink-mute) !important;
  font-size: 12px;
}

.nav__cta {
  display: inline-flex;
}

.nav__toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  border-radius: var(--radius);
}

.nav__toggle span {
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

/* =====================================================
   HERO
   ===================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  padding: 72px clamp(20px, 4vw, 48px) 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 4vw, 64px);
  overflow: hidden;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: -1px -1px;
  opacity: 0.4;
  mask-image: radial-gradient(ellipse at 30% 40%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 40%, black 30%, transparent 75%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 880px;
  width: 100%;
  flex: 1 1 auto;
  min-width: 0;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 10vw, 132px);
  line-height: 0.9;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.hero__title--accent {
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
  -webkit-text-fill-color: transparent;
  text-stroke: 2px var(--ink);
}

.hero__sub {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.6;
  color: var(--ink-dim);
  max-width: 56ch;
  margin-bottom: 40px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 64px;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(32px, 6vw, 80px);
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.hero__stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero__stats strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1;
  letter-spacing: -0.02em;
}

.hero__stats span {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* Coin */
.coin {
  position: relative;
  flex: 0 0 auto;
  width: clamp(180px, 28vw, 420px);
  z-index: 1;
  opacity: 1;
  pointer-events: none;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 80px rgba(212, 165, 64, 0.18));
}

.coin__img {
  display: block;
  width: 100%;
  height: auto;
}

/* Subtle float */
.coin {
  animation: coinFloat 8s ease-in-out infinite;
}

@keyframes coinFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(6deg); }
}

/* =====================================================
   HOW IT WORKS
   ===================================================== */

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.how-card {
  background: var(--bg);
  padding: clamp(32px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: background 0.3s var(--ease);
}

.how-card:hover {
  background: var(--bg-elev);
}

.how-card__num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  margin-bottom: 24px;
}

.how-card h3 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.how-card p {
  color: var(--ink-dim);
  font-size: 15px;
  line-height: 1.6;
}

/* =====================================================
   TIERS
   ===================================================== */

.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.tiers--four {
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.tier {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.4s var(--ease), border-color 0.3s var(--ease);
  position: relative;
}

.tier:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
}

.tier--classpass {
  color: #6ea8d4;
}

.tier--bronze {
  color: var(--bronze);
}

.tier--silver {
  color: var(--silver);
}

.tier--gold {
  color: var(--gold);
}

.tier--featured {
  background: var(--bg-elev-2);
  border-color: var(--gold);
}

.tier__flag {
  position: absolute;
  top: -1px;
  right: -1px;
  background: var(--gold);
  color: #0a0a0a;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 12px;
}

.tier__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.tier__title {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.tier__name {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--ink);
}

.tier__sub {
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--ink-dim);
  line-height: 1.3;
}

.tier__mult {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: currentColor;
}

.tier__hook {
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink);
  font-weight: 500;
}

.tier__rows {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
}

.tier__rows > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: baseline;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.tier__rows > div:first-child {
  border-top: none;
  padding-top: 4px;
}

.tier__rows dt {
  font-size: 13px;
  color: var(--ink-dim);
  line-height: 1.3;
}

.tier__rows dd {
  margin: 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  text-align: right;
  line-height: 1.3;
  white-space: nowrap;
}

/* =====================================================
   EARN GRID
   ===================================================== */

.earn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.earn-item {
  background: var(--bg);
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.3s var(--ease);
}

.earn-item:hover {
  background: var(--bg-elev);
}

.earn-item__coins {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.earn-item h4 {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.earn-item p {
  color: var(--ink-dim);
  font-size: 14.5px;
  line-height: 1.55;
}

/* =====================================================
   REDEEM
   ===================================================== */

.redeem-block {
  margin-bottom: 64px;
}
.redeem-block:last-child {
  margin-bottom: 0;
}

.redeem-block__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}

.redeem-block__head h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.redeem-block__sub {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.redeem-table {
  border: 1px solid var(--line);
  background: var(--bg);
}

.redeem-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 18px clamp(20px, 2.5vw, 32px);
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
  transition: background 0.2s var(--ease);
}

.redeem-row:last-child {
  border-bottom: none;
}

.redeem-row:hover {
  background: var(--bg-elev);
}

.redeem-row--head {
  background: var(--bg-elev-2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding: 14px clamp(20px, 2.5vw, 32px);
}

.redeem-row--head:hover {
  background: var(--bg-elev-2);
}

.redeem-cost {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.02em;
  color: var(--ink);
  white-space: nowrap;
}

.redeem-row--head .redeem-cost {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--ink-mute);
}

.redeem-row--highlight {
  background: var(--bg-elev);
  border-top: 1px solid var(--line-strong);
}

.redeem-row--highlight:hover {
  background: var(--bg-elev-2);
}

.partner-logos {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.partner-logo {
  background: transparent;
  border: none;
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 8px;
  min-height: 64px;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}

.partner-logo:hover {
  transform: translateY(-2px);
}

.partner-logo img {
  max-width: 100%;
  max-height: 40px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.75;
  transition: opacity 0.3s var(--ease);
}

.partner-logo:hover img {
  opacity: 1;
}

.partner-note {
  margin-top: 24px;
  font-size: 14px;
  color: var(--ink-mute);
}

.partner-note a {
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  transition: border-color 0.2s var(--ease);
}

.partner-note a:hover {
  border-color: var(--ink);
}

.earn-note {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink-mute);
  font-size: 13px;
  line-height: 1.6;
  max-width: 80ch;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
  background: var(--bg-elev-2);
  border: 1px solid var(--line);
  padding: 2px 6px;
  border-radius: 2px;
  color: var(--ink);
}

/* =====================================================
   FAQ
   ===================================================== */

.faq {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__item summary {
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  transition: color 0.2s var(--ease);
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  color: var(--ink-dim);
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
}

.faq__item[open] summary::after {
  transform: rotate(45deg);
}

.faq__item summary:hover {
  color: var(--ink);
}

.faq__item p {
  padding: 0 0 24px 0;
  color: var(--ink-dim);
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 65ch;
}

/* =====================================================
   CTA BANNER
   ===================================================== */

.cta {
  padding: clamp(100px, 14vw, 180px) 0;
  background: var(--ink);
  color: var(--bg);
  text-align: center;
  border-top: 1px solid var(--line);
}

.cta__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 96px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.95;
  margin-bottom: 24px;
}

.cta__sub {
  font-size: clamp(16px, 1.5vw, 18px);
  color: #555;
  max-width: 55ch;
  margin: 0 auto 40px;
}

.cta .btn--primary {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--bg);
}

.cta .btn--primary:hover {
  background: transparent;
  color: var(--bg);
  border-color: var(--bg);
}

/* =====================================================
   FOOTER
   ===================================================== */

.footer {
  background: #050505;
  padding: 80px 0 32px;
  border-top: 1px solid var(--line);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  transition: opacity 0.2s var(--ease);
}

.footer__brand:hover {
  opacity: 0.78;
}

.footer__brand img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer__col h5 {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 14px;
  font-weight: 700;
}

.footer__col p,
.footer__col a {
  color: var(--ink-dim);
  font-size: 14.5px;
  line-height: 1.7;
  transition: color 0.2s var(--ease);
}

.footer__col a:hover {
  color: var(--ink);
}

.footer__legal {
  padding-top: 32px;
  border-top: 1px solid var(--line);
  color: var(--ink-mute);
  font-size: 12px;
  line-height: 1.6;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 960px) {
  .nav__links {
    display: none;
  }

  .nav__cta {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  .nav.is-open .nav__links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 24px clamp(20px, 4vw, 48px);
    gap: 20px;
    align-items: flex-start;
  }

  .nav.is-open .nav__cta {
    display: inline-flex;
    margin-top: 8px;
  }

  .coin {
    width: clamp(140px, 28vw, 220px);
    opacity: 1;
  }

  .how-grid,
  .earn-grid {
    grid-template-columns: 1fr;
  }

  .tiers,
  .tiers--four {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .partner-logos {
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 24px;
  }

  .footer__cols {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 48px 20px 60px !important;
    min-height: auto !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 24px !important;
    position: relative !important;
  }

  .hero__inner {
    width: 100% !important;
    padding-right: 0 !important;
  }

  .coin {
    position: absolute !important;
    top: 80px !important;
    right: 12px !important;
    width: 38% !important;
    max-width: 140px !important;
    min-width: 100px !important;
    margin: 0 !important;
    z-index: 1 !important;
    opacity: 0.95 !important;
  }

  .hero__stats {
    gap: 28px;
  }

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

  .tiers,
  .tiers--four {
    grid-template-columns: 1fr;
  }

  .partner-logos {
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
