@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700&family=Open+Sans:wght@400;600&display=swap');

:root {
  --bg-color: #0d0d0d;
  --primary-color: #ff007f;
  --secondary-color: #00f0ff;
  --text-color: #fff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--bg-color);
  color: var(--text-color);
  font-family: 'Open Sans', sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* HEADER */
.topbar {
  background: rgba(0, 0, 0, 0.8);
  border-bottom: 2px solid var(--primary-color);
  padding: 1rem 2rem;
}

.topbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.left-logo img {
  width: 80px;
  filter: drop-shadow(0 0 8px var(--primary-color));
}

.brand h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  color: var(--primary-color);
  text-shadow: 0 0 10px var(--primary-color);
}

.brand p {
  font-size: 1rem;
  color: var(--secondary-color);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* CARD */
.card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 15px;
  max-width: 900px;
  margin: 3rem auto;
  box-shadow: 0 0 20px var(--primary-color);
  animation: fadeIn 1.2s ease;
}

.form-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

/* Imagen del cartel */
.promo-image img {
  max-width: 370px;
  border-radius: 10px;
  box-shadow: 0 0 15px var(--primary-color);
}

/* Formulario */
.form-content {
  max-width: 350px;
  flex: 1;
}

.form-content h2 {
  font-family: 'Orbitron', sans-serif;
  margin-bottom: 1rem;
  color: var(--secondary-color);
  text-align: center;
}

.counter {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.counter span {
  color: var(--primary-color);
  font-weight: 700;
}

form label {
  display: block;
  margin-bottom: 1rem;
  text-align: left;
}

form input {
  width: 100%;
  padding: 0.7rem;
  margin-top: 0.3rem;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--secondary-color);
  color: var(--text-color);
  border-radius: 5px;
}

button {
  background: var(--primary-color);
  border: none;
  padding: 0.8rem 1.5rem;
  color: var(--text-color);
  font-weight: 600;
  cursor: pointer;
  margin-top: 1rem;
  border-radius: 30px;
  transition: all 0.3s ease;
  width: 100%;
}

button:hover {
  background: var(--secondary-color);
  color: #000;
}

.msg {
  margin-top: 1rem;
  font-weight: 600;
  color: var(--secondary-color);
  text-align: center;
}

/* FOOTER */
.footer {
  margin-top: auto;
  background: #000;
  padding: 2rem 1rem;
  text-align: center;
  border-top: 2px solid var(--primary-color);
}

.footer-logo h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  color: var(--primary-color);
}

.footer-social img {
  width: 80px;
  margin-top: 1rem;
  filter: drop-shadow(0 0 8px var(--primary-color));
  transition: transform 0.3s ease;
}

.footer-social img:hover {
  transform: scale(1.5);
}

.footer-bottom {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #888;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .form-container {
    flex-direction: column;
  }

  .promo-image img {
    max-width: 90%;
  }

  .form-content {
    width: 100%;
  }
}

/* Animación */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
