/* ------------------------------------------------------------------
   PixelPlay – Coming Soon
   Palette values are mirrored in script.js (keep in sync).
------------------------------------------------------------------ */
:root {
  --bg: #0a0a1a;
  --bg-2: #12122b;
  --text: #f4f4ff;
  --text-dim: #b9b9d6;

  --neon-magenta: #ff2d95;
  --neon-cyan: #22e0ff;
  --neon-lime: #a6ff3c;
  --neon-yellow: #ffd400;

  --radius: 18px;
  --maxw: 900px;
  --space: clamp(1rem, 2.5vw, 2rem);

  --font: "Trebuchet MS", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1200px 800px at 20% -10%, #1b1b45 0%, transparent 60%),
    radial-gradient(1000px 700px at 100% 0%, #241035 0%, transparent 55%),
    var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
}

/* Decorative interactive canvas sits behind everything */
#pixel-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  display: block;
}

/* ---------------- Layout ---------------- */
.page {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(1.25rem, 4vw, 3rem) var(--space) 3rem;
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 5vw, 3.5rem);
  min-height: 100dvh;
}

/* ---------------- Header / wordmark ---------------- */
.site-header { display: flex; justify-content: center; }

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.5px;
  font-size: clamp(1.4rem, 3.5vw, 1.9rem);
}

.wordmark__mark {
  width: 1.1em;
  height: 1.1em;
  border-radius: 6px;
  background:
    conic-gradient(from 45deg,
      var(--neon-magenta),
      var(--neon-yellow),
      var(--neon-lime),
      var(--neon-cyan),
      var(--neon-magenta));
  box-shadow: 0 0 18px rgba(255, 45, 149, 0.6);
}

.wordmark__accent { color: var(--neon-cyan); }

/* ---------------- Hero ---------------- */
.hero { text-align: center; }

.badge {
  display: inline-block;
  margin: 0 0 1.2rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--bg);
  background: linear-gradient(90deg, var(--neon-lime), var(--neon-cyan));
  box-shadow: 0 0 22px rgba(34, 224, 255, 0.5);
}

.hero__title {
  margin: 0 0 1rem;
  font-size: clamp(2.4rem, 8vw, 4.6rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(100deg, var(--neon-magenta), var(--neon-yellow) 45%, var(--neon-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 40px rgba(255, 45, 149, 0.25);
}

.hero__tagline {
  margin: 0 auto 1rem;
  max-width: 40ch;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  color: var(--text);
  font-weight: 600;
}

.hero__intro {
  margin: 0 auto;
  max-width: 52ch;
  color: var(--text-dim);
}

/* ---------------- Features ---------------- */
.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.feature {
  padding: 1.4rem 1.3rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 224, 255, 0.5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 22px rgba(34, 224, 255, 0.2);
}

.feature__icon { font-size: 2rem; line-height: 1; }

.feature__title {
  margin: 0.6rem 0 0.4rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--neon-cyan);
}

.feature__text { margin: 0; color: var(--text-dim); }

/* ---------------- Contact ---------------- */
.contact { text-align: center; }

.contact__location {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
}
.contact__location strong { color: var(--neon-yellow); }

.contact__lead { margin: 0 0 1rem; color: var(--text-dim); }

.contact__btn {
  display: inline-block;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1.1rem;
  text-decoration: none;
  color: var(--bg);
  background: linear-gradient(90deg, var(--neon-magenta), var(--neon-yellow));
  box-shadow: 0 0 26px rgba(255, 45, 149, 0.45);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.contact__btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 34px rgba(255, 212, 0, 0.6);
}

/* ---------------- Footer ---------------- */
.site-footer {
  margin-top: auto;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.9rem;
}
.site-footer p { margin: 0; }

/* ---------------- Focus states ---------------- */
a:focus-visible,
.contact__btn:focus-visible {
  outline: 3px solid var(--neon-cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------------- Responsive ---------------- */
@media (min-width: 720px) {
  .features { grid-template-columns: repeat(3, 1fr); }
}

/* ---------------- Reduced motion ---------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
