/* The Gooner Lounge — video first, finished after-dark house */
:root {
  --pink: #ff2d6a;
  --pink-hot: #ff4d88;
  --pink-soft: #ffb7c8;
  --purple: #9b30ff;
  --cyan: #7ee7ff;
  --gold: #e8c48a;
  --gold-dim: rgba(232, 196, 138, 0.55);
  --rose: #ff2d6a;
  --blush: #ffb7d8;
  --mint: #7dffc3;
  --text: #fff6f8;
  --muted: rgba(255, 236, 242, 0.72);
  --dim: rgba(255, 236, 242, 0.42);
  --line: rgba(232, 196, 138, 0.22);
  --void: #07040a;
  --ink: #0e080c;
  --panel: rgba(10, 4, 14, 0.78);
  --ok: #3dffb5;
  --err: #ff6b8a;
  --font: "Outfit", system-ui, sans-serif;
  --display: "Unbounded", Syne, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --serif: "Fraunces", Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 64px;
  --dock-h: 62px;
  --gutter: clamp(1rem, 3.2vw, 2.2rem);
  --max: 72rem;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --glow-rose: 0 0 28px rgba(255, 45, 106, 0.35);
  --glow-pink: 0 0 40px rgba(255, 45, 149, 0.35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; min-height: 100%; overflow-x: clip; max-width: 100%; }
body {
  font-family: var(--font);
  color: var(--text);
  background: #000;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
::selection { background: var(--pink); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 90;
  padding: 0.7rem 1rem; background: var(--pink); color: #fff;
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
}
.skip:focus { top: 0.7rem; }

.bg-vid,
video.bg-vid {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100dvh !important;
  max-width: none !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
  object-position: center 16% !important;
  z-index: 0;
  pointer-events: none;
  background: #05010a;
}
.bg-veil {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% 18%, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.22) 46%, rgba(0,0,0,0.62) 100%),
    linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.12) 38%, rgba(0,0,0,.58) 100%);
}
body.clips-page .bg-veil,
body.lounge-page .bg-veil {
  background:
    radial-gradient(100% 70% at 50% 0%, rgba(0,0,0,0.22), rgba(0,0,0,0.55) 70%);
}
body.chat-page .bg-vid,
body.chat-page .bg-veil { display: none !important; }

.kicker {
  margin: 0 0 0.8rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.kicker .live {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 10px var(--ok);
}

.btn-primary, .btn-ghost, .btn-row-full {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0 1.35rem; border: 0; border-radius: 999px;
  font-family: var(--mono); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer;
  transition: transform 0.2s var(--ease), filter 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary {
  color: #1a0d08;
  background: linear-gradient(90deg, #f3d7a6, #ff9ec4 55%, #ff6aa8);
  box-shadow: 0 10px 28px rgba(255, 106, 168, 0.28);
}
.btn-primary:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-ghost {
  color: #fff;
  background: rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.22);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-row-full {
  width: 100%; color: #fff;
  background: linear-gradient(90deg, var(--pink), var(--purple));
}

.soc-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}
.soc-app-btn {
  --soc-size: 58px;
  width: var(--soc-size);
  height: var(--soc-size);
  border-radius: 18px;
  overflow: hidden;
  display: block;
  background: transparent;
  box-shadow: 0 10px 22px rgba(0,0,0,.4);
  transition: transform 0.18s var(--ease), box-shadow 0.18s ease;
}
.soc-app-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  background: transparent;
}
.soc-app-btn:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 14px 28px rgba(0,0,0,.5); }
.soc-app-btn.hot { --soc-size: 62px; }

.gl-foot {
  position: relative; z-index: 3;
  margin-top: 2.4rem; padding: 1.4rem var(--gutter) 2rem;
  text-align: center; font-family: var(--mono); font-size: 0.62rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim);
}
.gl-foot a { color: var(--gold); }

@media (max-width: 759px) {
  body.gl-has-dock {
    padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom, 0px));
  }
  .soc-app-btn { --soc-size: 52px; }
  .soc-app-btn.hot { --soc-size: 56px; }
}

#gl-intro {
  position: fixed; inset: 0; z-index: 40000; background: #05010a;
}
#gl-intro.is-out { opacity: 0; pointer-events: none; transition: opacity 0.45s ease; }
#gl-intro video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 18%; background: #05010a;
  opacity: 0;
  transition: opacity 0.35s ease;
}
#gl-intro video.is-on { opacity: 1; }
#gl-intro-skip {
  position: absolute;
  right: max(14px, env(safe-area-inset-right, 0px));
  bottom: max(18px, env(safe-area-inset-bottom, 0px));
  z-index: 2; min-height: 48px; padding: 0 1.15rem;
  border: 1px solid #ff2d95; border-radius: 12px;
  color: #fff; background: rgba(8,2,16,0.86);
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em;
  text-transform: uppercase; cursor: pointer;
}
body.gl-intro-lock { overflow: hidden !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bg-vid { display: none; }
}
