/* ==========================================================================
   SNACKFAX — NO-SCROLL MINIMAL UNDER MAINTENANCE PAGE
   ========================================================================== */

:root {
  --color-brand-red: #e50914;
  --color-brand-red-hover: #ff1e2b;
  --color-brand-red-glow: rgba(229, 9, 20, 0.35);

  --bg-main: #09090c;
  --bg-input: #121217;

  --text-white: #ffffff;
  --text-gray: #a1a1aa;
  --text-muted: #6b7280;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(255, 255, 255, 0.12);

  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-full: 9999px;
}

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

html, body {
  height: 100%;
  overflow: hidden;
}

body {
  background-color: var(--bg-main);
  color: var(--text-white);
  font-family: var(--font-body);
  position: relative;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Ambient Background Lighting */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

.glow-top {
  top: -100px;
  left: 25%;
  width: 500px;
  height: 380px;
  background: radial-gradient(circle, rgba(229, 9, 20, 0.2) 0%, transparent 70%);
}

.glow-bottom {
  bottom: -100px;
  right: 20%;
  width: 450px;
  height: 350px;
  background: radial-gradient(circle, rgba(229, 9, 20, 0.15) 0%, transparent 70%);
}

.grid-pattern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

/* Page Container — 100vh Fits Screen Without Any Scrolling */
.page-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 960px;
  height: 100vh;
  margin: 0 auto;
  padding: 2.2rem 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* 1. Header Bar */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.brand-logo {
  display: inline-flex;
  align-items: center;
}

.brand-logo-img {
  height: 56px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 3px 12px rgba(255, 0, 29, 0.3));
  transition: transform 0.2s ease, filter 0.2s ease;
}

.brand-logo-img:hover {
  transform: translateY(-1px) scale(1.03);
  filter: drop-shadow(0 5px 18px rgba(255, 0, 29, 0.5));
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(229, 9, 20, 0.1);
  border: 1px solid rgba(229, 9, 20, 0.3);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #ff6b77;
  text-transform: uppercase;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background-color: var(--color-brand-red);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-brand-red);
  animation: pulse 1.6s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% { transform: scale(0.8); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 1; }
}

/* 2. Hero Center */
.hero-center {
  text-align: center;
  max-width: 640px;
  margin: auto;
  width: 100%;
}

.headline {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 1rem;
}

.subtext {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 2.2rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* Subscription Form */
.notify-form {
  max-width: 480px;
  margin: 0 auto;
}

.input-wrap {
  display: flex;
  background-color: var(--bg-input);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 0.35rem 0.35rem 0.35rem 1rem;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.input-wrap:focus-within {
  border-color: var(--color-brand-red);
  box-shadow: 0 0 0 3px var(--color-brand-red-glow), 0 4px 16px rgba(0, 0, 0, 0.4);
}

.email-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 0.92rem;
  color: #ffffff;
  min-width: 0;
}

.email-input::placeholder {
  color: var(--text-muted);
}

.submit-btn {
  background: var(--color-brand-red);
  color: #ffffff;
  border: none;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.submit-btn:hover {
  background: var(--color-brand-red-hover);
  box-shadow: 0 4px 12px var(--color-brand-red-glow);
}

.form-feedback {
  font-size: 0.82rem;
  margin-top: 0.65rem;
  min-height: 1.1rem;
}

.form-feedback.success {
  color: #10b981;
}

.form-feedback.error {
  color: #ef4444;
}

/* 3. Bottom Footer */
.bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.bottom-bar a {
  color: #ff6b77;
  text-decoration: none;
  font-weight: 600;
}

.bottom-bar a:hover {
  text-decoration: underline;
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
  .page-container {
    padding: 1.5rem 1.25rem 1.2rem;
  }

  .top-bar {
    padding-bottom: 1rem;
  }

  .brand-logo-img {
    height: 42px;
  }

  .status-pill {
    font-size: 0.68rem;
    padding: 0.25rem 0.65rem;
  }

  .input-wrap {
    flex-direction: column;
    padding: 0.5rem;
    gap: 0.5rem;
  }

  .email-input {
    width: 100%;
    text-align: center;
    padding: 0.35rem 0;
  }

  .submit-btn {
    width: 100%;
  }

  .bottom-bar {
    flex-direction: column;
    gap: 0.4rem;
    text-align: center;
  }
}
