/* NGMI homepage: a link-in-bio column in the NGMI dark system (styles.css).
   Rhythm borrowed from jackychou.com: profile, one stat pill, icons, then
   labeled sections of tappable rows with a few featured cards mixed in. */

/* Decorative layers sit under everything and never take clicks. */
.hub-glow, .hub-grain { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
/* The glow belongs to the header and scrolls away with it; only the grain stays fixed. */
.hub-glow {
  position: absolute; inset: 0 0 auto 0; height: 760px;
  background: radial-gradient(ellipse 70% 60% at 50% -12%, rgba(224,44,16,.16) 0%, transparent 70%);
}
.hub-grain {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E");
}

.hub { position: relative; z-index: 1; width: min(560px, calc(100% - 32px)); margin: 0 auto; padding: 56px 0 28px; }

/* ---------- Profile ---------- */
.hub-head { text-align: center; }
.hub-cover {
  display: block; width: 112px; height: 112px; margin: 0 auto 24px;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 18px 60px rgba(224,44,16,.28);
}
.hub-h1 { display: flex; flex-direction: column; align-items: center; font-weight: 400; }
.hub-word { display: block; font-size: clamp(54px, 14vw, 76px); line-height: .88; letter-spacing: -.01em; }
.hub-sub { display: flex; align-items: center; gap: 10px; width: 230px; margin-top: 10px; }
.hub-sub .bar { flex: 1; height: 8px; background: var(--ink); }
.hub-sub .word { font-size: 16px; letter-spacing: .08em; white-space: nowrap; }
.hub-bio { color: #c9c9c4; font-size: 14px; line-height: 1.6; max-width: 40ch; margin: 20px auto 0; }

.hub-pill {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 16px;
  padding: 6px 12px; border: 1px solid var(--line); background: var(--cell);
  font-size: 11px; font-weight: 600; letter-spacing: .06em; color: var(--muted);
  font-variant-numeric: tabular-nums; transition: border-color .15s;
}
.hub-pill:hover { border-color: #3a3a36; }
.hub-pill .sym { font-family: 'Archivo Black', sans-serif; font-size: 12px; color: var(--ink); letter-spacing: .02em; }
.hub-pill .chg { color: var(--red); font-weight: 700; }
.hub-pill svg { display: block; width: 46px; height: 16px; }

.hub-icons { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }
.hub-icons a {
  width: 36px; height: 36px; border: 1px solid #33332f; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: #cfcfca;
  transition: border-color .15s, color .15s;
}
.hub-icons a:hover { border-color: #777; color: #fff; }
.hub-icons svg { width: 15px; height: 15px; fill: currentColor; }

/* ---------- Section labels: [ LABEL ] between hairlines ---------- */
.hub-label { display: flex; align-items: center; gap: 14px; margin: 44px 0 14px; }
.hub-label::before, .hub-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.hub-label .tag { font-size: 10.5px; }

/* ---------- Link rows ---------- */
.row {
  display: flex; align-items: center; gap: 14px; padding: 12px 14px;
  border: 1px solid var(--line); background: var(--cell);
  transition: border-color .15s, background .15s;
}
.row + .row { margin-top: 8px; }
.row:hover { border-color: #3a3a36; background: #121211; }
.tile {
  width: 42px; height: 42px; flex: none; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: #161615; border: 1px solid #1f1f1d;
}
.tile svg { width: 20px; height: 20px; fill: currentColor; }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile.face img { filter: grayscale(1) contrast(1.05); }
.row .txt { flex: 1; min-width: 0; }
.row .t {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Archivo Black', sans-serif; font-size: 13.5px;
  text-transform: uppercase; letter-spacing: .02em; line-height: 1.25;
}
.row .d { display: block; margin-top: 3px; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .go { flex: none; color: #55554f; font-size: 16px; transition: transform .15s, color .15s; }
.row:hover .go { color: var(--ink); transform: translateX(3px); }
.badge {
  font-family: 'Inter', sans-serif; font-size: 9px; font-weight: 700; letter-spacing: .16em;
  padding: 2px 6px; background: rgba(224,44,16,.14); color: var(--red); white-space: nowrap;
}
.row.featured {
  box-shadow: inset 0 0 0 1px var(--red);
  background: radial-gradient(ellipse 80% 120% at 100% 50%, rgba(224,44,16,.12) 0%, transparent 70%), var(--cell);
}

/* Episode rows: wide 16:9 thumbnail, two-line title */
.row.ep .tile { width: 88px; height: 50px; }
.row.ep .t {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-size: 12.5px; letter-spacing: .01em;
}
.row.ep .d { font-size: 10.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #6f6f69; }

/* ---------- Latest episode card ---------- */
.ep-hero { border: 1px solid var(--line); background: var(--cell); }
.ep-hero .thumb { display: block; aspect-ratio: 16 / 9; border: 0; border-bottom: 1px solid var(--line); }
.ep-hero .body { padding: 18px 18px 20px; }
.ep-hero .meta { font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #6f6f69; }
.ep-hero h2 { font-size: 21px; line-height: 1.08; margin: 10px 0; }
.ep-hero p {
  color: var(--muted); font-size: 13px; line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ep-hero .btn-row { margin-top: 18px; }

/* ---------- Sponsor card ---------- */
.sp-card {
  border: 1px solid var(--line); text-align: center; padding: 30px 22px 26px;
  background: radial-gradient(ellipse 80% 70% at 50% 120%, rgba(224,44,16,.18) 0%, transparent 70%), var(--cell);
}
.sp-card .kicker-red { font-size: 10px; letter-spacing: .24em; }
.sp-card h2 { font-size: clamp(22px, 5.6vw, 27px); line-height: 1.04; margin: 14px auto 0; max-width: 21ch; }
.sp-card p { color: #c9c9c4; font-size: 13px; line-height: 1.6; max-width: 44ch; margin: 12px auto 0; }
.sp-slot {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
  padding: 5px 11px; border: 1px solid var(--line); background: #0a0a0a;
  font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #c9c9c4;
}
.sp-slot[hidden] { display: none; }
.sp-slot .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: hub-pulse 1.6s ease-in-out infinite; }
@keyframes hub-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.sp-card .btn-row { justify-content: center; margin-top: 20px; }

/* ---------- Footer ---------- */
/* Shared by every page. */
.hub-foot { display: block; margin-top: 48px; padding: 22px 0 0; border-top: 1px solid var(--line); text-align: center; }
.hub-foot .logo { font-size: 14px; }
.hub-foot p { margin-top: 10px; font-size: 11.5px; color: #6f6f69; letter-spacing: .04em; }
.hub a.u { color: #c9c9c4; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 640px) {
  .hub { padding-top: 40px; }
  .hub-label { margin-top: 38px; }
  .row.ep .tile { width: 80px; height: 45px; }
}

/* =====================================================================
   Sub-pages (sponsor, Mission Control) on the same system.
   ===================================================================== */

/* Header: same NGMI. lockup, smaller, with the page name in the bars. */
.hub-back {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 26px;
  font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); transition: color .15s;
}
.hub-back:hover { color: var(--ink); }
.hub-head.sub .hub-cover { width: 80px; height: 80px; margin-bottom: 20px; }
.hub-head.sub .hub-word { font-size: clamp(46px, 12vw, 60px); }
.hub-head.sub .hub-sub { width: auto; }
.hub-head.sub .hub-sub .bar { flex: none; width: 34px; }
.hub-cta { justify-content: center; margin-top: 20px; }
.hub-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: hub-pulse 1.6s ease-in-out infinite; }

/* Number cells: 2 up (stats) or 4 up (countdown). */
.cells { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cell { border: 1px solid var(--line); background: var(--cell); padding: 18px 16px; }
.cell b { display: block; font-family: 'Archivo Black', sans-serif; font-weight: 400; font-size: 28px; line-height: 1; font-variant-numeric: tabular-nums; }
.cell span { display: block; margin-top: 9px; font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.cells.count { grid-template-columns: repeat(4, 1fr); }
.cells.count .cell { text-align: center; padding: 20px 8px; }
.cells.count b { font-size: clamp(30px, 8vw, 40px); }
.hub-note { margin-top: 10px; font-size: 12px; line-height: 1.55; color: #6f6f69; text-align: center; }
.hub-note a { color: #c9c9c4; text-decoration: underline; text-underline-offset: 3px; }

/* Rows that inform rather than link: no hover lift, no arrow, text may wrap. */
.row.static:hover { border-color: var(--line); background: var(--cell); }
.row.multi { align-items: flex-start; }
.row.multi .d, .row.wrap .d { white-space: normal; overflow: visible; line-height: 1.5; }
.tile.word { font-size: 9px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.tile.num { font-family: 'Archivo Black', sans-serif; font-size: 18px; color: var(--red); }

/* Status chip at the end of a row (slot boards). */
.chip {
  flex: none; font-size: 9.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  padding: 3px 9px; background: rgba(224,44,16,.14); color: var(--red);
}
.row.taken .t { color: #4a4a44; text-decoration: line-through; }
.row.taken .chip { background: #1a1a19; color: var(--muted); }
.row.slot .tile { font-size: 9px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* Pricing cards. */
.price { border: 1px solid var(--line); background: var(--cell); padding: 22px 20px 22px; }
.price + .price { margin-top: 8px; }
.price.featured {
  box-shadow: inset 0 0 0 1px var(--red);
  background: radial-gradient(ellipse 90% 70% at 50% 120%, rgba(224,44,16,.16) 0%, transparent 70%), var(--cell);
}
.price .k { display: flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #6f6f69; }
.price.featured .k { color: var(--red); }
.price .num { font-family: 'Archivo Black', sans-serif; font-size: clamp(38px, 10vw, 46px); line-height: 1; margin-top: 12px; }
.price .per { margin-top: 7px; font-size: 10.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.price ul { list-style: none; margin: 18px 0 20px; }
.price li { position: relative; padding: 6px 0 6px 20px; font-size: 13px; color: #c9c9c4; }
.price li::before { content: ""; position: absolute; left: 0; top: 13px; width: 7px; height: 7px; background: var(--red); }
.price .btn-row { margin-top: 0; }
.price .btn { flex: 1 1 auto; text-align: center; }

/* Embedded player. */
.embed-card { border: 1px solid var(--line); background: var(--cell); padding: 8px; }
.embed-card iframe { display: block; width: 100%; height: 352px; border: 0; }

/* Footer nav shared by every page. */
.hub-foot .links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin-top: 14px; }
.hub-foot .links a { font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); transition: color .15s; }
.hub-foot .links a:hover { color: var(--ink); }
.hub-foot .links + .links { margin-top: 8px; }

@media (max-width: 640px) {
  .hub-foot .links { gap: 6px 10px; }
  .hub-foot .links a { letter-spacing: .1em; }
  .cells.count { grid-template-columns: 1fr 1fr; }
  .cell b { font-size: 26px; }
}
