/* Custom Listmonk Styles - Dark/Neon Theme */
:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #1a1a24;
  --text-primary: #ffffff;
  --text-secondary: #b8b8b8;
  --accent-cyan: #00ffff;
  --accent-green: #00ff88;
  --accent-gold: #ffcc00;
  --gradient-gold: linear-gradient(135deg, #ffcc00, #ffaa00);
  --border-glow: 0 0 20px rgba(0, 255, 255, 0.3);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background-image:
    radial-gradient(ellipse at top, rgba(0, 255, 255, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(0, 255, 136, 0.05) 0%, transparent 50%);
}

.container {
  max-width: 500px;
  width: 100%;
  text-align: center;
}

.card {
  background: var(--bg-card);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 16px;
  padding: clamp(2rem, 5vw, 3rem);
  box-shadow: var(--border-glow);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-green), var(--accent-cyan));
}

h1, h2, .title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--text-primary), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

p, .message {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(0, 255, 255, 0.2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  border: 2px solid var(--accent-green);
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.3);
}

.error-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, rgba(255, 100, 100, 0.2), rgba(255, 50, 50, 0.2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  border: 2px solid #ff6464;
  box-shadow: 0 0 30px rgba(255, 100, 100, 0.3);
}

a, .link {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover, .link:hover {
  color: var(--accent-green);
  text-shadow: 0 0 10px var(--accent-cyan);
}

.btn, button, input[type="submit"] {
  display: inline-block;
  background: var(--gradient-gold);
  color: #000;
  font-weight: 600;
  font-size: clamp(0.9rem, 2vw, 1rem);
  padding: 0.875rem 2rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn:hover, button:hover, input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 204, 0, 0.4);
}

input[type="email"],
input[type="text"],
textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--bg-secondary);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 1rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

input[type="email"]:focus,
input[type="text"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
}

.footer-text {
  margin-top: 2rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  opacity: 0.7;
}

/* List checkboxes */
.lists {
  text-align: left;
  margin-bottom: 1.5rem;
}

.list-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--bg-secondary);
  border: 1px solid rgba(0, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.list-item:hover {
  border-color: var(--accent-cyan);
}

.list-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-cyan);
  cursor: pointer;
}

.list-item span {
  color: var(--text-primary);
  font-size: 0.95rem;
}

/* Subscription form spacing */
.subscription-form {
  text-align: left;
}

.subscription-form .btn {
  width: 100%;
  margin-top: 0.5rem;
}

/* Animation */
@keyframes glow {
  0%, 100% { box-shadow: var(--border-glow); }
  50% { box-shadow: 0 0 30px rgba(0, 255, 255, 0.5); }
}

.card:hover {
  animation: glow 2s ease-in-out infinite;
}
