:root {
  --usa-blue: #3C3B6E;
  --usa-red: #B22234;
  --white: #ffffff;
  --gray: #f5f5f5;
}

/* === Base === */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: var(--white);
  color: #333;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* === Navbar === */
.navbar {
  background-color: var(--usa-blue);
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  flex-wrap: wrap;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
}

/* === Hero === */
.hero {
  text-align: center;
  padding: 2rem;
  background-color: var(--gray);
}

.hero h1 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--usa-blue);
}

.callout {
  color: var(--usa-red);
  font-weight: bold;
  margin: 1rem 0;
  font-size: 1.1rem;
}

/* === Botones === */
.cta-button,
.pay-button {
  background-color: var(--usa-blue);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin-top: 1rem;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.cta-button:hover,
.pay-button:hover {
  background-color: #2a2950;
}

/* === Stickers === */
.stickers-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2rem;
}

.stickers-container {
  flex: 2;
}

.premio-container {
  flex: 1;
  background-color: var(--gray);
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.grid-multiplicadores {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
  justify-items: center;
}

.multi-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--usa-blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.multi-icon.selected {
  border: 3px solid var(--usa-red);
  transform: scale(1.1);
}

.numeros-asignados-container {
  margin-top: 2rem;
  padding: 1rem;
  background-color: var(--gray);
  border-radius: 10px;
}

.numeros-asignados-container h3 {
  margin-bottom: 1rem;
  color: var(--usa-blue);
}

#numeros-asignados-list {
  list-style: none;
  padding: 0;
}

#numeros-asignados-list li {
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: #333;
}

/* === Eventos === */
.eventos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 2rem;
}

.evento-card {
  border: 2px solid var(--usa-blue);
  border-radius: 10px;
  background-color: var(--white);
  padding: 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-align: center;
}

.evento-card img {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.evento-card h3 {
  color: var(--usa-blue);
  margin-bottom: 0.5rem;
}

.evento-card p {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

/* === Contacto === */
.contact-form {
  max-width: 600px;
  margin: 2rem auto;
  padding: 1rem;
  background-color: var(--gray);
  border-radius: 10px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label {
  font-weight: bold;
  color: var(--usa-blue);
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  border: 2px solid var(--usa-blue);
  border-radius: 6px;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--usa-red);
  box-shadow: 0 0 5px rgba(178, 34, 52, 0.4);
}

/* === Footer === */
footer {
  background-color: var(--gray);
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  color: #666;
}

/* === Responsive === */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
  }

  .cta-button,
  .pay-button {
    width: 90%;
    font-size: 1rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .stickers-layout {
    flex-direction: column;
  }

  .grid-multiplicadores {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* === Auth === */
.auth-container {
  padding: 2rem;
  display: flex;
  justify-content: center;
}

.auth-forms {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 800px;
  width: 100%;
  justify-content: center;
}

.auth-box {
  background-color: var(--gray);
  padding: 1.5rem;
  border-radius: 10px;
  width: 100%;
  max-width: 350px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.auth-box h3 {
  color: var(--usa-blue);
  margin-bottom: 0.5rem;
}

.auth-box input {
  padding: 0.75rem;
  border: 2px solid var(--usa-blue);
  border-radius: 6px;
  font-size: 1rem;
}

.auth-box input:focus {
  outline: none;
  border-color: var(--usa-red);
  box-shadow: 0 0 5px rgba(178, 34, 52, 0.4);
}
/* === Cuenta === */
.cuenta-container {
  padding: 2rem;
  max-width: 800px;
  margin: auto;
}

.cuenta-box {
  background-color: var(--gray);
  padding: 1.5rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.cuenta-box h3 {
  color: var(--usa-blue);
  margin-bottom: 1rem;
}

.cuenta-box input {
  padding: 0.75rem;
  border: 2px solid var(--usa-blue);
  border-radius: 6px;
  font-size: 1rem;
  margin-bottom: 1rem;
  width: 100%;
}

.buy-button {
  background-color: #e91e63;
  color: white;
  padding: 10px 20px;
  border: none;
  font-weight: bold;
  cursor: pointer;
  margin-left: 10px;
}
.buy-button:hover {
  background-color: #c2185b;
}

/* Estructura general */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f4f4f4;
  color: #333;
  overflow-x: hidden;
}

/* Contenedor principal */
.admin-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  max-width: 1200px;
  margin: auto;
}

/* Tarjetas del panel */
.admin-box {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 600px;
  box-sizing: border-box;
}

/* Canvases con altura controlada */
canvas {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: 250px !important;
}

/* Estilos para resultados */
.resultado-box {
  margin-top: 15px;
  padding: 10px;
  background: #f9f9f9;
  border-left: 4px solid #2196F3;
  border-radius: 4px;
}

/* Mensajes */
p.error {
  color: #d32f2f;
  font-weight: bold;
}
p.info {
  color: #1976d2;
}
#contenedor-widget {
  margin-top: 20px;
  text-align: center;
}

#contenedor-widget form {
  display: inline-block;
}
.video-tutorial {
  margin-top: 40px;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  text-align: center;
}

.video-tutorial h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: #333;
}

.video-tutorial video {
  max-width: 720px;
  width: 100%;
  border-radius: 8px;
}
.consulta-numero {
  margin-top: 30px;
  padding: 20px;
  background-color: #f3f3f3;
  border-radius: 10px;
  box-shadow: 0 0 6px rgba(0,0,0,0.1);
}

.consulta-numero h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  color: #333;
}

.consulta-form {
  display: flex;
  gap: 10px;
  align-items: center;
}

.consulta-form input {
  padding: 8px;
  font-size: 1rem;
  width: 100px;
  border: 1px solid #ccc;
  border-radius: 6px;
  text-align: center;
}

.consulta-form button {
  padding: 8px 16px;
  background-color: #d62828;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

.consulta-form button:hover {
  background-color: #b71c1c;
}

.consulta-resultado {
  margin-top: 10px;
  font-weight: bold;
}