   @import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600&display=swap');

:root{
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --radius: 20px;
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
}

body {
  margin: 0;
  background: radial-gradient(circle at center, #0d0d0d, #000000);
  color: #fff;
  font-family: 'Orbitron', sans-serif;
  display: flex;
  min-height: 100svh;
  overflow-x: hidden;
}

.page {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-3);
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: calc(env(safe-area-inset-top, 0) + var(--space-3)) var(--space-2)
           calc(env(safe-area-inset-bottom, 0) + var(--space-4));
}

h1 {
  font-size: clamp(2rem, 6vw, 3rem);
  margin: 0;
  color: #00ffcc;
  text-shadow: 0 0 10px #00ffcc, 0 0 20px #00ffcc;
}

p {
  font-size: clamp(1rem, 3.5vw, 1.2rem);
  color: #aaa;
  margin: 0;
  line-height: 1.5;
}

.glow { animation: glowPulse 2s infinite; }
@keyframes glowPulse {
  0%, 100% { text-shadow: 0 0 10px #00ffcc, 0 0 20px #00ffcc; }
  50% { text-shadow: 0 0 20px #ff00ff, 0 0 40px #ff00ff; }
}

.art-preview {
  width: min(90vw, 384px);
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  background: #111 url('../media/images/illegal_alien.png') center / cover no-repeat;
  box-shadow: 0 0 20px rgba(0,255,204,0.6), 0 0 40px rgba(255,0,255,0.4);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }

.email-form {
  width: 100%;
  display: flex;
  justify-content: center;
}

.email-form form {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 560px;
  padding: var(--space-2);
}

input[type="email"] {
  padding: 0.875rem 1rem;
  font-size: 1rem;
  border-radius: 30px;
  border: none;
  outline: none;
  width: min(100%, 380px);
  flex: 1 1 220px;
  background: #121212;
  color: #fff;
  box-shadow: inset 0 0 0 1px #1f1f1f;
}

button {
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  border-radius: 30px;
  border: none;
  background: linear-gradient(90deg, #00ffcc, #ff00ff);
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
  flex: 0 0 auto;
  min-width: 150px;
}

button:hover { transform: scale(1.03); filter: brightness(1.05); }
button:active { transform: scale(0.98); }

.notice {
  max-width: 60ch;
  opacity: 0.9;
}

footer {
  margin-top: auto;
  padding-top: var(--space-3);
  font-size: 0.9rem;
  color: #777;
}

/* Small phones */
@media (max-width: 480px) {
  .page { gap: var(--space-2); }
  .art-preview { border-radius: 16px; }
  footer { font-size: 0.85rem; }
}

/* Accessibility: reduce motion */
@media (prefers-reduced-motion: reduce) {
  .glow, .art-preview { animation: none !important; }
}
