:root {
  --bg: #050507;
  --surface: #111216;
  --text: #f5f5f5;
  --muted: #a0a0a0;
  --accent: #f97316;
}

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #050507;
  color: var(--text);
}

/* ── Nav ── */
.site-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem 0;
  max-width: 1100px;
  margin: 0 auto;
}

.nav-social {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.social-link {
  color: var(--muted);
  display: flex;
  align-items: center;
  transition: color 120ms ease;
}

.social-link:hover { color: var(--accent); }

.nav-link {
  font-family: 'Metal Mania', serif;
  font-size: 1rem;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: color 120ms ease;
}

.nav-link:hover { color: var(--accent); }

/* ── Merch easter egg overlay ── */
/* ── Facebook troll modal ── */
.fb-modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(0,0,0,0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  animation: modal-in 220ms ease;
}

.fb-modal[hidden] { display: none; }

.fb-modal-inner {
  position: relative;
  background: var(--surface);
  border: 1px solid rgba(249,115,22,0.4);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  max-width: 360px;
  width: 90vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 0 60px rgba(249,115,22,0.15), 0 24px 60px rgba(0,0,0,0.8);
  animation: modal-in 250ms ease;
}

.fb-modal-x {
  position: absolute;
  top: 0.75rem;
  right: 0.9rem;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0.25rem 0.4rem;
  line-height: 1;
  transition: color 120ms ease;
}
.fb-modal-x:hover { color: var(--text); }

.fb-modal-title {
  font-family: 'Metal Mania', serif;
  font-size: 2rem;
  color: var(--accent);
  margin: 0;
  letter-spacing: 0.04em;
}

.fb-modal-body {
  color: var(--muted);
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}

/* ── Merch easter egg overlay ── */
.merch-overlay {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: #050507;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modal-in 300ms ease;
}

.merch-overlay[hidden] { display: none; }

.merch-overlay-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: min(480px, 90vw);
  text-align: center;
}

.merch-status {
  font-family: 'Metal Mania', serif;
  font-size: 1.3rem;
  color: var(--muted);
  margin: 0;
  letter-spacing: 0.04em;
  min-height: 2rem;
}

.merch-bar-wrap {
  width: 100%;
  background: rgba(255,255,255,0.07);
  border-radius: 999px;
  height: 12px;
  position: relative;
  overflow: hidden;
}

.merch-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #cc2200, var(--accent));
  border-radius: 999px;
  transition: width 80ms linear;
  box-shadow: 0 0 12px rgba(249, 115, 22, 0.6);
}

.merch-pct {
  position: absolute;
  right: 0;
  top: -1.4rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.merch-punchline {
  font-family: 'Metal Mania', serif;
  font-size: clamp(1.4rem, 4vw, 2rem);
  color: var(--text);
  margin: 0;
  line-height: 1.4;
  letter-spacing: 0.04em;
  animation: modal-in 400ms ease;
}

.merch-punchline span {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0;
}

.merch-close-btn { animation: modal-in 400ms ease; }
.merch-close-btn[hidden] { display: none; }

/* ── Page wrapper ── */
.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

/* ── Hero ── */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 0 1.5rem;
  position: relative;
}

#ember-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero > *:not(#ember-canvas) {
  position: relative;
  z-index: 1;
}


.hero-logo {
  width: clamp(200px, 70vw, 560px);
  height: auto;
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: 'Metal Mania', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.05;
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
}

.hero p {
  font-size: 1.05rem;
  max-width: 38rem;
  color: var(--muted);
  margin: 0 0 1.75rem;
}

/* ── Arsenal (band flyer layout) ── */
.arsenal {
  padding: 0.75rem 0 2rem;
  border-top: 1px solid rgba(250, 250, 250, 0.06);
}

.arsenal-banner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.arsenal-rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(249,115,22,0.5), transparent);
}

.arsenal-title {
  font-family: 'Metal Mania', serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  letter-spacing: 0.14em;
  color: var(--text);
  margin: 0;
  white-space: nowrap;
}

.act-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 1.5rem;
}

.act-divider::before,
.act-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.act-divider span {
  font-family: 'Metal Mania', serif;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.act-divider + .lineup-grid {
  margin-bottom: 2.5rem;
}

.lineup-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.875rem;
}

.gel-grid {
  grid-template-columns: repeat(4, 1fr);
}

.grimsalt-grid {
  grid-template-columns: repeat(2, 1fr);
  max-width: 44%;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 640px) {
  .lineup-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .grimsalt-grid {
    max-width: 100%;
  }

  /* Center the lone 5th drink card */
  .lineup-grid:not(.gel-grid) .product-card:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
  }

  /* Stack signup row vertically */
  .signup-row {
    flex-direction: column;
    align-items: stretch;
  }

  .email-input {
    min-width: unset;
    width: 100%;
  }

  .cta.secondary {
    width: 100%;
    justify-content: center;
  }

  /* Tighten card blurb on narrow cards */
  .card-blurb {
    font-size: 0.6rem;
    letter-spacing: 0.04em;
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem 0.5rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(17, 18, 22, 0.7);
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
  will-change: transform;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--card-accent);
  box-shadow:
    0 0 20px color-mix(in srgb, var(--card-accent) 60%, transparent),
    0 0 60px color-mix(in srgb, var(--card-accent) 25%, transparent),
    0 0 120px color-mix(in srgb, var(--card-accent) 10%, transparent);
}

.fuel-placeholder {
  border: 1px dashed rgba(249, 115, 22, 0.25);
  border-radius: 14px;
  padding: 3rem 2rem;
  text-align: center;
  margin-bottom: 2.5rem;
  animation: placeholder-pulse 3s ease-in-out infinite;
}

.fuel-placeholder-text {
  font-family: 'Metal Mania', serif;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: var(--muted);
  letter-spacing: 0.05em;
  margin: 0;
  line-height: 1.8;
}


.gel-grid .sticker-wrap,
.grimsalt-grid .sticker-wrap {
  border-radius: 12px;
  cursor: default;
}

.gel-grid .product-sticker,
.gel-grid .product-video {
  clip-path: inset(3% round 10px);
  object-fit: cover;
}

.grimsalt-grid .product-sticker,
.grimsalt-grid .product-video {
  clip-path: inset(0 round 8px);
  object-fit: cover;
}

.gel-placeholder {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid color-mix(in srgb, var(--card-accent) 25%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: placeholder-pulse 3s ease-in-out infinite;
}

.gel-placeholder span {
  font-family: 'Metal Mania', serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--card-accent);
  opacity: 0.5;
  filter: drop-shadow(0 0 8px var(--card-accent));
  user-select: none;
}

.product-card:hover .gel-placeholder {
  border-color: color-mix(in srgb, var(--card-accent) 60%, transparent);
  box-shadow: 0 0 24px color-mix(in srgb, var(--card-accent) 20%, transparent);
}

.product-card:hover .gel-placeholder span {
  opacity: 0.9;
}

@keyframes placeholder-pulse {
  0%, 100% { opacity: 0.7; }
  50%       { opacity: 1; }
}

.sticker-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  cursor: zoom-in;
}

.product-sticker,
.product-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  clip-path: circle(50%);
  transition: opacity 200ms ease, filter 200ms ease, transform 200ms ease;
}

.product-video {
  opacity: 0;
}

.product-card:hover .product-sticker {
  opacity: 0;
}

.product-card:hover .product-video {
  opacity: 1;
  filter: drop-shadow(0 0 20px var(--card-accent)) drop-shadow(0 0 40px var(--card-accent));
  transform: scale(1.08);
}

/* ── Product modal overlay ── */
.product-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  animation: modal-in 220ms ease;
}

.product-modal[hidden] { display: none; }

/* ── Signup toast ── */
.signup-toast {
  position: fixed;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 300;
  background: #111216;
  border: 1px solid #f97316;
  border-radius: 12px;
  padding: 1.25rem 2rem;
  text-align: center;
  box-shadow: 0 0 40px rgba(249, 115, 22, 0.3), 0 16px 40px rgba(0,0,0,0.8);
  animation: toast-in 300ms ease;
  min-width: 260px;
}

.signup-toast[hidden] { display: none; }

@keyframes toast-in {
  from { opacity: 0; transform: translateX(-50%) translateY(-12px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.toast-title {
  font-family: 'Metal Mania', serif;
  font-size: 1.3rem;
  color: #f97316;
  margin: 0 0 0.35rem;
  letter-spacing: 0.04em;
}

.toast-body {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

.modal-close {
  position: fixed;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 2rem;
  cursor: pointer;
  z-index: 10;
  line-height: 1;
  transition: color 120ms ease;
}

.modal-close:hover { color: #fff; }

.modal-coming-soon {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  animation: modal-in 220ms ease;
}

.modal-coming-soon[hidden] { display: none; }

.modal-coming-soon-title {
  font-family: 'Metal Mania', serif;
  font-size: clamp(2rem, 6vw, 3rem);
  color: var(--accent);
  margin: 0;
  letter-spacing: 0.04em;
}

.modal-coming-soon-body {
  color: var(--muted);
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

.modal-card-img {
  max-height: 90vh;
  max-width: 90vw;
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.8);
  animation: modal-in 220ms ease;
}

@keyframes modal-in {
  from { opacity: 0; transform: scale(0.94) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.card-blurb {
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin: 0 0 0.5rem;
  text-align: center;
  line-height: 1.4;
  min-height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card h3 {
  font-family: 'Metal Mania', serif;
  font-size: 1rem;
  margin: 0.75rem 0 0.2rem;
  letter-spacing: 0.04em;
  color: var(--text);
}

.product-card::after {
  content: "tap to open";
  font-size: 0.65rem;
  color: var(--muted);
  opacity: 0.6;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}


/* ── Content sections ── */
.section {
  padding: 2.5rem 0;
  border-top: 1px solid rgba(250, 250, 250, 0.06);
}

.section h2 {
  font-family: 'Metal Mania', serif;
  font-size: 1.4rem;
  margin: 0 0 0.75rem;
  letter-spacing: 0.04em;
}

.section p {
  color: var(--muted);
  max-width: 40rem;
  margin: 0;
}

.section-subhead {
  font-family: 'Metal Mania', serif;
  font-size: 0.95rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 1rem !important;
  opacity: 0.8;
}

.section p + p {
  margin-top: 0.85rem;
}

/* ── Community / Hashtags ── */
.hashtag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.25rem;
}

.hashtag {
  font-family: 'Metal Mania', serif;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 120ms ease, text-shadow 120ms ease;
}

.hashtag:hover {
  color: #fb923c;
  text-shadow: 0 0 20px rgba(249, 115, 22, 0.6);
}

/* ── Signup ── */
.signup-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.email-input {
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(15, 15, 20, 0.9);
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  min-width: min(100%, 260px);
  outline: none;
  transition: border-color 120ms ease;
}

.email-input:focus {
  border-color: rgba(249, 115, 22, 0.6);
}

.email-input::placeholder {
  color: rgba(209, 213, 219, 0.5);
}

/* ── Buttons ── */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: #000;
  font-family: inherit;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
  background: #fb923c;
}

.cta.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(249, 115, 22, 0.7);
  box-shadow: none;
}

.cta.secondary:hover {
  background: rgba(249, 115, 22, 0.12);
  transform: none;
  box-shadow: none;
}

/* ── Kit form overrides ── */
.formkit-powered-by-convertkit-container { display: none !important; }
.formkit-alert-error:empty { display: none; }
.formkit-alert-error { color: #f97316; font-size: 0.85rem; margin: 0.5rem 0 0; list-style: none; padding: 0; }
.formkit-form .email-input {
  color: var(--text) !important;
  background: rgba(15, 15, 20, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 999px !important;
  font-size: 0.9rem !important;
}
.formkit-spinner { display: none !important; }
.seva-form[data-sv-form] .seva-custom-content,
.seva-form[data-sv-form][data-status="success"] { display: none !important; }

/* ── Footer ── */
.footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(250, 250, 250, 0.06);
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.footer-email {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 120ms ease;
}

.footer-email:hover { color: var(--accent); }

.formula-diet-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  margin: 1.5rem auto 0;
  max-width: 480px;
  letter-spacing: 0.02em;
}

.formula-tap-hint {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(160,160,160,0.5);
  margin: 0.5rem auto 0;
  max-width: 480px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-tagline {
  font-family: 'Metal Mania', serif;
  font-size: 1rem;
  color: var(--text);
  letter-spacing: 0.04em;
  margin: 0;
}

.footer-copy { margin: 0; }
