/* ==========================================================================
   PROJECT LAZARUS — ORIGINAL GAMEMODE FEATURES
   og.theprojectlazarus.com
   ========================================================================== */

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

html { scroll-behavior: smooth; }

html, body {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body { overflow-x: hidden; }

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

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

/* Accessibility: skip link */
.skip-link {
  position: absolute;
  top: -9999px;
  left: 0;
  z-index: 999;
  background: var(--laz-green);
  color: var(--ink);
  font-family: var(--font-hed);
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 12px 20px;
}
.skip-link:focus { top: 0; }

:focus-visible {
  outline: 2px solid var(--laz-green);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   PAGE FRAME
   -------------------------------------------------------------------------- */
.page {
  position: relative;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(157,255,43,0.12), transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(157,255,43,0.08), transparent 55%),
    var(--ink);
  min-height: 100vh;
  overflow: hidden;
}
.page::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.35 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.22;
  mix-blend-mode: overlay;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  width: 100%;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.hero__img {
  position: absolute;
  inset: 0;
  background: url("/assets/hero-zombie-hellman.jpg") center 25% / cover no-repeat;
  filter: saturate(0.85) contrast(1.08);
  z-index: 0;
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(157,255,43,0.18), transparent 55%),
    linear-gradient(180deg, rgba(10,13,10,0.35) 0%, rgba(10,13,10,0.55) 55%, var(--ink) 100%);
  z-index: 1;
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 120px 32px 72px;
  text-align: center;
}
.hero__kicker {
  font-family: var(--font-hed);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 13px;
  color: var(--laz-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}
.hero__kicker::before,
.hero__kicker::after { content: ""; width: 32px; height: 1px; background: var(--laz-green); }
.hero__kicker em {
  color: var(--bone);
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.22em;
}

/* The sublabel between the logo and the tagline — explicitly names
   what page the visitor is on so they're never confused between the
   Original and Life gamemodes. */
.hero__sublabel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 6px auto 18px;
  padding: 8px 14px;
  border: 1px solid rgba(157,255,43,0.35);
  border-radius: 2px;
  background: rgba(157,255,43,0.08);
  font-family: var(--font-hed);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 12px;
  font-weight: 700;
  color: var(--laz-green);
}
.hero__sublabel-bar {
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--laz-green);
}

.hero__logo {
  display: block;
  margin: 0 auto 18px;
  max-width: 460px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 30px rgba(0,0,0,0.8));
}
.hero__tag {
  font-family: var(--font-hed);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 14px;
  color: var(--bone-2);
  margin-bottom: 40px;
}
.hero__tag em { color: var(--laz-green); font-style: normal; }
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 96px);
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--bone);
  text-shadow: 0 4px 20px rgba(0,0,0,0.6);
}
.hero__title em { color: var(--laz-green); font-style: normal; }

/* --------------------------------------------------------------------------
   CONTENT + MASH
   -------------------------------------------------------------------------- */
.content {
  position: relative;
  z-index: 2;
  padding: 0 32px 120px;
}
.wrap {
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
}

.mash {
  text-align: center;
  margin-bottom: 56px;
  padding-top: 40px;
}
.mash__sub {
  max-width: 760px;
  margin: 0 auto;
  color: var(--bone-2);
  font-size: 17px;
  line-height: 1.6;
}
.mash__chips {
  margin-top: 28px;
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.chip {
  font-family: var(--font-hed);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  padding: 8px 14px;
  border: 1px solid rgba(157,255,43,0.4);
  color: var(--laz-green);
  background: rgba(157,255,43,0.06);
  border-radius: 2px;
}
.chip.ghost {
  color: var(--bone-2);
  border-color: var(--hairline-strong);
  background: transparent;
}

/* --------------------------------------------------------------------------
   SECTION HEADS
   -------------------------------------------------------------------------- */
.sec-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: 64px 0 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hairline);
}
.sec-head__num {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--laz-green);
  letter-spacing: 0.05em;
}
.sec-head__title {
  font-family: var(--font-hed);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 18px;
  color: var(--bone);
}
.sec-head__count {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--bone-2);
  background: rgba(10,13,10,0.6);
  padding: 4px 10px;
  border-radius: 2px;
  border: 1px solid var(--hairline);
}

/* --------------------------------------------------------------------------
   FEATURE CARDS
   -------------------------------------------------------------------------- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feat {
  position: relative;
  background: rgba(19,24,26,0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  padding: 26px 24px 24px;
  overflow: hidden;
  transition: transform 250ms var(--ease-out),
              border-color 250ms,
              background 250ms,
              box-shadow 250ms;
}
.feat::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 44px; height: 2px;
  background: var(--laz-green);
  transition: width 350ms var(--ease-out);
}
.feat::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at top left, rgba(157,255,43,0.1), transparent 60%);
  opacity: 0;
  transition: opacity 250ms;
  pointer-events: none;
}
.feat:hover {
  transform: translateY(-4px);
  border-color: rgba(157,255,43,0.35);
  background: rgba(27,33,36,0.88);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}
.feat:hover::before { width: 100%; }
.feat:hover::after { opacity: 1; }

.feat__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.feat__icon {
  width: 44px; height: 44px;
  flex: 0 0 44px;
  display: grid; place-items: center;
  background: rgba(157,255,43,0.1);
  border: 1px solid rgba(157,255,43,0.3);
  border-radius: 2px;
}
.feat__icon svg {
  width: 22px; height: 22px;
  stroke: var(--laz-green);
  stroke-width: 2;
  fill: none;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
.feat__num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--bone-3);
  letter-spacing: 0.15em;
}
.feat__title {
  font-family: var(--font-hed);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 19px;
  color: var(--bone);
  line-height: 1.15;
  margin-bottom: 10px;
}
.feat__body {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--bone-2);
}
.feat__body b { color: var(--bone); font-weight: 600; }
.feat__tags {
  margin-top: 14px;
  display: flex; gap: 6px; flex-wrap: wrap;
}
.feat__tag {
  font-family: var(--font-hed);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 10px;
  color: var(--bone-3);
  padding: 4px 8px;
  border: 1px solid var(--hairline);
  border-radius: 2px;
}

/* Feature hero variant (used once, section 01) */
.feat--hero {
  grid-column: span 3;
  background:
    linear-gradient(135deg, rgba(157,255,43,0.12) 0%, rgba(10,13,10,0.82) 55%),
    rgba(19,24,26,0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-color: rgba(157,255,43,0.35);
  padding: 32px;
}
.feat--hero::before { height: 3px; width: 80px; }
.feat--hero .feat__title {
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 0.95;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
}
.feat--hero .feat__title em { color: var(--laz-green); font-style: normal; }
.feat--hero .feat__body {
  font-size: 16px;
  line-height: 1.65;
  max-width: 820px;
}
.feat--hero .feat__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: flex-start;
}
.feat--hero .feat__icon {
  width: 72px; height: 72px;
  flex: 0 0 72px;
  background: rgba(157,255,43,0.16);
}
.feat--hero .feat__icon svg { width: 36px; height: 36px; }

/* --------------------------------------------------------------------------
   BOTTOM STATS BAND + CTA
   -------------------------------------------------------------------------- */
.bottom {
  margin-top: 72px;
  padding: 36px;
  background: rgba(19,24,26,0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(157,255,43,0.2);
  border-radius: var(--r-card);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.bs__val {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
  color: var(--laz-green);
}
.bs__lbl {
  font-family: var(--font-hed);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 12px;
  color: var(--bone-2);
  margin-top: 6px;
}

.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 44px;
  flex-wrap: wrap;
}

.laz-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-hed);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 14px;
  padding: 14px 24px;
  border-radius: 2px;
  transition: transform 150ms var(--ease-out),
              background 200ms,
              border-color 200ms,
              box-shadow 200ms;
  cursor: pointer;
  white-space: nowrap;
}
.laz-btn--primary {
  background: var(--laz-green);
  color: var(--ink);
  box-shadow: 0 0 0 1px rgba(157,255,43,0.5), 0 12px 36px rgba(157,255,43,0.22);
}
.laz-btn--primary:hover {
  background: var(--laz-green-deep);
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px var(--laz-green), 0 18px 44px rgba(157,255,43,0.3);
}
.laz-btn--ghost {
  background: rgba(255,255,255,0.04);
  color: var(--bone);
  border: 1px solid var(--hairline-strong);
}
.laz-btn--ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--bone);
}

/* --------------------------------------------------------------------------
   WATERMARK (decorative)
   -------------------------------------------------------------------------- */
.watermark {
  position: absolute;
  right: -60px;
  top: 200px;
  font-family: var(--font-display);
  font-size: 320px;
  line-height: 0.85;
  color: var(--laz-green);
  opacity: 0.03;
  letter-spacing: -0.03em;
  pointer-events: none;
  text-transform: uppercase;
  transform: rotate(-8deg);
  z-index: 0;
}

.footer-note {
  text-align: center;
  margin-top: 48px;
  font-family: var(--font-hed);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 12px;
  color: var(--bone-3);
}

/* --------------------------------------------------------------------------
   SCROLL REVEAL
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 400ms var(--ease-out),
              transform 400ms var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .hero { min-height: 560px; }
  .hero__inner { padding: 96px 24px 56px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .feat--hero { grid-column: span 2; }
  .feat--hero .feat__title { font-size: 32px; }
  .bottom { grid-template-columns: repeat(2, 1fr); }
  .watermark { font-size: 220px; right: -40px; }
}

@media (max-width: 680px) {
  .hero { min-height: 520px; align-items: flex-end; }
  .hero__img { background-position: 70% 20%; }
  .hero__inner { padding: 80px 20px 40px; }
  .hero__logo { max-width: 300px; }
  .hero__title { font-size: 38px; }
  .content { padding: 0 20px 80px; }
  .grid { grid-template-columns: 1fr; }
  .feat--hero { grid-column: span 1; }
  .feat--hero .feat__inner { grid-template-columns: 1fr; gap: 18px; }
  .feat--hero .feat__title { font-size: 28px; }
  .sec-head { margin: 48px 0 20px; }
  .bottom { padding: 28px 20px; gap: 24px; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .laz-btn { justify-content: center; }
  .watermark { font-size: 140px; top: 120px; right: -20px; }
  .footer-note { letter-spacing: 0.2em; font-size: 11px; }
}

/* Reduced motion — suppress decorative animations ONLY.
   Do NOT use a blanket `animation-duration: 0.01ms !important` rule —
   it turns looping animations into warp-speed blurs instead of pausing. */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .feat { transition: none; }
  .feat:hover { transform: none; }
  .feat::before { transition: none; }
  .watermark { display: none; }
}
