/* Shared styles for every kickooo page (moved out of index.html). */
/* ---- p1ck-style theme (self-contained, no build step) ---- */
:root {
  --bg: #020617;        /* slate-950 */
  --panel: rgba(15, 23, 42, 0.5);  /* slate-900/50 */
  --border: rgba(255, 255, 255, 0.10);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.55);
  --amber: #fbbf24;
  --rose: #f43f5e;
  --header-h: 80px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Ambient gradient blobs (mirrors the p1ck app background) */
.ambient {
  position: fixed;
  inset: 0;
  z-index: -10;
  pointer-events: none;
  overflow: hidden;
}
.ambient span {
  position: absolute;
  width: 18rem;
  height: 18rem;
  border-radius: 9999px;
  filter: blur(64px);
}
.ambient .b1 { left: -6rem; top: -6rem; background: rgba(244, 63, 94, 0.10); }
.ambient .b2 { right: -4rem; top: 8rem; background: rgba(251, 191, 36, 0.10); }
.ambient .b3 { bottom: -4rem; left: 50%; transform: translateX(-50%); background: rgba(99, 102, 241, 0.10); }

.app {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* ---- Header ---- */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(2, 6, 23, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.brand img { height: 64px; width: auto; display: block; }
.brand-text {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.01em;
  background: linear-gradient(90deg, var(--amber), var(--rose));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Pulsing LIVE badge */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 9999px;
  background: rgba(244, 63, 94, 0.12);
  color: #fda4af;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.dot {
  position: relative;
  display: inline-flex;
  height: 8px;
  width: 8px;
}
.dot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: var(--rose);
  opacity: 0.75;
  animation: ping 1.4s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.dot::after {
  content: "";
  position: relative;
  display: inline-flex;
  height: 8px;
  width: 8px;
  border-radius: 9999px;
  background: var(--rose);
}
@keyframes ping {
  75%, 100% { transform: scale(2.2); opacity: 0; }
}

.spacer { flex: 1; }

/* Hype badge: glowing "follow us" pill + Facebook/Instagram entry points.
   Deliberately loud — it exists to catch the eye, unlike the rest of the
   chrome. The border is a conic gradient that rotates via the --angle
   custom property, giving a "flowing light" ring (::before, masked to
   just the border stroke). */
@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
.hype-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 18px;
  border-radius: 9999px;
  border: 2px solid transparent;
  background-image: linear-gradient(135deg, rgba(88, 28, 99, 0.88), rgba(8, 4, 20, 0.94));
  background-clip: padding-box;
  box-shadow: 0 0 14px rgba(244, 63, 94, 0.35), 0 0 26px rgba(251, 191, 36, 0.16);
  flex: 0 1 auto;
  min-width: 0;
}
.hype-badge::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(from var(--angle), var(--rose), var(--amber), var(--rose), var(--amber), var(--rose));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: flowBorder 3s linear infinite;
  pointer-events: none;
}
@keyframes flowBorder {
  to { --angle: 360deg; }
}
/* Negative vertical margin lets the icon overflow the pill without making it taller */
.hype-badge__icon { height: 44px; width: auto; margin: -11px 0; position: relative; z-index: 1; flex: 0 0 auto; display: block; transform-origin: 50% 100%; animation: happyHop 3.4s ease-in-out infinite; }
/* Irregular cycle: crouch, big jump, small double hop, then a rest — reads as excited, not metronomic */
@keyframes happyHop {
  0%   { transform: translateY(0) scale(1, 1); }
  6%   { transform: translateY(0) scale(1.12, 0.86); }
  16%  { transform: translateY(-14px) scale(0.92, 1.1) rotate(-8deg); }
  24%  { transform: translateY(-16px) scale(0.95, 1.06) rotate(6deg); }
  32%  { transform: translateY(0) scale(1.1, 0.9); }
  37%  { transform: translateY(0) scale(1, 1); }
  42%  { transform: translateY(-6px) rotate(-4deg); }
  47%  { transform: translateY(0) scale(1.05, 0.95); }
  51%  { transform: translateY(-4px) rotate(3deg); }
  55%  { transform: translateY(0) scale(1, 1); }
  100% { transform: translateY(0) scale(1, 1); }
}
@media (prefers-reduced-motion: reduce) {
  .hype-badge__icon { animation: none; }
}
.hype-badge__text {
  margin: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hype-badge__text mark {
  background: none;
  color: var(--amber);
}
.hype-badge__socials {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  color: #fff;
  text-decoration: none;
  transition: transform 0.15s ease;
}
.social-link:hover { transform: scale(1.08); }
.social-link svg { width: 15px; height: 15px; display: block; }
.social-link.fb { background: #1877f2; }
.social-link.ig {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

@media (max-width: 860px) {
  header { padding: 0 12px; gap: 8px; }
  .live-badge { display: none; }
  .hype-badge {
    gap: 6px;
    padding: 6px 12px;
  }
  .hype-badge__text { font-size: 12px; }
  .hype-badge__icon { height: 36px; margin: -9px 0; }
  .hype-badge__rest { display: none; }
  .hype-badge__socials { gap: 6px; }
  .hype-badge .social-link { width: 24px; height: 24px; }
  .hype-badge .social-link svg { width: 13px; height: 13px; }
}

/* Floating ad -> p1ck.io, pinned to the bottom-right corner */
.ad {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 30;
  display: inline-flex;
  line-height: 0;
}
.ad img {
  height: 150px;
  width: auto;
  object-fit: contain;
  display: block;
  background: transparent;
}
@media (max-width: 640px) {
  .ad { right: 10px; bottom: 10px; }
  .ad img { height: 96px; }
}

/* Floating ad -> jumpadisini.com, stacked directly above the p1ck.io ad */
.ad-jumpa {
  bottom: calc(16px + 150px + 12px);
}
@media (max-width: 640px) {
  .ad-jumpa { bottom: calc(10px + 96px + 8px); }
}

/* ---- Stream area: full-bleed, fills everything below the header ---- */
main {
  flex: 1;
  min-height: 0;
}
.stream {
  position: relative;
  height: 100%;
  width: 100%;
  background: #000;
}
.stream iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
/* ---- Login wall + account menu ---- */
[hidden] { display: none !important; }

.auth-nav { position: relative; flex: 0 0 auto; }
.auth-nav__btn {
  padding: 8px 16px;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: linear-gradient(90deg, var(--amber), var(--rose));
  color: #0b0b12;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.auth-nav__btn--account {
  background: var(--panel);
  color: var(--text);
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: min(320px, calc(100vw - 24px));
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(2, 6, 23, 0.96);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  z-index: 40;
}

.auth-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(2, 6, 23, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.auth-card {
  position: relative;
  width: min(400px, 100%);
  max-height: 100%;
  overflow-y: auto;
  padding: 28px 24px 22px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.92);
  box-shadow: 0 0 30px rgba(244, 63, 94, 0.25), 0 0 60px rgba(251, 191, 36, 0.12);
}
.auth-title {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(90deg, var(--amber), var(--rose));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.auth-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 24px;
  cursor: pointer;
}
.auth-step, .acct-edit { display: flex; flex-direction: column; gap: 10px; }
.auth-note, .auth-fine { margin: 0; color: var(--muted); font-size: 14px; }
.auth-fine { font-size: 12px; }
.auth-fine a { color: var(--amber); }
/* min-width: 0 + width: 100% let fields shrink in narrow cards; an input's
   default intrinsic width (~20ch) otherwise pushes the phone field out. */
.auth-field { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); flex: 1; min-width: 0; }
.auth-field input {
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(2, 6, 23, 0.7);
  color: var(--text);
  font: inherit;
  font-size: 16px; /* >=16px stops iOS zoom on focus */
}
.auth-field input:focus { outline: 2px solid var(--amber); outline-offset: 1px; }
.auth-phone { display: flex; gap: 8px; }
.auth-field--cc { flex: 0 0 84px; }
.auth-check { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.auth-check input { margin-top: 3px; accent-color: #060b1c; }
.auth-check--consent { color: var(--muted); }
.auth-error { margin: 0; color: #fda4af; font-size: 13px; }
.auth-hint { margin: -4px 0 0; color: var(--amber); font-size: 13px; }
.auth-btn {
  padding: 12px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(90deg, var(--amber), var(--rose));
  color: #0b0b12;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.auth-btn:disabled, .auth-link:disabled { opacity: 0.55; cursor: default; }
.auth-btn.is-loading { display: flex; align-items: center; justify-content: center; gap: 8px; }
.auth-btn.is-loading:disabled { opacity: 0.9; }
.auth-btn.is-loading::before {
  content: ""; width: 14px; height: 14px; border-radius: 9999px;
  border: 2px solid rgba(11, 11, 18, 0.3); border-top-color: #0b0b12;
  animation: authSpin 0.7s linear infinite;
}
@keyframes authSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .auth-btn.is-loading::before { animation: none; } }
.auth-row { display: flex; justify-content: space-between; }
.auth-link {
  border: 0;
  background: none;
  padding: 4px 0;
  color: var(--amber);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.auth-captcha:empty { display: none; }
.auth-captcha { margin-top: 10px; }

/* ---- Account centre (read-only rows; edit forms and the notification
   page open on demand) ---- */
.acct-head { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.acct-avatar {
  flex: 0 0 40px; height: 40px; border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--amber), var(--rose));
  color: #0b0b12; font-weight: 800; font-size: 18px;
}
.acct-id { display: flex; flex-direction: column; min-width: 0; }
.acct-id strong, .acct-email { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-email { color: var(--muted); font-size: 13px; }
.acct-row {
  display: flex; align-items: center; gap: 8px; width: 100%;
  padding: 12px 0; border: 0; border-bottom: 1px solid var(--border);
  background: none; color: var(--text); font: inherit; text-align: left;
}
.acct-row--link { cursor: pointer; }
.acct-label { flex: 0 0 auto; color: var(--muted); font-size: 13px; }
.acct-value { flex: 1; min-width: 0; text-align: right; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-chevron { color: var(--muted); font-size: 18px; line-height: 1; }
.acct-edit { padding: 12px 0; border-bottom: 1px solid var(--border); }
.acct-actions { display: flex; align-items: center; gap: 16px; }
.acct-btn { padding: 8px 18px; }
.acct-foot { display: flex; align-items: center; gap: 8px; padding-top: 12px; font-size: 13px; color: var(--muted); }
.acct-foot a { color: var(--muted); }
.acct-back { border: 0; background: none; padding: 0 0 8px; color: var(--text); font: inherit; font-weight: 700; cursor: pointer; }
.acct-switch {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 14px;
}
.acct-switch input {
  appearance: none; -webkit-appearance: none; margin: 0;
  position: relative; width: 42px; height: 24px; border-radius: 9999px;
  background: var(--border); cursor: pointer; transition: background 0.15s ease;
}
.acct-switch input::before {
  content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px;
  border-radius: 9999px; background: #fff; transition: transform 0.15s ease;
}
.acct-switch input:checked { background: var(--amber); }
.acct-switch input:checked::before { transform: translateX(18px); }
.acct-switch input:disabled { opacity: 0.55; cursor: default; }

/* ---- Site footer (same markup on every page; links only to pages that
   exist, unbuilt sections are plain <span> text) ---- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  padding: 32px 16px 40px;
}
.site-footer__inner { max-width: 1100px; margin: 0 auto; }
.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.site-footer__col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.site-footer__nav a, .site-footer__nav span { color: var(--text); text-decoration: none; }
.site-footer__nav a:hover { color: var(--amber); }
.site-footer__bar { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 28px; }
.site-footer__brand { font-size: 20px; font-weight: 800; letter-spacing: 0.02em; }
.site-footer__copy { color: var(--muted); font-size: 13px; }
.site-footer__tagline, .site-footer__legal { margin: 14px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.site-footer__legal a { color: var(--muted); text-decoration: none; }
.site-footer__legal a:hover { color: var(--text); text-decoration: underline; }
@media (max-width: 640px) {
  .site-footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
}

/* ---- Content pages (SEO landing + info pages) ---- */
.page-hero { max-width: 1100px; margin: 0 auto; padding: 18px 16px 14px; }
.page-hero h1 { margin: 0 0 6px; font-size: clamp(22px, 4vw, 32px); line-height: 1.2; }
.page-hero p { margin: 0; color: var(--muted); font-size: 15px; }
.stream--page { height: min(80svh, 900px); min-height: 460px; }
.page-content { max-width: 760px; margin: 0 auto; padding: 28px 16px 48px; font-size: 16px; line-height: 1.7; }
.page-content h1 { margin: 8px 0 16px; font-size: clamp(24px, 4vw, 34px); line-height: 1.25; }
.page-content h2 { margin: 36px 0 12px; font-size: 22px; line-height: 1.3; color: var(--amber); }
.page-content h3 { margin: 20px 0 6px; font-size: 17px; }
.page-content p, .page-content li { color: rgba(255, 255, 255, 0.82); }
.page-content p { margin: 0 0 12px; }
.page-content ol, .page-content ul { padding-left: 22px; }
.page-content li { margin-bottom: 6px; }
.page-content a { color: var(--amber); }
.page-content .note { color: var(--muted); font-size: 14px; }
.kickoff-table { width: 100%; border-collapse: collapse; margin: 8px 0 12px; font-size: 14px; }
.kickoff-table th, .kickoff-table td { padding: 10px 8px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.kickoff-table th { color: var(--muted); font-weight: 600; }
@media (max-width: 640px) { .kickoff-table { font-size: 13px; } .kickoff-table th, .kickoff-table td { padding: 8px 4px; } }
