/* === NeonGlyph Theme === */
:root {
  --bg: #000000;
  --bg-elevated: #0a0a0f;
  --bg-card: #0d0d14;
  --fg: #F5F5F5;
  --fg-muted: #8a8a9a;
  --neon: #00E5FF;
  --pink: #FFB6F9;
  --gray: #4A4A4A;
  --font-display: 'Syne', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* === Typography === */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; font-family: var(--font-body); }

.gradient-text {
  background: linear-gradient(135deg, var(--neon) 0%, var(--pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--neon);
  margin-bottom: 1.5rem;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 100px;
}

/* === Hero === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem 4rem;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.08) 0%, rgba(255, 182, 249, 0.04) 40%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, black 20%, transparent 80%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 800px;
  text-align: center;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--fg-muted);
  border: 1px solid var(--gray);
  padding: 0.4rem 1.2rem;
  border-radius: 100px;
  margin-bottom: 2.5rem;
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--fg-muted);
  max-width: 580px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.stat { text-align: center; }

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--neon);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
}

/* === Categories === */
.categories {
  padding: 6rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  color: var(--fg);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.category-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 2rem;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.category-card:hover {
  border-color: rgba(0, 229, 255, 0.15);
  transform: translateY(-4px);
}

.category-card:nth-child(4),
.category-card:nth-child(5) {
  grid-column: span 1;
}

.card-icon {
  margin-bottom: 1.25rem;
  opacity: 0.9;
}

.category-card h3 {
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
}

.category-card p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

.card-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.category-card:hover .card-accent { opacity: 1; }

.tech-accent { background: linear-gradient(90deg, var(--neon), transparent); }
.mystery-accent { background: linear-gradient(90deg, var(--pink), transparent); }
.gaming-accent { background: linear-gradient(90deg, var(--neon), var(--pink)); }
.minimal-accent { background: linear-gradient(90deg, rgba(245,245,245,0.3), transparent); }
.hybrid-accent { background: linear-gradient(90deg, var(--pink), var(--neon), var(--pink)); }

/* === Why Section === */
.why {
  padding: 6rem 2rem;
  background: var(--bg-elevated);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.why-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.why-left h2 {
  color: var(--fg);
  position: sticky;
  top: 2rem;
}

.why-right {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.why-point {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.point-marker {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon);
  margin-top: 0.5rem;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.4);
}

.why-point h4 {
  color: var(--fg);
  margin-bottom: 0.4rem;
}

.why-point p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* === Closing === */
.closing {
  position: relative;
  padding: 8rem 2rem;
  text-align: center;
  overflow: hidden;
}

.closing-glow {
  position: absolute;
  bottom: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 182, 249, 0.06) 0%, rgba(0, 229, 255, 0.03) 50%, transparent 70%);
  pointer-events: none;
}

.closing-content {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  z-index: 1;
}

.closing h2 {
  margin-bottom: 1.5rem;
}

.closing-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* === Footer === */
.site-footer {
  padding: 3rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.footer-tagline {
  font-size: 0.75rem;
  color: var(--fg-muted);
}

.footer-meta {
  font-size: 0.75rem;
  color: var(--fg-muted);
}

/* === Responsive === */
@media (max-width: 768px) {
  .category-grid {
    grid-template-columns: 1fr;
  }

  .why-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .why-left h2 {
    position: static;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .stat-divider {
    width: 40px;
    height: 1px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding: 5rem 1.5rem 3rem;
  }

  .categories, .why, .closing {
    padding: 4rem 1.5rem;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }

  .category-card {
    padding: 1.5rem;
  }
}