/* Geometry Dash Fan Site — Neon Arcade Aesthetic */

:root {
  --bg-deep: #06060a;
  --bg-card: rgba(255, 255, 255, 0.03);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --text: #e8e8ec;
  --text-muted: #8a8a9a;
  --neon-cyan: #00ffd5;
  --neon-magenta: #ff00aa;
  --neon-gold: #ffd700;
  --neon-orange: #ff6b35;
  --glow-cyan: 0 0 30px rgba(0, 255, 213, 0.3);
  --glow-magenta: 0 0 30px rgba(255, 0, 170, 0.3);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "JetBrains Mono", monospace;
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Noise overlay */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Animated grid background */
.grid-bg {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 255, 213, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 213, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
  animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  background: rgba(6, 6, 10, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

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

.logo {
  font-family: "Orbitron", sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  text-decoration: none;
  letter-spacing: 0.15em;
}

.logo-geo {
  color: var(--neon-cyan);
  text-shadow: var(--glow-cyan);
}

.logo-dash {
  color: var(--neon-magenta);
  text-shadow: var(--glow-magenta);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--neon-cyan);
}

/* Main content */
main {
  position: relative;
  z-index: 1;
  padding-top: 80px;
}

/* Hero */
.hero {
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  position: relative;
}

.hero-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.shape {
  position: absolute;
  border: 2px solid;
  opacity: 0.15;
  animation: float 20s ease-in-out infinite;
}

.shape-1 {
  width: 300px;
  height: 300px;
  border-color: var(--neon-cyan);
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.shape-2 {
  width: 200px;
  height: 200px;
  border-color: var(--neon-magenta);
  bottom: 20%;
  right: 10%;
  animation-delay: -7s;
}

.shape-3 {
  width: 150px;
  height: 150px;
  border-color: var(--neon-gold);
  top: 50%;
  right: 20%;
  animation-delay: -14s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(20px, -30px) rotate(5deg); }
  50% { transform: translate(-15px, 20px) rotate(-5deg); }
  75% { transform: translate(30px, 10px) rotate(3deg); }
}

.hero-title {
  font-family: "Orbitron", sans-serif;
  font-weight: 900;
  font-size: clamp(3rem, 12vw, 7rem);
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: 1rem;
}

.hero-line {
  display: block;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-magenta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleReveal 1s ease-out backwards;
  animation-delay: calc(0.2s + var(--i) * 0.15s);
}

@keyframes titleReveal {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-tagline {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  animation: titleReveal 1s ease-out 0.5s backwards;
}

.cta {
  display: inline-block;
  padding: 1rem 2rem;
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bg-deep);
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-magenta));
  text-decoration: none;
  border-radius: 4px;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: titleReveal 1s ease-out 0.7s backwards;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-cyan), var(--glow-magenta);
}

/* Sections */
.section {
  padding: 5rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.section-title {
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--neon-cyan);
  margin-bottom: 2.5rem;
  text-align: center;
  letter-spacing: 0.1em;
}

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

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 2rem;
  transition: border-color 0.2s, transform 0.2s;
}

.about-card:hover {
  border-color: rgba(0, 255, 213, 0.2);
  transform: translateY(-4px);
}

.card-icon {
  font-size: 2rem;
  color: var(--neon-magenta);
  margin-bottom: 1rem;
}

.about-card h3 {
  font-family: "Orbitron", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.about-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Levels list */
.levels-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.level-row {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  font-size: 0.9rem;
  transition: border-color 0.2s;
}

.level-row:hover {
  border-color: rgba(0, 255, 213, 0.15);
}

.level-row.highlight {
  border-color: rgba(255, 0, 170, 0.2);
  background: rgba(255, 0, 170, 0.05);
}

.level-num {
  font-family: "Orbitron", sans-serif;
  color: var(--neon-cyan);
  font-weight: 600;
  opacity: 0.8;
}

.level-name {
  color: var(--text);
}

.level-diff {
  font-size: 0.8rem;
  font-weight: 500;
}

.level-diff.easy { color: #4ade80; }
.level-diff.normal { color: #60a5fa; }
.level-diff.hard { color: #fbbf24; }
.level-diff.harder { color: var(--neon-orange); }
.level-diff.demon { color: var(--neon-magenta); }

/* Features list */
.features-list {
  list-style: none;
  max-width: 500px;
  margin: 0 auto;
}

.features-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.95rem;
  color: var(--text-muted);
}

.features-list li:last-child {
  border-bottom: none;
}

.feat-dot {
  width: 8px;
  height: 8px;
  background: var(--neon-cyan);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 10px var(--neon-cyan);
}

/* Footer */
.footer {
  text-align: center;
  padding: 3rem 2rem;
  border-top: 1px solid var(--border-subtle);
}

.footer p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.back-link {
  color: var(--neon-cyan);
  text-decoration: none;
  font-size: 0.9rem;
  transition: opacity 0.2s;
}

.back-link:hover {
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    gap: 1rem;
  }

  .hero {
    min-height: 75vh;
  }

  .level-row {
    grid-template-columns: 40px 1fr auto;
    font-size: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
