  :root {
      --primary: #4361ee;
      --secondary: #3a0ca3;
      --accent: #f72585;
      --light: #f8f9fa;
      --dark: #212529;
      --success: #4cc9f0;
      --warning: #ffd166;
      --gradient-primary: linear-gradient(135deg, #4361ee, #3a0ca3);
      --gradient-accent: linear-gradient(135deg, #f72585, #b5179e);
      --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
      --shadow-md: 0 6px 12px rgba(0, 0, 0, 0.08);
      --shadow-lg: 0 15px 30px rgba(0, 0, 0, 0.1);
      --border-radius: 12px;
    }
    
    body {
      font-family: 'Montserrat', sans-serif;
      background-color: #f8fafc;
      color: #334155;
      padding-top: 80px;
    }
    
    /* Navbar moderna */
    .navbar {
      box-shadow: var(--shadow-md);
      padding: 0.8rem 0;
      background: #fff !important;
    }
    
    .navbar-brand {
      font-weight: 700;
      color: var(--primary) !important;
      font-size: 1.5rem;
    }
    
    .nav-user-actions {
      display: flex;
      align-items: center;
      gap: 12px;
    }
    
    /* Botones modernos */
    .btn-primary {
      background: var(--gradient-primary);
      border: none;
      border-radius: 8px;
      font-weight: 600;
      padding: 10px 20px;
      transition: all 0.3s ease;
    }
    
    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: var(--shadow-lg);
    }
    
    .btn-warning {
      background: var(--warning);
      color: var(--dark);
      border: none;
      border-radius: 8px;
      font-weight: 600;
      padding: 10px 20px;
      transition: all 0.3s ease;
    }
    
    .btn-warning:hover {
      transform: translateY(-2px);
      box-shadow: var(--shadow-lg);
    }
    
    /* Hero section */
    .hero {
      /* Imagen de fondo */
      background-image: url('https://boleterias.com/img/show.png');
      background-size: cover;       /* Para que ocupe todo el contenedor */
      background-position: center;  /* Centra la imagen */
      background-repeat: no-repeat; /* Evita que se repita */
    
      /* Si quieres combinar con tu gradiente */
      background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://boleterias.com/img/show.png');
      background-size: cover;
      background-position: center;
    
      padding: 5rem 0;
      color: white;
      text-align: center;
      margin-bottom: 3rem;
      border-radius: 0 0 var(--border-radius) var(--border-radius);
    }

    
    .hero h1 {
      font-weight: 800;
      font-size: 3rem;
      margin-bottom: 1rem;
    }
    
    .hero p {
      font-size: 1.2rem;
      opacity: 0.9;
    }
    
    /* Tarjetas de eventos */
    .event-card {
      background: #fff;
      border-radius: var(--border-radius);
      overflow: hidden;
      transition: all 0.3s ease;
      box-shadow: var(--shadow-sm);
      height: 100%;
      border: none;
    }
    
    .event-card:hover {
      transform: translateY(-5px);
      box-shadow: var(--shadow-lg);
    }
    
    .event-card img {
      height: 200px;
      object-fit: cover;
      width: 100%;
    }
    
    .event-card .card-body {
      padding: 1.5rem;
    }
    
    .event-card .card-title {
      font-weight: 700;
      font-size: 1.2rem;
      color: var(--dark);
      margin-bottom: 0.75rem;
    }
    
    .event-card .card-text {
      color: #64748b;
      margin-bottom: 1rem;
      font-size: 0.95rem;
    }
    
    .event-meta {
      display: flex;
      justify-content: space-between;
      color: #64748b;
      font-size: 0.9rem;
      margin-bottom: 1rem;
    }
    
    .event-price {
      font-weight: 700;
      color: var(--primary);
      font-size: 1.2rem;
    }
    
    /* Modal moderno */
    .modal-content {
      border-radius: var(--border-radius);
      border: none;
      box-shadow: var(--shadow-lg);
    }
    
    .modal-header {
      background: var(--gradient-primary);
      color: white;
      border-radius: var(--border-radius) var(--border-radius) 0 0;
    }
    
    /* Offcanvas carrito */
    .offcanvas-header {
      background: var(--gradient-primary);
      color: white;
    }
    
    .offcanvas-title {
      font-weight: 700;
    }
    
    /* Footer */
    footer {
      background: var(--dark);
      color: white;
      padding: 2.5rem 0;
      margin-top: 4rem;
    }
    
    /* Formularios */
    .form-control, .form-select {
      border-radius: 8px;
      padding: 12px 15px;
      border: 1px solid #e2e8f0;
      transition: all 0.3s ease;
    }
    
    .form-control:focus, .form-select:focus {
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.15);
    }
    
    /* Badges */
    .badge {
      font-weight: 500;
      padding: 6px 10px;
      border-radius: 20px;
    }
    
    /* Tabs de autenticación */
    .nav-tabs .nav-link {
      border: none;
      border-bottom: 3px solid transparent;
      color: #64748b;
      font-weight: 600;
      padding: 12px 20px;
    }
    
    .nav-tabs .nav-link.active {
      color: var(--primary);
      border-bottom: 3px solid var(--primary);
      background: transparent;
    }
    
    /* Responsive */
    @media (max-width: 768px) {
      .hero h1 {
        font-size: 2.2rem;
      }
      
      .hero {
        padding: 3rem 0;
      }
      
      .nav-user-actions {
        margin-top: 15px;
        width: 100%;
        justify-content: flex-end;
      }
    }
    
.ribbon {
  position: absolute;       /* Muy importante para que se superponga */
  top: 10px;
  right: -40px;             /* Ajusta según necesites */
  width: 140px;
  background-color: #154da0;
  color: #fff;              /* Color del texto */
  text-align: center;
  transform: rotate(45deg);
  font-weight: bold;
  padding: 5px 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  z-index: 10;
  font-size: 0.9rem;
}


/* Triángulo en el extremo derecho */
.ribbon::after {
  content: "";
  position: absolute;
  bottom: -10px;
  right: 0;
  border-width: 10px;
  border-style: solid;
  border-color: #154da0 transparent transparent transparent;
}
