.nuclear-strike-simulator {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.location-form {
  margin-bottom: 20px;
  display: flex;
  gap: 10px;
}

#location-input {
  flex: 1;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

#launch-missile {
  background-color: #d32f2f;
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

#launch-missile:hover {
  background-color: #b71c1c;
}

#nuclear-map {
  height: 500px;
  width: 100%;
  margin-bottom: 20px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

#blast-info {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 15px;
  margin-top: 20px;
}

#blast-info h3 {
  margin-top: 0;
  color: #d32f2f;
}

.hidden {
  display: none;
}

/* Newsletter form styling */
#newsletter-signup {
  max-width: 600px;
  margin: 0 auto 20px;
  padding: 20px;
  background: #f5f5f5;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-family: Arial, sans-serif;
}

#newsletter-signup h3 {
  margin-top: 0;
  color: #d32f2f;
  font-size: 1.5em;
  text-align: center;
}

#newsletter-signup p {
  text-align: center;
  margin-bottom: 20px;
  color: #555;
}

.form-row {
  display: flex;
  margin-bottom: 15px;
  gap: 15px;
}

.form-group {
  flex: 1;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #333;
}

.form-group input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 14px;
}

.form-group input:focus {
  border-color: #d32f2f;
  outline: none;
  box-shadow: 0 0 0 2px rgba(211, 47, 47, 0.2);
}

#submit-signup {
  background: #d32f2f;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  font-size: 16px;
  width: 100%;
  transition: background 0.2s;
}

#submit-signup:hover {
  background: #b71c1c;
}

#submit-signup:disabled {
  background: #999;
  cursor: not-allowed;
}

#signup-message {
  margin-top: 15px;
  padding: 10px;
  border-radius: 4px;
  text-align: center;
}

#signup-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

#signup-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .form-row {
    flex-direction: column;
    gap: 10px;
  }

  #newsletter-signup {
    padding: 15px;
  }
}

/* Leaflet map customization */
.leaflet-container {
  background: #1a1a1a;
}

.leaflet-popup-content-wrapper {
  background: #1a1a1a;
  color: #fff;
}

.leaflet-popup-tip {
  background: #1a1a1a;
}

/* Blast radius animations */
@keyframes expand {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 0.7;
  }
}

@keyframes pulse {
  0% {
    opacity: 0.7;
  }
  50% {
    opacity: 0.4;
  }
  100% {
    opacity: 0.7;
  }
}

.fireball {
  animation: expand 2s ease-out;
}

.thermal-radiation {
  animation: expand 2s ease-out, pulse 2s infinite;
}

.shockwave {
  animation: expand 2s ease-out, pulse 2s infinite;
  animation-delay: 0.5s;
}
