:root {
  --bg-color: #0a0a0a;
  --text-color: #e5e7eb;
  --accent-red: #b91c1c;
  --accent-purple: #6d28d9;
  --neutral-800: #262626;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: sans-serif;
  margin: 0;
  padding: 0;
}

.newsletter-section {
  padding: 4rem 1rem;
  position: relative;
  background-image: linear-gradient(to bottom, rgba(0,0,0,0.85), rgba(0,0,0,0.95)), url('https://images.unsplash.com/photo-1473177104440-ffee2f376098?ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.divider {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1rem;
  background: linear-gradient(to right, rgba(153, 27, 27, 0.5), rgba(88, 28, 135, 0.5), rgba(153, 27, 27, 0.5));
}

.container-inner {
  max-width: 48rem;
  margin: 0 auto;
  background: rgba(23, 23, 23, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(109, 40, 217, 0.5);
  border-radius: 0.5rem;
  padding: 2.5rem;
  position: relative;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 28rem;
  margin: 0 auto;
}

input {
  background: var(--neutral-800);
  border: 1px solid rgba(109, 40, 217, 0.5);
  padding: 0.75rem;
  color: white;
  border-radius: 0.25rem;
}

button {
  background: linear-gradient(to right, var(--accent-red), var(--accent-purple));
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.25rem;
  cursor: pointer;
}

/* Toast notifications */
.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  min-width: 18rem;
  max-width: 24rem;
  padding: 1rem 1.25rem;
  border-radius: 0.5rem;
  background: #1a1a1a;
  border: 1px solid rgba(109, 40, 217, 0.5);
  color: #e5e7eb;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 9999;
  transform: translateY(calc(100% + 2rem));
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.toast.toast--show {
  transform: translateY(0);
  opacity: 1;
}

.toast.toast--success { border-color: rgba(109, 40, 217, 0.8); }
.toast.toast--error   { border-color: rgba(185, 28, 28, 0.8); }

.toast__title {
  font-weight: 600;
  font-size: 0.95rem;
  background: linear-gradient(to right, #ef4444, #c084fc);
  -webkit-background-clip: text;
  color: transparent;
}

.toast__body {
  font-size: 0.85rem;
  color: #9ca3af;
}
