/* V1 — Arcade Bounty & Bento Studio (inspired by Red Arcade, Higgsfield, Discord Quests) */
@font-face {
  font-family: "Anton";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/anton-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-var.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --bg: #07070b;
  --bg-glow-a: rgb(255 46 136 / 0.16);
  --bg-glow-b: rgb(212 255 0 / 0.12);
  --surface: #0f1018;
  --card: #141622;
  --card-2: #1b1e2e;
  --accent: #d4ff00;
  --accent-ink: #07070b;
  --hot: #ff2e88;
  --hot-ink: #ffffff;
  --cyan: #22d3ee;
  --text: #f7f8fc;
  --muted: #aab2c8;
  --line: rgb(255 255 255 / 0.12);
  --line-strong: rgb(212 255 0 / 0.45);
  --mark-bg-0: #2a0f52;
  --mark-bg-1: #c42476;
  --mark-bg-2: #ff8a3d;
  --mark-sun-0: #ffd25a;
  --mark-sun-1: #ff2e88;
  --mark-land: #14051f;
  --radius: 16px;
}

[data-brand="lip"] {
  --bg: #040b0e;
  --bg-glow-a: rgb(0 245 212 / 0.18);
  --bg-glow-b: rgb(255 183 3 / 0.12);
  --surface: #081319;
  --card: #0c1b23;
  --card-2: #122631;
  --accent: #00f5d4;
  --accent-ink: #041016;
  --hot: #ffb703;
  --hot-ink: #070a0d;
  --cyan: #38bdf8;
  --muted: #a6c4cc;
  --line: rgb(0 245 212 / 0.16);
  --line-strong: rgb(0 245 212 / 0.5);
  --mark-bg-0: #041d26;
  --mark-bg-1: #0b5a68;
  --mark-bg-2: #00f5d4;
  --mark-sun-0: #ffb703;
  --mark-sun-1: #00f5d4;
  --mark-land: #031117;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color: var(--text); font-family: "Inter", system-ui, sans-serif; line-height: 1.5; }
body {
  margin: 0;
  min-block-size: 100svh;
  background:
    radial-gradient(60rem 36rem at 8% -4%, var(--bg-glow-a), transparent 65%),
    radial-gradient(50rem 32rem at 92% 4%, var(--bg-glow-b), transparent 60%),
    var(--bg);
  overflow-x: clip;
}
img, video { display: block; max-inline-size: 100%; }
a { color: inherit; }

.v1-wrap {
  inline-size: min(1380px, calc(100% - 2rem));
  margin-inline: auto;
}

/* ---------- Floating Pill Header ---------- */
.v1-header {
  position: sticky;
  inset-block-start: 0.75rem;
  z-index: 40;
  padding-block: 0.75rem 0;
}
.v1-header__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  padding: 0.65rem 0.9rem 0.65rem 1rem;
  border-radius: 999px;
  background: rgb(15 16 24 / 0.86);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 32px rgb(0 0 0 / 0.45);
}
[data-brand="lip"] .v1-header__bar { background: rgb(8 19 25 / 0.88); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  min-inline-size: 0;
}
.brand__mark { inline-size: 38px; block-size: 38px; flex: none; }
.brand__name {
  display: grid;
  font-weight: 800;
  font-size: 0.96rem;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.brand__name small {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.v1-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
}
.v1-nav__link {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--muted);
  transition: color 0.16s ease, background 0.16s ease;
}
.v1-nav__link:hover { color: var(--text); background: rgb(255 255 255 / 0.08); }

.v1-countdown {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.06);
  border: 1px solid var(--line);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text);
}
.v1-dot {
  inline-size: 7px;
  block-size: 7px;
  border-radius: 50%;
  background: var(--hot);
  box-shadow: 0 0 10px var(--hot);
}

.v1-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-block-size: 40px;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.v1-btn:active { transform: translateY(1px); }
.v1-btn--volt {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 8px 24px rgb(212 255 0 / 0.2);
}
[data-brand="lip"] .v1-btn--volt { box-shadow: 0 8px 24px rgb(0 245 212 / 0.22); }
.v1-btn--volt:hover { transform: translateY(-1px); filter: brightness(1.06); }
.v1-btn--ghost {
  background: var(--card-2);
  color: var(--text);
  border-color: var(--line);
}
.v1-btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Asymmetric Split Studio Hero ---------- */
.v1-hero {
  padding-block: 1.8rem 2.2rem;
}
.v1-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}
@media (width >= 64rem) {
  .v1-hero__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
    gap: 2rem;
    align-items: stretch;
  }
}

.v1-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.05rem;
  min-inline-size: 0;
}
.v1-kicker {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.34rem 0.72rem;
  border-radius: 6px;
  background: rgb(255 46 136 / 0.14);
  border: 1px solid rgb(255 46 136 / 0.4);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}
[data-brand="lip"] .v1-kicker {
  background: rgb(255 183 3 / 0.14);
  border-color: rgb(255 183 3 / 0.45);
}

.v1-title {
  margin: 0;
  font-family: "Anton", system-ui, sans-serif;
  font-size: clamp(2.85rem, 5.4vw, 5.1rem);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.v1-title .hl {
  color: var(--accent);
  font-style: italic;
}

.v1-lede {
  margin: 0;
  font-size: 1.02rem;
  color: var(--muted);
  max-inline-size: 46ch;
}

/* Inline Red Arcade-inspired Drop + URL Portal */
.v1-portal {
  display: grid;
  gap: 0.7rem;
  padding: 1rem;
  border-radius: var(--radius);
  background: linear-gradient(155deg, var(--card) 0%, var(--surface) 100%);
  border: 1px solid var(--line-strong);
  box-shadow: 0 18px 40px rgb(0 0 0 / 0.45);
}
.v1-portal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
}
.v1-portal__form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.v1-portal__input {
  flex: 1 1 14rem;
  min-inline-size: 0;
  min-block-size: 44px;
  padding: 0.6rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
}
.v1-portal__input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.v1-portal__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
}
.v1-portal__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.v1-portal__specs li {
  padding: 0.24rem 0.55rem;
  border-radius: 6px;
  background: rgb(255 255 255 / 0.06);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--muted);
}

/* Right Column: Flush 16:9 Showreel Stage + Chapter Switcher */
.v1-stage {
  display: grid;
  grid-template-rows: auto 1fr auto;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 24px 56px rgb(0 0 0 / 0.6);
  min-inline-size: 0;
}
.v1-stage__chrome {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.65rem 0.9rem;
  background: var(--card);
  border-block-end: 1px solid var(--line);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.74rem;
  font-weight: 700;
}
.v1-stage__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.7rem;
  min-inline-size: 0;
}
.v1-stage__clock {
  color: var(--muted);
}
.v1-stage__controls {
  display: inline-flex;
  gap: 0.4rem;
}
.v1-chip-btn {
  min-block-size: 30px;
  padding: 0.2rem 0.65rem;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}
.v1-chip-btn:hover { border-color: var(--accent); color: var(--accent); }

.v1-stage__viewport {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}
.v1-stage__viewport video {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}
.v1-stage__mocktag {
  padding: 0.2rem 0.52rem;
  border-radius: 5px;
  background: var(--hot);
  color: var(--hot-ink);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.v1-chapters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(115px, 1fr));
  gap: 0.4rem;
  padding: 0.65rem;
  background: var(--card);
  border-block-start: 1px solid var(--line);
}
.v1-chap {
  display: grid;
  gap: 0.12rem;
  text-align: start;
  padding: 0.48rem 0.62rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.v1-chap small {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--accent);
}
.v1-chap strong {
  font-size: 0.78rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.v1-chap[data-active="true"] {
  background: rgb(212 255 0 / 0.12);
  border-color: var(--accent);
}
[data-brand="lip"] .v1-chap[data-active="true"] {
  background: rgb(0 245 212 / 0.14);
}

/* ---------- Kinetic Marquee ---------- */
.v1-marquee {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 1rem;
  background: var(--accent);
  color: var(--accent-ink);
  border-block: 2px solid #000;
  overflow: hidden;
}
.v1-marquee__track {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  flex: 1 1 auto;
  overflow: hidden;
  white-space: nowrap;
  font-family: "Anton", system-ui, sans-serif;
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 94%, transparent 100%);
}
.v1-marquee__btn {
  flex: none;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  border: 1px solid rgb(0 0 0 / 0.35);
  background: rgb(0 0 0 / 0.12);
  color: var(--accent-ink);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
}

/* ---------- 12-Col Video Bento ---------- */
.v1-section {
  padding-block: 2.6rem 3rem;
}
.v1-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-block-end: 1.4rem;
}
.v1-h2 {
  margin: 0;
  font-family: "Anton", system-ui, sans-serif;
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}
.v1-sub { margin: 0; color: var(--muted); font-size: 0.94rem; }

.v1-bento {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}
@media (width >= 44rem) {
  .v1-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (width >= 64rem) {
  .v1-bento { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .bento-wide { grid-column: span 8; }
  .bento-tall { grid-column: span 4; grid-row: span 2; }
  .bento-third { grid-column: span 4; }
  .bento-five { grid-column: span 5; }
  .bento-seven { grid-column: span 7; }
}

.v1-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  min-inline-size: 0;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.v1-card:hover { border-color: var(--accent); transform: translateY(-2px); }

.v1-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}
.bento-tall .v1-card__media {
  aspect-ratio: 9 / 16;
  flex: 1 1 auto;
  min-block-size: 28rem;
}
@media (width >= 64rem) {
  .bento-tall .v1-card__media { aspect-ratio: auto; }
}
.v1-card__media video {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}
.v1-card__badge {
  position: absolute;
  inset-block-start: 0.7rem;
  inset-inline-start: 0.7rem;
  padding: 0.22rem 0.55rem;
  border-radius: 5px;
  background: rgb(7 7 11 / 0.85);
  border: 1px solid rgb(255 255 255 / 0.2);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent);
}
.v1-card__play-hint {
  position: absolute;
  inset-block-end: 0.7rem;
  inset-inline-end: 0.7rem;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: rgb(7 7 11 / 0.82);
  color: var(--text);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.7rem;
  font-weight: 700;
}
.v1-card__body {
  display: grid;
  gap: 0.32rem;
  padding: 0.9rem 1rem 1rem;
}
.v1-card__meta {
  margin: 0;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--cyan);
  text-transform: uppercase;
}
.v1-card__title {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.25;
}
.v1-card__desc { margin: 0; font-size: 0.88rem; color: var(--muted); }

/* Bounty + Discord wide card */
.v1-bounty {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  background: linear-gradient(135deg, var(--card-2) 0%, var(--card) 100%);
}
@media (width >= 48rem) {
  .v1-bounty { grid-template-columns: 0.92fr 1.25fr; }
}
.v1-bounty__art {
  position: relative;
  min-block-size: 14rem;
  overflow: hidden;
}
.v1-bounty__art img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}
.v1-bounty__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.3rem;
}
.v1-bounty__tag {
  align-self: flex-start;
  margin: 0;
  padding: 0.26rem 0.6rem;
  border-radius: 6px;
  background: var(--hot);
  color: var(--hot-ink);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}
.v1-bounty__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-block-start: 0.2rem;
}

/* ---------- Footer ---------- */
.v1-footer {
  border-block-start: 1px solid var(--line);
  background: var(--surface);
  padding-block: 2.2rem 2.8rem;
}
.v1-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-block-end: 1.25rem;
}
.v1-footer nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
}
.v1-footer nav a { text-decoration: none; }
.v1-footer nav a:hover { color: var(--accent); }
.v1-disclaimer, .v1-copy {
  margin: 0.45rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
  max-inline-size: 78ch;
}
