/* ShortFuseHQ link page. No build step, no external requests. */

:root {
  --bg: #fbf7ee;
  --surface: #ffffff;
  --surface-2: #f3ecdc;
  --ink: #1c1830;
  --muted: #5b566f;
  --line: #e2d8c3;
  --accent: #4b3fd1;
  --accent-ink: #ffffff;
  --fuse: #f2b705;
  --fuse-ink: #1c1830;
  --focus: #4b3fd1;
  --shadow: 0 1px 2px rgba(28, 24, 48, .06), 0 8px 24px rgba(28, 24, 48, .08);
  --radius: 14px;
  --gutter: 16px;
  /* Rounded system face where the OS ships one (Apple), otherwise the system UI face.
     No locally-installed fonts in the stack, so every Android/Windows visitor and every
     QA machine sees the same fallback. */
  --display: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0d1c;
    --surface: #191630;
    --surface-2: #221e3e;
    --ink: #f4efe2;
    --muted: #aaa4c3;
    --line: #2f2a52;
    --accent: #a29aff;
    --accent-ink: #0f0d1c;
    --fuse: #f5c431;
    --fuse-ink: #1c1830;
    --focus: #f5c431;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 28px rgba(0, 0, 0, .35);
  }
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.55 var(--body);
  overflow-wrap: anywhere;
}

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

a { color: var(--accent); }
a:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 8px;
}

.wrap { width: 100%; max-width: 1080px; margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 24px; } }

.skip {
  position: absolute; left: 8px; top: -48px; z-index: 10;
  background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 8px;
  text-decoration: none; font-weight: 600;
}
.skip:focus { top: 8px; }

/* Header */
.site-head { border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; }
.brand {
  display: inline-flex; align-items: center; min-height: 44px;
  font-family: var(--display); font-weight: 800; font-size: 1.05rem; letter-spacing: .01em;
  color: var(--ink); text-decoration: none;
}
.nav { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 10px 10px; color: var(--muted); text-decoration: none;
  font-size: .95rem; font-weight: 600; border-radius: 8px;
}
.nav a:hover { color: var(--ink); background: var(--surface-2); }

/* Hero */
.hero { padding-block: 32px 40px; }
.hero-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 860px) {
  .hero { padding-block: 64px 72px; }
  /* Art column gives way below ~950px so the title column never drops under 300px. */
  .hero-grid { grid-template-columns: minmax(300px, 1fr) minmax(0, 540px); gap: 48px; }
}
.eyebrow {
  margin: 0 0 6px; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
h1 {
  margin: 0; font-family: var(--display); font-weight: 800; line-height: 1;
  font-size: clamp(2.8rem, 12vw, 5.2rem); letter-spacing: .01em;
}
/* Two-column hero: size to the title column. "HUFFBOLT" is ~5.4em wide in system UI faces at 800. */
@media (min-width: 860px) { h1 { font-size: clamp(2.8rem, 5.6vw, 4.5rem); } }
h1::after {
  content: ""; display: block; width: 64px; height: 6px; margin-top: 16px;
  background: var(--fuse); border-radius: 3px;
}
.lede { margin: 18px 0 0; font-size: 1.15rem; max-width: 34ch; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

.hero-art { margin: 0; }
.hero-art img {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow); background: var(--surface-2);
  border: 1px solid var(--line);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent;
  transition: transform .12s ease, background-color .12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-fuse { background: var(--fuse); color: var(--fuse-ink); }

/* Sections */
.section { padding-block: 36px; border-top: 1px solid var(--line); }
@media (min-width: 860px) { .section { padding-block: 56px; } }
h2 {
  margin: 0 0 20px; font-family: var(--display); font-weight: 800;
  font-size: clamp(1.5rem, 5vw, 2rem); line-height: 1.15;
}

/* Watch */
.platforms {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
}
.platforms .wide { grid-column: span 2; }
@media (max-width: 359px) {
  .platforms { grid-template-columns: 1fr; }
  .platforms .wide { grid-column: auto; }
}
@media (min-width: 720px) { .platforms { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.tile {
  position: relative; display: flex; flex-direction: column; justify-content: center; gap: 2px;
  min-height: 72px; height: 100%; padding: 14px; overflow-wrap: normal;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); text-decoration: none;
  transition: border-color .12s ease, transform .12s ease;
}
.tile::after {
  content: "\2197"; position: absolute; right: 12px; top: 10px;
  color: var(--muted); font-size: 1rem;
}
.tile:hover { border-color: var(--accent); transform: translateY(-1px); }
/* Only the name line sits beside the corner arrow, so only it reserves room for it;
   the sub-line gets the full width (fits "@xTheMarketMaker" on a 360px phone). */
.tile-name { font-weight: 700; font-size: 1.05rem; padding-right: 14px; }
.tile-tag { margin-left: 4px; font-size: .8rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.tile-sub { color: var(--muted); font-size: .875rem; overflow-wrap: break-word; }
.tile-feature { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.tile-feature .tile-sub, .tile-feature::after { color: var(--accent-ink); opacity: .85; }
.tile-alt { border: 2px solid var(--accent); }

/* "Most watched" sits in the platform grid as a 2-column item (last row, beside Rumble and X). */
.most {
  display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center;
  height: 100%; padding: 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); text-decoration: none;
  transition: border-color .12s ease;
}
.most:hover { border-color: var(--accent); }
.most img { width: 96px; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 10px; background: var(--surface-2); }
@media (min-width: 720px) {
  /* Compact on the 4-column grid so the row matches the platform tiles. */
  .most { grid-template-columns: 56px 1fr; gap: 14px; padding: 8px 14px 8px 8px; }
  .most img { width: 56px; aspect-ratio: 1 / 1; object-position: 50% 80%; border-radius: 8px; }
  .most-title { font-size: 1rem; }
}
.most-text { display: flex; flex-direction: column; gap: 4px; }
.most-label { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.most-title { font-weight: 700; font-size: 1.05rem; line-height: 1.3; }

/* Episodes */
.season-h {
  margin: 0 0 14px; font-family: var(--display); font-weight: 800;
  font-size: 1.15rem; line-height: 1.3; color: var(--muted);
}
.eps + .season-h { margin-top: 36px; }
.eps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr; gap: 20px;
}
@media (min-width: 600px) { .eps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .eps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ep { display: flex; flex-direction: column; gap: 6px; color: var(--ink); text-decoration: none; }
.ep img {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 6px;
  border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--line);
  transition: transform .12s ease;
}
.ep:hover img { transform: translateY(-2px); }
.ep-meta { color: var(--muted); font-size: .85rem; font-weight: 600; }
.ep-title { font-weight: 700; font-size: 1.05rem; line-height: 1.3; }
.ep:hover .ep-title { text-decoration: underline; text-underline-offset: 3px; }

/* Shop */
.panel {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.panel h2 { margin: 0; }
/* Status label, not a button: the shop address is not live yet. */
.soon {
  display: inline-flex; align-items: center; min-height: 48px; margin: 0;
  padding: 10px 20px; border-radius: 999px; font-weight: 700;
  background: var(--surface-2); color: var(--ink); border: 2px dashed var(--fuse);
}

/* Real things (affiliate picks) */
.picks {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr; gap: 12px;
  align-items: start; /* each card keeps its own height; no empty box beside an image card */
}
@media (min-width: 600px) { .picks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .picks { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pick {
  display: flex; flex-direction: column; gap: 4px; padding: 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); text-decoration: none;
}
.pick:hover { border-color: var(--accent); }
.pick img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; margin-bottom: 8px; background: var(--surface-2); }
.pick-ad { font-size: .8rem; font-weight: 700; color: var(--muted); }
.pick-name { font-weight: 700; font-size: 1.05rem; }
.pick-blurb { color: var(--muted); font-size: .95rem; }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding-block: 28px 40px; color: var(--muted); font-size: .9rem; }
.site-foot p { margin: 0 0 8px; max-width: 68ch; }
.foot-brand { color: var(--ink); font-weight: 700; }

/* 404 */
.notfound { padding-block: 72px; }
.notfound p { color: var(--muted); }

/* Most watched Shorts: a strip of vertical covers (2 across on phones, 4 on wide screens) */
.shorts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 860px) { .shorts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.short { display: flex; flex-direction: column; gap: 8px; color: var(--ink); text-decoration: none; }
.short img { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--surface-2); transition: transform .15s ease; }
.short:hover img { transform: translateY(-2px); }
.short-title { font-weight: 700; font-size: .95rem; line-height: 1.3; }
.short:hover .short-title { text-decoration: underline; text-underline-offset: 3px; }
