/* Variables de colores */
:root {
  --primary: #b71c1c; /* Rojo oscuro */
  --secondary: #d32f2f; /* Rojo claro */
  --accent: #ffd700; /* Dorado */
  --dark: #1b1b1b;
  --light: #fdfdfd;
}

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

body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #333;
  background: var(--light);
}

a {
  text-decoration: none;
  color: var(--primary);
}

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

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Encabezado */
.header {
  background: var(--dark);
  color: white;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header .logo {
  font-size: 2rem;
  font-weight: bold;
}
.header .nav a {
  margin-left: 1.5rem;
  font-weight: 500;
  color: white;
  transition: color 0.2s;
}
.header .nav a:hover {
  color: var(--accent);
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Botones */
.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: 4px;
  font-weight: bold;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}
.btn-primary {
  background: var(--primary);
  color: white;
}
.btn-primary:hover {
  background: var(--secondary);
}

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-img {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60%;
  max-width: 650px;
  opacity: 0.6;
  pointer-events: none;
}
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}
.hero-content h2 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}
.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

/* Secciones generales */
.section {
  padding: 4rem 0;
  text-align: center;
}
.section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary);
}
.section .subtitle {
  margin-bottom: 2rem;
  color: var(--dark);
  font-style: italic;
}

/* Barra de progreso */
.progress-bar {
  width: 100%;
  height: 20px;
  background: #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  margin: 1rem 0;
}
.progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 10px;
  transition: width 0.5s;
}
.progress-text {
  font-weight: bold;
  color: var(--primary);
}

/* Grid de tickets */
.tickets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 1rem;
}
.ticket {
  background: var(--accent);
  color: var(--dark);
  padding: 1rem;
  border-radius: 6px;
  font-weight: bold;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Sección del evento */
.event {
  background: #f7f7f7;
  color: var(--dark);
}
.event p {
  margin-top: 1rem;
  font-size: 1.1rem;
}

/* Footer */
.footer {
  background: var(--dark);
  color: white;
}
.footer .social a {
  color: var(--accent);
  margin: 0 0.5rem;
  font-size: 1.5rem;
  transition: color 0.2s;
}
.footer .social a:hover {
  color: white;
}
.footer p a {
  color: var(--accent);
  margin: 0 0.5rem;
  font-size: 0.9rem;
}

/* Responsivo */
@media (max-width: 768px) {
  .hero {
    height: auto;
    padding: 4rem 0;
  }
  .hero-img {
    width: 80%;
    position: static;
    margin: 2rem auto 0;
  }
}