/* =========================================================
   nertzblitz.com  ·  single stylesheet, no build step
   Sections: tokens · base · buttons · topbar · footer ·
   home (hero, phones, daily band, modes, what-is, faq, cta) ·
   rules pages (page-head, sec-860, setup, steps, scoring, tips) ·
   daily page (hero, how-it-works, why, cta band) · 404 · responsive
   ========================================================= */

/* ---------- tokens ---------- */

:root {
  --bg: #1C0B33;         /* page background */
  --panel: #241040;      /* deep bands, countdown cards */
  --card: #2A1249;       /* content cards */
  --card-alt: #251043;   /* mode card base */
  --line: #3A1B63;       /* borders */
  --pink: #F5297C;
  --yellow: #FFD028;
  --green: #34D399;
  --purple: #B794F6;     /* solo bots title */
  --muted: #D9C9F2;      /* body text */
  --faint: #8E7BB0;      /* metadata */
  --pink-tint: #FFE3F0;  /* body text on pink bands */
  --bezel: #0E0E13;      /* phone frames */
  --ring: #35353F;
  --ring-strong: #3D3D48;
  --gutter: 60px;        /* section side padding */
  --gutter-nav: 48px;    /* topbar / footer side padding */
  color-scheme: dark;
}

/* ---------- base ---------- */

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--muted);
  font-family: 'Nunito', sans-serif;
}

img { max-width: 100%; height: auto; border: 0; }

a { color: var(--pink); text-decoration: none; }
a:hover { color: var(--yellow); }

/* display face: Titan One ships a single 400 weight */
.titan {
  font-family: 'Titan One', cursive;
  font-weight: 400;
  letter-spacing: .5px;
  color: #fff;
}

/* ---------- buttons ---------- */

.btn-pill {
  display: inline-block;
  background: var(--pink);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  padding: 10px 22px;
  border-radius: 999px;
}
.btn-pill:hover { color: #fff; }

.btn-yellow {
  display: inline-block;
  background: var(--yellow);
  color: var(--panel);
  font-weight: 900;
  font-size: 16px;
  padding: 12px 26px;
  border-radius: 999px;
}
.btn-yellow:hover { color: var(--panel); }

/* ---------- topbar ---------- */

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 20px;
  padding-bottom: 20px;
  padding-left: var(--gutter-nav);
  padding-right: var(--gutter-nav);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-bolt { width: 34px; height: 34px; object-fit: contain; }
.brand-name {
  font-family: 'Titan One', cursive;
  font-weight: 400;
  letter-spacing: .5px;
  color: #fff;
  font-size: 22px;
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  font-weight: 800;
  font-size: 15px;
}
.nav-links a { color: #fff; }
.nav-links a:hover,
.nav-links a.active { color: var(--yellow); }
.nav-links a.btn-pill:hover { color: #fff; }

/* ---------- footer ---------- */

.footer { border-top: 1px solid var(--line); }
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 36px;
  padding-bottom: 36px;
  padding-left: var(--gutter-nav);
  padding-right: var(--gutter-nav);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.foot-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--faint);
  font-weight: 800;
  font-size: 14px;
}
.foot-brand img { width: 36px; border-radius: 9px; }
.foot-links { display: flex; gap: 28px; font-weight: 800; font-size: 14px; flex-wrap: wrap; }
.foot-links a { color: var(--muted); }
.foot-links a:hover { color: var(--yellow); }

/* off-site link marker (\FE0E forces text glyph, not emoji, on iOS) */
a.ext::after {
  content: "↗\FE0E";
  font-size: 11px;
  margin-left: 4px;
  opacity: .65;
}

/* ---------- home: hero ---------- */

.hero {
  position: relative;
  text-align: center;
  overflow: hidden;
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 32px;
  padding-bottom: 0;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.hero-logo { width: 280px; margin: 0 auto; display: block; }
.hero h1 {
  font-size: 44px;
  margin: 20px auto 14px;
  max-width: 780px;
  line-height: 1.18;
  letter-spacing: 1px;
  text-wrap: pretty;
}
.hero-sub {
  color: var(--muted);
  font-size: 21px;
  font-weight: 700;
  max-width: 640px;
  margin: 0 auto 32px;
}
.hero-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  align-items: center;
  margin-bottom: 48px;
}
.link-learn { color: var(--yellow); font-weight: 900; font-size: 17px; }

/* floating card backs (decorative) */
.float-card {
  position: absolute;
  pointer-events: none;
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, .5));
  transform: rotate(var(--r, 0deg));
  animation: floaty 5s ease-in-out infinite;
}
.float-1 { --r: -18deg; left: 60px; top: 120px; width: 110px; }
.float-2 { --r: 14deg; right: 70px; top: 80px; width: 130px; animation-duration: 6s; animation-delay: .8s; }
.float-3 { --r: 32deg; left: 110px; top: 560px; width: 80px; animation-duration: 4.5s; animation-delay: .4s; opacity: .85; }
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50% { transform: translateY(-14px) rotate(var(--r, 0deg)); }
}
@media (prefers-reduced-motion: reduce) {
  .float-card { animation: none; }
}

/* phone fan: three mockups cropped at the section bottom */
.phone-fan { display: flex; gap: 24px; justify-content: center; align-items: flex-end; }
.phone {
  width: 240px;
  flex-shrink: 0;
  background: var(--bezel);
  border-radius: 38px 38px 0 0;
  padding: 9px 9px 0;
  box-shadow: inset 0 0 0 2.5px var(--ring), 0 30px 60px rgba(0, 0, 0, .55);
  position: relative;
}
.phone-screen { width: 100%; display: block; border-radius: 30px 30px 0 0; }
.island {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 68px;
  height: 19px;
  background: #000;
  border-radius: 999px;
  z-index: 3;
}
.phone-left { transform: rotate(-10deg) translateY(18px); transform-origin: bottom right; margin-right: -44px; z-index: 3; }
.phone-right { transform: rotate(10deg) translateY(18px); transform-origin: bottom left; margin-left: -44px; z-index: 3; }
.phone-center {
  width: 250px;
  border-radius: 42px 42px 0 0;
  padding: 10px 10px 0;
  box-shadow: inset 0 0 0 2.5px var(--ring-strong), 0 30px 70px rgba(0, 0, 0, .55);
  transform: translateY(8px);
  z-index: 2;
}
.phone-center .phone-screen { border-radius: 33px 33px 0 0; }
.phone-center .island { top: 18px; width: 72px; height: 21px; }

/* ---------- bands ---------- */

.band { background: var(--panel); }
.band-pink { background: var(--pink); }

.kicker {
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  letter-spacing: 2px;
  font-size: 14px;
}

/* ---------- home: daily challenge band ---------- */

.daily-band {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 56px;
  padding-bottom: 56px;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  display: flex;
  align-items: center;
  gap: 48px;
}
.daily-band-copy { flex: 1; }
.daily-band .kicker { color: var(--yellow); margin-bottom: 10px; }
.daily-band h2 { font-size: 40px; margin: 0 0 14px; line-height: 1.1; }
.daily-band-copy p {
  color: var(--pink-tint);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 20px;
  max-width: 480px;
}
.link-under {
  color: #fff;
  font-weight: 900;
  font-size: 16px;
  border-bottom: 3px solid var(--yellow);
  padding-bottom: 2px;
}
.link-under:hover { color: #fff; }

.countdown-card {
  background: var(--panel);
  border-radius: 20px;
  padding: 32px 40px;
  text-align: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
}
.countdown-label {
  color: var(--muted);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.countdown {
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  color: var(--yellow);
  font-size: 52px;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.countdown-card .btn-yellow { margin-top: 14px; }

/* ---------- home: modes grid ---------- */

.modes {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 64px;
  padding-bottom: 64px;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.modes h2 { font-size: 36px; text-align: center; margin: 0 0 40px; }
.modes-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* each card tints from its accent (--a is the rgb triple, --tc the title color) */
.mode-card {
  --a: 245, 41, 124;
  --tc: var(--pink);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 85% 110%, rgba(var(--a), .22), rgba(var(--a), 0) 60%),
    var(--card-alt);
  border: 1px solid rgba(var(--a), .35);
  border-radius: 22px;
  padding: 30px 26px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.mode-card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(var(--a), .22); }
.mode-online   { --a: 245, 41, 124;  --tc: var(--pink); }
.mode-daily    { --a: 255, 208, 40;  --tc: var(--yellow); }
.mode-solo     { --a: 139, 92, 246;  --tc: var(--purple); }
.mode-tutorial { --a: 52, 211, 153;  --tc: var(--green); }
.mode-card h3 {
  font-family: 'Titan One', cursive;
  font-weight: 400;
  letter-spacing: .5px;
  color: var(--tc);
  font-size: 21px;
  margin: 0;
}
.mode-bar { width: 34px; height: 4px; border-radius: 99px; background: var(--tc); margin: 12px 0 14px; }
.mode-card p {
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  margin: 0;
  line-height: 1.55;
  position: relative;
}
.mode-mark {
  position: absolute;
  right: -14px;
  bottom: -26px;
  font-size: 110px;
  line-height: 1;
  color: rgba(var(--a), .14);
  font-weight: 900;
  pointer-events: none;
}
.mode-mark-bolt { position: absolute; right: -14px; bottom: -26px; opacity: .16; pointer-events: none; }
.mode-mark-bolt img { width: 110px; transform: rotate(12deg); }
.modes-badge { text-align: center; margin-top: 36px; }

/* ---------- home: what is nertz ---------- */

.whatis {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 64px;
  padding-bottom: 64px;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  display: flex;
  gap: 56px;
  align-items: center;
}
.whatis-card {
  width: 190px;
  flex-shrink: 0;
  transform: rotate(-6deg);
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .4));
}
.whatis h2 { font-size: 34px; margin: 0 0 14px; }
.whatis p { color: var(--muted); font-size: 17px; font-weight: 700; line-height: 1.65; margin: 0 0 12px; }
.whatis p b { color: var(--yellow); }
.link-more { color: var(--yellow); font-weight: 900; font-size: 16px; }

/* ---------- home: faq ---------- */

.faq {
  max-width: 900px;
  margin: 0 auto;
  padding-top: 64px;
  padding-bottom: 64px;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.faq h2 { font-size: 34px; text-align: center; margin: 0 0 36px; }
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--card); border-radius: 16px; padding: 24px 28px; }
.faq-item h3 { color: var(--yellow); font-weight: 900; font-size: 18px; margin: 0 0 8px; }
.faq-item p { color: var(--muted); font-size: 16px; font-weight: 700; line-height: 1.6; margin: 0; }

/* ---------- home: final cta ---------- */

.cta-final {
  text-align: center;
  padding-top: 24px;
  padding-bottom: 72px;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.cta-final .app-icon {
  width: 96px;
  border-radius: 22px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .4);
  margin-bottom: 20px;
}
.cta-final h2 { font-size: 36px; margin: 0 0 24px; }

/* ---------- rules / article pages ---------- */

.page-head {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  padding-top: 56px;
  padding-bottom: 48px;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.page-head .kicker { color: var(--pink); margin-bottom: 14px; }
.page-head h1 {
  font-size: 46px;
  margin: 0 0 18px;
  line-height: 1.15;
  letter-spacing: 1px;
  text-wrap: pretty;
}
.lede { color: var(--muted); font-size: 19px; font-weight: 700; line-height: 1.6; margin: 0; }

/* narrow content section; .roomy / .tall bump vertical padding */
.sec-860 {
  max-width: 860px;
  margin: 0 auto;
  padding-top: 24px;
  padding-bottom: 24px;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.sec-860.roomy { padding-top: 40px; padding-bottom: 40px; }
.sec-860.tall { padding-top: 56px; padding-bottom: 56px; }
.sec-860 h2 {
  font-family: 'Titan One', cursive;
  font-weight: 400;
  letter-spacing: .5px;
  color: var(--yellow);
  font-size: 30px;
  margin: 0 0 18px;
}
.copy { color: var(--muted); font-size: 17px; font-weight: 700; line-height: 1.7; margin: 0; }
.copy b { color: #fff; }
.copy b.y { color: var(--yellow); }
.copy b.p { color: var(--pink); }
.mb16 { margin-bottom: 16px; }
.mb18 { margin-bottom: 18px; }
.mb22 { margin-bottom: 22px; }
.mt18 { margin-top: 18px; }
.mt22 { margin-top: 22px; }

.setup-cards { display: flex; flex-direction: column; gap: 14px; }
.setup-card {
  background: var(--card);
  border-radius: 16px;
  padding: 22px 26px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.setup-card img { width: 44px; flex-shrink: 0; }
.tilt-r { transform: rotate(8deg); }
.tilt-l { transform: rotate(-8deg); }
.setup-card h3 { color: #fff; font-weight: 900; font-size: 18px; margin: 0 0 6px; }
.setup-card p { color: var(--muted); font-size: 16px; font-weight: 700; line-height: 1.6; margin: 0; }

.steps { display: flex; flex-direction: column; gap: 12px; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--pink);
  color: #fff;
  font-weight: 900;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step p { color: var(--muted); font-size: 16px; font-weight: 700; line-height: 1.65; margin: 2px 0 0; }
.step p b { color: #fff; }

.score-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.score-card { background: var(--card); border-radius: 16px; padding: 24px; text-align: center; }
.score-num { font-family: 'Archivo', sans-serif; font-weight: 900; font-size: 40px; line-height: 1; }
.score-num.up { color: var(--green); }
.score-num.down { color: var(--pink); }
.score-card p { color: var(--muted); font-size: 16px; font-weight: 700; margin: 8px 0 0; line-height: 1.5; }

.tips { display: flex; flex-direction: column; gap: 10px; }
.tips p { color: var(--muted); font-size: 16px; font-weight: 700; line-height: 1.65; margin: 0; }
.tips b { color: var(--yellow); }

.cta-mid {
  text-align: center;
  padding-top: 64px;
  padding-bottom: 64px;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.cta-mid h2 { font-size: 34px; margin: 0 0 14px; }
.cta-mid p { color: var(--muted); font-size: 18px; font-weight: 700; margin: 0 0 26px; }
.cta-actions { display: flex; gap: 18px; justify-content: center; align-items: center; }

/* ---------- daily challenge page ---------- */

.daily-hero {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 56px;
  padding-bottom: 40px;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
}
.daily-hero .kicker { color: var(--pink); margin-bottom: 14px; }
.daily-hero h1 {
  font-size: 46px;
  margin: 0 0 18px;
  line-height: 1.15;
  letter-spacing: 1px;
  text-wrap: pretty;
}
.daily-hero .lede { margin-bottom: 28px; }
.daily-hero-actions { display: flex; gap: 18px; align-items: center; }
.countdown-mini { background: var(--panel); border-radius: 14px; padding: 12px 22px; text-align: center; }
.countdown-mini .countdown-label { color: var(--faint); font-size: 11px; margin-bottom: 0; }
.countdown-mini .countdown { font-size: 26px; }
.daily-hero-phone { display: flex; justify-content: center; }
.phone-full {
  width: 290px;
  flex-shrink: 0;
  background: var(--bezel);
  border-radius: 46px;
  padding: 11px;
  box-shadow: inset 0 0 0 2.5px var(--ring-strong), 0 30px 70px rgba(0, 0, 0, .55);
  position: relative;
}
.phone-full .island { top: 20px; width: 80px; height: 23px; }
.phone-full .phone-screen { border-radius: 36px; }

.hiw {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 64px;
  padding-bottom: 64px;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.hiw h2 { font-size: 34px; text-align: center; margin: 0 0 40px; }
.hiw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hiw-card { background: var(--card); border-radius: 18px; padding: 28px; }
.hiw-num { font-family: 'Archivo', sans-serif; font-weight: 900; font-size: 34px; line-height: 1; margin-bottom: 8px; }
.hiw-num.n1 { color: var(--pink); }
.hiw-num.n2 { color: var(--yellow); }
.hiw-num.n3 { color: var(--green); }
.hiw-card h3 { color: #fff; font-weight: 900; font-size: 19px; margin: 0 0 8px; }
.hiw-card p { color: var(--muted); font-size: 15px; font-weight: 700; line-height: 1.6; margin: 0; }

.why {
  max-width: 860px;
  margin: 0 auto;
  padding-top: 64px;
  padding-bottom: 64px;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  text-align: center;
}
.why-bolt { width: 64px; margin-bottom: 20px; }
.why h2 { font-size: 34px; margin: 0 0 16px; }
.why p { color: var(--muted); font-size: 18px; font-weight: 700; line-height: 1.7; margin: 0 0 14px; }
.why p:last-child { margin-bottom: 0; }

.cta-band {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 56px;
  padding-bottom: 56px;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  text-align: center;
}
.cta-band h2 { font-size: 36px; margin: 0 0 10px; }
.cta-band p { color: var(--pink-tint); font-size: 18px; font-weight: 700; margin: 0 0 26px; }
.cta-band p a { color: #fff; border-bottom: 2px solid var(--yellow); padding-bottom: 1px; }
.cta-band p a:hover { color: #fff; }

/* ---------- 404 ---------- */

.notfound {
  min-height: 55vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px var(--gutter);
}
.notfound-bolt { width: 72px; margin-bottom: 22px; }
.notfound h1 { font-size: 44px; margin: 0 0 12px; }
.notfound p { color: var(--muted); font-size: 18px; font-weight: 700; margin: 0 0 28px; }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .float-card { display: none; }
  .modes-grid { grid-template-columns: repeat(2, 1fr); }
  .daily-band { flex-direction: column; align-items: stretch; gap: 36px; }
  .whatis { flex-direction: column; text-align: center; gap: 36px; }
  .whatis-card { margin: 0 auto; }
  .daily-hero { grid-template-columns: 1fr; gap: 40px; }
  .hiw-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --gutter: 24px; --gutter-nav: 20px; }

  .topbar-inner { flex-direction: column; gap: 14px; padding-top: 14px; padding-bottom: 14px; }
  .nav-links { gap: 18px; font-size: 14px; flex-wrap: wrap; justify-content: center; }
  .btn-pill { padding: 9px 18px; }

  .hero h1 { font-size: 34px; }
  .hero-sub { font-size: 18px; }
  .hero-actions { flex-direction: column; gap: 14px; margin-bottom: 40px; }

  .phone-fan { gap: 12px; }
  .phone {
    width: 30vw;
    border-radius: 22px 22px 0 0;
    padding: 5px 5px 0;
    box-shadow: inset 0 0 0 1.5px var(--ring), 0 18px 36px rgba(0, 0, 0, .5);
  }
  .phone .phone-screen { border-radius: 18px 18px 0 0; }
  .phone-left { margin-right: -6vw; }
  .phone-right { margin-left: -6vw; }
  .phone-center { width: 32vw; border-radius: 24px 24px 0 0; padding: 6px 6px 0; }
  .phone-center .phone-screen { border-radius: 19px 19px 0 0; }
  .island { width: 36px; height: 11px; top: 9px; }
  .phone-center .island { width: 40px; height: 12px; top: 10px; }

  .daily-band h2 { font-size: 30px; }
  .countdown { font-size: 40px; }
  .countdown-card { padding: 26px 28px; }

  .modes-grid { grid-template-columns: 1fr; }
  .modes h2, .whatis h2, .faq h2, .hiw h2, .why h2,
  .cta-mid h2, .cta-band h2, .cta-final h2 { font-size: 28px; }
  .daily-band h2 { font-size: 28px; }
  .page-head h1, .daily-hero h1 { font-size: 34px; }
  .lede { font-size: 17px; }
  .sec-860 h2 { font-size: 26px; }
  .score-grid { grid-template-columns: 1fr; }

  .cta-actions { flex-direction: column; }
  .daily-hero-actions { flex-direction: column; align-items: flex-start; }

  .whatis-card { width: 150px; }
  .setup-card { padding: 20px; }
  .phone-full { width: 240px; }

  .footer-inner { flex-direction: column; text-align: center; gap: 16px; }
  .foot-links { justify-content: center; gap: 14px 22px; }
}
