/* ============================================
   Newsletter Signup Component
   E5 Enclave — "Stay in the Fight"
   ============================================ */

/* Gold glow animation */
@keyframes newsletter-glow {
  0% { border-top-color: #c9a84c; box-shadow: 0 -2px 10px rgba(201, 168, 76, 0); }
  50% { border-top-color: #d4b65e; box-shadow: 0 -2px 20px rgba(201, 168, 76, 0.15); }
  100% { border-top-color: #c9a84c; box-shadow: 0 -2px 10px rgba(201, 168, 76, 0); }
}

.newsletter-section {
  background: #0d0d0d;
  border-top: 2px solid #c9a84c;
  padding: 80px 20px;
  text-align: center;
  animation: newsletter-glow 4s ease-in-out infinite;
}

.newsletter-inner {
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 2.4rem;
  color: #c9a84c;
  margin: 0 0 16px 0;
  line-height: 1.2;
}

.newsletter-subtext {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 1.05rem;
  font-weight: 300;
  color: #b0b0b0;
  line-height: 1.6;
  margin: 0 0 32px 0;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  margin: 0 0 20px 0;
}

.newsletter-input {
  flex: 1;
  padding: 14px 18px;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 1rem;
  color: #ffffff;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 4px;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.newsletter-input::placeholder {
  color: #666;
}

.newsletter-input:focus {
  border-color: #c9a84c;
  box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.2);
}

.newsletter-btn {
  padding: 14px 32px;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #0a0a0a;
  background: #c9a84c;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.3s ease, transform 0.15s ease;
}

.newsletter-btn:hover {
  background: #b8963f;
}

.newsletter-btn:active {
  transform: scale(0.98);
}

.newsletter-privacy {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.8rem;
  font-weight: 300;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

/* Success state */
.newsletter-success {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: #c9a84c;
  margin: 0 0 20px 0;
}

.newsletter-success .newsletter-checkmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #c9a84c;
  color: #0a0a0a;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.newsletter-section.newsletter--submitted .newsletter-form {
  display: none;
}

.newsletter-section.newsletter--submitted .newsletter-success {
  display: flex;
}

/* Responsive */
@media (max-width: 600px) {
  .newsletter-section {
    padding: 60px 16px;
  }

  .newsletter-headline {
    font-size: 1.8rem;
  }

  .newsletter-subtext {
    font-size: 0.95rem;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-btn {
    padding: 14px 24px;
  }
}
