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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: radial-gradient(circle at 20% 30%, #1a2a6c 0%, #00040f 60%);
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #f2f2f2;
}

/* Nebula glow */
.nebula {
  position: fixed;
  width: 140vmax;
  height: 140vmax;
  background: conic-gradient(from 90deg, rgba(68,0,255,0.4), rgba(255,0,210,0.2), transparent 70%);
  top: -40vmax;
  left: -40vmax;
  mix-blend-mode: screen;
  filter: blur(120px);
  animation: spinNebula 120s linear infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes spinNebula { to { transform: rotate(360deg); } }

#starfield {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: transparent;
}

main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
  position: relative;
  padding: 2rem;
}

.content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

.content p { font-size: 1.25rem; color: #bbb; margin-bottom: 2rem; }

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  background-color: #f2f2f2;
  color: #111;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.3s ease, color 0.3s ease;
}
.btn:hover { background-color: #ccc; color: #000; }

footer {
  text-align: center;
  font-size: 0.9rem;
  color: #888;
  padding: 2rem 1rem 3rem; /* extra bottom padding for phones with rounded corners */ 
  z-index: 2;
  position: relative;
}
