:root {
  --lfx-red: #ff3045;
  --lfx-green: #66f2ba;
  --lfx-ink: #09090c;
  --lfx-border: rgba(255, 255, 255, 0.13);
  --lfx-glass: rgba(18, 18, 22, 0.62);
  --lfx-shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
}

video,
.global-video-bg,
.global-video-bg video,
#bg-video {
  pointer-events: none !important;
  user-select: none !important;
}

video::-webkit-media-controls,
video::-webkit-media-controls-enclosure,
video::-webkit-media-controls-panel,
video::-webkit-media-controls-play-button,
video::-webkit-media-controls-start-playback-button,
#bg-video::-webkit-media-controls,
#bg-video::-webkit-media-controls-enclosure,
#bg-video::-webkit-media-controls-panel,
#bg-video::-webkit-media-controls-play-button,
#bg-video::-webkit-media-controls-start-playback-button,
.global-video-bg video::-webkit-media-controls,
.global-video-bg video::-webkit-media-controls-enclosure,
.global-video-bg video::-webkit-media-controls-panel,
.global-video-bg video::-webkit-media-controls-play-button,
.global-video-bg video::-webkit-media-controls-start-playback-button {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

html::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  pointer-events: none;
  opacity: 0;
  background-image:
    repeating-radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.72) 0 0.55px, transparent 0.75px 3px),
    repeating-radial-gradient(circle at 72% 42%, rgba(255, 255, 255, 0.38) 0 0.45px, transparent 0.65px 4px);
  mix-blend-mode: screen;
}

.lfx-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2147483600;
  width: 100%;
  height: 3px;
  pointer-events: none;
  background: linear-gradient(90deg, var(--lfx-green), var(--lfx-red));
  box-shadow: 0 0 22px rgba(102, 242, 186, 0.38);
  transform: scaleX(var(--lfx-progress, 0));
  transform-origin: left center;
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes lfxPulse {
    0%, 100% {
      box-shadow: 0 0 0 0 rgba(255, 48, 69, 0.36), 0 18px 44px rgba(255, 48, 69, 0.18);
      transform: translateY(0) scale(1);
    }
    50% {
      box-shadow: 0 0 0 10px rgba(255, 48, 69, 0), 0 24px 58px rgba(255, 48, 69, 0.28);
      transform: translateY(-1px) scale(1.012);
    }
  }

  @keyframes lfxShine {
    0% { transform: translateX(-140%) skewX(-18deg); }
    100% { transform: translateX(180%) skewX(-18deg); }
  }

  @keyframes lfxReveal {
    from {
      opacity: 0;
      transform: translateY(22px);
      filter: blur(8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
      filter: blur(0);
    }
  }

  @keyframes lfxMobileSweep {
    0% { transform: translateX(-120%) skewX(-16deg); opacity: 0; }
    18% { opacity: 0.9; }
    42% { opacity: 0; }
    100% { transform: translateX(170%) skewX(-16deg); opacity: 0; }
  }

  @keyframes lfxMobileCardIn {
    from {
      opacity: 0;
      transform: translateY(18px) scale(0.985);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }

  @keyframes lfxSoftGlow {
    0%, 100% {
      border-color: rgba(255, 255, 255, 0.11);
      box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
    }
    50% {
      border-color: rgba(102, 242, 186, 0.24);
      box-shadow: 0 18px 42px rgba(102, 242, 186, 0.08), 0 16px 34px rgba(0, 0, 0, 0.24);
    }
  }

  @keyframes lfxTicketScan {
    0% { transform: translateY(-140%) rotate(10deg); opacity: 0; }
    20% { opacity: 0.72; }
    52% { opacity: 0; }
    100% { transform: translateY(210%) rotate(10deg); opacity: 0; }
  }

  @keyframes lfxStickyIn {
    from {
      opacity: 0;
      transform: translate(-50%, 18px) scale(0.98);
    }
    to {
      opacity: 1;
      transform: translate(-50%, 0) scale(1);
    }
  }
}

.lfx-glass-header {
  background: rgba(7, 7, 10, 0.66) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.lfx-reveal {
  opacity: 0;
}

.lfx-reveal.is-visible {
  animation: lfxReveal 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.news-home-card.lfx-reveal,
.event-card.lfx-reveal,
.ticket-row.lfx-reveal,
.ticket-card.lfx-reveal,
article.group.lfx-reveal {
  opacity: 1;
}

.lfx-premium-card,
.news-home-card,
.ticket-row,
.ticket-card,
.event-card,
[class*="rounded-"][class*="border"][class*="backdrop-blur"] {
  background-blend-mode: screen, normal;
  transition:
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 260ms ease,
    box-shadow 260ms ease,
    background 260ms ease;
}

.lfx-apple-glass {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.035)),
    rgba(12, 12, 16, 0.58) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 20px 58px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(22px) saturate(1.18);
  -webkit-backdrop-filter: blur(22px) saturate(1.18);
}

@media (hover: hover) {
  .news-home-card:hover,
  .ticket-row:hover,
  .ticket-card:hover,
  .event-card:hover,
  .lfx-premium-card:hover {
    transform: translateY(-5px);
    border-color: rgba(102, 242, 186, 0.3) !important;
    box-shadow: var(--lfx-shadow);
  }

  .news-home-card:hover img,
  .event-card:hover img,
  article.group:hover img {
    transform: scale(1.045);
  }
}

.news-home-card img,
.event-card img,
article.group img {
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1), filter 320ms ease;
}

.lfx-spotlight {
  position: relative;
  overflow: hidden;
}

.lfx-spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(
      380px circle at var(--lfx-x, 50%) var(--lfx-y, 50%),
      rgba(102, 242, 186, 0.16),
      rgba(255, 48, 69, 0.08) 28%,
      transparent 58%
    );
  opacity: 0;
  transition: opacity 220ms ease;
}

.lfx-spotlight:hover::before {
  opacity: 1;
}

.lfx-spotlight > * {
  position: relative;
  z-index: 1;
}

.lfx-ticket-scan {
  position: relative;
  overflow: hidden;
}

.lfx-ticket-scan::after {
  content: "";
  position: absolute;
  inset: -35% 8%;
  z-index: 2;
  width: 84%;
  height: 38%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(102, 242, 186, 0.28), transparent);
  filter: blur(8px);
  opacity: 0;
  animation: lfxTicketScan 5.8s ease-in-out infinite;
}

.lfx-ripple {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.42);
  transform: translate(-50%, -50%) scale(0);
  animation: lfxRipple 620ms ease-out forwards;
}

@keyframes lfxRipple {
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(2.6);
  }
}

.lfx-sticky-cta {
  position: fixed;
  left: 50%;
  bottom: max(14px, env(safe-area-inset-bottom));
  z-index: 2147483400;
  display: none;
  width: min(430px, calc(100vw - 28px));
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(10, 10, 13, 0.78);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(22px) saturate(1.25);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
  transform: translateX(-50%);
}

.lfx-sticky-cta.is-visible {
  display: grid;
  animation: lfxStickyIn 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.lfx-sticky-cta__label {
  min-width: 0;
  align-self: center;
  padding-left: 8px;
}

.lfx-sticky-cta__label strong {
  display: block;
  color: #fff;
  font-size: 13px;
  line-height: 1.15;
}

.lfx-sticky-cta__label span {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  line-height: 1.2;
}

.lfx-sticky-cta__button {
  display: inline-flex;
  min-width: 116px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--lfx-red), #ff4355);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 14px 32px rgba(255, 48, 69, 0.28);
}

.hero-button-glow,
.buy-whatsapp-btn,
.buy-group-btn,
.btn-red,
.btn-green,
#btnBuyMP,
#btnBuyMPMobile,
#btnBuyWhatsapp,
#btnBuyWhatsappMobile,
[data-redeem-code],
[data-discount-redeem],
a[href*="wa.me"],
button[type="submit"] {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transform: translateZ(0);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    filter 220ms ease,
    border-color 220ms ease;
}

.hero-button-glow::before,
.buy-whatsapp-btn::before,
.buy-group-btn::before,
.btn-red::before,
.btn-green::before,
#btnBuyMP::before,
#btnBuyMPMobile::before,
#btnBuyWhatsapp::before,
#btnBuyWhatsappMobile::before,
[data-redeem-code]::before,
[data-discount-redeem]::before,
a[href*="wa.me"]::before,
button[type="submit"]::before {
  content: "";
  position: absolute;
  inset: -30% auto -30% -45%;
  z-index: -1;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  opacity: 0;
  transform: translateX(-140%) skewX(-18deg);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .hero-button-glow:hover,
  .buy-whatsapp-btn:hover,
  .buy-group-btn:hover,
  .btn-red:hover,
  .btn-green:hover,
  #btnBuyMP:hover,
  #btnBuyMPMobile:hover,
  #btnBuyWhatsapp:hover,
  #btnBuyWhatsappMobile:hover,
  [data-redeem-code]:hover,
  [data-discount-redeem]:hover,
  a[href*="wa.me"]:hover,
  button[type="submit"]:hover {
    transform: translateY(-2px) scale(1.01);
    filter: saturate(1.08);
  }

  .hero-button-glow:hover::before,
  .buy-whatsapp-btn:hover::before,
  .buy-group-btn:hover::before,
  .btn-red:hover::before,
  .btn-green:hover::before,
  #btnBuyMP:hover::before,
  #btnBuyMPMobile:hover::before,
  #btnBuyWhatsapp:hover::before,
  #btnBuyWhatsappMobile:hover::before,
  [data-redeem-code]:hover::before,
  [data-discount-redeem]:hover::before,
  a[href*="wa.me"]:hover::before,
  button[type="submit"]:hover::before {
    opacity: 1;
    animation: lfxShine 0.9s ease forwards;
  }
}

.lfx-cta-pulse,
.btn-red,
.hero-button-glow,
#btnBuyMP,
#btnBuyMPMobile,
[data-redeem-code],
[data-discount-redeem] {
  animation: lfxPulse 2.8s ease-in-out infinite;
}

button:active,
a:active {
  transform: translateY(1px) scale(0.99);
}

button:disabled,
.lfx-cta-pulse:disabled {
  animation: none !important;
  cursor: not-allowed;
  filter: grayscale(0.18);
  opacity: 0.58;
}

.ticket-row {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
    radial-gradient(circle at 88% 18%, rgba(102, 242, 186, 0.08), transparent 34%);
}

.ticket-price,
[class*="price"] {
  text-shadow: 0 0 20px rgba(255, 217, 64, 0.25);
}

.lfx-skeleton {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}

.lfx-skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  animation: lfxShine 1.4s ease-in-out infinite;
}

@media (max-width: 640px) {
  html::before {
    display: none;
  }

  .lfx-reveal.is-visible {
    animation: lfxMobileCardIn 0.58s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }

  .lfx-cta-pulse,
  .btn-red,
  .hero-button-glow,
  #btnBuyMP,
  #btnBuyMPMobile,
  [data-redeem-code],
  [data-discount-redeem] {
    animation-duration: 3.6s;
  }

  .lfx-touch .hero-button-glow,
  .lfx-touch .buy-whatsapp-btn,
  .lfx-touch .buy-group-btn,
  .lfx-touch .btn-red,
  .lfx-touch .btn-green,
  .lfx-touch #btnBuyMP,
  .lfx-touch #btnBuyMPMobile,
  .lfx-touch #btnBuyWhatsapp,
  .lfx-touch #btnBuyWhatsappMobile,
  .lfx-touch [data-redeem-code],
  .lfx-touch [data-discount-redeem],
  .lfx-touch a[href*="wa.me"] {
    box-shadow: 0 16px 34px rgba(255, 48, 69, 0.16);
  }

  .lfx-touch .hero-button-glow::before,
  .lfx-touch .buy-whatsapp-btn::before,
  .lfx-touch .buy-group-btn::before,
  .lfx-touch .btn-red::before,
  .lfx-touch .btn-green::before,
  .lfx-touch #btnBuyMP::before,
  .lfx-touch #btnBuyMPMobile::before,
  .lfx-touch #btnBuyWhatsapp::before,
  .lfx-touch #btnBuyWhatsappMobile::before,
  .lfx-touch [data-redeem-code]::before,
  .lfx-touch [data-discount-redeem]::before,
  .lfx-touch a[href*="wa.me"]::before {
    opacity: 1;
    animation: lfxMobileSweep 3.4s ease-in-out infinite;
  }

  .lfx-touch .news-home-card,
  .lfx-touch .ticket-row,
  .lfx-touch .ticket-card,
  .lfx-touch .event-card,
  .lfx-touch article.group > div,
  .lfx-touch .lfx-premium-card {
    animation: lfxSoftGlow 5.5s ease-in-out infinite;
    transform: translateZ(0);
  }

  .lfx-touch .news-home-card:active,
  .lfx-touch .ticket-row:active,
  .lfx-touch .ticket-card:active,
  .lfx-touch .event-card:active,
  .lfx-touch article.group > div:active,
  .lfx-touch .lfx-premium-card:active {
    transform: scale(0.985);
    border-color: rgba(102, 242, 186, 0.34) !important;
  }

  .lfx-touch article.group img,
  .lfx-touch .news-home-card img,
  .lfx-touch .event-card img {
    filter: saturate(1.06) contrast(1.03);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Shared loading, empty and error states */
.lfx-state {
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: 32px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(255, 48, 69, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
  color: rgba(255, 255, 255, 0.74);
  text-align: center;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.lfx-state__inner {
  max-width: 520px;
}

.lfx-state__icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.lfx-state__title {
  margin: 0;
  color: #fff;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  line-height: 1.2;
  font-weight: 800;
}

.lfx-state__copy {
  margin: 10px auto 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.95rem;
  line-height: 1.65;
}

.lfx-state__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.lfx-state__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: var(--lfx-red);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.lfx-state__button:hover {
  transform: translateY(-1px);
  background: #ff4759;
  border-color: rgba(255, 255, 255, 0.2);
}

.lfx-state__button--ghost {
  background: rgba(255, 255, 255, 0.08);
}

.lfx-state__button--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.lfx-state--inline {
  min-height: 160px;
  border-style: dashed;
  box-shadow: none;
}
/* Shared hero and section accents */
.section-title-line {
  background: linear-gradient(to right, rgba(255, 46, 63, 0.95), rgba(255, 46, 63, 0.15));
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-fade-up {
  opacity: 0;
  transform: translateY(26px);
  animation: heroFadeUp 0.85s ease forwards;
}

.hero-delay-1 { animation-delay: 0.12s; }
.hero-delay-2 { animation-delay: 0.24s; }
.hero-delay-3 { animation-delay: 0.36s; }
.hero-delay-4 { animation-delay: 0.48s; }
.hero-delay-5 { animation-delay: 0.6s; }

.hero-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
