/* InfiniteSpawn.games — campaign landing system */
:root {
  --bg-deep: #061017;
  --bg-panel: rgba(12, 28, 38, 0.92);
  --bg-card: rgba(8, 22, 30, 0.65);
  --border: rgba(0, 245, 212, 0.22);
  --accent: #00f5d4;
  --accent-dim: rgba(0, 245, 212, 0.14);
  --violet: #8b5cff;
  --text: #e8f7f4;
  --muted: #8aa8a3;
  --danger: #ff6b8a;
  --radius: 14px;
  --font-sans: "Sora", system-ui, sans-serif;
  --font-display: "Chakra Petch", var(--font-sans);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(0, 245, 212, 0.08), transparent),
    radial-gradient(900px 500px at 90% 20%, rgba(139, 92, 255, 0.09), transparent),
    var(--bg-deep);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(6, 16, 23, 0.82);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: contain;
  border: 1px solid var(--border);
  background: var(--accent-dim);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  justify-content: flex-end;
}

.nav a {
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.nav a:hover {
  color: var(--accent);
  text-decoration: none;
}

/* Hero band */
.hero-band {
  padding: 2.5rem 0 1rem;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.pill {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--accent-dim);
  color: var(--accent);
  font-family: var(--font-display);
}

h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.15;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.lead {
  color: var(--muted);
  max-width: 62ch;
  margin: 0 0 1.5rem;
}

/* Layout grids */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
  }
}

.panel {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.panel h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 1.25rem 0 0.5rem;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.panel h2:first-child {
  margin-top: 0;
}

.panel p,
.panel li {
  color: var(--text);
  margin: 0.5rem 0;
}

.panel ul {
  padding-left: 1.2rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.tag {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.4rem 0.7rem;
  border-radius: 8px;
  background: rgba(139, 92, 255, 0.15);
  border: 1px solid rgba(139, 92, 255, 0.35);
  color: #d4c7ff;
}

/* Feature chips column */
.chips {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chip {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.chip-visual {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--accent-dim);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.chip-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.chip h3 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.chip p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Section titles */
.section-head {
  margin: 3rem 0 1rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  margin: 0 0 0.35rem;
  color: var(--accent);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Film strip */
.film-icons {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.film-icons .bubble {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg-card);
}

.film-icons .bubble img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.video-shell {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  border: 1px dashed rgba(0, 245, 212, 0.35);
  background: #020608;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.video-caption {
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.65rem;
}

/* CTA strip */
.cta-strip {
  margin: 2.5rem auto;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(105deg, rgba(0, 245, 212, 0.12), rgba(139, 92, 255, 0.1));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
}

.cta-strip p {
  margin: 0;
  max-width: 48ch;
  font-size: 0.95rem;
}

.store-btn img {
  height: 54px;
  width: auto;
  display: block;
  object-fit: contain;
}

.store-btn:hover {
  opacity: 0.92;
  text-decoration: none;
}

/* Horizontal screenshots (landscape frames in a horizontal strip) */
.shot-scroller {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.shot-scroller .shot-card {
  margin: 0;
}

.shot-card {
  flex: 0 0 min(360px, 92vw);
  scroll-snap-align: start;
}

.shot-frame {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  padding: 0.5rem;
  aspect-ratio: 16 / 9;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shot-frame img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

.shot-caption {
  margin-top: 0.5rem;
  font-size: 0.78rem;
  color: #9cdbff;
  text-align: center;
}

/* Disclaimer blocks */
.disclaimer {
  border-left: 3px solid var(--danger);
  padding: 1rem 1.1rem;
  margin: 2rem 0;
  background: rgba(255, 107, 138, 0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.88rem;
}

.disclaimer strong {
  color: var(--danger);
}

/* Footer */
.site-footer {
  margin-top: 3rem;
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--border);
  background: rgba(4, 12, 18, 0.95);
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}

.footer-legal {
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
  margin-top: 1.5rem;
  max-width: 720px;
  margin-inline: auto;
}

.footer-legal p {
  margin: 0.35rem 0;
}

/* Inner pages */
.page-hero {
  padding: 2rem 0 1rem;
}

.page-hero h1 {
  margin-bottom: 0.5rem;
}

.prose {
  max-width: 72ch;
}

.prose h2 {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 1.1rem;
  margin-top: 1.75rem;
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose ul {
  padding-left: 1.2rem;
}

/* Age gate overlay */
.age-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(2, 8, 12, 0.92);
  backdrop-filter: blur(8px);
}

.age-overlay[hidden] {
  display: none;
}

.age-modal {
  width: min(420px, 100%);
  padding: 1.75rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--border);
  background: var(--bg-panel);
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.55);
}

.age-modal h2 {
  font-family: var(--font-display);
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  color: var(--accent);
}

.age-modal p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.age-slider-wrap {
  margin-top: 0.5rem;
}

.age-slider-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.age-track {
  position: relative;
  height: 52px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  overflow: hidden;
  touch-action: none;
}

.age-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(0, 245, 212, 0.25), rgba(139, 92, 255, 0.35));
  pointer-events: none;
}

.age-knob {
  position: absolute;
  top: 50%;
  left: 4px;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: var(--bg-deep);
  box-shadow: 0 0 20px rgba(0, 245, 212, 0.35);
  cursor: grab;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  user-select: none;
}

.age-knob:active {
  cursor: grabbing;
}

.age-status {
  margin-top: 1rem;
  min-height: 1.25rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.age-status.ok {
  color: var(--accent);
}

.small-note {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 1rem;
}

/* Games catalog cards */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.game-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.game-card-art {
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg-card);
  aspect-ratio: 16/10;
  display: grid;
  place-items: center;
}

.game-card-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-card h2 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.game-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.play-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: auto;
  padding: 0.65rem 1.35rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bg-deep);
  background: linear-gradient(135deg, var(--accent), var(--violet));
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s, filter 0.2s;
}

.play-link:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  text-decoration: none;
}
