/* GTA GetAway — neon Vice City theme. Mobile first. */
:root {
  --bg: #050815;
  --bg-2: #0a1024;
  --navy: #000627;
  --pink: #ff2d7b;
  --pink-hot: #ff4ea8;
  --cyan: #2ee8ff;
  --cyan-dim: #1498b8;
  --orange: #ff7a3d;
  --sunset: #ff5d8f;
  --text: #f6f3ff;
  --muted: #9aa3c7;
  --card: rgba(10, 16, 40, 0.78);
  --line: rgba(46, 232, 255, 0.22);
  --glow-pink: 0 0 24px rgba(255, 45, 123, 0.45);
  --glow-cyan: 0 0 24px rgba(46, 232, 255, 0.35);
  --radius: 18px;
  --header-h: 72px;
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Bebas Neue", "Oswald", Impact, sans-serif;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { color: #fff; }
button { font-family: inherit; }
code, a { overflow-wrap: anywhere; }
code { font-size: 0.92em; background: rgba(46,232,255,0.08); padding: 0.1em 0.35em; border-radius: 4px; word-break: break-all; }

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--pink); color: #fff; padding: 8px 16px; z-index: 100;
}
.skip:focus { left: 12px; top: 12px; }

/* Backdrop: night grid + sunset glow */
.page-bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(255, 45, 123, 0.22), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(46, 232, 255, 0.12), transparent 50%),
    radial-gradient(ellipse 40% 30% at 0% 80%, rgba(255, 122, 61, 0.08), transparent 50%),
    var(--bg);
}
.page-bg::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(46, 232, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 232, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
  opacity: 0.6;
}

.wrap { width: min(var(--max), calc(100% - 32px)); margin-inline: auto; }
.wrap-narrow { width: min(760px, calc(100% - 32px)); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(5, 8, 21, 0.78);
  border-bottom: 1px solid var(--line);
}
.bar {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.brand img { width: 46px; height: 46px; border-radius: 50%; box-shadow: var(--glow-pink); }
.brand-text { font-family: var(--display); font-size: 1.7rem; letter-spacing: 0.06em; line-height: 1; }
.brand-gta { color: var(--cyan); margin-right: 0.15em; }
.brand:hover { color: var(--text); }

.nav-toggle {
  display: none;
  background: transparent; color: var(--text);
  border: 1px solid var(--line); border-radius: 10px;
  padding: 8px 12px; cursor: pointer;
}
#site-nav { display: flex; align-items: center; gap: 4px; }
#site-nav a {
  color: var(--muted); padding: 8px 12px; border-radius: 999px; font-weight: 500;
}
#site-nav a:hover, #site-nav a[aria-current="page"] { color: var(--text); background: rgba(255,255,255,0.05); }
#site-nav a.btn { color: #041018; }
#site-nav a.btn-ghost { color: var(--text); }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 8px; }
  #site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch;
    padding: 12px 16px 20px;
    background: rgba(5, 8, 21, 0.96);
    border-bottom: 1px solid var(--line);
    gap: 6px;
  }
  .nav-open #site-nav { display: flex; }
  #site-nav a { padding: 12px 14px; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border-radius: 999px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; line-height: 1.2;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); color: inherit; }
.btn-pink {
  background: linear-gradient(180deg, #ff5da0, var(--pink));
  color: #fff; box-shadow: var(--glow-pink);
}
.btn-pink:hover { color: #fff; }
.btn-cyan {
  background: linear-gradient(180deg, #7af3ff, var(--cyan));
  color: #041018; box-shadow: var(--glow-cyan);
}
.btn-cyan:hover { color: #041018; }
.btn-yt {
  background: #ff0033; color: #fff;
}
.btn-yt:hover { color: #fff; filter: brightness(1.08); }
.btn-twitch { background: #9146ff; color: #fff; }
.btn-twitch:hover { color: #fff; }
.btn-ghost {
  background: transparent; color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* Hero */
.hero {
  position: relative;
  padding: 48px 0 32px;
  min-height: min(78vh, 760px);
  display: flex; align-items: center;
}
.hero-art {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.hero-art img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 40%;
  opacity: 0.55;
  mask-image: linear-gradient(to bottom, #000 50%, transparent 100%);
}
.hero-art::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 40%, transparent 20%, rgba(5,8,21,0.55) 70%),
    linear-gradient(to bottom, rgba(5,8,21,0.15), rgba(5,8,21,0.92));
}
.hero .wrap { position: relative; z-index: 1; text-align: center; }
.hero-logo {
  width: min(280px, 70vw); height: auto; margin: 0 auto 12px;
  filter: drop-shadow(0 0 28px rgba(255,45,123,0.35));
}
.kicker {
  display: inline-block;
  letter-spacing: 0.22em; text-transform: uppercase;
  font-size: 0.78rem; font-weight: 600; color: var(--cyan);
  margin-bottom: 8px;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(3.2rem, 10vw, 6.4rem);
  letter-spacing: 0.04em; line-height: 0.9;
  margin: 0 0 16px;
  background: linear-gradient(180deg, #fff 20%, #ffd0e8 55%, var(--pink));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 0 rgba(0,0,0,0.35));
}
.hero .lede {
  max-width: 36rem; margin: 0 auto 24px;
  color: var(--muted); font-size: 1.08rem;
}

/* Stats */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin: 36px 0 8px;
}
.stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 14px; text-align: center;
  box-shadow: 0 0 0 1px rgba(255,45,123,0.05);
}
.stat-value {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--cyan); letter-spacing: 0.04em; line-height: 1;
}
.stat-label {
  color: var(--muted); font-size: 0.78rem; letter-spacing: 0.12em;
  text-transform: uppercase; margin-top: 6px;
}
.wanted { display: flex; justify-content: center; gap: 3px; margin-top: 6px; }
.star {
  width: 14px; height: 14px; display: inline-block;
  background: #2a3148; clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.star.on { background: #ffd34e; box-shadow: 0 0 8px #ffd34e; }

@media (max-width: 700px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
}

/* Sections */
section { padding: 48px 0; }
.section-head {
  display: flex; justify-content: space-between; align-items: end; gap: 16px;
  flex-wrap: wrap; margin-bottom: 24px;
}
h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 0.04em; margin: 0; line-height: 1;
}
h2 .accent { color: var(--pink); }
.section-head p, .sub { color: var(--muted); margin: 6px 0 0; }

/* Clip cards */
.clip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 18px;
}
.clip-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  cursor: pointer;
  color: inherit;
  display: flex; flex-direction: column;
  text-align: left;
  padding: 0; width: 100%;
  font: inherit;
}
.clip-card:hover, .clip-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--pink);
  box-shadow: var(--glow-pink);
  color: inherit; outline: none;
}
.clip-thumb {
  position: relative; aspect-ratio: 9/16;
  background: #0b1020; overflow: hidden;
}
.clip-thumb img {
  width: 100%; height: 100%; object-fit: cover;
}
.clip-thumb .play, .video-facade .play {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: linear-gradient(to top, rgba(5,8,21,0.7), transparent 50%);
}
.clip-thumb .play::after, .video-facade .play::after {
  content: "";
  width: 54px; height: 54px; border-radius: 50%;
  background: rgba(255,45,123,0.92);
  box-shadow: var(--glow-pink);
  /* play triangle */
  clip-path: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 54 54'><circle cx='27' cy='27' r='27' fill='%23ff2d7b'/><polygon points='22,16 22,38 40,27' fill='white'/></svg>");
  background-size: cover;
}
.clip-dur {
  position: absolute; right: 8px; bottom: 8px;
  background: rgba(0,0,0,0.7); color: #fff;
  font-size: 0.75rem; padding: 2px 6px; border-radius: 6px;
}
.clip-body { padding: 12px 12px 14px; }
.clip-body h3 {
  font-size: 0.95rem; line-height: 1.3; margin: 0 0 6px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.clip-meta { color: var(--muted); font-size: 0.8rem; }
.clip-meta a { color: var(--cyan); }

/* Featured / clip of the day */
.featured {
  display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: 28px; align-items: center;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 24px; padding: 20px;
  box-shadow: var(--glow-cyan);
}
.featured .clip-card {
  background: transparent; border: 0; box-shadow: none; border-radius: 16px;
}
.featured .clip-card:hover, .featured .clip-card:focus-visible {
  transform: none; box-shadow: var(--glow-pink);
}
.featured .clip-thumb { border-radius: 16px; overflow: hidden; }
.featured h3 { font-size: 1.5rem; margin: 0 0 8px; }
.badge {
  display: inline-block; font-size: 0.72rem; letter-spacing: 0.16em;
  text-transform: uppercase; font-weight: 700;
  color: #041018; background: var(--cyan);
  padding: 4px 10px; border-radius: 999px; margin-bottom: 10px;
}
@media (max-width: 720px) {
  .featured { grid-template-columns: 1fr; }
  .featured .clip-thumb { max-width: 260px; margin: 0 auto; }
}

/* Leaderboard */
.board { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.board li {
  display: grid; grid-template-columns: 48px 64px 1fr auto; gap: 12px; align-items: center;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 8px 12px;
}
.board li:hover { border-color: var(--pink); }
.rank {
  font-family: var(--display); font-size: 1.8rem; color: var(--pink); text-align: center;
}
.board .mini {
  width: 64px; height: 84px; object-fit: cover; border-radius: 8px; background: #111;
}
.board a { color: inherit; }
.board a:hover { color: var(--cyan); }
.board .views { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 0.85rem; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip {
  background: transparent; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px; cursor: pointer; font-weight: 500;
}
.chip:hover, .chip[aria-pressed="true"] {
  color: #041018; background: var(--cyan); border-color: var(--cyan);
}

/* Streamer cards */
.streamer-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px;
}
.streamer-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 18px; padding: 20px;
  display: flex; flex-direction: column; gap: 8px;
  transition: border-color 0.15s, transform 0.15s;
  color: inherit;
}
.streamer-card:hover { border-color: var(--pink); transform: translateY(-3px); color: inherit; }
.streamer-card h3 { margin: 0; font-family: var(--display); font-size: 1.8rem; letter-spacing: 0.04em; }
.live-badge {
  display: none; align-self: flex-start;
  background: #e10600; color: #fff; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em; padding: 3px 8px; border-radius: 999px;
}
.streamer-card.is-live .live-badge { display: inline-block; }
.muted { color: var(--muted); }
.count-pill {
  margin-top: auto; color: var(--cyan); font-weight: 600; font-size: 0.85rem;
}

/* Prose pages */
.prose { padding: 40px 0 64px; }
.prose h1 {
  font-family: var(--display); font-size: clamp(2.4rem, 7vw, 4rem);
  letter-spacing: 0.04em; line-height: 0.95; margin: 0 0 8px;
}
.prose h2 { font-size: 1.8rem; margin: 2em 0 0.5em; color: var(--cyan); }
.prose h2.accent, .prose h2 .accent { color: var(--pink); }
.prose p, .prose li { color: #d5daf0; }
.prose ul { padding-left: 1.15em; }
.prose .card, .card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 24px; margin: 16px 0;
}
.lead { font-size: 1.15rem; color: var(--muted); }

/* Empty / coming soon */
.empty {
  text-align: center; color: var(--muted); padding: 40px 16px;
  border: 1px dashed var(--line); border-radius: var(--radius);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 28px; margin-top: 24px;
  color: var(--muted); font-size: 0.92rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px;
  margin-bottom: 28px;
}
.site-footer h3 { color: var(--text); font-size: 0.95rem; margin: 0 0 10px; letter-spacing: 0.08em; text-transform: uppercase; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.legal { border-top: 1px solid var(--line); padding-top: 16px; font-size: 0.82rem; }
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* Lightbox */
.lightbox[hidden] { display: none; }
.lightbox {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(0,0,0,0.84);
  display: grid; place-items: center; padding: 16px;
}
.lightbox-inner {
  width: min(420px, 100%);
  background: #050815; border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden;
}
.lightbox-frame { position: relative; aspect-ratio: 9/16; background: #000; }
.lightbox-frame iframe, .lightbox-frame .lite { width: 100%; height: 100%; border: 0; }
.lightbox-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px 14px;
}
.lightbox-close {
  background: transparent; border: 1px solid var(--line); color: var(--text);
  border-radius: 999px; padding: 6px 12px; cursor: pointer;
}

/* 404 */
.crash {
  min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 48px 16px;
}
.crash h1 {
  font-family: var(--display); font-size: clamp(4rem, 16vw, 8rem);
  color: var(--pink); letter-spacing: 0.06em; margin: 0;
  text-shadow: 0 0 32px rgba(255,45,123,0.5);
}
.crash p { color: var(--muted); font-size: 1.15rem; }

/* App / legal card on home */
.app-note h2 { color: var(--cyan); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .clip-card, .streamer-card { transition: none; }
  .btn:hover, .clip-card:hover { transform: none; }
}

@media (max-width: 700px) {
  .hero { padding-top: 28px; min-height: 0; }
  .hero-logo { width: min(220px, 62vw); }
}

/* ---- News + Tips (Nov 2026) ---- */
.stat-note { font-size: 0.72rem; color: var(--muted); margin-top: 2px; min-height: 1em; }
.news-strip { padding-top: 28px; padding-bottom: 8px; }
.news-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.news-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; transition: border-color .2s, box-shadow .2s; }
.news-card:hover { border-color: var(--pink); box-shadow: var(--glow-pink); }
.news-card h3 { margin: 0; font-size: 1.05rem; line-height: 1.3; }
.news-card p { margin: 0; color: var(--muted); font-size: 0.93rem; line-height: 1.5; }
.news-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.news-meta time { color: var(--cyan); }
.news-src { margin-top: auto; font-size: 0.88rem; }
.news-src a { color: var(--cyan); }
.news-list { display: grid; gap: 14px; margin-top: 18px; }
.news-list .news-card { padding: 18px 22px; }
.news-list .news-card h3 { font-size: 1.25rem; }
.tag { display: inline-block; font-size: 0.68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; border-radius: 999px; padding: 2px 9px; border: 1px solid var(--line); }
.tag-official { color: #0b0f22; background: var(--cyan); border-color: var(--cyan); }
.tag-press { color: var(--pink-hot); border-color: rgba(255,45,123,.5); }
.tips-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.tip-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.tip-card h3 { margin: 0; font-size: 1.15rem; }
.tip-card p { margin: 0; color: var(--text); opacity: .92; line-height: 1.55; font-size: .95rem; }
.tip-cat { color: var(--cyan); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.tip-sources { font-size: .85rem; color: var(--muted); }
.tip-sources a { color: var(--cyan); }
.tip-card[hidden] { display: none; }
.small-note { font-size: .85rem; margin-top: 22px; }
@media (max-width: 860px) { .news-row { grid-template-columns: 1fr; } .tips-grid { grid-template-columns: 1fr; } }
@media (min-width: 961px) and (max-width: 1140px) { #site-nav { gap: 2px; } #site-nav a { padding-left: 9px; padding-right: 9px; } }
.x-badge { position: absolute; top: 10px; left: 10px; background: #000; color: #fff; border: 1px solid rgba(255,255,255,.35); border-radius: 8px; font-weight: 700; font-size: .85rem; padding: 2px 8px; z-index: 2; }
a.clip-card { color: inherit; text-decoration: none; display: block; }
.tabs { display: flex; gap: 8px; margin: 18px 0 6px; border-bottom: 1px solid var(--line); }
.tab { background: transparent; border: 0; color: var(--muted); font: inherit; font-weight: 600; padding: 10px 14px; cursor: pointer; border-bottom: 3px solid transparent; display: inline-flex; gap: 8px; align-items: center; }
.tab[aria-selected="true"] { color: var(--text); border-bottom-color: var(--pink); }
.tab .count-pill { font-size: .72rem; }
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.video-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.video-card[hidden] { display: none; }
.video-facade { position: relative; display: block; width: 100%; aspect-ratio: 16/9; padding: 0; border: 0; background: #000; cursor: pointer; overflow: hidden; }
.video-facade img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-frame { aspect-ratio: 16/9; background: #000; }
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; }
.video-body h3 { margin: 0; font-size: 1rem; line-height: 1.35; }
@media (max-width: 900px) { .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .video-grid { grid-template-columns: 1fr; } }
