/* Simple Email Gate Styles */

.email-gate-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
  animation: fadeIn 0.3s ease-out;
  transition: opacity 0.3s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.email-gate-modal {
  background: white;
  border-radius: 16px;
  max-width: 480px;
  width: 100%;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.email-gate-header {
  text-align: center;
  margin-bottom: 32px;
}

.email-gate-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 12px 0;
}

.email-gate-header p {
  font-size: 16px;
  color: #6b7280;
  margin: 0;
  line-height: 1.5;
}

.email-gate-content {
  margin-bottom: 24px;
}

.input-group {
  margin-bottom: 16px;
  width: 100%;
}

.input-group input {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
  box-sizing: border-box;
  display: block;
}

.input-group input:focus {
  border-color: #2563eb;
}

.input-group input:disabled {
  background: #f3f4f6;
  cursor: not-allowed;
}

.primary-btn {
  width: 100%;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 600;
  color: white;
  background: #2563eb;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
  margin-bottom: 16px;
}

.primary-btn:hover:not(:disabled) {
  background: #1d4ed8;
}

.primary-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.email-gate-note {
  font-size: 14px;
  color: #6b7280;
  text-align: center;
  line-height: 1.8;
  margin: 0;
}

.error-message {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 16px;
  animation: shake 0.4s ease-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-4px); }
  20%, 40%, 60%, 80% { transform: translateX(4px); }
}

.email-gate-footer {
  text-align: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
}

.email-gate-footer p {
  font-size: 12px;
  color: #9ca3af;
  margin: 0;
}

.email-gate-footer a {
  color: #6b7280;
  text-decoration: none;
}

.email-gate-footer a:hover {
  text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 640px) {
  .email-gate-modal {
    padding: 32px 24px;
  }

  .email-gate-header h2 {
    font-size: 24px;
  }

  .email-gate-header p {
    font-size: 14px;
  }
}
