/* --- CONFIGURATION --- */
:root {
  --amber-glow: #3b82f6; /* Blue-500 */
  --amber-dim: #1e3a8a; /* Blue-900 */
  --paper-dark: #000000; /* Black */
  --paper-text: #ffffff; /* White */
}

body {
  background-color: var(--paper-dark);
  color: var(--paper-text);
  font-family: "Inter", sans-serif;
  overflow: hidden; /* Prevent scroll for the landing view */
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* --- TEXTURE OVERLAY (E-Ink / Matte Feel) --- */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 50;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='1'/%3E%3C/svg%3E");
}

/* --- THE AMBER SUN (Background Gradient) --- */
.ambient-sun {
  position: absolute;
  width: 80vh;
  height: 80vh;
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.15) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -40%) scale(0.8);
  z-index: -1;
  filter: blur(60px);
  animation: breathe 8s ease-in-out infinite alternate;
}

@keyframes breathe {
  0% {
    transform: translate(-50%, -40%) scale(0.8);
    opacity: 0.8;
  }
  100% {
    transform: translate(-50%, -40%) scale(1);
    opacity: 1;
  }
}

/* --- TYPOGRAPHY --- */
.font-serif {
  font-family: "Newsreader", serif;
}

/* --- ANIMATIONS --- */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-100 {
  animation-delay: 0.1s;
}
.delay-200 {
  animation-delay: 0.3s;
}
.delay-300 {
  animation-delay: 0.5s;
}
.delay-500 {
  animation-delay: 0.8s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- INPUT FORM --- */
.input-wrapper {
  position: relative;
  width: 100%;
  max-width: 320px;
}

.email-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--amber-glow);
  padding: 12px 16px;
  border-radius: 8px;
  font-family: "Newsreader", serif;
  font-size: 1.1rem;
  outline: none;
  transition: all 0.3s ease;
}

.email-input::placeholder {
  color: rgba(234, 224, 213, 0.3);
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
}

.email-input:focus {
  border-color: var(--amber-glow);
  background: rgba(255, 176, 64, 0.05);
  box-shadow: 0 0 20px rgba(255, 176, 64, 0.1);
}

.submit-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.5);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}
.submit-btn:hover {
  color: var(--amber-glow);
}

.flair {
  position: fixed;
  opacity: 0;
  width: 50px;
}

body {
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

h1 {
  font-size: 8vw;
}
