:root {
  --primary-color: #4a90e2;
  --secondary-color: #f5f5f5;
  --success-color: #28a745;
  --danger-color: #dc3545;
  --warning-color: #ffc107;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f8f9fa;
}

.hero-section {
  background: linear-gradient(135deg, var(--primary-color), #6c5ce7);
  color: white;
  padding: 60px 20px;
  border-radius: 10px;
  margin-bottom: 30px;
}

.evento-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  margin-bottom: 20px;
}

.evento-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.evento-imagem {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.evento-status {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: bold;
}

.evento-status.ativo {
  background: var(--success-color);
  color: white;
}

.evento-status.encerrado {
  background: var(--danger-color);
  color: white;
}

.evento-info {
  padding: 20px;
}

.evento-titulo {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

.evento-detalhe {
  font-size: 14px;
  color: #666;
  margin-bottom: 5px;
}

.evento-detalhe i {
  margin-right: 5px;
  color: var(--primary-color);
}

.btn-comprar {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  width: 100%;
  font-weight: bold;
  transition: background 0.3s;
}

.btn-comprar:hover {
  background: #357abd;
}

.qr-code-container {
  text-align: center;
  padding: 20px;
  background: white;
  border-radius: 10px;
}

.qr-code {
  max-width: 200px;
  margin: 20px auto;
}

.ingresso-digital {
  background: white;
  border: 2px solid var(--primary-color);
  border-radius: 15px;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.ingresso-digital::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 10px;
  background: linear-gradient(90deg, var(--primary-color), #6c5ce7);
}

.validacao-status {
  padding: 10px;
  border-radius: 5px;
  font-weight: bold;
  text-align: center;
}

.validacao-status.success {
  background: var(--success-color);
  color: white;
}

.validacao-status.error {
  background: var(--danger-color);
  color: white;
}

.validacao-status.warning {
  background: var(--warning-color);
  color: #333;
}

/* Responsividade */
@media (max-width: 768px) {
  .hero-section {
    padding: 40px 15px;
  }

  .hero-section h1 {
    font-size: 24px;
  }

  .evento-imagem {
    height: 150px;
  }
}
