/* ============================================================
   VICE CITY TAKEOVER — Miami Florida Living
   Temporary theme layer: Nov 18 – Dec 31, 2026 (GTA VI launch)
   Revert = redeploy the pre-theme build. The /vice-city-miami
   guide page stays live after the theme comes down.
   ============================================================ */

:root {
  --vc-pink: #ff2e88;
  --vc-pink-soft: #ff7ab8;
  --vc-cyan: #2ee6d6;
  --vc-orange: #ff9a3d;
  --vc-deep: #170b31;
  --vc-plum: #3d1160;
}

/* ---------- takeover banner (all pages) ---------- */
.vc-banner {
  background: linear-gradient(92deg, #170b31 0%, #3d1160 30%, #a4136e 62%, #ff5e3a 100%);
  color: #fff;
  font-family: "Public Sans", sans-serif;
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
  padding: 10px 16px;
  position: relative;
  z-index: 60;
}
.vc-banner b { letter-spacing: .14em; font-size: 12.5px; text-transform: uppercase; }
.vc-banner a {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid var(--vc-cyan);
  white-space: nowrap;
}
.vc-banner a:hover { color: var(--vc-cyan); }

/* ---------- site-wide dusk grade while the theme runs ---------- */
.topbar { background: var(--vc-deep); }
.hero .veil, .area-hero .veil {
  background: linear-gradient(180deg, rgba(23,11,49,.18) 0%, rgba(61,17,96,.28) 55%, rgba(164,19,110,.38) 100%);
}
.hero h1 .script, .area-hero h1 { text-shadow: 0 2px 22px rgba(255,46,136,.35); }
.ticker b { color: #c2185b; }

/* ---------- homepage feature band ---------- */
.vc-band {
  display: grid;
  grid-template-columns: minmax(0, 380px) 1fr;
  gap: 26px;
  align-items: center;
  background: linear-gradient(120deg, #170b31 0%, #2a0e4a 55%, #57164f 100%);
  border-radius: 20px;
  padding: 26px;
  color: #f6eefc;
  overflow: hidden;
}
.vc-band img {
  width: 100%;
  height: 100%;
  max-height: 460px;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 14px;
  display: block;
  box-shadow: 0 12px 40px rgba(0,0,0,.45);
}
.vc-band .kicker { color: var(--vc-cyan); }
.vc-band h2 { color: #fff; margin: 6px 0 10px; }
.vc-band p { color: #e7d9f7; margin: 0 0 16px; max-width: 56ch; }
.vc-band .btn-vc {
  display: inline-block;
  background: var(--vc-pink);
  color: #fff;
  font-weight: 800;
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(255,46,136,.45);
}
.vc-band .btn-vc:hover { background: #ff5aa2; }
@media (max-width: 760px) {
  .vc-band { grid-template-columns: 1fr; padding: 20px; }
  .vc-band img { max-height: 340px; }
}

/* ---------- vice city guide page components ---------- */
.vc-chip {
  display: inline-block;
  background: var(--vc-deep);
  color: var(--vc-cyan);
  font-family: "Public Sans", sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(46,230,214,.5);
}
.vc-table-wrap { overflow-x: auto; margin: 18px 0 6px; }
table.vc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15.5px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
table.vc-table th, table.vc-table td { padding: 11px 14px; text-align: left; vertical-align: top; }
table.vc-table thead th {
  background: var(--vc-deep);
  color: #fff;
  font-size: 12.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
table.vc-table tbody tr:nth-child(even) { background: var(--surface-2); }
table.vc-table td b { color: var(--ink); }
table.vc-table .game { color: #a4136e; font-weight: 800; white-space: nowrap; }

.vc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.vc-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.vc-card img { width: 100%; height: 210px; object-fit: cover; object-position: center 22%; display: block; }
.vc-card .pad { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.vc-card h3 { margin: 2px 0 0; font-size: 20px; }
.vc-card p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.vc-card .do { color: var(--ink); font-size: 14.5px; }
.vc-card .do b { color: #a4136e; }

.vc-launch { display: grid; gap: 12px; margin-top: 16px; }
.vc-launch .ev2 {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 5px solid var(--vc-pink);
  border-radius: 12px;
  padding: 14px 16px;
}
.vc-launch .ev2 h3 { margin: 0 0 4px; font-size: 17px; }
.vc-launch .ev2 p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }

.vc-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.vc-gallery img { width: 100%; height: 320px; object-fit: cover; object-position: center 22%; border-radius: 14px; display: block; }
@media (max-width: 700px) { .vc-gallery img { height: 220px; } }

.vc-note {
  background: #fdf3e7;
  border: 1px solid #f0d9b5;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14px;
  color: #6b543a;
  margin-top: 22px;
}

/* ---------- game mode: stepping into the game (guide page only) ---------- */
section[data-view="vice-city-miami"] .area-hero { position: relative; }
.vc-hud {
  position: absolute; top: 0; left: 0; right: 0; z-index: 3;
  display: flex; justify-content: space-between; gap: 12px;
  padding: 12px 18px;
  font-family: "Public Sans", sans-serif; font-size: 12px; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase; color: var(--vc-cyan);
  background: linear-gradient(180deg, rgba(23,11,49,.72), rgba(23,11,49,0));
  text-shadow: 0 1px 10px rgba(0,0,0,.5);
  pointer-events: none;
}
.vc-hud .vc-hud-stars { color: var(--vc-orange); white-space: nowrap; }
.vc-hud .vc-hud-stars em { color: #fff; font-style: normal; letter-spacing: .06em; }
.vc-start {
  margin: 14px 0 0; font-family: "Public Sans", sans-serif; font-weight: 800;
  font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--vc-cyan);
  animation: vcblink 1.15s steps(2, start) infinite;
}
@keyframes vcblink { to { visibility: hidden; } }
.vc-kicker {
  margin: 0 0 6px; font-family: "Public Sans", sans-serif; font-size: 12.5px;
  font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: #c2185b;
}
.vc-passed {
  margin: 0 0 6px; font-family: "Public Sans", sans-serif; font-size: 13px;
  font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: var(--vc-orange);
}
section[data-view="vice-city-miami"] .vc-gallery img:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 700px) { .vc-hud { font-size: 10.5px; padding: 10px 12px; } }

/* ============================================================
   GAME MODE — the whole guide page steps into the game.
   Scoped to the Vice City guide section (and its explore
   block) so the rest of the hub keeps the standard design.
   Skin only: copy, structure and SEO are unchanged.
   ============================================================ */
section[data-view="vice-city-miami"],
section[aria-labelledby="explore-vice-city"] {
  --surface: #1e0f3a;
  --surface-2: #28154d;
  --ink: #f5eefd;
  --ink-soft: #cfc0ef;
  --line: rgba(255,255,255,.16);
  color-scheme: dark;
}
section[data-view="vice-city-miami"] {
  background: linear-gradient(180deg, #170b31 0%, #1d0a38 34%, #2a0e42 68%, #170b31 100%);
  color: #f5eefd;
  padding-bottom: 10px;
}
section[aria-labelledby="explore-vice-city"] { color: #f5eefd; }
section[aria-labelledby="explore-vice-city"] a { color: var(--vc-cyan); }

section[data-view="vice-city-miami"] h2 {
  color: #fff;
  text-shadow: 0 0 26px rgba(255,46,136,.35);
}
section[data-view="vice-city-miami"] h3 { color: #fff; }
section[data-view="vice-city-miami"] a { color: var(--vc-cyan); }
section[data-view="vice-city-miami"] .crumbs { color: #b9a8e8; }
section[data-view="vice-city-miami"] .crumbs a { color: var(--vc-pink-soft); }
section[data-view="vice-city-miami"] .prose p { color: var(--ink-soft); }
section[data-view="vice-city-miami"] .sec-head p { color: #b9a8e8; }

/* identity + menu-style calls to action */
section[data-view="vice-city-miami"] .identity {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(46,230,214,.35);
  border-radius: 16px;
  padding: 20px;
}
section[data-view="vice-city-miami"] .btn-kw {
  background: var(--vc-pink); color: #fff;
  box-shadow: 0 6px 24px rgba(255,46,136,.4);
}
section[data-view="vice-city-miami"] .btn-ghost {
  border: 1.5px solid var(--vc-cyan); color: var(--vc-cyan); background: transparent;
}

/* quickfacts become dark HUD chips */
section[data-view="vice-city-miami"] .quickfacts span {
  background: rgba(23,11,49,.65);
  border: 1px solid rgba(255,255,255,.18);
  color: #e9defc;
}
section[data-view="vice-city-miami"] .quickfacts b { color: var(--vc-cyan); }

/* player stats strip */
.vc-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 18px 0 4px;
}
.vc-stats div {
  background: linear-gradient(160deg, rgba(255,46,136,.16), rgba(46,230,214,.08));
  border: 1px solid rgba(255,255,255,.18); border-radius: 14px;
  padding: 14px 10px; text-align: center;
}
.vc-stats b {
  display: block; font-family: "Fraunces", serif; font-size: 30px; line-height: 1;
  color: var(--vc-pink-soft); text-shadow: 0 0 18px rgba(255,46,136,.45);
}
.vc-stats span {
  display: block; margin-top: 6px; font-family: "Public Sans", sans-serif; font-size: 11px;
  font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #cfc0ef;
}
@media (max-width: 700px) { .vc-stats { grid-template-columns: repeat(2, 1fr); } }

/* mission cards on dark */
section[data-view="vice-city-miami"] .vc-card {
  background: var(--surface); border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 10px 34px rgba(0,0,0,.35);
}
section[data-view="vice-city-miami"] .vc-card .do { color: #f5eefd; }
section[data-view="vice-city-miami"] .vc-card .do b { color: var(--vc-cyan); }

/* map table on dark */
section[data-view="vice-city-miami"] table.vc-table { background: var(--surface); border-color: rgba(255,255,255,.14); }
section[data-view="vice-city-miami"] table.vc-table td { color: var(--ink-soft); }
section[data-view="vice-city-miami"] table.vc-table td b { color: #fff; }
section[data-view="vice-city-miami"] table.vc-table .game { color: var(--vc-pink-soft); }
section[data-view="vice-city-miami"] table.vc-table tbody tr:nth-child(even) { background: rgba(255,255,255,.045); }

/* launch-week side missions on dark */
section[data-view="vice-city-miami"] .vc-launch .ev2 { background: var(--surface); border-color: rgba(255,255,255,.14); border-left-color: var(--vc-pink); }
section[data-view="vice-city-miami"] .vc-launch .ev2 p { color: var(--ink-soft); }

/* FAQ on dark */
section[data-view="vice-city-miami"] .qa { background: var(--surface); border-color: rgba(255,255,255,.14); }
section[data-view="vice-city-miami"] .qa summary { color: #fff; }
section[data-view="vice-city-miami"] .qa .ans p { color: var(--ink-soft); }

/* closing bands on dark */
section[data-view="vice-city-miami"] .contact-band { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); }
section[data-view="vice-city-miami"] .more-areas a { border-color: rgba(46,230,214,.45); color: var(--vc-cyan); }
section[data-view="vice-city-miami"] .vc-note { background: rgba(255,154,61,.1); border-color: rgba(255,154,61,.35); color: #e8cfa5; }
section[data-view="vice-city-miami"] .guide-signoff { background: #fff; border-radius: 14px; padding: 14px 18px; }

/* minimap badge, fixed corner — pure decoration */
.vc-minimap {
  position: fixed; right: 16px; bottom: 16px; z-index: 55;
  width: 76px; height: 76px; border-radius: 50%;
  border: 2px solid rgba(46,230,214,.85);
  background:
    radial-gradient(circle at 62% 38%, rgba(255,46,136,.95) 0 4px, transparent 5px),
    repeating-radial-gradient(circle at 50% 50%, rgba(46,230,214,.16) 0 1px, transparent 1px 18px),
    radial-gradient(circle at 50% 50%, #241145 0%, #170b31 78%);
  box-shadow: 0 10px 30px rgba(0,0,0,.5), inset 0 0 18px rgba(46,230,214,.25);
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.vc-minimap span {
  font-family: ui-monospace, "SF Mono", Menlo, monospace; font-weight: 700; font-size: 15px;
  letter-spacing: .12em; color: var(--vc-cyan); text-shadow: 0 0 10px rgba(46,230,214,.8);
}
@media (max-width: 700px) { .vc-minimap { width: 60px; height: 60px; } .vc-minimap span { font-size: 12px; } }

/* game mode: page chrome on the guide page only (the SPA has no
   vice-city view, so :has() scopes this to the standalone page) */
body:has(section[data-view="vice-city-miami"]) { background: #170b31; }
body:has(section[data-view="vice-city-miami"]) header.site-head {
  background: rgba(23,11,49,.94);
  border-bottom: 1px solid rgba(255,255,255,.14);
}
body:has(section[data-view="vice-city-miami"]) .wordmark { color: #f5eefd; }
body:has(section[data-view="vice-city-miami"]) .wordmark .wm-sub span { color: #b9a8e8; }
body:has(section[data-view="vice-city-miami"]) nav.main a,
body:has(section[data-view="vice-city-miami"]) nav.main button.navlink { color: #f5eefd; }
body:has(section[data-view="vice-city-miami"]) nav.main a:hover,
body:has(section[data-view="vice-city-miami"]) nav.main button.navlink:hover { color: var(--vc-pink-soft); }
body:has(section[data-view="vice-city-miami"]) nav.main a[aria-current="page"] {
  background: rgba(255,46,136,.28); color: #fff;
}
section[aria-labelledby="explore-vice-city"] .mini-card h3 { color: var(--vc-pink-soft); }
section[data-view="vice-city-miami"] .contact-band .phones a { color: var(--vc-cyan); }

/* collectibles: show the FULL images, never cropped */
section[data-view="vice-city-miami"] .vc-gallery { align-items: start; }
section[data-view="vice-city-miami"] .vc-gallery img {
  height: auto; object-fit: initial; object-position: initial;
}

/* mission cards: full images, never cropped (Jayson's call) */
section[data-view="vice-city-miami"] .vc-card img {
  height: auto; object-fit: initial; object-position: initial;
}
section[data-view="vice-city-miami"] .vc-grid { align-items: start; }

/* guide hero: dedicated banner composition — the full cover
   lettering shows, nothing cropped */
section[data-view="vice-city-miami"] .area-hero > img { height: auto; }

/* neon logo: the signoff panel goes away, the glow sits on the dark page */
section[data-view="vice-city-miami"] .guide-signoff { background: transparent; padding: 0; }

/* neon flicker — a real sign buzz: long steady burn, brief dips */
@keyframes vc-neon-flicker {
  0%, 6.4%, 8.2%, 41.8%, 43.4%, 100% { opacity: 1; filter: brightness(1); }
  6.8% { opacity: .45; filter: brightness(.6); }
  7.3% { opacity: .85; filter: brightness(.85); }
  7.7% { opacity: .6; filter: brightness(.7); }
  42.4% { opacity: .65; filter: brightness(.75); }
}
section[data-view="vice-city-miami"] .guide-signoff img {
  animation: vc-neon-flicker 7s linear infinite;
}
body:has(section[data-view="vice-city-miami"]) header.site-head .wordmark img.logo {
  animation: vc-neon-flicker 9s linear infinite; animation-delay: 2.3s;
}
@media (prefers-reduced-motion: reduce) {
  section[data-view="vice-city-miami"] .guide-signoff img,
  body:has(section[data-view="vice-city-miami"]) header.site-head .wordmark img.logo { animation: none; }
}

/* vice-script logo (white / pink outline / black shadow): no flicker */
section[data-view="vice-city-miami"] .guide-signoff img,
body:has(section[data-view="vice-city-miami"]) header.site-head .wordmark img.logo { animation: none; }

/* ---------- food run (guide page) ---------- */
.vc-food-map { margin: 18px 0 4px; }
.vc-food-map img { width: 100%; height: auto; display: block; border-radius: 16px; }
.vc-food { display: grid; gap: 12px; margin-top: 16px; }
.vc-food-item {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line);
  border-left: 5px solid var(--vc-pink); border-radius: 12px; padding: 14px 16px;
}
.vc-food-num {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%;
  background: #1a0826; color: #fff; border: 2px solid var(--vc-cyan);
  font-family: "Public Sans", sans-serif; font-weight: 800; font-size: 16px;
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.vc-food-item h3 { margin: 0 0 2px; font-size: 17px; }
.vc-food-item .vc-food-where { margin: 0 0 4px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #c2185b; }
.vc-food-item p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }
section[data-view="vice-city-miami"] .vc-food-item { background: var(--surface); border-color: rgba(255,255,255,.14); border-left-color: var(--vc-pink); }
section[data-view="vice-city-miami"] .vc-food-item p { color: var(--ink-soft); }
section[data-view="vice-city-miami"] .vc-food-item .vc-food-where { color: var(--vc-cyan); }
