/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #1e293b, #0f172a 60%, #020617);
  color: #e2e8f0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-x: hidden;
}

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 14px 30px;
  z-index: 10;

  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);

  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

body.loaded .navbar {
  opacity: 1;
  transform: translateY(0);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.3rem;
  font-weight: 700;
  background: linear-gradient(120deg, #38bdf8, #a855f7, #f97316);
  -webkit-background-clip: text;
  color: transparent;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 24px;
}

.nav-link {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #38bdf8;
}

.nav-link.active {
  color: #38bdf8;
}

/* Particle canvas */
#particles {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* Layout */
.container {
  text-align: center;
  max-width: 600px;
  width: 100%;
  margin-top: 80px; /* space for navbar */
}

.card {
  background: rgba(15, 23, 42, 0.7);
  padding: 40px 30px;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);

  opacity: 0;
  transform: translateY(20px);
  will-change: opacity, transform;
}

.card h1 {
  font-size: 2.6rem;
  margin-bottom: 12px;
  background: linear-gradient(120deg, #38bdf8, #a855f7, #f97316);
  -webkit-background-clip: text;
  color: transparent;
}

.card p {
  font-size: 1rem;
  color: #94a3b8;
  margin-bottom: 24px;
}

.button {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #38bdf8, #2563eb);
  color: #0f172a;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.45);
}

.button.pressed {
  transform: translateY(2px);
  box-shadow: inset 0 4px 10px rgba(0, 0, 0, 0.4);
  background: linear-gradient(135deg, #1e40af, #1e3a8a);
  color: #cbd5e1;
}

footer {
  margin-top: 20px;
  font-size: 0.85rem;
  color: #64748b;
}