@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@500;700&display=swap");

:root {
  --ink: #0f0f0f;
  --ink-92: rgba(15, 15, 15, 0.92);
  --bg: #111111;
  --map: #171717;
  --panel: #141414;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f3f3f3;
  --mute: #9a9a9a;
  --dim: #6c6c6c;
  --blue: #2f7bff;
  --blue-2: #1a63e8;
  --blue-fill: rgba(47, 123, 255, 0.16);
  --gold: #e8c220;
  --ok: #3c9a4a;
  --road: #c4b06a;
  --r: 8px;
  --font: "Roboto", "Segoe UI", sans-serif;
  --chrome: 80px;
  --street: 38px;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

*,
*::before,
*::after { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
}

body {
  font-family: var(--font);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.45;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 700; }

.hud-chrome {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--chrome);
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 1.1rem 0 0.85rem;
  background: var(--ink);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  height: 100%;
  padding: 0 0.2rem;
}

.brand img {
  height: 52px;
  width: auto;
  max-width: min(240px, 42vw);
  object-fit: contain;
  mix-blend-mode: screen;
}

.hud-tabs {
  display: flex;
  align-items: center;
  gap: 0.28rem;
  flex: 1;
  min-width: 0;
}

.hud-tab {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 0.9rem;
  border-radius: var(--r);
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.hud-tab.is-on {
  color: #fff;
  background: var(--blue);
}

.hud-end {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: auto;
  flex-shrink: 0;
}

.live {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  height: 40px;
  padding: 0 0.75rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.82);
}

.led {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(232, 194, 32, 0.18);
}

.street-bar {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  height: var(--street);
  padding: 0 1.1rem;
  background: var(--ink-92);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.street-bar .rose {
  width: 18px;
  height: 18px;
  object-fit: contain;
  opacity: 0.9;
  flex-shrink: 0;
}

.street-bar .place { letter-spacing: 0.08em; }
.street-bar .zone { color: rgba(255, 255, 255, 0.55); font-weight: 500; }
.street-bar .sep {
  width: 1px;
  height: 14px;
  background: var(--line-strong);
  flex-shrink: 0;
}
.street-bar .data {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
}
.street-bar .data b { color: var(--gold); font-weight: 700; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 40px;
  padding: 0 1rem;
  border: 1px solid transparent;
  border-radius: var(--r);
  background: #1c1c1c;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:hover { background: #262626; }
.btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.btn-primary {
  background: var(--blue);
  border-color: var(--blue);
}
.btn-primary:hover { background: var(--blue-2); border-color: var(--blue-2); }

.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: rgba(255, 255, 255, 0.85);
}
.btn-ghost:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  height: 24px;
  padding: 0 0.5rem;
  border-radius: var(--r);
  background: #1c1c1c;
  border: 1px solid var(--line);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.75);
}
.chip.is-gold { color: var(--gold); border-color: rgba(232, 194, 32, 0.35); }
.chip.is-on { background: var(--blue); border-color: var(--blue); color: #fff; }

.key {
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  padding: 0 0.35rem;
  background: #1a1a1a;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.45);
}

.stage {
  position: relative;
  min-height: calc(100vh - var(--chrome) - var(--street));
  display: flex;
  align-items: center;
  padding: 2.2rem 1.25rem 2.6rem;
  overflow: hidden;
  background: var(--map);
}

.stage-bg {
  position: absolute;
  inset: 0;
  background: url("../img/vinewood.jpg") center 42% / cover no-repeat;
  filter: saturate(0.78) contrast(1.06) brightness(0.55);
  transform: scale(1.04);
  pointer-events: none;
}

.stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.28) 0%, rgba(17, 17, 17, 0.12) 40%, rgba(17, 17, 17, 0.78) 100%);
  pointer-events: none;
}

.stage-inner {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  margin: 0 auto;
  display: grid;
  justify-items: center;
  gap: 1.15rem;
}

.hero-mark {
  height: 132px;
  width: auto;
  max-width: min(320px, 78vw);
  object-fit: contain;
  mix-blend-mode: screen;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.55));
  pointer-events: none;
}

.brief {
  width: 100%;
  padding: 1.35rem 1.4rem 1.3rem;
  background: var(--ink-92);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.85rem;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
}
.kicker img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.brief h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0 0 0.55rem;
}

.count-label {
  margin: 0 0 0.75rem;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}
.count-label b { color: var(--gold); font-weight: 700; }

.lede {
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  margin: 0 0 1.2rem;
}
.lede b { color: #fff; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 1.05rem;
}

.countdown {
  display: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0 0 1.15rem;
}
.countdown.is-on { display: grid; }
.tick {
  padding: 0.8rem 0.4rem 0.7rem;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--r);
  text-align: center;
}
.tick b {
  display: block;
  font-size: clamp(1.5rem, 4vw, 2.05rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.tick span {
  display: block;
  margin-top: 0.32rem;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
}

.brief-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.city {
  position: relative;
  z-index: 1;
  padding: 0 1.25rem 2.4rem;
  margin-top: -0.4rem;
}

.city-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 1180px;
  margin: 0 auto 1.1rem;
}

.copy-item {
  padding: 1rem 1.05rem 1.05rem;
  background: var(--ink-92);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.copy-item h3 {
  margin: 0.55rem 0 0.35rem;
  font-size: 16px;
}
.copy-item p {
  color: var(--mute);
  font-size: 13.5px;
}

.feeds {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  max-width: 1180px;
  margin: 0 auto;
}

.feed {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: #0a0a0a;
  aspect-ratio: 16 / 10;
}
.feed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.04);
}
.feed figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 1.6rem 0.65rem 0.55rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.82));
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.feed figcaption span { color: var(--gold); }
.feed figcaption b { color: #fff; font-weight: 700; }

.hud-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 1.2rem;
  padding: 0.95rem 1.25rem 1.15rem;
  background: var(--ink);
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.hud-foot b { color: var(--mute); }

@media (max-width: 920px) {
  .city-grid, .feeds { grid-template-columns: 1fr 1fr; }
  .street-bar .zone, .street-bar .sep:nth-of-type(1) { display: none; }
}

@media (max-width: 640px) {
  .hud-chrome { height: 64px; padding: 0 0.7rem; }
  .brand img { height: 40px; }
  .hud-tab { display: none; }
  .live { display: none; }
  .street-bar { padding: 0 0.7rem; }
  .street-bar .data span:not(:nth-child(2)) { display: none; }
  .stage { padding: 1.2rem 0.75rem 1.8rem; }
  .hero-mark { height: 96px; }
  .city { padding: 0 0.75rem 1.6rem; }
  .city-grid, .feeds { grid-template-columns: 1fr; }
  .brief { padding: 1.1rem 1rem 1.05rem; }
  .countdown { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hud-foot { padding: 0.85rem 0.75rem 1.1rem; }
}
