/* =========================================================
   VikasCircle — Page layouts
   ========================================================= */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: var(--sp-8) 0 var(--sp-7);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--sp-7);
  align-items: center;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
}
.hero-eyebrow .pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-pink);
  box-shadow: 0 0 0 0 rgba(255,77,141,.6);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,77,141,.55); }
  70%  { box-shadow: 0 0 0 10px rgba(255,77,141,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,77,141,0); }
}

.hero h1 {
  font-size: clamp(2.4rem, 4.5vw, var(--fs-4xl));
  margin-bottom: var(--sp-4);
}
.hero h1 .accent {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead { font-size: var(--fs-md); max-width: 46ch; margin-bottom: var(--sp-6); }
.hero-cta { display: flex; gap: var(--sp-3); flex-wrap: wrap; margin-bottom: var(--sp-6); }

.hero-stats { display: flex; gap: var(--sp-6); }
.hero-stats div strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  color: var(--text-primary);
}
.hero-stats div span {
  font-size: var(--fs-xs);
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* Hero illustration stage */
.hero-stage {
  position: relative;
  aspect-ratio: 810 / 1012;
  max-width: 480px;
  margin: 0 auto;
  border-radius: var(--r-lg);
  background: var(--bg-surface);
  border: 1px solid rgba(255,255,255,.07);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.hero-illustration {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.hero-stage-label {
  position: absolute;
  bottom: var(--sp-4);
  left: var(--sp-4);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-faint);
  background: rgba(13,11,31,.6);
  padding: .4em .8em;
  border-radius: var(--r-sm);
  backdrop-filter: blur(4px);
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: var(--sp-6); }
  .hero-stage { max-width: 420px; margin: 0 auto; }
}

/* ---------- Player shell (play.html) ---------- */
.player-shell {
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: #000;
}
.player-bar {
  height: 60px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: 0 var(--sp-5);
  background: var(--bg-surface);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.player-bar .game-title-live {
  font-family: var(--font-display);
  font-weight: 600;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.player-frame-wrap {
  flex: 1;
  position: relative;
  background: #000;
}
.player-frame-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.player-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: var(--sp-3);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--bg-void);
  transition: opacity var(--dur-med);
}
.spinner {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 3px solid var(--bg-surface-3);
  border-top-color: var(--accent-violet);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.player-more {
  padding: var(--sp-7) 0;
}

/* ---------- Simple content pages (about) ---------- */
.page-hero {
  padding: var(--sp-8) 0 var(--sp-6);
  text-align: center;
}
.page-hero h1 { font-size: var(--fs-3xl); }
.page-hero p { max-width: 60ch; margin: 0 auto; }

.content-block { padding: var(--sp-6) 0; max-width: 760px; margin: 0 auto; }
.content-block h2 { font-size: var(--fs-xl); margin-top: var(--sp-6); }

/* Additive rules for long-form legal content (Terms, Privacy, Cookies).
   Uses only existing tokens — no new colors/fonts introduced. */
.legal-effective {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: calc(var(--sp-3) * -1) 0 var(--sp-6);
}
.content-block h3 {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  color: var(--text-primary);
  margin: var(--sp-5) 0 var(--sp-2);
}
.content-block ul {
  list-style: disc;
  padding-left: 1.3em;
  margin: 0 0 var(--sp-4);
}
.content-block ul li { margin-bottom: var(--sp-2); color: var(--text-muted); }
.content-block address {
  font-style: normal;
  color: var(--text-muted);
  line-height: 1.6;
}
.content-block a { color: var(--accent-cyan); }
.content-block a:hover { text-decoration: underline; }

/* ---------- 404 ---------- */
.error-page {
  min-height: 80vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--sp-6);
}
.error-page .code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 14vw, 8rem);
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
