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

    :root {
      --devir-blue-dark: #080D1FFC;
      --devir-blue: #3B5BA1;
      --devir-dark: #1F2548;
    }

    body {
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
      background: var(--devir-blue-dark) url('../../images/figma/bg-profile.png') no-repeat center top;
      background-size: cover;
      background-attachment: fixed;
      color: #2c3e50;
      line-height: 1.6;
      min-height: 100vh;
    }
    
    /* Anular margin-top negativo del footer en esta página */
    #app-footer footer {
      margin-top: 0 !important;
    }

    /* Contenedor principal del evento con filtro escala de grises en el fondo */
    #eventoContent {
      position: relative;
    }
    
    #eventoContent::before {
      content: '';
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(128, 128, 128, 0.15) 40%,
        rgba(200, 200, 200, 0.25) 70%,
        rgba(240, 240, 240, 0.35) 100%
      );
      pointer-events: none;
      z-index: 0;
    }
    
    #eventoContent > * {
      position: relative;
      z-index: 1;
    }

    /* Hero Banner */
    .hero-banner {
      position: relative;
      width: 100%;
      height: 400px;
      background: #1F2548 url('../../images/figma/bg-wrapers.png') no-repeat center center;
      background-size: cover;
      overflow: hidden;
    }

    .hero-banner img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0.8;
    }

    .hero-overlay {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding: 2rem;
      color: white;
    }

    .hero-overlay {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.8));
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      padding: 2.5rem 1rem; /* Padding horizontal igual al container */
      color: white;
    }

    .hero-top-nav {
      display: flex;
      gap: 1rem;
      justify-content: flex-start;
      align-items: center;
      width: 100%;
      max-width: 1200px; /* Igual que el container principal */
      margin: 0 auto;    /* Centra el bloque de navegación */
    }

    .back-button {
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.2);
      color: white;
      padding: 0 1.2rem;
      height: 40px;
      border-radius: 6px;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      font-weight: 500;
      font-size: 0.85rem;
      transition: all 0.2s ease;
      z-index: 10;
      line-height: 1;
    }

    .back-button:hover {
      background: rgba(255, 255, 255, 0.2);
      border-color: rgba(255, 255, 255, 0.4);
      transform: translateY(-2px);
      box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    }

    .back-button:active {
      transform: scale(0.98);
    }

    .hero-content {
      max-width: 1200px; /* Igual que el container principal */
      margin: 0 auto;    /* Centra el bloque de contenido */
      width: 100%;
      text-align: left;
    }

    .event-type-badge {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0 1.2rem;
      height: 40px;
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.2);
      border-radius: 6px;
      font-size: 0.85rem;
      font-weight: 500;
      text-transform: uppercase;
      transition: all 0.2s ease;
      cursor: default;
      line-height: 1;
    }

    .hero-title {
      font-size: 3.5rem;
      font-weight: 800;
      margin: 1.5rem 0 0 0;
      text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
      line-height: 1.1;
    }

    /* ELIMINADO DEFINITIVAMENTE */
    .hero-subtitle, #heroSubtitle {
      display: none !important;
      visibility: hidden !important;
      height: 0 !important;
      margin: 0 !important;
      padding: 0 !important;
    }


    /* Container principal */
    .container {
      max-width: 1200px;
      margin: -30px auto 0;
      padding: 0 1rem 3rem;
      position: relative;
      z-index: 10;
    }

    /* Card principal */
    .main-card {
      background: white;
      border-radius: 16px;
      box-shadow: 0 10px 40px rgba(0,0,0,0.1);
      overflow: hidden;
    }

    .card-content {
      padding: 2rem;
    }

    /* Grid de 2 columnas */
    .content-grid {
      display: grid;
      grid-template-columns: 2fr 1fr;
      gap: 2rem;
    }

    /* Información del evento */
    .event-info h2 {
      color: #1F2548;
      font-size: 1.8rem;
      margin-bottom: 1.5rem;
      padding-bottom: 0.5rem;
      border-bottom: 3px solid #3B5BA1;
    }

    .info-item {
      display: flex;
      align-items: flex-start;
      gap: 1rem;
      padding: 1rem;
      background: #f8f9fa;
      border-radius: 8px;
      margin-bottom: 1rem;
    }

    .info-icon {
      font-size: 1.5rem;
      min-width: 30px;
    }

    .info-content h3 {
      font-size: 0.9rem;
      color: #6c757d;
      text-transform: uppercase;
      margin-bottom: 0.25rem;
    }

    .info-content p {
      font-size: 1.1rem;
      color: #2c3e50;
      font-weight: 600;
    }

    .description-section {
      margin: 2rem 0;
      padding: 1.5rem;
      background: #f8f9fa;
      border-radius: 8px;
      border-left: 4px solid #3B5BA1;
    }

    /* Sidebar */
    .sidebar {
      position: sticky;
      top: 2rem;
    }

    .store-card {
      display: block;
      border-radius: 12px;
      padding: 1.5rem;
      margin-bottom: 1.5rem;
      transition: transform 0.2s, box-shadow 0.2s;
      overflow: hidden;
    }

    .store-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    }

    .store-logo {
      width: 100%;
      max-width: 100%;
      max-height: 120px;
      object-fit: contain;
      margin-bottom: 1rem;
      background: #f8f9fa;
      padding: 0.75rem;
      border-radius: 6px;
      display: block;
    }

    .store-info h3 {
      color: #1F2548;
      margin-bottom: 1rem;
    }

    .store-contact {
      font-size: 0.9rem;
      color: #6c757d;
      margin: 0.5rem 0;
    }

    .store-contact a {
      color: #3B5BA1;
      text-decoration: none;
    }

    /* Botón de inscripción */
    .cta-section {
      background: #1F2548 url('../../images/figma/bg-wrapers.png') no-repeat center center;
      background-size: cover;
      color: white;
      padding: 2rem;
      border-radius: 12px;
      text-align: center;
      margin-bottom: 1.5rem;
    }

    .cta-section h3 {
      font-size: 1.5rem;
      margin-bottom: 1rem;
    }

    .cta-button {
      display: inline-block;
      background: white;
      color: #3B5BA1;
      padding: 1rem 2rem;
      border-radius: 8px;
      text-decoration: none;
      font-weight: 700;
      font-size: 1.1rem;
      transition: all 0.3s ease;
      box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    }

    .cta-button:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    }

    .capacity-info {
      margin-top: 1rem;
      padding: 1rem;
      background: rgba(255,255,255,0.2);
      border-radius: 6px;
      font-size: 0.9rem;
    }

    /* Botón Compartir */
    .share-section {
      background: white;
      padding: 1.5rem;
      border-radius: 12px;
      text-align: center;
      margin-bottom: 1.5rem;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    .share-button {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      width: 100%;
      background: #f8f9fa;
      color: #1F2548;
      padding: 0.875rem 1.5rem;
      border: 2px solid #e9ecef;
      border-radius: 8px;
      font-weight: 600;
      font-size: 0.95rem;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .share-button:hover {
      background: #e9ecef;
      border-color: #3B5BA1;
      color: #3B5BA1;
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(59, 91, 161, 0.2);
    }

    .share-icon {
      font-size: 1.2rem;
    }

    /* Toast Notification */
    .toast {
      position: fixed;
      bottom: 2rem;
      right: 2rem;
      background: #28a745;
      color: white;
      padding: 1rem 1.5rem;
      border-radius: 8px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.3);
      z-index: 10000;
      display: flex;
      align-items: center;
      gap: 0.75rem;
      font-weight: 600;
      animation: slideIn 0.3s ease;
    }

    @keyframes slideIn {
      from {
        transform: translateX(400px);
        opacity: 0;
      }
      to {
        transform: translateX(0);
        opacity: 1;
      }
    }

    @keyframes slideOut {
      from {
        transform: translateX(0);
        opacity: 1;
      }
      to {
        transform: translateX(400px);
        opacity: 0;
      }
    }
    
    /* Estilos para botones de compartir */
    .share-btn-social:hover {
      background: rgba(255,255,255,0.2) !important;
      border-color: rgba(255,255,255,0.4) !important;
    }
    
    .share-btn-util:hover {
      background: rgba(255,255,255,0.15) !important;
      border-color: rgba(255,255,255,0.3) !important;
    }
    
    .share-btn-social:active,
    .share-btn-util:active {
      transform: scale(0.98);
    }
    
    /* Estilos para impresión */
    @media print {
      body * {
        visibility: hidden;
      }
      #printArea, #printArea * {
        visibility: visible;
      }
      #printArea {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
      }
    }

    /* Mapa */
    .map-section {
      margin-top: 2rem;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }

    #mapDetalle {
      width: 100%;
      height: 400px;
    }
    
    /* Sección de Políticas (Disclaimer) */
    .politicas-section {
      margin-top: 2rem;
      padding: 1.5rem;
      background: #f8f9fa;
      border-left: 4px solid #6c757d;
      border-radius: 8px;
    }
    
    .politicas-section h3 {
      font-size: 1.1rem;
      color: #1F2548;
      margin-bottom: 1rem;
    }
    
    .politicas-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 0.75rem;
    }
    
    .politica-item {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.75rem;
      background: white;
      border-radius: 6px;
      font-size: 0.85rem;
      color: #495057;
    }
    
    .politica-item::before {
      content: '✓';
      color: #28a745;
      font-weight: bold;
      font-size: 1rem;
    }
    
    .politicas-disclaimer {
      margin-top: 1rem;
      padding: 1rem;
      background: #fff3cd;
      border-left: 3px solid #ffc107;
      border-radius: 6px;
      font-size: 0.8rem;
      color: #856404;
    }

    /* =============================================
       RESPONSIVE - Mobile First
       ============================================= */
    
    @media (max-width: 576px) {
      .hero-banner {
        height: 380px;
      }
      
      .hero-overlay {
        padding: 1.5rem;
        justify-content: center; /* CENTRADO SOLO EN MOBILE */
        align-items: center;
        text-align: center;
      }
      
      .hero-top-nav {
        margin-bottom: 1.5rem;
        gap: 0.75rem;
        justify-content: center; /* BOTONES LADO A LADO SOLO EN MOBILE */
      }
      
      .hero-content {
        margin: 0;
        width: 100%;
      }
      
      .hero-title {
        font-size: 1.75rem;
        line-height: 1.2;
        text-align: center;
      }
      
      .event-type-badge {
        padding: 0 0.8rem;
        height: 34px;
        font-size: 0.75rem;
      }
      
      .back-button {
        padding: 0 0.8rem;
        height: 34px;
        font-size: 0.75rem;
      }
      
      .container {
        margin-top: 0;
        padding: 1.5rem 1rem 2rem;
      }
      
      .card-content {
        padding: 1rem;
      }
      
      .content-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
      }
      
      .sidebar {
        position: static;
      }
      
      .event-info h2 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
      }
      
      .info-item {
        padding: 0.75rem;
        gap: 0.75rem;
      }
      
      .info-content h3 {
        font-size: 0.8rem;
      }
      
      .info-content p {
        font-size: 1rem;
      }
      
      .cta-section {
        padding: 1.25rem;
      }
      
      .cta-section h3 {
        font-size: 1.25rem;
      }
      
      .cta-button {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
      }
      
      .store-card {
        padding: 1rem;
      }
      
      .store-logo {
        max-height: 100px;
        padding: 0.5rem;
      }
      
      #mapDetalle {
        height: 280px;
      }
      
      .share-promo-section {
        padding: 1rem !important;
      }
      
      .share-promo-section > div {
        grid-template-columns: 1fr !important;
      }
    }
    
    /* Tablet (577px - 968px) */
    @media (min-width: 577px) and (max-width: 968px) {
      .content-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
      }

      .sidebar {
        position: static;
      }

      .hero-title {
        font-size: 2rem;
      }

      .container {
        margin-top: -30px;
      }
    }
    
    /* Desktop (969px+) - Estilos por defecto del archivo */

    /* Loading */
    .loading {
      text-align: center;
      padding: 4rem 2rem;
    }

    .spinner {
      border: 4px solid #f3f3f3;
      border-top: 4px solid #3B5BA1;
      border-radius: 50%;
      width: 50px;
      height: 50px;
      animation: spin 1s linear infinite;
      margin: 0 auto 1rem;
    }

    @keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }

    /* Badges */
    .badge {
      display: inline-block;
      padding: 0.35rem 0.65rem;
      border-radius: 12px;
      font-size: 0.85rem;
      font-weight: 600;
    }

    .badge-gratuito {
      background: #d4edda;
      color: #155724;
    }

    .badge-pago {
      background: #fff3cd;
      color: #856404;
    }
  </style>
