:root {
  --bg: #000000;
  --pink: #ff35d8;
  --pink-dim: #c41fa6;
  --text: #f3e9f6;
  --muted: #9a8fa0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Press Start 2P", "Courier New", monospace;
  line-height: 1.8;
  -webkit-font-smoothing: none;
  image-rendering: pixelated;
  overflow-x: hidden;
}

/* CRT scanline overlay */
.scanlines {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0,
    rgba(0, 0, 0, 0) 2px,
    rgba(0, 0, 0, 0.25) 3px
  );
  z-index: 100;
  mix-blend-mode: multiply;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  gap: 1.5rem;
}

.logo {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4em;
  font-size: clamp(2.2rem, 9vw, 5.5rem);
  color: var(--pink);
  letter-spacing: 0.02em;
  text-shadow:
    0 0 8px rgba(255, 53, 216, 0.7),
    0 0 24px rgba(255, 53, 216, 0.45);
  animation: flicker 4s infinite steps(1);
}

.logo-line {
  display: block;
}

.tagline {
  max-width: 40ch;
  margin: 0;
  font-size: clamp(0.6rem, 1.6vw, 0.85rem);
  color: var(--muted);
  line-height: 2;
}

/* Buttons */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 0.9rem 1.2rem;
  font-family: inherit;
  font-size: 0.7rem;
  text-decoration: none;
  color: var(--bg);
  background: var(--pink);
  border: 3px solid var(--pink);
  box-shadow: 4px 4px 0 var(--pink-dim);
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}

.btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--pink-dim);
}

.btn-ghost {
  color: var(--pink);
  background: transparent;
}

/* Sections */
.section {
  max-width: 960px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.section-title {
  font-size: clamp(1rem, 4vw, 1.6rem);
  color: var(--pink);
  margin: 0 0 2rem;
  text-shadow: 0 0 10px rgba(255, 53, 216, 0.5);
}

.about-text {
  font-size: clamp(0.6rem, 1.6vw, 0.8rem);
  line-height: 2.2;
  color: var(--text);
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.card {
  border: 3px solid var(--pink);
  padding: 1.5rem;
  background: #0a0009;
  box-shadow: 4px 4px 0 var(--pink-dim);
}

.card-art {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  margin-bottom: 1rem;
  font-size: 2.5rem;
  color: var(--pink);
  background: repeating-conic-gradient(#120010 0% 25%, #1d0019 0% 50%) 0 / 16px 16px;
}

.card h3 {
  font-size: 0.8rem;
  color: var(--pink);
  margin: 0 0 0.8rem;
}

.card p {
  font-size: 0.6rem;
  line-height: 2;
  color: var(--muted);
  margin: 0;
}

/* Links */
.link {
  color: var(--pink);
}

.link:hover {
  color: #fff;
}

/* Footer */
.footer {
  text-align: center;
  padding: 3rem 1.5rem;
  font-size: 0.55rem;
  color: var(--muted);
  border-top: 3px solid var(--pink-dim);
}

@keyframes flicker {
  0%, 96%, 100% { opacity: 1; }
  97% { opacity: 0.85; }
  98% { opacity: 1; }
  99% { opacity: 0.9; }
}

@media (prefers-reduced-motion: reduce) {
  .logo { animation: none; }
  html { scroll-behavior: auto; }
}
