:root {
      --bg: #e8dcc9;
      --primary: #2d267d;
      --accent: #efb4b5;
      --overlay: rgba(232, 220, 201, 0.22);
    }

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

    html, body {
      width: 100%;
      min-height: 100%;
      scroll-behavior: smooth;
    }

    body {
      font-family: 'Bricolage Grotesque', sans-serif;
      background: var(--bg);
      color: var(--primary);
      overflow-x: hidden;
      text-rendering: optimizeLegibility;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    .hero-bg {
      position: fixed;
      inset: 0;
      background-image: linear-gradient(var(--overlay), var(--overlay)), url('fondo-jaiak2026.jpg');
      background-size: cover;
      background-position: center center;
      background-repeat: no-repeat;
      z-index: -1;
    }

    .hero-bg::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(
        to bottom,
        rgba(232,220,201,0.10) 0%,
        rgba(232,220,201,0.30) 45%,
        rgba(232,220,201,0.60) 100%
      );
    }

    .container {
      width: 100%;
      max-width: 1000px;
      margin: 0 auto;
      padding: 60px 40px;
      position: relative;
      z-index: 2;
    }

    .header-section {
      position: relative;
      margin-bottom: 50px;
    }

    .title-wrap {
      position: relative;
      display: inline-block;
    }

    .title {
      font-size: clamp(3.2rem, 7vw, 6.5rem);
      line-height: 0.9;
      font-weight: 900;
      letter-spacing: -3px;
      margin-bottom: 16px;
    }

    .title-ray {
      position: absolute;
      top: -30px;
      right: -160px;
      width: clamp(100px, 14vw, 220px);
      z-index: 3;
      animation: floatBolt 7s cubic-bezier(.45,.05,.55,.95) infinite;
      pointer-events: none;
    }

    @keyframes floatBolt {
      0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
      20% { transform: translate3d(6px, -10px, 0) rotate(4deg) scale(1.02); }
      40% { transform: translate3d(-4px, -20px, 0) rotate(-3deg) scale(1.04); }
      60% { transform: translate3d(8px, -12px, 0) rotate(5deg) scale(1.03); }
      80% { transform: translate3d(-2px, -6px, 0) rotate(-2deg) scale(1.01); }
    }

    .links-wrapper {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
      margin-top: 14px;
      margin-bottom: 14px;
      position: relative;
    }

    .nav-link {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: var(--primary);
      font-family: inherit;
      font-weight: 700;
      font-size: 1.05rem;
      text-decoration: none;
      transition: transform 0.2s ease, background 0.2s ease;
      background: rgba(255, 255, 255, 0.4);
      padding: 6px 14px;
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.5);
      cursor: pointer;
    }

    .nav-link:hover {
      transform: translateY(-2px);
      background: rgba(255, 255, 255, 0.6);
    }

    .nav-link.share-trigger {
      background: var(--primary);
      color: white;
      border-color: var(--primary);
    }

    .nav-link.share-trigger:hover {
      background: #1e1957;
    }

    .nav-link.shirt-trigger {
      background: var(--primary);
      color: white;
      border-color: var(--primary);
    }

    .nav-link.shirt-trigger:hover {
      background: #1e1957;
    }

    .shirt-modal {
      position: fixed;
      inset: 0;
      z-index: 200;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 24px;
      background: rgba(16, 14, 48, 0.74);
    }

    .shirt-modal.is-visible {
      display: flex;
    }

    .shirt-modal__dialog {
      position: relative;
      width: min(92vw, 720px);
      max-height: 92svh;
      border-radius: 8px;
      overflow: hidden;
      background: var(--bg);
      box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
    }

    .shirt-modal__image {
      display: block;
      width: 100%;
      max-height: 92svh;
      object-fit: contain;
    }

    .shirt-modal__close {
      position: absolute;
      top: 12px;
      right: 12px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 42px;
      height: 42px;
      border: 0;
      border-radius: 50%;
      background: rgba(45, 38, 125, 0.94);
      color: #fff;
      cursor: pointer;
      font-size: 1.7rem;
      line-height: 1;
    }

    .shirt-modal__close:hover {
      opacity: 0.88;
    }

    .share-popover {
      display: none;
      position: absolute;
      background: white;
      border: 1.5px solid var(--primary);
      border-radius: 12px;
      padding: 14px;
      box-shadow: 0 10px 25px rgba(45, 38, 125, 0.15);
      z-index: 100;
      top: 100%;
      left: 0;
      margin-top: 8px;
      gap: 10px;
      flex-direction: column;
      width: 250px;
    }

    .share-popover.active {
      display: flex;
    }

    .share-popover p {
      font-size: 0.95rem;
      font-weight: 700;
      color: var(--primary);
    }

    .share-social-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 8px;
    }

    .share-social-btn {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: white;
      text-decoration: none;
      font-size: 1.2rem;
      transition: transform 0.2s ease;
    }

    .share-social-btn:hover {
      transform: scale(1.1);
    }

    .btn-whatsapp { background-color: #25D366; }
    .btn-facebook { background-color: #1877F2; }
    .btn-twitter { background-color: #000000; }
    .btn-telegram { background-color: #0088cc; }

    .subtitle {
      font-size: clamp(1.1rem, 2.2vw, 1.6rem);
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 1px;
      background: var(--primary);
      color: white;
      display: inline-block;
      padding: 4px 14px;
      border-radius: 6px;
      margin-top: 10px;
    }

    /* Program Timeline Layout */
    .program-day {
      background: rgba(255, 255, 255, 0.45);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border: 1px solid rgba(255, 255, 255, 0.4);
      border-radius: 24px;
      padding: 40px;
      margin-bottom: 40px;
      box-shadow: 0 20px 40px rgba(45, 38, 125, 0.05);
    }

    .day-header {
      border-bottom: 3px solid var(--primary);
      padding-bottom: 12px;
      margin-bottom: 28px;
    }

    .day-title-eus {
      font-size: 2rem;
      font-weight: 900;
      letter-spacing: -1px;
      line-height: 1.1;
    }

    .day-title-cas {
      font-size: 1.3rem;
      font-weight: 600;
      opacity: 0.85;
      margin-top: 2px;
    }

    .events-list {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    .event-item {
      display: grid;
      grid-template-columns: 90px 1fr auto;
      gap: 18px;
      align-items: center;
      padding-bottom: 16px;
      border-bottom: 1px dashed rgba(45, 38, 125, 0.15);
    }

    .event-item:last-child {
      border-bottom: none;
      padding-bottom: 0;
    }

    .event-time {
      font-size: 1.2rem;
      font-weight: 800;
      background: var(--primary);
      color: white;
      padding: 4px 10px;
      border-radius: 8px;
      text-align: center;
      display: inline-block;
    }

    .event-details {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .event-text-eus {
      font-size: 1.15rem;
      font-weight: 700;
      line-height: 1.3;
    }

    .event-text-cas {
      font-size: 1.05rem;
      font-weight: 500;
      opacity: 0.85;
      line-height: 1.3;
    }

    .event-actions {
      display: flex;
      gap: 12px;
      align-items: center;
    }

    .action-btn {
      color: var(--primary);
      background: rgba(255, 255, 255, 0.6);
      border: 1.5px solid var(--primary);
      width: 44px;
      height: 44px;
      border-radius: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      text-decoration: none;
      transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.2s ease, color 0.2s ease;
      font-size: 1.2rem;
    }

    .action-btn:hover {
      transform: scale(1.1);
      background: var(--primary);
      color: white;
    }

    footer {
      text-align: center;
      padding: 40px 0;
      font-weight: 700;
      font-size: 1.1rem;
    }

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

    @media (max-width: 768px) {
      .container {
        padding: 30px 16px;
      }
      .title-ray {
        right: -80px;
        top: -20px;
        width: 110px;
      }
      .program-day {
        padding: 24px 16px;
        border-radius: 16px;
      }
      .event-item {
        grid-template-columns: 1fr;
        gap: 12px;
      }
      .event-time {
        align-self: start;
        font-size: 1.05rem;
      }
      .event-text-eus {
        font-size: 1.1rem;
      }
      .event-text-cas {
        font-size: 1rem;
      }
      .event-actions {
        justify-content: flex-start;
        margin-top: 6px;
      }
      .shirt-modal {
        padding: 14px;
      }
      .shirt-modal__close {
        top: 8px;
        right: 8px;
      }
    }
