/* VNMC SHOWDOWN (soft anime/cute + esports) */
/* Fullscreen typography hero revision */

:root{
  --bg: #f7f8ff;
  --text: #0b1020;
  --muted: rgba(11,16,32,0.62);

  --panel: rgba(255,255,255,0.70);
  --panel-strong: rgba(255,255,255,0.88);

  --border: rgba(15,23,42,0.14);

  --accent: #4f8cff;     /* blue */
  --accent2: #22d3ee;    /* cyan */
  --accent3: #a78bfa;    /* lavender */
  --accent4: #fbbf24;    /* warm highlight */

  /* Price highlight (tickets/products CTA) */
  --price-accent: #ff4d8d;     /* pink-red */
  --price-accent-rgb: 255, 77, 141;

  --glitch-red: #ff3355;
  --glitch-cyan: #22d3ee;
  --glitch-blue: #4f8cff;

  --shadow: 0 18px 52px rgba(15,23,42,0.16);
  --shadow2: 0 18px 60px rgba(79,140,255,0.20);
  --radius: 18px;
  --radius2: 30px;

  --bg-image: none;
  --bg-image-opacity: 0.55;
  --bg-video-opacity: 0.35;
  --bg-fit: cover;
  --bg-position: center;
}

*{
  box-sizing:border-box;
  /* Remove the blue tap-highlight on mobile (Samsung Internet / Chrome). */
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}
html,body{ height:100%; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

html{ overflow-x: hidden; }

a{ color: #1d4ed8; }
a:hover{ filter: brightness(1.1); }

code{
  background: rgba(79,140,255,0.10);
  padding: 2px 6px;
  border-radius: 10px;
  border: 1px solid rgba(79,140,255,0.18);
}

/* Background */
.bg{
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  height: var(--bg-fixed-h, 100vh);
  pointer-events:none;
  z-index: -1;
  overflow:hidden;
}

/* Mobile browsers can dynamically change the viewport height while scrolling (address bar show/hide),
   which can make fixed full-screen backgrounds "rescale" every scroll.
   Prefer stable viewport units when supported. */
@supports (height: 100svh){
  .bg{ height: var(--bg-fixed-h, 100svh); }
}
@supports (height: 100lvh){
  .bg{ height: var(--bg-fixed-h, 100lvh); }
}

.bg-video{
  position:absolute;
  inset:-12%;
  width: 124%;
  height: 124%;
  object-fit: var(--bg-fit, cover);
  object-position: var(--bg-position, 50% 50%);
  opacity: 0;
  transform:
    translate3d(var(--bg-sway-x, 0px), calc(var(--parallax-bg, 0px) + var(--bg-sway-y, 0px)), 0)
    scale(var(--bg-scale, 1.02));
  filter:
    saturate(var(--bg-saturate, 1))
    contrast(var(--bg-contrast, 1))
    brightness(var(--bg-brightness, 1))
    blur(var(--bg-blur, 0px));
  display:none;
  transition: opacity 900ms ease, filter 900ms ease;
}
.bg-video.on{ display:block; }
body.bg-video-on .bg-video{ opacity: var(--bg-video-opacity, 0.35); }
.bg-image{
  position:absolute;
  inset:-12%;
  background-image: var(--bg-image);
  background-size: var(--bg-fit, cover);
  background-position: var(--bg-position, 50% 50%);
  background-repeat: no-repeat;
  opacity: 0;
  transform:
    translate3d(var(--bg-sway-x, 0px), calc(var(--parallax-bg, 0px) + var(--bg-sway-y, 0px)), 0)
    scale(var(--bg-scale, 1.02));
  filter:
    saturate(var(--bg-saturate, 1))
    contrast(var(--bg-contrast, 1))
    brightness(var(--bg-brightness, 1))
    blur(var(--bg-blur, 0px));
  transition: opacity 900ms ease, filter 900ms ease;
}
body.bg-img-on .bg-image{ opacity: var(--bg-image-opacity, 0.45); }
.bg-overlay{
  position:absolute;
  inset:0;
  background:
    radial-gradient(980px 680px at 10% 0%, rgba(79,140,255,0.20), transparent 60%),
    radial-gradient(1100px 780px at 90% 10%, rgba(34,211,238,0.14), transparent 62%),
    radial-gradient(980px 720px at 50% 110%, rgba(167,139,250,0.18), transparent 60%),
    linear-gradient(180deg, rgba(247,248,255,0.52), rgba(247,248,255,0.78));
}
.bg-sparkles{
  position:absolute;
  inset:-20%;
  background:
    radial-gradient(circle, rgba(79,140,255,0.13) 0 1px, transparent 2px) 0 0/140px 140px,
    radial-gradient(circle, rgba(34,211,238,0.09) 0 1px, transparent 2px) 70px 20px/170px 170px;
  opacity: 0.35;
  animation: sparkleDrift 18s ease-in-out infinite alternate;
}
@keyframes sparkleDrift{
  0%{ transform: translate3d(0,0,0); }
  100%{ transform: translate3d(-16px, 12px, 0); }
}

/* Topbar */
.topbar{
  position: sticky;
  top:0;
  z-index: 30;
  background: rgba(247,248,255,0.58);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15,23,42,0.10);
  display:flex;
  align-items:center;
  gap: 14px;
  padding: 12px 14px;
}
.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  min-width: 240px;
}
.logo{
  width: 44px;
  height: 44px;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,0.12);
  background: rgba(255,255,255,0.65);
}
.event-name{
  font-weight: 1000;
  letter-spacing: -0.02em;
  font-size: 14px;
}
.tagline{
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.tabs{
  flex:1;
  display:flex;
  justify-content:center;
  gap: 8px;
}
.tab{
  border: 1px solid rgba(15,23,42,0.12);
  background: rgba(255,255,255,0.55);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.tab:hover{
  border-color: rgba(79,140,255,0.32);
  box-shadow: 0 0 0 3px rgba(79,140,255,0.10);
}
.tab:active{ transform: scale(0.98); }
.tab.active{
  border-color: rgba(79,140,255,0.38);
  box-shadow: 0 0 0 3px rgba(79,140,255,0.12);
  background: rgba(255,255,255,0.78);
}

.top-actions{ display:flex; gap: 8px; align-items:center; }

/* Mobile menu drawer (opened by tapping the top-left logo) */
#mobileNavBackdrop{ z-index: 110; }
.mobile-nav{
  position: fixed;
  top: 0;
  left: 0;
  width: min(340px, 86vw);
  height: 100vh;
  z-index: 120;
  transform: translate3d(-102%, 0, 0);
  transition: transform 220ms ease;
  padding: 14px 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: auto;
  background: rgba(0,0,0,0.74);
  border-right: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 30px 90px rgba(0,0,0,0.70);
}
.mobile-nav.open{ transform: translate3d(0,0,0); }

.mobile-nav-header{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.mobile-nav-title{
  font-weight: 1100;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-size: 13px;
}
.mobile-nav-body{
  display:flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 8px;
}
.mobile-nav-item{
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.92);
  font-weight: 900;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}
.mobile-nav-item:hover{
  border-color: rgba(var(--accent3-rgb),0.34);
  box-shadow: 0 0 0 3px rgba(var(--accent3-rgb),0.12);
}
.mobile-nav-item:active{ transform: translateY(1px); }

/* Mobile top bar: avoid horizontal cropping */
@media (max-width: 720px){
  .topbar{ padding: 10px 12px; gap: 10px; justify-content: space-between; }
  /* On mobile, the brand text easily causes horizontal overflow.
     The logo already opens the mobile drawer, so keep it clean. */
  .brand{ min-width: 0 !important; flex: 1 1 auto; cursor: pointer; }
  /* Keep a compact brand row + language switch on mobile (truncate instead of hiding). */
  .brand-text{ display: block !important; min-width: 0 !important; max-width: 50vw; }
  .brand-row{ gap: 8px; }
  .event-name{ display:block !important; font-size: 12px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .tagline{ display:none !important; }
  /* Tabs are hidden on mobile, so we must push actions to the top-right. */
  .top-actions{ margin-left: auto; gap: 8px; justify-content: flex-end; flex-wrap: nowrap; }
  /* Keep "BOOK NOW" on one line */
  .booking-btn{
    padding: 10px 10px !important;
    border-radius: 16px !important;
    min-width: 146px;
    white-space: nowrap;
    letter-spacing: 0.08em;
    font-size: 12px;
  }
  .booking-btn .booking-text{ white-space: nowrap; }
  .booking-btn .pill{ margin-left: 8px; }
}

/* Brand row (event name + language switch) */
.brand-row{
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.brand-row .event-name{
  min-width: 0;
  flex: 0 1 auto;
}

/* Minimal EN/VI switch (top-left, next to event name) */
.lang-switch{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 2px;
  height: 26px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 12px 30px rgba(0,0,0,0.38);
  overflow: hidden;
  isolation: isolate;
}
.lang-switch::after{
  content: "";
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 2px;
  width: calc(50% - 2px);
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  box-shadow:
    0 10px 24px rgba(0,0,0,0.40),
    0 0 0 1px rgba(255,255,255,0.10) inset;
  transform: translateX(0%);
  transition: transform 180ms cubic-bezier(.2,.9,.2,1);
  z-index: 0;
}
.lang-switch.is-vi::after{ transform: translateX(100%); }

.lang-switch-btn{
  position: relative;
  z-index: 1;
  width: 34px;
  height: 22px;
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.78);
  font-weight: 1100;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0;
  border-radius: 999px;
  outline: none;
}
.lang-switch-btn.active{ color: rgba(255,255,255,0.96); }
.lang-switch:hover{
  border-color: rgba(255,255,255,0.24);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.06), 0 12px 30px rgba(0,0,0,0.42);
}
.lang-switch-btn:focus-visible{
  box-shadow: 0 0 0 2px rgba(255,255,255,0.28);
}

/* Language switch: treat as a single toggle (click anywhere to switch) */
.lang-switch{ cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent; }
.lang-switch .lang-switch-btn{ pointer-events: none; }


@media (max-width: 720px){
  .lang-switch{ height: 24px; }
  .lang-switch-btn{ width: 30px; height: 20px; font-size: 10px; }
}

/* Icon toggles */
.icon-toggle{
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,0.12);
  background: rgba(255,255,255,0.70);
  cursor: pointer;
  display:grid;
  place-items:center;
  box-shadow: 0 8px 22px rgba(15,23,42,0.10);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease, filter .12s ease, opacity .12s ease;
}
.icon-toggle:hover{
  border-color: rgba(79,140,255,0.32);
  box-shadow: 0 10px 26px rgba(79,140,255,0.14);
}
.icon-toggle:active{ transform: scale(0.98); }
.icon-toggle .icon{ font-size: 18px; }
.icon-toggle:not(.on){
  /* Don't grayscale: we use a red icon state instead. */
  filter: none;
  opacity: 1;
}

/* Booking button */
.booking-btn{
  border: 1px solid rgba(79,140,255,0.32);
  background: linear-gradient(180deg, rgba(79,140,255,0.20), rgba(34,211,238,0.10));
  color: var(--text);
  padding: 10px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 1000;
  box-shadow: var(--shadow2);
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
  display:flex;
  align-items:center;
  gap: 10px;
  position: relative;
  overflow:hidden;
}
.booking-btn::before{
  content:"";
  position:absolute;
  top:-40%;
  left:-60%;
  width: 60%;
  height: 180%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.60), transparent);
  transform: rotate(18deg);
  animation: shimmer 2.8s ease-in-out infinite;
  opacity: 0.75;
}
@keyframes shimmer{
  0%{ transform: translateX(0) rotate(18deg); opacity: 0.0; }
  30%{ opacity: 0.65; }
  60%{ opacity: 0.35; }
  100%{ transform: translateX(220%) rotate(18deg); opacity: 0.0; }
}
.booking-btn:hover{ filter: brightness(1.03); box-shadow: 0 18px 44px rgba(79,140,255,0.26); }
.booking-btn:active{ transform: scale(0.98); }
.booking-text{ position: relative; z-index: 1; }
.pill{
  position: relative;
  z-index: 1;
  display:inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.70);
  border: 1px solid rgba(15,23,42,0.10);
  font-size: 12px;
  min-width: 22px;
  text-align:center;
}

/* SVG icon masks (white by default, tintable via `color`) */
.icon-svg, .btn-icon{
  width: 18px;
  height: 18px;
  display: inline-block;
  flex: 0 0 auto;
  opacity: 0.96;
}

/* Use CSS masks for crisp monochrome icons.
   If a browser doesn't support masking, the icon simply won't render (instead of a solid square). */
@supports (-webkit-mask: url("")) or (mask: url("")) {
  .icon-svg, .btn-icon{
    background-color: currentColor;
    -webkit-mask: var(--icon) no-repeat center / contain;
    mask: var(--icon) no-repeat center / contain;
  }
}
.icon-cart{ --icon: url("assets/icons/cart.svg"); }
.icon-music{ --icon: url("assets/icons/music.svg"); }
.icon-sfx{ --icon: url("assets/icons/sfx.svg"); }

/* Cart icon: always white (buttons are colored/dark). */
.booking-btn .btn-icon,
#ctaBooking .btn-icon{ color: rgba(255,255,255,0.92); position: relative; z-index: 1; }

/* Audio icons: white when enabled, red when disabled */
.icon-toggle .icon-svg{ color: rgba(255,255,255,0.92); }
.icon-toggle:not(.on) .icon-svg{
  color: var(--glitch-red);
  filter: drop-shadow(0 0 10px rgba(255,51,85,0.20));
}

/* Layout */
.container{
  max-width: 980px;
  margin: 0 auto;
  position: relative;
  z-index: 20;
  padding: 0 14px 86px;
}
.tab-panel{ display:none; }
.tab-panel.active{ display:block; }

/* Fullscreen hero splash */
.hero-splash{
  min-height: calc(100vh - 74px);
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 18px 0 10px;
}

.hero-frame{
  width: min(1040px, 100%);
  padding: clamp(22px, 4.0vw, 44px) clamp(18px, 3.2vw, 34px) 20px;
  border-radius: var(--radius2);
  background: rgba(255,255,255,0.58);
  border: 1px solid rgba(15,23,42,0.12);
  box-shadow: var(--shadow);
  position: relative;
  overflow:hidden;
}

.hero-frame::before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(740px 260px at 12% 0%, rgba(79,140,255,0.18), transparent 60%),
    radial-gradient(700px 240px at 92% 100%, rgba(34,211,238,0.12), transparent 62%),
    radial-gradient(740px 320px at 62% 40%, rgba(167,139,250,0.12), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.28), rgba(255,255,255,0.02));
  opacity: 0.95;
  pointer-events:none;
}
.hero-frame > *{ position: relative; }

.hero-top{
  display:none;
  justify-content:space-between;
  align-items:center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Hide the small floating badge + tagline text above the title (requested). */
#heroBadge,
#heroMini,
#taglineMini{ display:none !important; }
.hero-badge{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(79,140,255,0.25);
  background: rgba(79,140,255,0.10);
  font-weight: 1000;
  letter-spacing: 0.14em;
  font-size: 11px;
  text-transform: uppercase;
}
.hero-mini{
  display:flex;
  gap: 10px;
  align-items:center;
  color: rgba(11,16,32,0.62);
  font-weight: 900;
  letter-spacing: 0.02em;
  font-size: 12px;
}
.mini-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(79,140,255,0.85), rgba(34,211,238,0.65));
  box-shadow: 0 0 0 3px rgba(79,140,255,0.10);
}

.hero-title-wrap{
  margin-top: clamp(14px, 3.2vw, 26px);
}

.hero-title{
  margin: 0;
  line-height: 0.92;
  letter-spacing: -0.05em;
}
.hero-title-main{
  display:block;
  font-weight: 1400;
  text-transform: uppercase;
  font-size: clamp(56px, 7.2vw, 104px);
  letter-spacing: -0.06em;
  line-height: 0.92;

  background: linear-gradient(90deg, #0b1020, var(--accent), var(--accent2), #0b1020);
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: titleGradient 7.2s ease-in-out infinite;

  text-shadow: 0 12px 36px rgba(79,140,255,0.18);
  position: relative;
}
.hero-title-main::before{
  content: attr(data-text);
  position:absolute;
  inset:0;
  color: transparent;
  -webkit-text-stroke: 10px rgba(79,140,255,0.16);
  filter: drop-shadow(0 18px 44px rgba(79,140,255,0.14));
  z-index: -1;
  transform: translateY(2px);
}

.hero-title-sub{
  display:block;
  margin-top: 10px;
  font-weight: 1300;
  text-transform: uppercase;
  font-size: clamp(36px, 5.2vw, 78px);
  letter-spacing: 0.02em;
  color: rgba(11,16,32,0.94);
  position: relative;
  text-shadow: 0 12px 34px rgba(167,139,250,0.14);
}
.hero-title-sub::after{
  content:"";
  display:block;
  width: min(320px, 60%);
  height: 6px;
  border-radius: 999px;
  margin: 14px 0 0;
  background: linear-gradient(90deg, rgba(79,140,255,0.75), rgba(34,211,238,0.55), rgba(167,139,250,0.60));
  box-shadow: 0 12px 40px rgba(79,140,255,0.16);
}

@keyframes titleGradient{
  0%{ background-position: 0% 50%; }
  50%{ background-position: 100% 50%; }
  100%{ background-position: 0% 50%; }
}

.hero-meta{
  display:flex;
  justify-content:flex-start;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px 0 0;
}
.meta-pill{
  display:inline-flex;
  gap: 8px;
  align-items:center;
  padding: 12px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(15,23,42,0.12);
  box-shadow: 0 8px 24px rgba(15,23,42,0.08);
  font-weight: 1100;
  letter-spacing: 0.02em;
}

.hero-cta{
  margin-top: 18px;
  display:flex;
  flex-direction: column;
  align-items:flex-start;
  gap: 12px;
}

.primary, .secondary{
  border-radius: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(15,23,42,0.12);
  cursor: pointer;
  font-weight: 1200;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease, background .12s ease, filter .12s ease;
}
.primary{
  background: linear-gradient(180deg, rgba(79,140,255,0.24), rgba(34,211,238,0.12));
  border-color: rgba(79,140,255,0.30);
}
.primary:hover{ box-shadow: 0 0 0 3px rgba(79,140,255,0.10); filter: brightness(1.02); }
.secondary{
  background: rgba(255,255,255,0.78);
}
.secondary:hover{ border-color: rgba(79,140,255,0.22); box-shadow: 0 0 0 3px rgba(79,140,255,0.08); }
.primary:active, .secondary:active{ transform: scale(0.98); }

.giant{
  width: min(460px, 100%);
  padding: 16px 18px;
  border-radius: 20px;
  font-size: 18px;
  position: relative;
  overflow: hidden;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
}
.cta-glow{
  position:absolute;
  inset:-2px;
  background: radial-gradient(260px 120px at 20% 50%, rgba(79,140,255,0.22), transparent 60%),
              radial-gradient(260px 120px at 80% 50%, rgba(34,211,238,0.18), transparent 60%);
  opacity: 0.85;
  pointer-events:none;
}
.cta-text, .cta-icon{ position: relative; z-index: 1; }
.cta-icon{
  font-size: 18px;
  font-weight: 1400;
  opacity: 0.86;
}

.scroll-more{
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(15,23,42,0.12);
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
  display:flex;
  align-items:center;
  gap: 10px;
  color: rgba(11,16,32,0.68);
  font-weight: 1100;
  box-shadow: 0 12px 30px rgba(15,23,42,0.08);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.scroll-more:hover{
  border-color: rgba(79,140,255,0.22);
  box-shadow: 0 16px 40px rgba(79,140,255,0.14);
}
.scroll-more:active{ transform: scale(0.98); }
.scroll-arrow{
  display:inline-block;
  animation: bob 1.6s ease-in-out infinite;
}
@keyframes bob{
  0%{ transform: translateY(0); }
  50%{ transform: translateY(6px); }
  100%{ transform: translateY(0); }
}

.hero-fineprint{
  margin-top: 14px;
}

/* Anchor spacing */
.anchor{
  height: 8px;
}

/* Sections */
.section{
  background: var(--panel);
  border: 1px solid rgba(15,23,42,0.12);
  border-radius: var(--radius2);
  padding: 18px;
  box-shadow: var(--shadow);
  margin-top: 18px;
  position: relative;
  overflow: hidden;
}
.section::before{
  content:"";
  position:absolute;
  inset:-2px;
  background: radial-gradient(700px 240px at 20% 0%, rgba(79,140,255,0.14), transparent 55%),
              radial-gradient(700px 240px at 80% 100%, rgba(34,211,238,0.10), transparent 55%);
  opacity: 0.85;
  pointer-events:none;
}
.section > * { position: relative; }

.section-title{
  margin:0 0 10px;
  font-size: 20px;
  font-weight: 1100;
  letter-spacing: -0.02em;
}
.section-head{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.small{ font-size: 12px; }
.muted{ color: var(--muted); }

.about-text{
  margin: 0;
  color: rgba(11,16,32,0.72);
  line-height: 1.7;
}

/* Border design variants (apply to hero-frame via class) */
.frame-gradient::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius: var(--radius2);
  padding: 1px;
  background: linear-gradient(135deg, rgba(79,140,255,0.65), rgba(34,211,238,0.45), rgba(167,139,250,0.55));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events:none;
  opacity: 0.85;
}
.frame-brackets::after{
  content:"";
  position:absolute;
  inset: 10px;
  border-radius: calc(var(--radius2) - 10px);
  background:
    linear-gradient(var(--accent) 0 0) left top/28px 2px no-repeat,
    linear-gradient(var(--accent) 0 0) left top/2px 28px no-repeat,
    linear-gradient(var(--accent2) 0 0) right top/28px 2px no-repeat,
    linear-gradient(var(--accent2) 0 0) right top/2px 28px no-repeat,
    linear-gradient(var(--accent3) 0 0) left bottom/28px 2px no-repeat,
    linear-gradient(var(--accent3) 0 0) left bottom/2px 28px no-repeat,
    linear-gradient(var(--accent) 0 0) right bottom/28px 2px no-repeat,
    linear-gradient(var(--accent) 0 0) right bottom/2px 28px no-repeat;
  pointer-events:none;
  opacity: 0.9;
}
.frame-dots{
  border: 2px dashed rgba(79,140,255,0.35) !important;
}

/* Responsive tweaks */
@media (max-width: 860px){
  .tabs{ justify-content:flex-start; overflow-x:auto; }
  .hero-meta{ justify-content:flex-start; }
  .hero-top{ justify-content:flex-start; }
}
@media (max-width: 560px){
  .hero-mini{ display:none; }
  .hero-title-sub::after{ width: 70%; }
}

/* Event info cards */
.info-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
}
@media (max-width: 860px){
  .info-grid{ grid-template-columns: 1fr; }
}
.info-card{
  border-radius: 18px;
  padding: 14px;
  border: 1px solid rgba(15,23,42,0.12);
  background: var(--panel-strong);
}
.info-label{
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.info-value{
  margin-top: 4px;
  font-weight: 1100;
  font-size: 16px;
}

/* Hero media (About section) */
.hero-media{ display:flex; justify-content:center; }
.hero-img{
  width: min(900px, 100%);
  border-radius: 20px;
  border: 1px solid rgba(15,23,42,0.12);
  background: rgba(255,255,255,0.60);
  box-shadow: 0 16px 50px rgba(15,23,42,0.16);
  transition: transform .18s ease, box-shadow .18s ease;
}
.hero-img:hover{
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 18px 58px rgba(79,140,255,0.20), 0 0 0 3px rgba(79,140,255,0.10);
}

/* Timeline */
.timeline{
  margin-top: 14px;
  display: grid;
  gap: 14px;
  position: relative;
}
.timeline::before{
  content:"";
  position:absolute;
  left: 20px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, rgba(79,140,255,0.0), rgba(79,140,255,0.40), rgba(79,140,255,0.0));
  opacity: 0.85;
}

.timeline-item{
  position: relative;
  padding-left: 54px;
}

.timeline-dot{
  position:absolute;
  left: 12px;
  top: 18px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid rgba(79,140,255,0.85);
  background: rgba(255,255,255,0.90);
  box-shadow:
    0 0 0 3px rgba(79,140,255,0.10),
    0 10px 24px rgba(0,0,0,0.22);
}

.timeline-card{
  position: relative;
  max-width: 100%;
  box-sizing: border-box;
  padding: 12px 14px 14px 14px;
  border-radius: 18px;
  background: rgba(0,0,0,0.14);
  border: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(10px) saturate(1.05);
  -webkit-backdrop-filter: blur(10px) saturate(1.05);
}

.timeline-card::after{
  content:"";
  position:absolute;
  left: 14px;
  right: 14px;
  bottom: 9px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(79,140,255,0.85), rgba(34,211,238,0.55), transparent);
  opacity: 0.22;
  filter: blur(1px);
  transform: scaleX(0.66);
  transform-origin: center;
  transition: opacity 240ms ease, transform 240ms ease;
  pointer-events:none;
}
.timeline-item:hover .timeline-card::after{
  opacity: 0.80;
  transform: scaleX(1);
}

.timeline-time-btn{
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 100%;
  color: inherit;
  text-align: left;
}

.timeline-time{
  font-weight: 1000;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(255,255,255,0.88);
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  text-shadow: 0 2px 0 rgba(0,0,0,0.55);
  position: relative;
}

.timeline-time-btn:hover .timeline-time{
  background: rgba(255,255,255,0.09);
}

.timeline-title{
  margin-top: 10px;
  font-weight: 1100;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.timeline-desc{
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.55;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.timeline-open{
  margin-top: 10px;
  display: inline-block;
  font-size: 12px;
  color: rgba(255,255,255,0.72);
  text-decoration: underline;
  text-decoration-color: rgba(79,140,255,0.65);
  text-underline-offset: 4px;
  opacity: 0.78;
}
.timeline-item:hover .timeline-open{ opacity: 1; }

/* Ticket grid */
.ticket-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}
@media (max-width: 980px){ .ticket-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 650px){ .ticket-grid{ grid-template-columns: 1fr; } }

.ticket-card{
  border: 1px solid rgba(15,23,42,0.12);
  background: var(--panel-strong);
  border-radius: 20px;
  padding: 16px;
  position: relative;
  overflow:hidden;
  box-shadow: 0 10px 30px rgba(15,23,42,0.10);
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;

  /* Align CTA buttons across cards even when content heights differ */
  display:flex;
  flex-direction:column;
  height: 100%;
}

/* Featured ticket tier: centered on its own row ("3 on top, 1 special centered") */
.ticket-card.is-featured{
  grid-column: 1 / -1;
  justify-self: center;
  width: min(var(--ticket-card-w, 440px), 100%);
}
@media (max-width: 650px){
  .ticket-card.is-featured{ width: 100%; }
}
.ticket-card::before{
  content:"";
  position:absolute;
  inset:-2px;
  background: radial-gradient(420px 160px at 20% 0%, rgba(79,140,255,0.14), transparent 65%),
              radial-gradient(420px 160px at 90% 100%, rgba(34,211,238,0.10), transparent 65%);
  opacity: 0.9;
}
.ticket-card > *{ position: relative; }
.ticket-card:hover{
  transform: translateY(-2px);
  border-color: rgba(79,140,255,0.22);
  box-shadow: 0 18px 45px rgba(79,140,255,0.16);
}

.ticket-cta{
  margin-top: auto;
  padding-top: 14px;
}
.ticket-top{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap: 10px;
}
.ticket-name{
  font-weight: 1200;
  font-size: 18px;
}
.ticket-card.is-tier-premium .ticket-name{
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 900;
  text-shadow:
    0 0 18px rgba(var(--tier-rgb, 79,140,255), 0.38),
    0 2px 0 rgba(0,0,0,0.22);
}

.ticket-card.is-tier-legendary .ticket-name{
  text-transform: uppercase;
  letter-spacing: 0.20em;
  font-weight: 950;
  font-size: 20px;
  -webkit-text-stroke: 1px rgba(0,0,0,0.22);
  text-shadow:
    0 0 26px rgba(var(--tier-rgb, 79,140,255), 0.55),
    0 2px 0 rgba(0,0,0,0.30);
}

.ticket-card.is-tier-premium .ticket-name::after,
.ticket-card.is-tier-legendary .ticket-name::after{
  content:"";
  display:block;
  height: 2px;
  width: 64px;
  margin-top: 8px;
  background: linear-gradient(90deg,
    rgba(var(--tier-rgb, 79,140,255), 0.00),
    rgba(var(--tier-rgb, 79,140,255), 0.90),
    rgba(var(--tier-rgb, 79,140,255), 0.00)
  );
  box-shadow: 0 0 16px rgba(var(--tier-rgb, 79,140,255), 0.40);
  border-radius: 999px;
  opacity: 0.9;
}
.ticket-price{
  font-weight: 1200;
  color: rgba(79,140,255,0.95);
  background: rgba(79,140,255,0.08);
  border: 1px solid rgba(79,140,255,0.14);
  padding: 6px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.ticket-desc{
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.55;
}
.ticket-perks{
  margin-top: 10px;
  display:grid;
  gap: 6px;
  color: rgba(11,16,32,0.70);
  font-size: 13px;
}
.ticket-perks div::before{
  content:"✦";
  margin-right: 8px;
  color: rgba(79,140,255,0.75);
}

/* Products */
.card-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
  align-items: stretch;
}
@media (max-width: 980px){ .card-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 650px){ .card-grid{ grid-template-columns: 1fr; } }

.card{
  border: 1px solid rgba(15,23,42,0.12);
  background: var(--panel-strong);
  border-radius: 18px;
  padding: 14px;
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}

/* Product cards: align action buttons across cards */
.product-card{
  display:flex;
  flex-direction:column;
  height: 100%;
}

.product-card .product-bottom{
  margin-top: auto;
  padding-top: 12px;
}

/* Product CTA sizing (we removed the per-card checkout button, so the price button should feel balanced). */
.product-cta-wrap{
  display:flex;
  align-items: stretch;
  gap: 8px;
  flex: 0 0 208px;
}
.product-cta-wrap .money-btn{ width: 100%; }
@media (max-width: 650px){
  .product-cta-wrap{ flex: 1 1 100%; }
}
.card:hover{
  transform: translateY(-2px);
  border-color: rgba(79,140,255,0.22);
  box-shadow: 0 18px 45px rgba(79,140,255,0.14);
}
.card-title{ font-weight: 1100; font-size: 16px; }
.card-desc{ margin-top: 6px; color: var(--muted); line-height: 1.5; }
.price{ margin-top: 10px; font-weight: 1200; font-size: 16px; }

.card-actions{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-top: 12px;
  gap: 10px;
  flex-wrap: wrap;
}

.select{
  width:100%;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(15,23,42,0.12);
  color: var(--text);
  border-radius: 14px;
  padding: 10px 10px;
}

/* Stepper */
.stepper{
  display:flex;
  gap: 8px;
  align-items:center;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(15,23,42,0.12);
  border-radius: 999px;
  padding: 6px 10px;
}
.stepper button{
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,0.12);
  background: rgba(255,255,255,0.92);
  color: var(--text);
  font-weight: 1200;
  cursor: pointer;
}
.stepper button:hover{ border-color: rgba(79,140,255,0.22); box-shadow: 0 0 0 3px rgba(79,140,255,0.08); }
.stepper button:active{ transform: scale(0.97); }
.stepper .qty{ min-width: 22px; text-align:center; font-weight: 1200; }

/* Payment */
.pay-grid{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}
@media (max-width: 980px){ .pay-grid{ grid-template-columns: 1fr; } }

/* Checkout payment (single centered QR) */
.pay-center-wrap{
  display:flex;
  justify-content:center;
}
.pay-center-card{
  width: min(520px, 100%);
}
.qr.qr-large{
  height: 320px;
}
.pay-note{
  margin-top: 10px;
}
.pay-note-actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.pay-receiver-line{
  margin-top: 10px;
  opacity: 0.82;
}

.pay-card{
  border: 1px solid rgba(15,23,42,0.12);
  background: var(--panel-strong);
  border-radius: 18px;
  padding: 14px;
}
.pay-title{ font-weight: 1100; }
.qr{
  width: 100%;
  height: 260px;
  object-fit: contain;
  margin-top: 10px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,0.12);
  background: rgba(255,255,255,0.92);
}
.kv{ display:flex; justify-content:space-between; gap: 10px; margin-top: 8px; color: rgba(11,16,32,0.65); }
.kv span:last-child{ color: var(--text); font-weight: 900; }

/* Contact */
.contact-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
}
@media (max-width: 860px){ .contact-grid{ grid-template-columns: 1fr; } }
.contact-card{
  border: 1px solid rgba(15,23,42,0.12);
  background: var(--panel-strong);
  border-radius: 18px;
  padding: 14px;
}
.contact-label{
  color: rgba(11,16,32,0.62);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

/* Seat modal */
.modal-backdrop{
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.45);
  z-index: 60;
}
.modal{
  position: fixed;
  left: 50%;
  top: 54%;
  transform: translate(-50%, -50%);
  width: min(980px, 94vw);
  max-height: 86vh;
  overflow: auto;
  background: rgba(255,255,255,0.90);
  border: 1px solid rgba(15,23,42,0.14);
  border-radius: 22px;
  z-index: 70;
  box-shadow: 0 28px 70px rgba(15,23,42,0.30);
}
.modal.hidden{ display:none; }
.modal-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(15,23,42,0.10);
}
.modal-title{ font-weight: 1200; font-size: 18px; }
.modal-body{ padding: 14px 16px 18px; }

.screen{
  text-align:center;
  font-weight: 1100;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(11,16,32,0.70);
  padding: 10px 10px;
  border-radius: 999px;
  border: 1px solid rgba(79,140,255,0.20);
  background: rgba(79,140,255,0.08);
}

.legend{
  margin-top: 12px;
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content:center;
  color: rgba(11,16,32,0.70);
  font-size: 13px;
}
.legend-item{ display:flex; align-items:center; gap: 8px; }
.seat-swatch{
  width: 14px; height: 14px; border-radius: 4px;
  border: 1px solid rgba(15,23,42,0.12);
}
.seat-swatch.available{ background: rgba(255,255,255,0.92); }
.seat-swatch.selected{ background: rgba(79,140,255,0.72); border-color: rgba(79,140,255,0.35); }
.seat-swatch.held{ background: rgba(255,200,120,0.55); border-color: rgba(255,200,120,0.45); }
.seat-swatch.paid{ background: rgba(99,255,155,0.45); border-color: rgba(99,255,155,0.45); }
.seat-swatch.taken{ background: rgba(15,23,42,0.18); }

.seat-wrap{
  margin-top: 14px;
  display:flex;
  justify-content:center;
  overflow:auto;
  padding-bottom: 8px;
}
.seat-grid{
  display:grid;
  --seatSize: 26px;
  --seatGap: 6px;
  grid-template-columns: repeat(21, var(--seatSize));
  gap: var(--seatGap);
  padding: 10px;
  background: rgba(255,255,255,0.80);
  border: 1px solid rgba(15,23,42,0.10);
  border-radius: 18px;
}
@media (max-width: 720px){
  .seat-grid{ --seatSize: 22px; --seatGap: 5px; grid-template-columns: repeat(21, var(--seatSize)); gap: var(--seatGap); }
}
.seat-label{
  display:grid;
  place-items:center;
  width: var(--seatSize);
  height: var(--seatSize);
  font-size: 11px;
  color: rgba(11,16,32,0.60);
  user-select:none;
}
.seat{
  width: var(--seatSize);
  height: var(--seatSize);
  border-radius: 8px;
  border: 1px solid rgba(15,23,42,0.12);
  background: rgba(255,255,255,0.92);
  cursor: pointer;
  transition: transform .08s ease, box-shadow .12s ease, border-color .12s ease;
}
.seat:hover{
  border-color: rgba(79,140,255,0.25);
  box-shadow: 0 0 0 3px rgba(79,140,255,0.10);
}
.seat:active{ transform: scale(0.96); }
.seat.taken{
  background: rgba(15,23,42,0.16);
  cursor: not-allowed;
  opacity: 0.75;
}
.seat.held{
  background: rgba(255,200,120,0.28);
  border-color: rgba(255,200,120,0.45);
  opacity: 0.86;
}
.seat.paid{
  background: rgba(99,255,155,0.22);
  border-color: rgba(99,255,155,0.40);
  opacity: 0.86;
}
.seat.blocked{
  background: rgba(255,77,141,0.18);
  border-color: rgba(255,77,141,0.35);
  opacity: 0.80;
}
.seat.cart{
  background: rgba(79,140,255,0.14);
  border-color: rgba(79,140,255,0.28);
  opacity: 0.80;
}
.seat.selected{
  background: rgba(79,140,255,0.72);
  border-color: rgba(79,140,255,0.35);
  box-shadow: 0 0 0 3px rgba(79,140,255,0.12);
}
.seat.selected:hover{ box-shadow: 0 0 0 3px rgba(79,140,255,0.14); }

.seat-footer{
  margin-top: 12px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 12px;
  flex-wrap: wrap;
}
.seat-pill{
  display:inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(79,140,255,0.18);
  background: rgba(79,140,255,0.08);
  font-weight: 1100;
}

.icon-btn{
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,0.12);
  background: rgba(255,255,255,0.80);
  color: var(--text);
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.icon-btn:hover{ border-color: rgba(79,140,255,0.25); box-shadow: 0 0 0 3px rgba(79,140,255,0.08); }
.icon-btn:active{ transform: scale(0.98); }

/* Drawer */
.backdrop{
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.45);
  z-index: 40;
}
.hidden{ display:none !important; }

.drawer{
  position: fixed;
  top: 0;
  right: -460px;
  width: 460px;
  max-width: 94vw;
  height: 100%;
  background: rgba(255,255,255,0.90);
  border-left: 1px solid rgba(15,23,42,0.14);
  z-index: 50;
  display:flex;
  flex-direction:column;
  transition: right .18s ease;
  box-shadow: -18px 0 60px rgba(15,23,42,0.18);
}
.drawer.open{ right: 0; }

.drawer-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 12px;
  padding: 14px 14px;
  border-bottom: 1px solid rgba(15,23,42,0.10);
}
.drawer-title{ font-weight: 1200; font-size: 18px; }

.drawer-body{ padding: 14px; overflow:auto; flex:1; }
.drawer-footer{ padding: 12px 14px; border-top: 1px solid rgba(15,23,42,0.10); }


.drawer-tabs{
  display:flex;
  gap: 8px;
  padding: 10px 0 14px;
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15,23,42,0.08);
  z-index: 2;
}
.drawer-tab{
  flex: 1;
  border: 1px solid rgba(15,23,42,0.14);
  border-radius: 14px;
  padding: 10px 10px;
  background: rgba(255,255,255,0.70);
  color: rgba(11,16,32,0.82);
  font-weight: 900;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.drawer-tab:hover{ transform: translateY(-1px); }
.drawer-tab.active{
  background: linear-gradient(135deg, rgba(79,140,255,0.18), rgba(34,211,238,0.12));
  box-shadow: 0 10px 28px rgba(79,140,255,0.18);
}
.drawer-tab:disabled{
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.drawer-step{
  padding-top: 12px;
  animation: stepIn .16s ease;
}
@keyframes stepIn{
  from{ opacity:0; transform: translateY(6px); }
  to{ opacity:1; transform: translateY(0); }
}

.checkout-summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  margin-bottom: 12px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(15,23,42,0.10);
}
.checkout-total{ font-weight: 1100; }
.checkout-total-amount{
  color: var(--price-accent);
  text-shadow: 0 1px 0 rgba(0,0,0,0.18);
}
.secondary.small{
  padding: 8px 10px;
  border-radius: 12px;
  font-size: 13px;
}

.pay-methods{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
  margin: 10px 0 12px;
}
.pay-method{
  border: 1px solid rgba(15,23,42,0.14);
  background: rgba(255,255,255,0.74);
  border-radius: 14px;
  padding: 10px 12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  cursor:pointer;
  min-width: 140px;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.pay-method .pm-name{ font-weight: 1000; }
.pay-method .pm-hint{
  font-size: 11px;
  opacity: 0.65;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,0.12);
  background: rgba(255,255,255,0.65);
}
.pay-method:hover{ transform: translateY(-1px); box-shadow: 0 12px 24px rgba(15,23,42,0.10); }
.pay-method.active{
  border-color: rgba(79,140,255,0.45);
  box-shadow: 0 18px 42px rgba(79,140,255,0.18);
  background: linear-gradient(135deg, rgba(79,140,255,0.16), rgba(34,211,238,0.10));
}
.empty{
  border: 1px dashed rgba(15,23,42,0.18);
  border-radius: 18px;
  padding: 18px;
  color: rgba(11,16,32,0.62);
  text-align:center;
  background: rgba(255,255,255,0.82);
}

.cart-items{ display:grid; gap: 10px; }
.cart-item{
  border: 1px solid rgba(15,23,42,0.12);
  border-radius: 18px;
  padding: 12px;
  background: rgba(255,255,255,0.88);
}
.cart-row{ display:flex; justify-content:space-between; gap: 10px; }
.cart-name{ font-weight: 1200; }
.cart-meta{ margin-top: 4px; color: rgba(11,16,32,0.62); font-size: 12px; }
.cart-controls{
  margin-top: 10px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 10px;
}
.remove-btn{
  border: 1px solid rgba(15,23,42,0.12);
  background: rgba(255,255,255,0.78);
  color: var(--text);
  border-radius: 14px;
  padding: 8px 10px;
  cursor: pointer;
  font-weight: 1100;
}
.remove-btn:hover{ border-color: rgba(79,140,255,0.22); box-shadow: 0 0 0 3px rgba(79,140,255,0.08); }
.remove-btn:active{ transform: scale(0.98); }

.total-row{
  margin-top: 12px;
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.total-label{ color: rgba(11,16,32,0.62); font-weight: 900; }
.total-value{ font-weight: 1300; font-size: 18px; }

.divider{ height: 1px; background: rgba(15,23,42,0.10); margin: 12px 0; }

.form{ display:grid; gap: 10px; }
label{ display:grid; gap: 6px; color: rgba(11,16,32,0.62); font-size: 12px; }
input, textarea, select{
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(15,23,42,0.12);
  color: var(--text);
  border-radius: 14px;
  padding: 10px 10px;
  font-size: 14px;
}
textarea{ resize: vertical; }

/* --- Input icons (white solid SVGs) --- */
:root{
  --icon-user: url("assets/icons/user.svg");
  --icon-phone: url("assets/icons/phone.svg");
  --icon-map: url("assets/icons/map.svg");
  --icon-mail: url("assets/icons/mail.svg");
}

/* Use a small dark "plate" behind the icon so white icons remain readable on light inputs. */
input[data-icon], textarea[data-icon]{
  --_icon: none;
  --_plate: rgba(0,0,0,0.22);
  background-image:
    var(--_icon),
    /* Plate behind icon (keep fully visible, no clipping). */
    radial-gradient(circle at center, var(--_plate) 0 16px, transparent 17px);
  background-repeat: no-repeat, no-repeat;
  /* Plate is larger than the glyph, and both are aligned so the glyph is centered on the plate. */
  background-position: 21px 50%, 12px 50%;
  background-size: 16px 16px, 34px 34px;
  padding-left: 56px;
}
textarea[data-icon]{
  /* For multiline fields we anchor the icon to the top.
     Keep the plate centered behind the icon (x=8px,y=8px inside the plate layer). */
  background-image:
    var(--_icon),
    radial-gradient(circle at center, var(--_plate) 0 16px, transparent 17px);
  background-position: 21px 16px, 12px 16px;
}
input[data-icon="user"], textarea[data-icon="user"]{ --_icon: var(--icon-user); }
input[data-icon="phone"], textarea[data-icon="phone"]{ --_icon: var(--icon-phone); }
input[data-icon="map"], textarea[data-icon="map"]{ --_icon: var(--icon-map); }
input[data-icon="mail"], textarea[data-icon="mail"]{ --_icon: var(--icon-mail); }

.result{
  margin-top: 10px;
  padding: 10px 10px;
  border: 1px solid rgba(15,23,42,0.12);
  border-radius: 16px;
  background: rgba(79,140,255,0.08);
  line-height: 1.45;
}

/* Scroll reveal */
.reveal{
  opacity: 1;
  transform: translateY(14px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.in-view{
  opacity: 1;
  transform: translateY(0px);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .bg-sparkles, .booking-btn::before, .hero-title-main, .scroll-arrow{ animation: none !important; }
  .reveal{ opacity: 1; transform: none; transition: none; }
  .tab, .icon-toggle, .booking-btn, .card, .ticket-card, .hero-img, .primary, .secondary, .icon-btn, .seat, .scroll-more{ transition: none; }
}

.audio-viz{
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display:flex;
  align-items:flex-end;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,0.12);
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 44px rgba(15,23,42,0.16);
  z-index: 30;
  pointer-events: none;
}
.audio-viz .viz-bar{
  width: 16px;
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(79,140,255,0.85), rgba(34,211,238,0.70));
  box-shadow: 0 8px 18px rgba(79,140,255,0.22);
  transform: translateZ(0);
  will-change: height;
  transition: height .08s linear;
}

.center{ text-align:center; }



/* =============================
   Intro Loader (retro boot)
   ============================= */

.pixel-border{
  /* crisp monochrome frame */
  border: 2px solid rgba(255,255,255,0.88);
  box-shadow:
    0 0 0 2px rgba(0,0,0,0.85) inset,
    0 0 0 1px rgba(255,255,255,0.25),
    0 26px 80px rgba(0,0,0,0.65);
}

.intro-overlay{
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;

  /* full black & white */
  background: #000;
  color: #fff;

  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Courier New", monospace;
  user-select: none;

  opacity: 1;
  transition: opacity var(--intro-fade-ms, 520ms) ease;
}
.intro-overlay.fade-out{ opacity: 0; }

/* After clicking Continue: hide the boot menu so only the title remains on a pure black screen. */
.intro-overlay.stage-mode{
  background: #000;
}
.intro-overlay.stage-mode::before,
.intro-overlay.stage-mode::after{
  opacity: 0 !important;
  animation: none !important;
}
.intro-overlay.stage-mode .intro-card{
  opacity: 0 !important;
  transform: translate3d(0,-10px,0) scale(0.985) !important;
  pointer-events: none !important;
}

.intro-overlay::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  /* scanlines */
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.06) 0px,
    rgba(255,255,255,0.06) 1px,
    rgba(0,0,0,0) 3px,
    rgba(0,0,0,0) 7px
  );
  opacity: 0.18;
  mix-blend-mode: overlay;
  animation: introScan 10s linear infinite;
}
.intro-overlay::after{
  content:"";
  position:absolute;
  inset:-20%;
  pointer-events:none;
  background: radial-gradient(circle at 50% 40%, rgba(255,255,255,0.10), transparent 55%);
  opacity: 0.35;
  filter: blur(18px);
}
@keyframes introScan{
  from{ transform: translateY(0); }
  to{ transform: translateY(60px); }
}

.intro-card{
  width: min(860px, 100%);
  border-radius: 18px;
  background: rgba(0,0,0,0.88);
  padding: 22px 22px 16px;
  position: relative;
  overflow: hidden;

  opacity: 1;
  transform: translate3d(0,0,0) scale(1);
  transition: transform var(--intro-fade-ms, 520ms) cubic-bezier(.2,.9,.2,1), opacity var(--intro-fade-ms, 520ms) ease;
}
.intro-overlay.fade-out .intro-card{
  opacity: 0;
  transform: translate3d(0,-10px,0) scale(0.985);
}
.intro-card::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;

  /* monochrome glow + subtle “terminal” vertical bars */
  background:
    radial-gradient(120% 90% at 50% 20%, rgba(255,255,255,0.10), transparent 60%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.045) 0 6px, rgba(0,0,0,0) 6px 12px);
  opacity: 0.95;
  mix-blend-mode: overlay;
}
.intro-top{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  position: relative;
}
.intro-title{
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 14px;
  color: rgba(255,255,255,0.95);
}
.intro-chip{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: rgba(235,244,255,0.88);
}

.intro-lines{
  height: 168px;
  overflow: hidden;
  padding: 14px 14px 10px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.22);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.05) inset;
  position: relative;
}
.intro-line{
  font-size: 13px;
  line-height: 1.55;
  color: rgba(235,244,255,0.86);
  opacity: 0.95;
  white-space: nowrap;
}
.intro-line .dim{ opacity: 0.62; }
.intro-line .ok{ color: rgba(255,255,255,0.96); font-weight: 800; }
.intro-line .warn{ color: rgba(255,255,255,0.96); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 2px; }

.intro-progress{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}
.intro-bar{
  flex: 1;
  height: 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  overflow:hidden;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.35) inset;
}
.intro-bar-fill{
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(0,0,0,0.35);
}
.intro-percent{
  min-width: 48px;
  text-align: right;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: rgba(235,244,255,0.90);
}

.intro-continue{
  width: 100%;
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 14px;

  /* strict monochrome CTA */
  border: 2px solid rgba(255,255,255,0.88);
  background: #fff;
  color: #000;

  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(0,0,0,0.55);
}
@keyframes introBlink{
  0%, 100%{ opacity: 0.92; }
  50%{ opacity: 0.55; }
}
.intro-continue:hover{
  transform: translateY(-1px);
  background: #000;
  color: #fff;
  box-shadow: 0 22px 70px rgba(0,0,0,0.70);
}
.intro-continue:active{
  transform: translateY(0px);
}

.intro-foot{
  margin-top: 10px;
  font-size: 12px;
  color: rgba(235,244,255,0.72);
}
.intro-foot code{
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
  padding: 2px 8px;
  border-radius: 999px;
}

/* Lock scroll while intro is up */
body.intro-lock{
  overflow:hidden;
}

/* =============================
   Background FX (glitch/pixel)
   ============================= */
.bg-floaters{
  position:absolute;
  inset:0;
  pointer-events:none;
  overflow:hidden;
  transform: translate3d(0, var(--parallax-fx, 0px), 0);
}
.bg-floater{
  position:absolute;
  left: var(--x);
  top: 110%;
  width: var(--size);
  height: var(--size);

  /* clearer, sharper squares */
  border-radius: 4px;
  border: 2px solid rgba(255,255,255,0.30);
  outline: 1px solid rgba(0,0,0,0.08);

  background: linear-gradient(135deg, rgba(79,140,255,0.34), rgba(34,211,238,0.26));
  box-shadow:
    0 18px 55px rgba(79,140,255,0.22),
    0 0 0 1px rgba(255,255,255,0.10) inset;

  transform: translateZ(0);
  opacity: 0.95;

  animation: floaterUp var(--dur) linear infinite;
  animation-delay: var(--delay);
}
.bg-floater::after{
  content:"";
  position:absolute;
  inset: 3px;
  border-radius: 2px;
  border: 1px solid rgba(255,255,255,0.16);
  opacity: 0.95;
  pointer-events:none;
}
@keyframes floaterUp{
  from{
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  10%{ opacity: 0.95; }
  to{
    transform: translateY(-140vh) rotate(var(--rot));
    opacity: 0;
  }
}

.bg-noise{
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity: 0.10;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  background-size: 220px 220px;
  animation: noiseShift 6.5s steps(2,end) infinite;
  transform: translate3d(0, var(--parallax-bg, 0px), 0);
}
@keyframes noiseShift{
  0%{ transform: translate3d(0,0,0); }
  25%{ transform: translate3d(-2%,1%,0); }
  50%{ transform: translate3d(2%,-1%,0); }
  75%{ transform: translate3d(-1%,-2%,0); }
  100%{ transform: translate3d(0,0,0); }
}

.bg-scanlines{
  position:absolute;
  inset:0;
  pointer-events:none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0,0,0,0.04) 0px,
    rgba(0,0,0,0.04) 1px,
    rgba(0,0,0,0.00) 4px,
    rgba(0,0,0,0.00) 8px
  );
  opacity: 0.14;
  mix-blend-mode: multiply;
  animation: scanMove 10s linear infinite;
  transform: translate3d(0, var(--parallax-bg, 0px), 0);
}
@keyframes scanMove{
  from{ transform: translateY(0px); }
  to{ transform: translateY(60px); }
}

.bg-glitchflash{
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity: 0;
  mix-blend-mode: overlay;
  background:
    linear-gradient(90deg, rgba(var(--accent3-rgb),0.16), rgba(0,0,0,0) 32%, rgba(var(--accent2-rgb),0.18)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.06) 0 1px, rgba(0,0,0,0) 1px 12px);
  animation: glitchFlash 8.4s infinite steps(2,end);
}
@keyframes glitchFlash{
  0%, 92%, 100%{ opacity: 0; transform: translateX(0); }
  93%{ opacity: 0.38; transform: translateX(-10px); }
  94%{ opacity: 0.14; transform: translateX(14px); }
  95%{ opacity: 0; transform: translateX(0); }
}

/* =============================
   Title emphasis + glitch slices
   ============================= */

.hero-title-main{
  font-size: clamp(64px, 8.3vw, 128px);
}
.hero-title-main.glitch::after{
  content: attr(data-text);
  position:absolute;
  inset:0;
  color: transparent;
  /* Glitch squares: checker/grid pattern clipped to the text */
  background-image:
    linear-gradient(90deg, rgba(255,255,255,0.92) 50%, transparent 0),
    linear-gradient(rgba(255,255,255,0.92) 50%, transparent 0),
    linear-gradient(90deg, rgba(34,211,238,0.28) 50%, transparent 0),
    linear-gradient(rgba(255,51,85,0.24) 50%, transparent 0);
  /* Larger squares + stronger contrast (requested). */
  background-size: 22px 22px, 22px 22px, 18px 18px, 20px 20px;
  background-position: 0 0, 11px 11px, 0 0, 6px 6px;
  -webkit-background-clip: text;
  background-clip: text;
  opacity: 0;
  pointer-events:none;
  mix-blend-mode: screen;
  /* NOTE: Avoid clip-path during animation (expensive on some GPUs). */
  filter: contrast(1.08) saturate(1.03);
  animation: titleGlitchSquares 3.2s infinite steps(2,end);
}
.hero-frame:hover .hero-title-main.glitch::after{
  opacity: 0.96;
}
@keyframes titleGlitchSquares{
  0%, 100%{
    transform: translate(0,0);
    opacity: 0;
    filter: none;
    background-position: 0 0, 11px 11px, 0 0, 6px 6px;
  }

  /* Burst 1 */
  10%{
    transform: translate(-10px,-2px);
    opacity: 0.98;
    filter: contrast(1.65) saturate(1.2);
    background-position: 26px -14px, -12px 18px, 22px -16px, -18px 22px;
  }
  13%{
    transform: translate(12px,2px);
    opacity: 0.74;
    background-position: -28px 18px, 14px -16px, -22px 18px, 18px -14px;
  }
  16%{
    transform: translate(-8px,1px);
    opacity: 0.88;
    background-position: 14px 28px, -16px -10px, 18px 26px, -12px 18px;
  }
  20%{ opacity: 0; transform: translate(0,0); filter:none; }

  /* Burst 2 */
  54%{
    transform: translate(9px,-1px);
    opacity: 0.92;
    filter: contrast(1.55);
    background-position: -24px 12px, 18px -18px, -18px 22px, 24px -10px;
  }
  57%{
    transform: translate(-10px,2px);
    opacity: 0.68;
    background-position: 18px 22px, -20px -12px, 22px 14px, -14px 18px;
  }
  60%{ opacity: 0; transform: translate(0,0); filter:none; }

  /* Burst 3 (late pop) */
  86%{
    transform: translate(-6px,0px);
    opacity: 0.96;
    filter: contrast(1.7);
    background-position: 30px -20px, -16px 22px, 26px -18px, -22px 26px;
  }
  89%{
    transform: translate(10px,1px);
    opacity: 0.72;
    background-position: -30px 20px, 18px -18px, -24px 18px, 18px -16px;
  }
  92%{ opacity: 0; transform: translate(0,0); filter:none; }
}

.hero-title-sub.glitch::before{
  content: attr(data-text);
  position:absolute;
  inset:0;
  color: transparent;
  /* Smaller glitch squares for the subtitle */
  background-image:
    linear-gradient(90deg, rgba(255,255,255,0.86) 50%, transparent 0),
    linear-gradient(rgba(255,255,255,0.86) 50%, transparent 0),
    linear-gradient(90deg, rgba(34,211,238,0.22) 50%, transparent 0);
  /* Bigger blocks to match the main glitch. */
  background-size: 16px 16px, 16px 16px, 12px 12px;
  background-position: 0 0, 8px 8px, 3px 3px;
  -webkit-background-clip: text;
  background-clip: text;
  opacity: 0;
  pointer-events:none;
  mix-blend-mode: screen;
  filter: contrast(1.05);
  animation: subGlitchSquares 4.1s infinite steps(2,end);
}
.hero-frame:hover .hero-title-sub.glitch::before{
  opacity: 0.86;
}
@keyframes subGlitchSquares{
  0%, 100%{
    transform: translate(0,0);
    opacity: 0;
    background-position: 0 0, 8px 8px, 3px 3px;
    filter: none;
  }

  12%{
    transform: translate(-4px,0px);
    opacity: .82;
    background-position: 18px -12px, -10px 14px, 12px -16px;
    filter: contrast(1.55);
  }
  16%{
    transform: translate(6px,1px);
    opacity: .60;
    background-position: -18px 12px, 10px -14px, -12px 16px;
  }
  20%{
    transform: translate(-2px,0px);
    opacity: .74;
    background-position: 10px 18px, -14px -8px, 14px 10px;
  }
  24%{ opacity: 0; transform: translate(0,0); filter:none; }

  86%{
    transform: translate(-3px,0px);
    opacity: .80;
    background-position: 20px -10px, -12px 16px, 14px -14px;
    filter: contrast(1.5);
  }
  90%{
    transform: translate(4px,1px);
    opacity: .58;
    background-position: -18px 12px, 12px -14px, -10px 14px;
  }
  94%{ opacity: 0; transform: translate(0,0); filter:none; }
}

/* =============================
   Hover responsiveness upgrades
   ============================= */
.tab, .btn, .booking-btn, .ticket-card, .product-card, .info-card, .seat{
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, border-color .18s ease;
}

.tab:hover{
  transform: translateY(-1px);
  filter: saturate(1.05);
}

.booking-btn{
  position: relative;
  overflow: hidden;
}
.booking-btn::before{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius: 18px;
  background: radial-gradient(120% 200% at 50% 0%, rgba(255,255,255,0.25), rgba(255,255,255,0.02));
  opacity: 0;
  transition: opacity .22s ease;
}
.booking-btn:hover{
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 22px 72px rgba(79,140,255,0.24);
}
.booking-btn:hover::before{
  opacity: 1;
}
.booking-btn:active{
  transform: translateY(0px) scale(0.99);
}

.ticket-card:hover, .product-card:hover, .info-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 22px 70px rgba(15,23,42,0.16);
}

/* =============================
   Seat "cells" sharper borders
   ============================= */
.seat{
  border-radius: 8px !important;
  border: 1px solid rgba(11,16,32,0.18) !important;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.65) inset,
    0 12px 26px rgba(79,140,255,0.10);
}
.seat:hover{
  transform: translateY(-1px) scale(1.03);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.70) inset,
    0 14px 30px rgba(79,140,255,0.12);
}
.seat.selected{
  border-color: rgba(255,51,85,0.60) !important;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.70) inset,
    0 16px 34px rgba(255,51,85,0.18),
    0 0 0 3px rgba(255,51,85,0.10);
}

/* =============================
   Custom cursor dot (desktop only)
   ============================= */
.cursor-dot{
  position: fixed;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(11,16,32,0.92);
  background: rgba(255,255,255,0.65);
  /* Performance: move via transform (no layout). */
  --cx: -999px;
  --cy: -999px;
  --cscale: 1;
  transform: translate3d(var(--cx), var(--cy), 0) translate(-50%, -50%) scale(var(--cscale));
  pointer-events: none;
  /* Must sit above all popups (item info modal uses z-index 9999). */
  z-index: 20000;
  opacity: 0;
  will-change: transform;
  transition:
    background .12s ease,
    border-color .12s ease,
    opacity .12s ease;
}
/* Ensure the native cursor never comes back on long pages */
html.custom-cursor,
html.custom-cursor *,
body.custom-cursor,
body.custom-cursor *{
  cursor: none !important;
}
body.custom-cursor .cursor-dot{
  opacity: 1;
}
.cursor-dot.is-hover{
  --cscale: 1.7;
  background: rgba(34,211,238,0.14);
}
.cursor-dot.is-click{
  --cscale: 1.8;
  background: rgba(255,51,85,0.88);
  border-color: rgba(255,51,85,0.92);
}

/* Safety: never use custom cursor on coarse pointers */
@media (any-pointer: coarse){
  html.custom-cursor,
  body.custom-cursor{ cursor: auto !important; }
  .cursor-dot{ display: none !important; }
}

/* Mobile performance: disable the audio visualizer entirely on coarse pointers */
@media (any-pointer: coarse){
  .audio-viz{ display: none !important; }
}

/* During seat picking on mobile, hide fixed audio UI to prevent flicker/stutter on some browsers */
@media (any-pointer: coarse){
  body.seat-booking-open .audio-dock,
  body.seat-booking-open .audio-viz{
    display: none !important;
  }
}

/* Seat picking on portrait mobile: reduce density so it fits better */
@media (max-width: 520px) and (orientation: portrait){
  .modal{ width: 96vw; }
  .seat-grid{ --seatSize: 18px; --seatGap: 4px; padding: 8px; border-radius: 16px; }
  .seat-label{ font-size: 9px; }
  .seat{ border-radius: 6px; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  .intro-overlay::before,
  .intro-continue,
  .bg-noise,
  .bg-scanlines,
  .bg-glitchflash,
  .bg-floater,
  .hero-title-main.glitch::after,
  .hero-title-sub.glitch::before{
    animation: none !important;
  }
  .tab, .btn, .booking-btn, .ticket-card, .product-card, .info-card, .seat{
    transition: none !important;
  }
}



/* =============================
   osu! Beat Circles (desktop only)
   Notes appear near the screen edge and sync to BGM BPM (best-effort).
   ============================= */

.osu-overlay{
  position: fixed;
  inset: 0;
  z-index: 8; /* behind UI, above background */
  pointer-events: none;
  transform: translate3d(0, var(--parallax-osu, 0px), 0);
}

.osu-note{
  position: absolute;
  width: var(--size, 86px);
  height: var(--size, 86px);
  transform: translate(-50%, -50%);
  opacity: 0;
  filter: drop-shadow(0 18px 48px rgba(0,0,0,0.28));
}

.osu-note.go{
  opacity: var(--osuDim, 0.24);
  transition: opacity 120ms ease-out;
}
.osu-overlay.is-active .osu-note.go{
  opacity: var(--osuActive, 0.62);
}

.osu-hit{
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: var(--hitBorder, 2px) solid rgba(255,255,255,0.90);
  background: rgba(0,0,0,0.18);
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.70) inset,
    0 12px 44px rgba(0,0,0,0.45),
    0 0 16px rgba(255,255,255,0.06);
}

.osu-ring{
  position: absolute;
  inset: 0; /* match hit circle at impact */
  border-radius: 999px;
  border: var(--ringBorder, 6px) solid rgba(255,255,255,0.74);
  opacity: var(--osuRingBase, 0.22);
  transform: scale(var(--ringScaleStart, 2.25));
  transition: transform var(--preempt, 600ms) linear, opacity 160ms ease;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.40) inset;
}

.osu-note.go .osu-ring{
  transform: scale(1.0);
  opacity: var(--osuRingDim, 0.14);
}
.osu-overlay.is-active .osu-note.go .osu-ring{
  opacity: var(--osuRingActive, 0.22);
}

.osu-judge{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -52%);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.10em;
  color: #fff;
  opacity: 0;
  text-shadow: 0 2px 14px rgba(0,0,0,0.55);
  user-select: none;
}

.osu-note.hit .osu-judge{
  opacity: 1;
}

.osu-note.hit .osu-hit{
  border-color: rgba(var(--accent2-rgb),0.92) !important;
  background: rgba(var(--accent2-rgb),0.12) !important;
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.70) inset,
    0 0 26px rgba(var(--accent2-rgb),0.22) !important;
}

.osu-note.miss{
  opacity: 0.18;
  filter: grayscale(1) drop-shadow(0 10px 30px rgba(0,0,0,0.18));
}

.osu-note.pop{
  animation: osuPop 260ms ease-out forwards;
}

@keyframes osuPop{
  from { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  to   { transform: translate(-50%, -50%) scale(1.18); opacity: 0; }
}

/* Disable the hit-circle overlay on touch devices */
@media (any-hover: none) and (any-pointer: coarse){
  .osu-overlay{ display: none; }
}



/* =============================
   osu!mania 4K Bars (desktop only)
   A small interactive lane overlay (A S K L) meant to keep users engaged.
   Skin: full white bars.
   ============================= */

.mania4k{
  position: absolute;
  /* Tall + narrow lane column (matches the red scribble concept) */
  left: var(--maniaLeft, clamp(340px, 36vw, 540px));
  top: var(--maniaTop, clamp(96px, 16vh, 180px));
  width: var(--maniaW, clamp(170px, 14vw, 240px));
  height: var(--maniaH, clamp(360px, 56vh, 620px));
  z-index: 2;
  pointer-events: none;
  opacity: var(--maniaDim, 0.16);
  transition: opacity 180ms ease;
  filter: drop-shadow(0 18px 54px rgba(0,0,0,0.30));
  transform: translate3d(0, var(--parallax-mania, 0px), 0);
}
.mania4k.is-active,
.mania4k.is-playing{ opacity: var(--maniaActive, 0.52); }

.mania-combo{
  position: absolute;
  left: calc(50% + var(--maniaComboX, 0px));
  top: calc(10px + var(--maniaComboY, 0px));
  transform: translate3d(-50%, -6px, 0);
  font: 900 28px/1 ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.94);
  /* Add a subtle neon glow (controlled by --maniaGlowPx) while keeping legibility. */
  text-shadow:
    0 0 var(--maniaGlowPx, 0px) var(--maniaGlowColor, rgba(255,255,255,0.55)),
    0 0 calc(var(--maniaGlowPx, 0px) * 0.55) var(--maniaGlowColorSoft, rgba(255,255,255,0.35)),
    0 2px 0 rgba(0,0,0,0.65),
    0 12px 32px rgba(0,0,0,0.35);
  opacity: 0;
  transition: opacity 180ms ease, transform 180ms ease;
  user-select: none;
  white-space: nowrap;
}
.mania4k.is-playing .mania-combo{
  opacity: 0.98;
  transform: translate3d(-50%, 0, 0);
}

.mania-canvas{
  display:block;
  width:100%;
  height:100%;
}
/* Keep it off on touch devices by default (mobile scroll perf). */
@media (any-pointer: coarse){
  .mania4k{ display: none !important; }
}





/* =========================================================
   VNMC WEBSITE v7 — Black & White + Accent theme overhaul
   Goals:
   - Cleaner typography-first layout (less “boxed” UI)
   - Clickable items: underline + hover glow gradient
   - Audio toggles: bottom-right dock
   - Support custom editor-defined layers
   ========================================================= */

/* Theme variables (can be overridden by cfg.theme in app.js) */
:root{
  --bg: #000;
  --text: #fff;
  --muted: rgba(255,255,255,0.68);

  --panel: rgba(0,0,0,0);
  --panel-strong: rgba(0,0,0,0);

  --border: rgba(255,255,255,0.14);

  --accent: #00e5ff;
  --accent2: #ff3355;
  --accent3: #b8ff5a;

  --accent-rgb: 0, 229, 255;
  --accent2-rgb: 255, 51, 85;
  --accent3-rgb: 184, 255, 90;

  --shadow: 0 18px 64px rgba(0,0,0,0.60);
  --shadow2: 0 18px 60px rgba(0,229,255,0.18);

  --bg-image-opacity: 0.30;
  --bg-video-opacity: 0.20;
}

body{
  background: var(--bg);
  color: var(--text);
}

a{ color: var(--accent); }
a:hover{ filter: brightness(1.12); }

/* Background: darker + subtle accent glows */
.bg-image{
  opacity: var(--bg-image-opacity);
  filter: contrast(1.05) saturate(0.90) brightness(0.70);
}
.bg-video{
  opacity: var(--bg-video-opacity);
  filter: contrast(1.05) saturate(0.90) brightness(0.65);
}
.bg-overlay{
  background:
    radial-gradient(1100px 760px at 12% 0%, rgba(var(--accent-rgb),0.18), transparent 62%),
    radial-gradient(1200px 820px at 92% 10%, rgba(var(--accent2-rgb),0.12), transparent 66%),
    radial-gradient(980px 720px at 50% 120%, rgba(var(--accent-rgb),0.10), transparent 68%),
    linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.88));
}

/* Accent spotlight follows cursor (desktop only). */
.accent-spotlight{
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 1;
  mix-blend-mode: screen;
}

/* Optimized spotlight blobs: move via transform (no full-screen gradient repaint). */
.accent-spotlight .spot{
  position: fixed;
  left: 0;
  top: 0;
  width: 680px;
  height: 520px;
  border-radius: 999px;
  opacity: var(--spot-opacity, 0.55);
  filter: blur(var(--spot-blur, 0px));
  transform:
    translate3d(var(--spot-x, 50vw), var(--spot-y, 40vh), 0)
    translate(-50%, -50%)
    scale(var(--spot-scale, 1));
  background: radial-gradient(circle at center,
    rgba(var(--spotA-rgb, var(--accent-rgb)), 0.28) 0%,
    rgba(var(--spotA-rgb, var(--accent-rgb)), 0.14) 32%,
    rgba(0,0,0,0) 66%);
}
.accent-spotlight .spot-b{
  width: 540px;
  height: 420px;
  transform:
    translate3d(var(--spot-x, 50vw), var(--spot-y, 40vh), 0)
    translate3d(140px, -60px, 0)
    translate(-50%, -50%)
    scale(var(--spot-scale, 1));
  background: radial-gradient(circle at center,
    rgba(var(--spotB-rgb, var(--accent2-rgb)), 0.22) 0%,
    rgba(var(--spotB-rgb, var(--accent2-rgb)), 0.12) 34%,
    rgba(0,0,0,0) 70%);
}
.accent-spotlight .spot-c{
  width: 600px;
  height: 500px;
  transform:
    translate3d(var(--spot-x, 50vw), var(--spot-y, 40vh), 0)
    translate3d(-160px, 110px, 0)
    translate(-50%, -50%)
    scale(var(--spot-scale, 1));
  background: radial-gradient(circle at center,
    rgba(var(--spotC-rgb, var(--accent3-rgb)), 0.18) 0%,
    rgba(var(--spotC-rgb, var(--accent3-rgb)), 0.10) 36%,
    rgba(0,0,0,0) 74%);
}
.accent-spotlight .spot-trail{
  width: 860px;
  height: 680px;
  opacity: 0.22;
  filter: blur(calc(var(--spot-blur, 0px) + 8px));
  transform:
    translate3d(var(--trail-x, 50vw), var(--trail-y, 40vh), 0)
    translate(-50%, -50%)
    scale(var(--spot-scale, 1));
  background: radial-gradient(circle at center,
    rgba(var(--spotA-rgb, var(--accent-rgb)), 0.18) 0%,
    rgba(0,0,0,0) 78%);
}


@media (any-hover: none) and (any-pointer: coarse){
  .accent-spotlight{ display: none; }
}
.bg-sparkles{
  opacity: 0.18;
  filter: grayscale(1) contrast(1.1);
}

/* Floaters: crisp monochrome squares w/ accent glow */
.bg-floater{
  border: 1px solid rgba(255,255,255,0.28);
  outline: 1px solid rgba(0,0,0,0.55);
  background: rgba(255,255,255,0.06);
  box-shadow:
    0 18px 55px rgba(0,0,0,0.55),
    0 0 0 1px rgba(255,255,255,0.10) inset,
    0 0 22px rgba(var(--accent-rgb),0.14);
}
.bg-floater::after{
  border-color: rgba(255,255,255,0.14);
}

/* Custom layers (Editor) */
.custom-layers{
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.custom-layers.content{
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1; /* behind most foreground UI; adjust per layer via z-index */
}
#customLayersBack{ --layer-base-parallax: var(--parallax-bg, 0px); }
#customLayersContent{ --layer-base-parallax: var(--parallax-fx, 0px); }

.custom-layer{
  position: absolute;
  left: calc(var(--x, 50) * 1%);
  top: calc(var(--y, 50) * 1%);
  width: var(--w, 220px);
  height: var(--h, auto);
  transform:
    translate(-50%, -50%)
    translate3d(var(--bg-sway-x, 0px), calc(var(--layer-base-parallax, 0px) + var(--layer-parallax, 0px) + var(--bg-sway-y, 0px)), 0);
  opacity: var(--opacity, 1);
  z-index: var(--z, 0);
  mix-blend-mode: var(--blend, normal);
  pointer-events: none;
}

.custom-layer .layer-inner{
  position: absolute;
  inset: 0;
  transform:
    rotate(calc(var(--rot, 0) * 1deg))
    scale(var(--scale, 1));
}

.custom-layer.float .layer-inner{
  animation: layerSway var(--float-dur, 10s) ease-in-out infinite;
  animation-delay: var(--float-delay, 0s);
}

@keyframes layerSway{
  0%   { transform: rotate(calc(var(--rot, 0) * 1deg)) scale(var(--scale, 1)) translate3d(var(--float-x, 0px), var(--float-y, 0px), 0) rotate(var(--float-rot, 0deg)); }
  50%  { transform: rotate(calc(var(--rot, 0) * 1deg)) scale(var(--scale, 1)) translate3d(calc(0px - var(--float-x, 0px)), calc(0px - var(--float-y, 0px)), 0) rotate(calc(0deg - var(--float-rot, 0deg))); }
  100% { transform: rotate(calc(var(--rot, 0) * 1deg)) scale(var(--scale, 1)) translate3d(var(--float-x, 0px), var(--float-y, 0px), 0) rotate(var(--float-rot, 0deg)); }
}
.custom-layer img,
.custom-layer video{
  width: 100%;
  height: 100%;
  object-fit: var(--fit, contain);
  display: block;
}

/* Topbar: minimal */
.topbar{
  background: rgba(0,0,0,0.44);
  border-bottom: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(14px);
}
.logo{
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.12);
}
.tagline{ color: rgba(255,255,255,0.62); }

/* Sections: remove big boxes */
.section{
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  overflow: visible !important; /* prevent headings / dots from getting clipped */
}
.section-title{
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.section-head{
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(var(--accent3-rgb),0.22);
  margin-bottom: 14px;
}

/* Info cards become “floating text blocks” */
.info-grid{
  gap: 16px !important;
}
.info-card{
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.info-label{
  color: rgba(255,255,255,0.55) !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.info-value{
  font-weight: 900;
}

/* Timeline: thin line + minimal nodes */
.timeline{
  border-left: 1px solid rgba(255,255,255,0.12) !important;
}
.timeline::before{ display:none !important; }
.timeline-item{
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
.timeline-dot{
  background: rgba(255,255,255,0.9) !important;
  box-shadow: 0 0 18px rgba(var(--accent3-rgb),0.22) !important;
}

/* Contact cards become floating text blocks */
.contact-card{
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.contact-label{
  color: rgba(255,255,255,0.55) !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.contact-value{
  font-weight: 900;
}

/* About hero image: no "white card" look (keep it floating) */
.hero-img{
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
.hero-img:hover{
  transform: translateY(-2px) scale(1.01);
  filter: drop-shadow(0 18px 50px rgba(0,0,0,0.45));
  box-shadow: none !important;
}

/* Card grids (tickets/products): outline-only + hover glow */
.card, .ticket-card{
  background: rgba(255,255,255,0.02) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  box-shadow: none !important;
}
.card:hover, .ticket-card:hover{
  border-color: rgba(var(--accent-rgb),0.28) !important;
  box-shadow:
    0 0 0 1px rgba(var(--accent-rgb),0.16) inset,
    0 0 34px rgba(var(--accent-rgb),0.14) !important;
}

/* Inputs for dark mode */
input, textarea, select, .select{
  background-color: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  color: var(--text) !important;
}
input::placeholder, textarea::placeholder{
  color: rgba(255,255,255,0.45);
}

/* Product dropdown: higher contrast + cleaner */
select.select,
.select{
  appearance: none;
  padding: 10px 36px 10px 12px !important;
  border-radius: 14px !important;
  background:
    /* base */
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)),
    /* caret */
    linear-gradient(45deg, transparent 50%, rgba(255,255,255,0.70) 50%),
    linear-gradient(135deg, rgba(255,255,255,0.70) 50%, transparent 50%) !important;
  background-position:
    0 0,
    calc(100% - 18px) 55%,
    calc(100% - 12px) 55% !important;
  background-size:
    auto,
    6px 6px,
    6px 6px !important;
  background-repeat: no-repeat !important;
}
select.select:focus,
.select:focus{
  outline: none;
  border-color: rgba(var(--accent-rgb),0.55) !important;
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb),0.18) !important;
}
select.select option,
.select option{
  background: #0b0c0f;
  color: #fff;
}

/* Underline + hover glow for clickable UI elements */
.tab, .primary, .secondary, .booking-btn, .drawer-tab{
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 14px;
  position: relative;
  color: var(--text) !important;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.tab::after, .primary::after, .secondary::after, .booking-btn::after, .drawer-tab::after{
  content:"";
  position:absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,0.22);
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0.75;
  transition: transform .18s ease, background .18s ease, opacity .18s ease;
}
.tab::before, .primary::before, .secondary::before, .booking-btn::before, .drawer-tab::before{
  content:"";
  position:absolute;
  inset: -8px -10px;
  border-radius: 16px;
  background:
    radial-gradient(120px 70px at 25% 35%, rgba(var(--accent-rgb),0.22), transparent 65%),
    radial-gradient(120px 70px at 75% 70%, rgba(var(--accent2-rgb),0.12), transparent 70%);
  filter: blur(10px);
  opacity: 0;
  transform: scale(0.96);
  transition: opacity .18s ease, transform .18s ease;
  z-index: -1;
  pointer-events: none;
}

.tab:hover::before, .primary:hover::before, .secondary:hover::before, .booking-btn:hover::before, .drawer-tab:hover::before{
  opacity: 1;
  transform: scale(1.0);
}
.tab:hover::after, .primary:hover::after, .secondary:hover::after, .booking-btn:hover::after, .drawer-tab:hover::after{
  transform: scaleX(1);
  background: rgba(var(--accent-rgb),0.95);
  box-shadow: 0 0 18px rgba(var(--accent-rgb),0.42);
  opacity: 1;
}
.tab:hover, .primary:hover, .secondary:hover, .booking-btn:hover, .drawer-tab:hover{
  transform: translateY(-1px);
}

/* Inline links ("clickable text") */
a.link{
  position: relative;
  color: var(--text);
  text-decoration: none;
  padding-bottom: 2px;
}
a.link::after{
  content:"";
  position:absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255,255,255,0.30);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
a.link:hover{
  text-shadow:
    0 0 10px rgba(var(--accent-rgb),0.20),
    0 0 18px rgba(var(--accent2-rgb),0.12);
}
a.link:hover::after{
  transform: scaleX(1);
  background: rgba(var(--accent-rgb),0.95);
  box-shadow: 0 0 18px rgba(var(--accent-rgb),0.40);
}

.tab.active::after{
  transform: scaleX(1);
  background: rgba(var(--accent3-rgb),0.92);
  box-shadow: 0 0 18px rgba(var(--accent3-rgb),0.40);
  opacity: 1;
}

/* Booking button: keep count pill readable */
.booking-btn{
  padding: 10px 12px !important;
  letter-spacing: 0.08em;
}
.booking-btn .pill{
  background: rgba(var(--accent2-rgb),0.22) !important;
  border: 1px solid rgba(var(--accent3-rgb),0.34) !important;
  color: rgba(255,255,255,0.92) !important;
}

/* Audio dock (bottom-right) */
.audio-dock{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: flex;
  gap: 10px;
  align-items: center;
  pointer-events: auto;
}
.audio-dock .icon-toggle{
  width: 44px;
  height: 44px;
  background: rgba(0,0,0,0.35) !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  box-shadow: 0 18px 54px rgba(0,0,0,0.55);
}
.audio-dock .icon-toggle:hover{
  border-color: rgba(var(--accent-rgb),0.34) !important;
  box-shadow: 0 18px 60px rgba(0,0,0,0.55), 0 0 28px rgba(var(--accent-rgb),0.16) !important;
}

/* Audio visualizer styling (match BW+accent) */
.audio-viz{
  /* "Floating" viz: no obvious box */
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  opacity: 1 !important;
  z-index: 95; /* above most UI, below cursor */
}
.audio-viz .viz-bar{
  background: rgba(255,255,255,0.92) !important;
  box-shadow:
    0 10px 24px rgba(0,0,0,0.45),
    0 0 22px rgba(var(--accent3-rgb),0.20) !important;
}

/* Modals / drawer: keep readable but dark */
.modal, .drawer{
  background: rgba(0,0,0,0.74) !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  box-shadow: 0 30px 90px rgba(0,0,0,0.70) !important;
}
.modal-backdrop{
  background: rgba(0,0,0,0.62) !important;
}
.drawer-header{
  border-bottom: 1px solid rgba(255,255,255,0.10) !important;
}

/* Drawer (checkout) readability: keep dark + high contrast */
.drawer-tabs{
  background: rgba(0,0,0,0.22) !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  border-radius: 999px !important;
}
.drawer-tab{
  color: rgba(255,255,255,0.72) !important;
}
.drawer-tab[disabled]{
  opacity: 0.35 !important;
}
.drawer-tab.active{
  color: rgba(255,255,255,0.96) !important;
}

.cart-item{
  background-color: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
}
.cart-meta{ color: rgba(255,255,255,0.62) !important; }
.total-label{ color: rgba(255,255,255,0.65) !important; }
.divider{ background: rgba(255,255,255,0.10) !important; }

.remove-btn{
  background: rgba(0,0,0,0.22) !important;
  border-color: rgba(255,255,255,0.14) !important;
  color: rgba(255,255,255,0.90) !important;
}
.remove-btn:hover{
  border-color: rgba(var(--accent-rgb),0.32) !important;
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb),0.12) !important;
}

.empty{
  background: rgba(255,255,255,0.04) !important;
  border-color: rgba(255,255,255,0.14) !important;
  color: rgba(255,255,255,0.78) !important;
}

.pay-method{
  background: rgba(255,255,255,0.05) !important;
  border-color: rgba(255,255,255,0.14) !important;
  color: rgba(255,255,255,0.92) !important;
}
.pay-method:hover{
  border-color: rgba(var(--accent-rgb),0.28) !important;
}
.pay-method.active{
  border-color: rgba(var(--accent-rgb),0.55) !important;
  box-shadow: 0 18px 48px rgba(var(--accent-rgb),0.14) !important;
  background: linear-gradient(135deg, rgba(var(--accent-rgb),0.12), rgba(var(--accent2-rgb),0.08)) !important;
}
.icon-btn{
  background-color: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  color: var(--text) !important;
}
.icon-btn:hover{
  border-color: rgba(var(--accent-rgb),0.34) !important;
}

/* Seat grid: crisp */
.seat{
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
}
.seat:hover{
  border-color: rgba(var(--accent-rgb),0.35) !important;
}
.seat.selected{
  background: rgba(var(--accent-rgb),0.88) !important;
  border-color: rgba(255,255,255,0.45) !important;
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.65) inset,
    0 0 0 2px rgba(var(--accent-rgb),0.55),
    0 0 28px rgba(var(--accent-rgb),0.55);
}

.seat.selected::after{
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 6px;
  border: 2px solid rgba(255,255,255,0.88);
  opacity: 0.55;
  pointer-events: none;
}

.seat-grid{
  background: rgba(0,0,0,0.28) !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.55) !important;
}
.seat-label{
  color: rgba(255,255,255,0.55) !important;
}
.seat-swatch{
  border-color: rgba(255,255,255,0.22) !important;
}
.seat-swatch.selected{
  background: rgba(var(--accent-rgb),0.88) !important;
  border-color: rgba(255,255,255,0.35) !important;
}
.seat-swatch.held{
  background: rgba(255,200,120,0.48) !important;
  border-color: rgba(255,200,120,0.38) !important;
}
.seat-swatch.paid{
  background: rgba(99,255,155,0.42) !important;
  border-color: rgba(99,255,155,0.36) !important;
}

/* Cursor dot: fits BW */
.cursor-dot{
  background: rgba(255,255,255,0.78);
  border-color: rgba(0,0,0,0.90);
}
.cursor-dot.is-hover{
  background: rgba(var(--accent-rgb),0.12);
}
.cursor-dot.is-click{
  background: rgba(var(--accent2-rgb),0.90);
  border-color: rgba(var(--accent2-rgb),0.92);
}

/* osu overlay: match theme */
.osu-hit{
  border-color: rgba(255,255,255,0.90) !important;
  background: rgba(0,0,0,0.16) !important;
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.76) inset,
    0 12px 42px rgba(0,0,0,0.58),
    0 0 18px rgba(var(--accent-rgb),0.10) !important;
}
.osu-hit::before{ display:none !important; }
.osu-ring{
  border-color: rgba(255,255,255,0.70) !important;
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.55) inset,
    0 0 26px rgba(var(--accent-rgb),0.18) !important;
}
.osu-note.go .osu-ring{ opacity: var(--osuRingDim, 0.14) !important; }
.osu-overlay.is-active .osu-note.go .osu-ring{ opacity: var(--osuRingActive, 0.22) !important; }
.osu-note.hit .osu-hit{
  border-color: rgba(var(--accent2-rgb),0.92) !important;
  background: rgba(var(--accent2-rgb),0.12) !important;
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.70) inset,
    0 0 26px rgba(var(--accent2-rgb),0.22) !important;
}

/* Miss “X” is drawn via .osu-x (added in app.js) */
.osu-x{
  position:absolute;
  inset: 14px;
  opacity: 0;
}
.osu-x::before,
.osu-x::after{
  content:"";
  position:absolute;
  left: 50%;
  top: 50%;
  width: 120%;
  height: 3px;
  background: rgba(var(--accent2-rgb),0.85);
  transform-origin: center;
  border-radius: 999px;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.55));
}
.osu-x::before{ transform: translate(-50%, -50%) rotate(45deg); }
.osu-x::after{ transform: translate(-50%, -50%) rotate(-45deg); }

.osu-note.miss .osu-x{
  opacity: 1;
}

.osu-note.no-x .osu-x{ display:none; }

.osu-note.miss{
  opacity: 0.14 !important;
}

/* Subtle miss fade (no lingering) */
.osu-note.missfade{
  animation: osuMissFade var(--missfade, 260ms) ease-out forwards;
}
@keyframes osuMissFade{
  from { transform: translate(-50%, -50%) scale(1); opacity: 0.30; }
  to   { transform: translate(-50%, -50%) scale(1.06); opacity: 0; }
}



/* Hero: remove big frame box, focus on typography */
.hero-frame{
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: clamp(26px, 4.4vw, 54px) clamp(18px, 3.2vw, 34px) 14px !important;
  overflow: visible !important;
  backdrop-filter: none !important;
}
.hero-frame::before{ display:none !important; }
.hero-frame::after{ display:none !important; } /* hide frame-* border pseudo elements */
.hero-badge{
  background-color: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  color: rgba(255,255,255,0.92) !important;
}
.hero-mini{ color: rgba(255,255,255,0.70) !important; }
.hero-title-main,
.hero-title-sub{
  color: rgba(255,255,255,0.98) !important;
  text-shadow:
    0 10px 50px rgba(0,0,0,0.65),
    0 0 28px rgba(var(--accent-rgb),0.16);
}

/* Location line ("HA NOI"): pinkish-red accent, applied to both hero title + intro clone.
   Use a slightly higher-specificity selector so it never gets overridden back to white. */
.hero-title-sub.hero-title-loc,
#heroTitle .hero-title-loc,
.enter-stage-title .hero-title-loc{
  color: rgba(255, 76, 140, 0.98) !important;
  text-shadow:
    0 10px 50px rgba(0,0,0,0.65),
    0 0 26px rgba(255, 76, 140, 0.22),
    0 0 54px rgba(255, 76, 140, 0.12);
}
.hero-meta .meta-pill{
  background-color: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  color: rgba(255,255,255,0.92) !important;
}

.hero-desc{
  margin: 14px 0 0;
  max-width: 56ch;
  color: rgba(255,255,255,0.78);
  line-height: 1.55;
  font-size: 13.5px;
  letter-spacing: 0.01em;
}
@media (max-width: 520px){
  .hero-desc{ font-size: 13px; }
  /* Mobile: shrink hero title so it doesn't dominate the screen */
  .hero-title-main{
    font-size: clamp(40px, 10.5vw, 68px);
    letter-spacing: -0.04em;
  }
  .hero-title-sub{
    font-size: clamp(22px, 7.4vw, 44px);
    margin-top: 8px;
  }
  .hero-title-sub::after{
    height: 4px;
    margin-top: 10px;
  }
}


/* Keyboard focus should get the same hover affordance */
.tab:focus-visible::before,
.primary:focus-visible::before,
.secondary:focus-visible::before,
.booking-btn:focus-visible::before,
.drawer-tab:focus-visible::before{
  opacity: 1;
  transform: scale(1.0);
}
.tab:focus-visible::after,
.primary:focus-visible::after,
.secondary:focus-visible::after,
.booking-btn:focus-visible::after,
.drawer-tab:focus-visible::after{
  transform: scaleX(1);
  background: rgba(var(--accent-rgb),0.92);
  opacity: 1;
}



/* --- v12: Tickets & Products contrast tweaks --- */
.ticket-perks{
  color: rgba(255,255,255,0.84) !important;
}
.ticket-perks div::before{
  color: rgba(255,255,255,0.78) !important;
  opacity: 1 !important;
}
.ticket-title{
  color: rgba(255,255,255,0.92) !important;
}
.ticket-desc{
  color: rgba(255,255,255,0.78) !important;
}
.ticket-price{
  color: rgba(255,255,255,0.92) !important;
  background: rgba(0,0,0,0.35) !important;
  border: 1px solid rgba(255,255,255,0.20) !important;
}

/* Product cards: white text + clean media block */
.product-media{
  width: 100%;
  margin-bottom: 12px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.20);
}
.product-media img{
  width: 100%;
  height: 190px;
  object-fit: cover;
  display:block;
  opacity: 0.92;
}
.product-card .card-title,
.product-card .price,
.product-card label{
  color: rgba(255,255,255,0.92) !important;
}
.product-card .card-desc{
  color: rgba(255,255,255,0.74) !important;
}
.product-card .select{
  color: rgba(255,255,255,0.92) !important;
  background: rgba(0,0,0,0.40) !important;
  border: 1px solid rgba(255,255,255,0.20) !important;
}
.product-card .select option{
  color: #0b0f18;
}


/* =========================================================
   v12.1.1 tweaks
   - More responsive cursor spotlight
   - News section (Info tab)
   - Enticing "money" buttons (checkout / purchase)
   ========================================================= */

/* Utility: full-width buttons in drawer */
.full{ width: 100% !important; }

/* Ensure modals always sit above the booking drawer */
.modal-backdrop{ z-index: 200; }
.modal{ z-index: 220; }


/* Money buttons (purchase / checkout CTAs)
   Inspired by osu! site: bold, vibrant, "cell" blocks with shine */
.money-btn{
  --moneyA: var(--accent-rgb);
  --moneyB: var(--accent2-rgb);

  background: linear-gradient(135deg, rgba(var(--moneyA),0.94), rgba(var(--moneyB),0.88)) !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
  border-radius: 18px !important;
  box-shadow:
    0 22px 56px rgba(0,0,0,0.65),
    0 0 0 1px rgba(255,255,255,0.08) inset,
    0 0 34px rgba(var(--moneyA),0.18) !important;

  color: rgba(255,255,255,0.96) !important;
  text-shadow:
    0 2px 14px rgba(0,0,0,0.55),
    0 0 16px rgba(0,0,0,0.35);

  padding: 12px 16px !important;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-weight: 1200;

  position: relative;
  overflow: hidden;
  isolation: isolate;

  transition: transform .14s ease, filter .14s ease, box-shadow .14s ease;
}

/* Override the default underline/glow-plate system for money CTAs */
.money-btn::before,
.money-btn::after{
  content: "" !important;
  position: absolute !important;
  pointer-events: none !important;
}

/* Subtle pattern */
.money-btn::before{
  inset: -2px !important;
  border-radius: inherit !important;
  background:
    repeating-linear-gradient(135deg,
      rgba(255,255,255,0.24) 0 12px,
      rgba(255,255,255,0.06) 12px 24px);
  opacity: 0.14;
  mix-blend-mode: overlay;
  transform: translateX(-22%);
  transition: opacity .16s ease;
  z-index: -1;
}

/* Shine sweep on hover */
.money-btn::after{
  inset: -40% -60% !important;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
  opacity: 0;
  transform: translateX(-40%) rotate(14deg);
  z-index: 2;
}

.money-btn:hover{
  transform: translateY(-2px);
  filter: brightness(1.05) saturate(1.05);
  box-shadow:
    0 26px 64px rgba(0,0,0,0.72),
    0 0 0 1px rgba(255,255,255,0.10) inset,
    0 0 46px rgba(var(--moneyA),0.22) !important;
}
.money-btn:hover::before{ opacity: 0.18; }
.money-btn:hover::after{
  opacity: 0.70;
  animation: moneyShine 880ms ease-out 1;
}

.money-btn:active{
  transform: translateY(0) scale(0.985);
  filter: brightness(0.98) saturate(1.0);
}

.money-btn:disabled{
  cursor: not-allowed;
  opacity: 0.55;
  filter: grayscale(0.15) brightness(0.92);
  transform: none;
  box-shadow:
    0 18px 46px rgba(0,0,0,0.55),
    0 0 0 1px rgba(255,255,255,0.08) inset !important;
}
.money-btn:disabled::after{ opacity: 0 !important; animation: none !important; }

.money-btn:focus-visible{
  outline: none;
  box-shadow:
    0 26px 64px rgba(0,0,0,0.70),
    0 0 0 3px rgba(255,255,255,0.18) inset,
    0 0 0 3px rgba(var(--moneyA),0.22),
    0 0 52px rgba(var(--moneyA),0.26) !important;
}

@keyframes moneyShine{
  from{ transform: translateX(-55%) rotate(14deg); }
  to{ transform: translateX(55%) rotate(14deg); }
}

/* Variants */
.money-btn.money-book{ --moneyA: var(--accent-rgb); --moneyB: var(--accent2-rgb); }
.money-btn.money-pay{ --moneyA: var(--accent2-rgb); --moneyB: var(--accent-rgb); }
.money-btn.money-submit{ --moneyA: var(--accent3-rgb); --moneyB: var(--accent-rgb); }
.money-btn.money-ticket{ --moneyA: var(--accent-rgb); --moneyB: var(--accent3-rgb); }
.money-btn.money-add{ --moneyA: var(--accent-rgb); --moneyB: var(--accent3-rgb); }
.money-btn.money-open{ --moneyA: var(--accent2-rgb); --moneyB: var(--accent3-rgb); }

/* Tighten for the small topbar booking button */
.booking-btn.money-btn{
  padding: 10px 12px !important;
  border-radius: 16px !important;
  letter-spacing: 0.08em;
}

/* Keep the hero CTA button large */
.money-btn.giant{
  padding: 16px 18px !important;
  border-radius: 20px !important;
  font-size: 18px;
}

/* Price-as-button label (tickets/products)
   - main number is the star
   - small subtext keeps the action obvious (pick seat / add)
*/
.price-btn{
  display:flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;

  /* keep numbers readable (don't force uppercase/huge tracking) */
  text-transform: none !important;
  letter-spacing: 0 !important;
  line-height: 1.05;
}
.price-btn .price-main{
  /* Clean, bold "shopping" price typography (system fonts only) */
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-style: normal;
  font-weight: 1000;
  font-size: 20px;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;

  /* Price should read clearly on any button color */
  color: rgba(255,255,255,0.98);
  -webkit-text-stroke: 1.5px rgba(0,0,0,0.72);
  paint-order: stroke fill;

  text-shadow:
    0 10px 30px rgba(0,0,0,0.42),
    0 0 18px rgba(var(--moneyA),0.10);
}
.price-btn .price-sub{
  font-size: 11px;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  opacity: 0.80;
}


/* News section (Info tab) */
.news-list{
  display: grid;
  gap: 14px;
  margin-top: 12px;
}

/* News dock (hero top-right) */
.news-dock{ display:flex; flex-direction: column; gap: 10px; }
.news-dock-head{ display:flex; align-items:center; justify-content: space-between; padding: 0 2px; }
.news-dock-title{
  font-weight: 1200;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.86);
}
.news-dock-dots{ display:flex; gap: 6px; align-items:center; justify-content:flex-end; }
.news-dock-dot{
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(255,255,255,0.22);
  cursor: pointer;
}
.news-dock-dot.active{
  background: rgba(var(--accent3-rgb),0.86);
  box-shadow: 0 0 0 3px rgba(var(--accent3-rgb),0.12);
}
.news-card-mini{ width: 100%; }
.news-card-mini .news-excerpt{ margin-top: 6px; }

.news-card{
  width: 100%;
  text-align: left;
  padding: 0;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.94);
  cursor: pointer;
  overflow: hidden;
  position: relative;
  transition: transform .14s ease, border-color .14s ease, box-shadow .14s ease, background .14s ease;
}

.news-card:hover{
  transform: translateY(-2px);
  border-color: rgba(var(--accent-rgb),0.34);
  background: rgba(255,255,255,0.06);
  box-shadow:
    0 24px 66px rgba(0,0,0,0.70),
    0 0 34px rgba(var(--accent-rgb),0.14);
}

.news-card:focus-visible{
  outline: none;
  box-shadow:
    0 26px 72px rgba(0,0,0,0.72),
    0 0 0 3px rgba(var(--accent-rgb),0.22);
}

.news-thumb{
  width: 100%;
  aspect-ratio: 16 / 7;
  background: rgba(0,0,0,0.28);
  border-bottom: 1px solid rgba(255,255,255,0.10);
  overflow: hidden;
}
.news-thumb img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 0.92;
  filter: saturate(1.05) contrast(1.05);
}
.news-thumb-placeholder{
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-weight: 1200;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.40);
  background:
    radial-gradient(340px 180px at 20% 20%, rgba(var(--accent-rgb),0.14), transparent 60%),
    radial-gradient(340px 180px at 80% 80%, rgba(var(--accent2-rgb),0.12), transparent 60%),
    rgba(0,0,0,0.30);
}

.news-row{
  display: flex;
  gap: 14px;
  padding: 14px 16px 16px;
  align-items: flex-start;
}

.news-date{
  min-width: 74px;
  text-align: center;
  padding-right: 14px;
  border-right: 1px solid rgba(255,255,255,0.10);
}

.news-day{
  font-size: 22px;
  font-weight: 1300;
  letter-spacing: 0.02em;
  line-height: 1.05;
}

.news-sub{
  margin-top: 4px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.70;
}

.news-text{ flex: 1; min-width: 0; }

.news-title{
  font-size: 16px;
  font-weight: 1200;
  letter-spacing: -0.01em;
}

.news-excerpt{
  margin-top: 8px;
  color: rgba(255,255,255,0.72);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 720px){
  .news-row{ flex-direction: column; }
  .news-date{
    border-right: none;
    padding-right: 0;
    text-align: left;
    min-width: unset;
    display: flex;
    gap: 10px;
    align-items: baseline;
  }
  .news-day{ font-size: 18px; }
  .news-sub{ margin-top: 0; }
}

/* News modal content */
.news-modal-img{
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.14);
  margin-bottom: 14px;
  display: block;
}
.news-modal-content p{
  margin: 0 0 12px;
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
}
.news-links-row{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 12px;
}


/* Timeline modal */
.timeline-modal-desc p,
.timeline-modal-details p{
  margin: 0 0 12px;
  color: rgba(255,255,255,0.84);
  line-height: 1.7;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.timeline-modal-details{
  margin-top: 8px;
}

.timeline-modal-bullets{
  margin: 10px 0 0;
  padding-left: 18px;
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.timeline-modal-bullets li{
  margin: 0 0 8px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Build label (bottom-left) — purely for debugging caching / wrong build issues */
.build-label{
  position: fixed;
  left: 14px;
  bottom: 12px;
  z-index: 260;
  pointer-events: auto;
  user-select: text;
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.44);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.22);
  backdrop-filter: blur(10px);
}
.build-label:hover{
  color: rgba(255,255,255,0.76);
  border-color: rgba(var(--accent-rgb),0.30);
  box-shadow:
    0 12px 34px rgba(0,0,0,0.34),
    0 0 24px rgba(var(--accent-rgb),0.12);
}
@media (max-width: 520px){
  .build-label{ display:none; }
}



/* =========================================================
   v12.2.1 — Design polish pass 2
   - osu-style solid buttons (no gradients), more squared corners
   - Intro language picker + site intro stage
   - Left-dock layout (desktop) + News dock (top-right)
   ========================================================= */

/* Button shape + texture tokens */
:root{
  --btn-radius: 12px;
  --btn-radius-sm: 10px;
  --btn-border: rgba(255,255,255,0.16);
  --btn-border-hover: rgba(var(--accent-rgb),0.55);
  --btn-bg: rgba(255,255,255,0.06);
  --btn-bg-hover: rgba(255,255,255,0.10);
  --btn-shadow: 0 18px 60px rgba(0,0,0,0.55);
  --btn-shadow-hover: 0 22px 70px rgba(0,0,0,0.68);
}

/* Intro: remove flashing CTA */
.intro-continue{
  animation: none !important;
  opacity: 0.94;
  border-radius: var(--btn-radius) !important;
}

/* Intro language picker */
.intro-lang{
  margin-top: 14px;
  padding: 12px 12px 10px;
  border-radius: var(--btn-radius);
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.26);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.05) inset;
}
.intro-lang-title{
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(255,255,255,0.86);
  margin-bottom: 10px;
}
.intro-lang-buttons{
  display:flex;
  gap: 10px;
}
.lang-btn{
  flex: 1;
  padding: 12px 12px;
  border-radius: var(--btn-radius-sm);
  border: 1px solid var(--btn-border);
  background: var(--btn-bg);
  color: rgba(255,255,255,0.92);
  font-weight: 900;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow:hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.38);
}
.lang-btn.active{
  border-color: var(--btn-border-hover);
  background-color: rgba(var(--accent-rgb),0.14);
  box-shadow: 0 14px 46px rgba(0,0,0,0.46), 0 0 28px rgba(var(--accent-rgb),0.18);
}

.lang-btn::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.10) 0 1px, transparent 1px);
  background-size: 6px 6px;
  opacity: 0.35;
  pointer-events:none;
}
.lang-btn:hover{
  border-color: var(--btn-border-hover);
  background: var(--btn-bg-hover);
  box-shadow: 0 14px 46px rgba(0,0,0,0.46), 0 0 24px rgba(var(--accent-rgb),0.14);
  transform: translateY(-1px);
}
.lang-btn:active{ transform: translateY(0px); }
.intro-lang-note{
  margin-top: 10px;
  opacity: 0.78;
}

/* Site intro stage (after Click to Continue)
   - Seamless FLIP-style animation: the stage title is a clone of the real hero title.
   - It starts huge in the center, then eases into the hero title position on the left.
   - News/other UI fade-in is handled separately (see .intro-lock / .site-entering). */
.enter-stage{
  position: fixed;
  inset: 0;
  z-index: 1100;
  pointer-events:none;
  opacity: 0;
  transition: opacity var(--enter-fade-ms, 520ms) ease;
}

/* Performance: during the enter-stage animation, pause heavy background FX and hide cursor glow. */
body.site-entering .bg-noise,
body.site-entering .bg-scanlines,
body.site-entering .bg-glitchflash,
body.site-entering .bg-floater{
  animation-play-state: paused !important;
}
body.site-entering .accent-spotlight{
  display: none !important;
}
body.site-entering .cursor-dot{
  opacity: 0 !important;
}
body.site-entering .enter-stage{ opacity: 1; }

.enter-stage-mover{
  position: fixed;
  left: var(--enter-left, 0px);
  top: var(--enter-top, 0px);
  width: var(--enter-w, auto);
  height: var(--enter-h, auto);
  transform: translate3d(var(--enter-start-x, 0px), var(--enter-start-y, 0px), 0);
  transition: transform 1400ms cubic-bezier(.16,1,.3,1);
  will-change: transform;
}

.enter-stage-title{
  /* IMPORTANT: This element must be width-constrained so the cloned hero title
     wraps exactly like the real hero title.
     If it stays inline-block (shrink-to-fit), the clone can become max-content
     width on mobile and clip off-screen during the intro stage. */
  display:block;
  width: 100%;
  max-width: 100%;
  text-align:left;
  transform: scale(var(--enter-start-scale, 1));
  transform-origin: left top;
  transition: transform 1400ms cubic-bezier(.16,1,.3,1);
  will-change: transform;
}

/* Ensure the cloned hero title never grows beyond the mover box */
.enter-stage-title .hero-title,
.enter-stage-title .hero-title-main,
.enter-stage-title .hero-title-sub{
  max-width: 100%;
}

/* Mobile: the real hero title uses a smaller font-size under #tab-info.
   The intro stage clone lives outside #tab-info, so mirror the same sizing
   to keep the clone and the final hero position perfectly aligned. */
@media (max-width: 720px){
  .enter-stage-title .hero-title-main{ font-size: clamp(24px, 7.6vw, 38px); letter-spacing: -0.06em; }
  .enter-stage-title .hero-title-sub{ font-size: clamp(16px, 5.8vw, 26px); }
  .enter-stage-title .hero-title-sub::after{ margin-top: 10px; height: 5px; }
}

/* Trigger: move/scale toward the real hero title (identity transform) */
body.enter-stage-go .enter-stage-mover{ transform: translate3d(0,0,0); }
body.enter-stage-go .enter-stage-title{ transform: scale(1); }

/* Fade stage out near the end (crossfade to the real hero title) */
body.enter-stage-out .enter-stage{ opacity: 0; }

/* Prevent an unwanted "left -> center" transition when we first set CSS vars.
   JS adds body.enter-stage-prep while laying out the initial center state. */
body.enter-stage-prep .enter-stage-mover,
body.enter-stage-prep .enter-stage-title{
  transition: none !important;
}

/* While in prep, keep the stage title hidden (so it doesn't pop in before the glitch-in starts). */
body.enter-stage-prep .enter-stage-title{ opacity: 0; }

/* Glitch-in: title appears in the center with a brief glitch/flicker. */
body.enter-stage-in .enter-stage-title{
  opacity: 1;
  animation: enterStageIn var(--glitch-in-ms, 650ms) ease-out 1 both;
}

body.enter-stage-in .enter-stage-title .hero-title-main.glitch::after{
  opacity: 0.95;
  animation: enterTitleGlitchIn var(--glitch-in-ms, 650ms) steps(2,end) 1 both;
}
body.enter-stage-in .enter-stage-title .hero-title-sub.glitch::before{
  opacity: 0.80;
  animation: enterSubGlitchIn var(--glitch-in-ms, 650ms) steps(2,end) 1 both;
}

@keyframes enterStageIn{
  /* Keep this light: opacity only (filters on huge text can tank FPS on some GPUs). */
  0%{ opacity: 0; }
  10%{ opacity: 1; }
  22%{ opacity: 0.62; }
  34%{ opacity: 1; }
  52%{ opacity: 0.78; }
  100%{ opacity: 1; }
}

@keyframes enterTitleGlitchIn{
  0%{
    transform: translate(0,0);
    opacity: 0;
    filter: none;
    background-position: 0 0, 7px 7px, 0 0, 4px 4px;
  }
  10%{
    opacity: .98;
    filter: contrast(1.35);
    transform: translate(-8px,-2px);
    background-position: 18px -10px, -10px 14px, 14px -12px, -14px 16px;
  }
  18%{
    opacity: .72;
    transform: translate(10px,2px);
    background-position: -18px 12px, 10px -12px, -14px 14px, 12px -10px;
  }
  26%{
    opacity: .90;
    transform: translate(-6px,1px);
    background-position: 8px 20px, -12px -8px, 10px 18px, -8px 12px;
  }
  36%{
    opacity: .78;
    transform: translate(6px,0px);
    background-position: -10px 16px, 14px -10px, -8px 12px, 10px -6px;
  }
  54%{
    opacity: .34;
    transform: translate(0,0);
    filter: none;
  }
  100%{
    transform: translate(0,0);
    opacity: 0;
    filter: none;
  }
}
@keyframes enterSubGlitchIn{
  0%{
    transform: translate(0,0);
    opacity: 0;
    filter: contrast(1.1) blur(0.5px);
    background-position: 0 0, 5px 5px, 2px 2px;
  }
  14%{
    opacity: .82;
    transform: translate(-5px,0px);
    filter: contrast(1.45);
    background-position: 12px -8px, -8px 10px, 10px -12px;
  }
  24%{
    opacity: .58;
    transform: translate(7px,1px);
    background-position: -12px 10px, 8px -10px, -10px 12px;
  }
  34%{
    opacity: .76;
    transform: translate(-4px,0px);
    background-position: 8px 14px, -10px -6px, 12px 8px;
  }
  52%{
    opacity: .22;
    transform: translate(0,0);
    filter: contrast(1.1);
  }
  100%{
    opacity: 0;
    transform: translate(0,0);
    filter: none;
  }
}

/* Hide/blur UI while intro lock is up, then ease in */
body.intro-lock .topbar,
body.intro-lock .container{
  opacity: 0;
  filter: blur(8px);
}
body.site-entering .topbar,
body.site-entering .container{
  opacity: 1;
  filter: none;
  transition: opacity 520ms ease, filter 520ms ease;
}

/* Give the topbar a tiny slide-in (safe: doesn't affect hero title positioning) */
body.intro-lock .topbar{ transform: translate3d(0, -10px, 0); }
body.site-entering .topbar{ transform: translate3d(0, 0, 0); transition: opacity 520ms ease, filter 520ms ease, transform 720ms cubic-bezier(.2,.9,.2,1); }

/* Button redesign (osu website vibe): solid fills + texture, no gradients */
.tab, .primary, .secondary, .booking-btn, .drawer-tab, .money-btn{
  border-radius: var(--btn-radius) !important;
  background: var(--btn-bg) !important;
  border: 1px solid var(--btn-border) !important;
  box-shadow: var(--btn-shadow) !important;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.10em;
  text-transform: uppercase;

  /* subtle dot texture */
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.09) 0 1px, transparent 1px) !important;
  background-size: 6px 6px !important;
}

/* Remove previous underline/glow pseudo-elements from older themes */
.tab::before, .tab::after,
.primary::before, .primary::after,
.secondary::before, .secondary::after,
.booking-btn::before, .booking-btn::after,
.drawer-tab::before, .drawer-tab::after,
.money-btn::before, .money-btn::after{
  content: none !important;
  display: none !important;
}


.tab:hover, .primary:hover, .secondary:hover, .booking-btn:hover, .drawer-tab:hover, .money-btn:hover{
  background: var(--btn-bg-hover) !important;
  border-color: var(--btn-border-hover) !important;
  box-shadow: var(--btn-shadow-hover) !important;
  transform: translateY(-1px);
}

.tab:active, .primary:active, .secondary:active, .booking-btn:active, .drawer-tab:active, .money-btn:active{
  transform: translateY(0px) scale(0.99);
}

.tab.active{
  border-color: rgba(var(--accent3-rgb),0.55) !important;
  box-shadow: var(--btn-shadow) !important;
}

/* Icon buttons: more squared */
.icon-btn, .icon-toggle{
  border-radius: var(--btn-radius) !important;
}
/* Accent "money" buttons: single-color solid (no gradients) */
.money-book{
  background-color: rgba(var(--accent-rgb),0.18) !important;
  border-color: rgba(var(--accent-rgb),0.40) !important;
}
.money-ticket{
  background-color: rgba(var(--accent3-rgb),0.14) !important;
  border-color: rgba(var(--accent3-rgb),0.34) !important;
}
.money-pay{
  background-color: rgba(var(--accent2-rgb),0.14) !important;
  border-color: rgba(var(--accent2-rgb),0.34) !important;
}
.money-submit{
  background-color: rgba(255,255,255,0.10) !important;
  border-color: rgba(255,255,255,0.22) !important;
}
.money-add, .money-open{
  background-color: rgba(255,255,255,0.06) !important;
  border-color: rgba(255,255,255,0.14) !important;
}

/* Icon buttons: more squared */
.icon-btn, .icon-toggle{
  border-radius: var(--btn-radius) !important;
}

/* Left-dock layout (desktop) */
@media (min-width: 980px){
  .topbar{
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 360px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 22px 20px;
    gap: 16px;
    border-right: 1px solid rgba(255,255,255,0.10);
    border-bottom: none;
  }

  .brand{
    min-width: 0;
    width: 100%;
  }
  .brand-text .event-name{
    font-size: 15px;
  }

  .tabs{
    width: 100%;
    flex-direction: column;
    justify-content: flex-start;
    gap: 10px;
    margin-top: 8px;
  }
  .tab{
    width: 100%;
    text-align: left;
    padding: 12px 12px;
  }

  .top-actions{
    width: 100%;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .lang-mini{ width: 100%; }

  .booking-btn{
    width: 100%;
    justify-content: space-between;
    padding: 12px 12px !important;
  }

  .container{
    max-width: none;
    margin-left: 360px;
    padding: 0 24px 86px;
  }

  .hero-splash{
    min-height: 72vh;
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: 34px;
  }

  .hero-frame{
    width: min(980px, 100%);
    margin: 0;
    border-radius: 18px;
  }

  .hero-title-wrap{ text-align: left; }
  .hero-title{ text-align: left; align-items: flex-start; }
}

/* Mini language toggle (topbar) */
.lang-mini{
  display:flex;
  gap: 10px;
}
.lang-mini-btn{
  flex: 1;
  justify-content:center;
  padding: 10px 10px !important;
  font-weight: 1000;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.lang-mini-btn.active{
  border-color: rgba(var(--accent-rgb),0.55) !important;
  background-color: rgba(var(--accent-rgb),0.14) !important;
}



/* =========================================================
   v12.2.1 — Floating clickable text + topbar restore
   - Remove boxy nav/buttons (underline + glow plate)
   - Keep purchase CTAs as solid, textured blocks (osu website vibe)
   - Restore desktop topbar layout (no left dock)
   ========================================================= */

/* Desktop: restore topbar (override the v12.2.0 left-dock experiment) */
@media (min-width: 980px){
  .topbar{
    position: sticky !important;
    left: auto !important;
    top: 0 !important;
    bottom: auto !important;
    width: auto !important;
    /* Use a 3-column grid so the tabs are truly centered on the page */
    display: grid !important;
    grid-template-columns: 1fr auto 1fr;
    align-items: center !important;
    padding: 12px 18px !important;
    gap: 14px !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.10) !important;
  }

  .brand{
    justify-self: start;
    min-width: 0;
  }

  .tabs{
    justify-self: center;
    width: auto !important;
    flex: none !important;
    flex-direction: row !important;
    justify-content: center !important;
    gap: 22px !important;
    margin-top: 0 !important;
  }

  .tab{
    width: auto !important;
    text-align: center !important;
    padding: 10px 10px !important;
  }

  .top-actions{
    justify-self: end;
    width: auto !important;
    margin-top: 0 !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
  }

  .lang-mini{
    width: auto !important;
  }

  .booking-btn{
    width: auto !important;
    justify-content: center !important;
  }

  .container{
    margin: 0 auto !important;
    margin-left: auto !important;
    max-width: 980px !important;
    padding: 0 18px 86px !important;
  }
}


/* Floating-clickable system (underline + glow plate)
   Applies to navigation + secondary actions.
   Purchase buttons use .money-btn and are styled separately. */
.tab,
.drawer-tab,
.lang-mini-btn,
.scroll-more,
.primary:not(.money-btn),
.secondary:not(.money-btn){
  background: transparent !important;
  background-image: none !important;
  border: none !important;
  box-shadow: none !important;
  position: relative;
  overflow: visible !important;
  color: rgba(255,255,255,0.92) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  line-height: 1.12;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-radius: 12px !important;
}

/* Tabs should never wrap / squeeze (especially when switching languages) */
.tabs .tab{ white-space: nowrap; }

/* Vietnamese labels tend to be wider; reduce tracking slightly so text doesn't feel cramped */
html[lang="vi"] .tab,
html[lang="vi"] .drawer-tab,
html[lang="vi"] .scroll-more,
html[lang="vi"] .primary:not(.money-btn),
html[lang="vi"] .secondary:not(.money-btn),
html[lang="vi"] .money-btn{
  letter-spacing: 0.07em;
}

/* Ensure hover/active states stay "floating" (override old boxed-button rules) */
.tab:hover,
.drawer-tab:hover,
.lang-mini-btn:hover,
.scroll-more:hover,
.primary:not(.money-btn):hover,
.secondary:not(.money-btn):hover{
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.tab.active,
.drawer-tab.active,
.lang-mini-btn.active{
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.tab::before,
.drawer-tab::before,
.lang-mini-btn::before,
.scroll-more::before,
.primary:not(.money-btn)::before,
.secondary:not(.money-btn)::before{
  content: "" !important;
  display: block !important;
  position: absolute;
  inset: -10px -14px;
  border-radius: 16px;
  background:
    radial-gradient(140px 80px at 18% 60%, rgba(var(--accent-rgb),0.22), transparent 62%),
    radial-gradient(140px 80px at 82% 60%, rgba(var(--accent2-rgb),0.16), transparent 68%);
  filter: blur(14px);
  opacity: 0;
  transform: scale(0.97);
  transition: opacity .18s ease, transform .18s ease;
  pointer-events: none;
  z-index: -1;
}

.tab::after,
.drawer-tab::after,
.lang-mini-btn::after,
.scroll-more::after,
.primary:not(.money-btn)::after,
.secondary:not(.money-btn)::after{
  content: "" !important;
  display: block !important;
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg,
    rgba(var(--accent-rgb),0.0),
    rgba(var(--accent-rgb),0.95),
    rgba(var(--accent2-rgb),0.90),
    rgba(var(--accent2-rgb),0.0)
  );
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0.9;
  transition: transform .18s ease, opacity .18s ease;
  pointer-events: none;
}

.tab:hover::before,
.drawer-tab:hover::before,
.lang-mini-btn:hover::before,
.scroll-more:hover::before,
.primary:not(.money-btn):hover::before,
.secondary:not(.money-btn):hover::before{
  opacity: 1;
  transform: scale(1.0);
}

.tab:hover::after,
.drawer-tab:hover::after,
.lang-mini-btn:hover::after,
.scroll-more:hover::after,
.primary:not(.money-btn):hover::after,
.secondary:not(.money-btn):hover::after{
  transform: scaleX(1);
  opacity: 1;
}

.tab:focus-visible,
.drawer-tab:focus-visible,
.lang-mini-btn:focus-visible,
.scroll-more:focus-visible,
.primary:not(.money-btn):focus-visible,
.secondary:not(.money-btn):focus-visible{
  outline: none;
}

.tab:focus-visible::after,
.drawer-tab:focus-visible::after,
.lang-mini-btn:focus-visible::after,
.scroll-more:focus-visible::after,
.primary:not(.money-btn):focus-visible::after,
.secondary:not(.money-btn):focus-visible::after{
  transform: scaleX(1);
  opacity: 1;
}

/* Active state underline */
.tab.active::after,
.drawer-tab.active::after,
.lang-mini-btn.active::after{
  transform: scaleX(1);
  background: linear-gradient(90deg,
    rgba(var(--accent3-rgb),0.0),
    rgba(var(--accent3-rgb),0.95),
    rgba(var(--accent-rgb),0.90),
    rgba(var(--accent-rgb),0.0)
  ) !important;
}

/* Topbar tab spacing: give labels breathing room (especially in Vietnamese) */
.tabs .tab{ padding-left: 10px !important; padding-right: 10px !important; }


/* MONEY CTAs: solid fills + subtle texture (no gradients) */
.money-btn{
  --moneyA: var(--accent-rgb);
  --moneyB: var(--accent2-rgb);

  /* Solid fill (no gradients), but with 3D-ish edge lighting via shadows */
  background: rgba(var(--moneyA),0.90) !important;
  background-image: none !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  border-radius: 12px !important;

  box-shadow:
    0 28px 80px rgba(0,0,0,0.72),
    0 14px 28px rgba(0,0,0,0.52),
    inset 0 1px 0 rgba(255,255,255,0.22),
    inset 0 -4px 0 rgba(0,0,0,0.38),
    inset 1px 0 0 rgba(255,255,255,0.08),
    inset -1px 0 0 rgba(0,0,0,0.22),
    0 0 46px rgba(var(--moneyB),0.18) !important;

  color: rgba(255,255,255,0.96) !important;
  text-shadow: 0 2px 16px rgba(0,0,0,0.55);

  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-weight: 1200;

  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  transition: transform .14s ease, filter .14s ease, box-shadow .14s ease;
}

.money-btn::before{
  content: "" !important;
  display: block !important;
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.00) 52%, rgba(0,0,0,0.18)),
    repeating-linear-gradient(135deg,
      rgba(255,255,255,0.22) 0 12px,
      rgba(255,255,255,0.06) 12px 24px);
  opacity: 0.14;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.money-btn::after{
  content: "" !important;
  display: block !important;
  position: absolute;
  inset: -40% -60%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
  opacity: 0;
  transform: translateX(-55%) rotate(14deg);
  pointer-events: none;
}

.money-btn:hover{
  transform: translateY(-3px) scale(1.01);
  filter: brightness(1.06) saturate(1.06);
  box-shadow:
    0 34px 96px rgba(0,0,0,0.80),
    0 18px 34px rgba(0,0,0,0.60),
    inset 0 1px 0 rgba(255,255,255,0.24),
    inset 0 -4px 0 rgba(0,0,0,0.40),
    0 0 72px rgba(var(--moneyB),0.24) !important;
}

.money-btn:hover::after{
  opacity: 0.72;
  animation: moneyShineSolid 860ms ease-out 1;
}

.money-btn:active{
  transform: translateY(-1px) scale(0.995);
  filter: brightness(0.98);
}

/* Auto payment status (optional polling box shown after booking submit) */
.auto-pay-status{
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.18);
  backdrop-filter: blur(10px);
}
.auto-pay-status .aps-title{
  font-weight: 1200;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}
.auto-pay-status .aps-line{
  font-weight: 1200;
  font-size: 14px;
  margin-bottom: 6px;
}
.auto-pay-status.paid{
  border-color: rgba(var(--price-accent-rgb),0.55);
  box-shadow: 0 0 0 1px rgba(var(--price-accent-rgb),0.14) inset, 0 18px 60px rgba(0,0,0,0.55);
}

@keyframes moneyShineSolid{
  from{ transform: translateX(-60%) rotate(14deg); }
  to{ transform: translateX(60%) rotate(14deg); }
}

/* Money variants: choose the fill color; keep a secondary glow */
.money-btn.money-book{ --moneyA: var(--accent-rgb); --moneyB: var(--accent2-rgb); }
.money-btn.money-ticket{ --moneyA: var(--accent3-rgb); --moneyB: var(--accent-rgb); }
.money-btn.money-pay{ --moneyA: var(--accent2-rgb); --moneyB: var(--accent-rgb); }
.money-btn.money-submit{ --moneyA: var(--accent3-rgb); --moneyB: var(--accent-rgb); }
.money-btn.money-add{ --moneyA: var(--accent-rgb); --moneyB: var(--accent3-rgb); }
.money-btn.money-open{ --moneyA: var(--accent2-rgb); --moneyB: var(--accent3-rgb); }

/* Make the topbar booking button slightly tighter */
.booking-btn.money-btn{ padding: 10px 12px !important; }


/* News cards: reduce boxiness (less border), keep readability */
@media (min-width: 980px){
  /* News list items feel like floating rows */
  .news-card{
    border: none !important;
    background: transparent !important;
    border-radius: 14px;
  }
  .news-card:hover{
    background: rgba(255,255,255,0.04) !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.55);
  }
}


/* =========================================================
   v12.2.4+ — Hero left anchoring
   Keep the main title on the side (left) after the intro animation.
   The hero breaks out of the centered container on desktop only.
   ========================================================= */

/* Desktop-only slot for the News panel (top-right of the hero splash).
   Lives in the same scroll layer as the hero (so it scrolls away). */
.news-dock-slot{ display:none; }

@media (min-width: 980px){
  #tab-info .hero-splash{
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    justify-content: flex-start;
    align-items: flex-start;
    gap: clamp(18px, 3vw, 32px);
    padding: 32px 0 10px;
    min-height: calc(100vh - 74px);
  }

  #tab-info .hero-frame{
    width: min(980px, 60vw);
    margin-left: clamp(18px, 6vw, 92px);
    margin-right: 0;
  }

  #tab-info .news-dock-slot{
    display:block;
    width: min(420px, 34vw);
    margin-left: auto;
    margin-right: clamp(18px, 4vw, 58px);
    padding-top: clamp(18px, 3.6vw, 48px);
  }
  #tab-info .news-dock-slot .section{ margin-top: 0 !important; }
}

/* Mobile hero layout + News dock (top-right) */
@media (max-width: 720px){
  /* Mobile: keep everything inside the viewport (no zoom-out needed).
     Place the News widget in the top-right as an overlay so it never
     squeezes the title into overflow. */
  #tab-info .hero-splash{
    position: relative;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 12px;
    padding-top: 8px;
    /* Keep the News dock compact so the title never collides with it. */
    --mobileNewsDockW: clamp(104px, 32vw, 136px);
  }
  #tab-info .hero-frame{
    width: 100% !important;
    flex: 0 0 auto;
    min-width: 0;
    padding: 18px 14px 16px 16px;
  }
  /* Only the top-of-hero content needs to avoid the News widget area. */
  #tab-info .hero-top,
  #tab-info .hero-title-wrap,
  #tab-info .hero-meta{
    max-width: calc(100% - var(--mobileNewsDockW) - 10px);
  }
  #tab-info .hero-title-wrap{ margin-top: 10px; }
  /* Mobile title sizing: keep "SHOWDOWN" safely inside the viewport.
     (Avoid overlap with the News dock + prevent intro stage clipping.) */
  #tab-info .hero-title-main{ font-size: clamp(24px, 7.6vw, 38px); max-width: 100%; letter-spacing: -0.06em; }
  #tab-info .hero-title-sub{ font-size: clamp(16px, 5.8vw, 26px); }
  #tab-info .hero-title-sub::after{ margin-top: 10px; height: 5px; }

  /* Smaller meta pills, keep values in one line */
  #tab-info .hero-meta{ gap: 8px; margin-top: 14px; }
  #tab-info .meta-pill{ padding: 10px 10px; font-size: 12px; white-space: nowrap; }
  #tab-info #heroVenue{ max-width: 56vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

  /* Mobile CTA: keep "BOOK NOW" on one line */
  #ctaBooking{ font-size: 16px; letter-spacing: 0.08em; }
  #ctaBooking .cta-text{ white-space: nowrap; }

  #tab-info .hero-actions{ margin-top: 12px; }

  #tab-info .news-dock-slot{
    display: block;
    position: absolute;
    top: 16px;
    right: 14px;
    width: var(--mobileNewsDockW);
    margin: 0;
    padding: 0;
    z-index: 25;
  }
  #tab-info .news-dock-slot .news-card{ border-radius: 18px; }
  #tab-info .news-dock-slot .news-thumb{ aspect-ratio: 16 / 9; }
  #tab-info .news-dock-slot .news-row{ padding: 10px 10px 12px; gap: 10px; }
  #tab-info .news-dock-slot .news-title{ font-size: 12px; }
  #tab-info .news-dock-slot .news-excerpt{ display:none; }
  #tab-info .news-dock-slot .news-date{ display:none; }
}

/* v12.2.4+ — Hero title crossfade during enter stage */
#heroTitle{ transition: opacity 420ms ease; }
body.enter-stage-active #heroTitle{ opacity: 0; }
body.enter-stage-out #heroTitle{ opacity: 1; }


/* ---------------------------
   Ticket tier theming + thumbs
   --------------------------- */
.ticket-card{
  --tier-rgb: var(--accent-rgb);
}
.ticket-card:hover{
  border-color: rgba(var(--tier-rgb),0.30) !important;
  box-shadow:
    0 0 0 1px rgba(var(--tier-rgb),0.16) inset,
    0 0 34px rgba(var(--tier-rgb),0.14) !important;
}
.ticket-card::before{
  background:
    radial-gradient(520px 220px at 18% 0%, rgba(var(--tier-rgb),0.16), transparent 70%),
    radial-gradient(420px 180px at 90% 100%, rgba(var(--tier-rgb),0.10), transparent 70%) !important;
  opacity: 0.95;
}

.ticket-thumb{
  width: 100%;
  height: var(--ticket-thumb-h, 156px);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(0,0,0,0.24);
  border: 1px solid rgba(255,255,255,0.10);
  margin-bottom: 12px;
  position: relative;
}
.ticket-thumb.no-thumb{
  background:
    radial-gradient(circle at 30% 20%, rgba(var(--tier-rgb),0.22), transparent 55%),
    rgba(0,0,0,0.28);
}
.ticket-thumb::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.70), rgba(0,0,0,0.08) 60%, rgba(0,0,0,0.78)),
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.10), transparent 55%);
  opacity: 0.65;
}
.ticket-thumb img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 0.92;
  filter: saturate(1.06) contrast(1.05);
}

/* Tier name overlays the thumbnail (more enticing typography) */
.ticket-thumb .ticket-name{
  position: absolute;
  left: 14px;
  right: 14px;
  top: 14px;
  z-index: 2;

  font-weight: 1300;
  font-size: 24px;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.98);
  text-shadow:
    0 16px 36px rgba(0,0,0,0.65),
    0 0 18px rgba(0,0,0,0.45),
    0 0 22px rgba(var(--tier-rgb),0.24);
}
.ticket-card.is-tier-legendary .ticket-thumb .ticket-name{ font-size: 28px; letter-spacing: 0.08em; }
.ticket-card.is-tier-premium .ticket-thumb .ticket-name{ font-size: 26px; letter-spacing: 0.06em; }

/* Featured card gets a larger hero thumb by default (can be overridden per-tier). */
.ticket-card.is-featured{ --ticket-thumb-h: 206px; }

/* Checkout modal sizing */
.checkout-modal{
  width: min(920px, 94vw);
}

.transfer-note-format{
  margin-top: 6px;
}
.transfer-note-format code{
  display: inline-block;
  padding: 6px 10px;
  border-radius: 12px;
  background: rgba(0,0,0,0.38);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.94);
  font-weight: 900;
  letter-spacing: 0.02em;
}


/* Order-specific payment QR (shown after booking submission). */
.pay-qr-block{
  margin-top: 14px;
}
.pay-qr-row{
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.pay-qr-dynamic{
  width: 200px;
  height: 200px;
  max-width: min(240px, 70vw);
  border-radius: 16px;
  background: rgba(255,255,255,0.02);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.10) inset,
    0 10px 26px rgba(0,0,0,0.35);
}
.pay-qr-meta{
  flex: 1;
  min-width: 220px;
}

/* =============================
   Mobile performance tweaks
   ============================= */
@media (any-hover: none) and (any-pointer: coarse){
  /* Heavy blend-mode animated layers can be expensive on mobile GPUs */
  .bg-noise, .bg-scanlines, .bg-glitchflash{ display:none !important; }
  /* Floating squares: reduce density */
  #bgFloaters{ opacity: 0.55; }
  .bg-floater{ opacity: 0.25; }
  /* Avoid expensive filters on many elements */
  .news-card, .ticket-card, .product-card, .info-card, .modal, .drawer{
    filter: none !important;
  }

  /* Reduce background overlay work while scrolling */
  .bg-noise, .bg-scanlines, .bg-grain{
    display: none !important;
    animation: none !important;
  }

  /* Backdrop-filter is a common source of scroll jank on mobile GPUs */
  .topbar,
  .news-card,
  .timeline-card,
  .ticket-card,
  .product-card,
  .info-card,
  .modal,
  .drawer,
  .drawer-tabs,
  .receipt-summary,
  .checkout-modal{
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}


/* ------------------------------
   Mobile optimizations
   ------------------------------ */
@media (max-width: 980px) {
  /* Disable custom cursor on mobile */
  .cursor-dot { display: none !important; }
  html.custom-cursor, html.custom-cursor *,
  body.custom-cursor, body.custom-cursor * { cursor: auto !important; }

  /* Reduce expensive blur effects that can cause scroll jank/flicker */
  .topbar,
  .drawer-tabs,
  .audio-viz,
  .build-label,
  .auto-pay-status {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  /* Keep fixed UI stable on mobile */
  .audio-viz,
  .audio-dock {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
  }

  /* Slightly smaller viz bars on mobile */
  .audio-viz .viz-bar { width: 12px; }

  /* Respect safe-areas on notched phones */
  .audio-dock {
    right: calc(18px + env(safe-area-inset-right, 0px));
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  }
  .audio-viz {
    right: calc(18px + env(safe-area-inset-right, 0px));
    bottom: calc(74px + env(safe-area-inset-bottom, 0px));
  }
}


/* =============================
   Mobile: navigation
   - Hide the top tab row to avoid overflow/cropping.
   - Use the slide-out menu (tap the top-left logo).
   ============================= */
.tab-news{ display:none; }
@media (max-width: 720px){
  .tabs{ display:none !important; }
  .tab-news{ display:none !important; }
}



/* --- Purchased section (Booking drawer) --- */
.purchased {
  margin-top: 12px;
}
.purchased-list {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}
.purchased-card {
  padding: 12px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06) inset;
  position: relative;
  cursor: pointer;
}
.purchased-card:hover{
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.10) inset,
    0 18px 60px rgba(0,0,0,0.40),
    0 0 0 3px rgba(var(--accent3-rgb),0.10);
}
.purchased-card:active{ transform: translateY(1px); }

.purchased-badge {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(80, 255, 160, 0.10);
  box-shadow:
    0 0 0 1px rgba(80, 255, 160, 0.22) inset,
    0 0 18px rgba(80, 255, 160, 0.16);
}
.purchased-check {
  width: 18px;
  height: 18px;
}
.purchased-check .pc-circle,
.purchased-check .pc-check {
  stroke: rgba(255,255,255,0.92);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.purchased-head {
  display:flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.purchased-oid {
  font-weight: 1100;
  letter-spacing: 0.06em;
}
.purchased-sub {
  opacity: 0.75;
  font-size: 12px;
}
.purchased-items {
  margin-top: 10px;
  display: grid;
  gap: 6px;
}
.purchased-line {
  font-size: 13px;
}
.purchased-line code {
  font-size: 12px;
  opacity: 0.9;
}


/* Item info modal fields */
#itemInfoFields {
  display: grid;
  gap: 12px;
}



/* ---- VNMC v12.6.0: booking-less tickets + product shipping ---- */
.booking-menu .cta-menu-btn{
  width:100%;
  border-radius:14px;
  padding:12px 14px;
  font-weight:1100;
  font-size:14px;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
  color:#fff;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.booking-menu .cta-menu-btn:hover{
  background: rgba(255,255,255,.12);
}
.booking-menu .cta-menu-btn .cta-sub{
  opacity:.8;
  font-weight:900;
  font-size:12px;
}

/* Generic info modal (ticket attendee + product shipping) */
#itemInfoBackdrop{
  position:fixed;
  inset:0;
  background: rgba(0,0,0,.58);
  backdrop-filter: blur(8px);
  z-index: 9998;
}
#itemInfoModal{
  position:fixed;
  left:50%;
  top:50%;
  transform: translate(-50%, -50%);
  width:min(560px, calc(100vw - 28px));
  max-height: min(86vh, calc(100vh - 28px));
  overflow: auto;
  z-index: 9999;
}
#itemInfoModal{
  /* Override the generic .modal (which is light by default) for a readable dark popup. */
  background: rgba(14,14,16,.94) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  border-radius: 18px !important;
  box-shadow: 0 30px 90px rgba(0,0,0,.60) !important;
  color: rgba(255,255,255,.94);
}
#itemInfoModal .modal-header{
  border-bottom: 1px solid rgba(255,255,255,.10) !important;
  background:
    radial-gradient(120% 140% at 12% 0%, rgba(255,255,255,0.08), rgba(0,0,0,0) 60%),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(0,0,0,0));
}
#itemInfoModal .modal-title{
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 1200;
}

#itemInfoFields{
  display:grid;
  gap: 12px;
}
#itemInfoFields label{
  display:flex;
  flex-direction:column;
  gap: 7px;
}
#itemInfoFields label span{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Courier New", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.86);
}
#itemInfoFields label span.req::after{
  content: " *";
  color: rgba(var(--accent2-rgb),0.92);
  text-shadow: 0 0 14px rgba(var(--accent2-rgb),0.18);
}

#itemInfoFields input,
#itemInfoFields textarea{
  border-radius: 14px;
  padding: 11px 12px;
  border: 1px solid rgba(255,255,255,.16);
  /* Use background-color (not shorthand) so we don't wipe the icon backgrounds on focus. */
  background-color: rgba(255,255,255,.07);
  color: rgba(255,255,255,.95);
  outline: none;
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.25) inset,
    0 10px 26px rgba(0,0,0,0.30);
  font-weight: 800;
}

/* Re-apply input icons inside the dark item-info modal (the modal uses background shorthand). */
#itemInfoFields input[data-icon],
#itemInfoFields textarea[data-icon]{
  --_plate: rgba(0,0,0,0.35);
  background-image:
    var(--_icon),
    radial-gradient(circle at center, var(--_plate) 0 16px, transparent 17px);
  background-repeat: no-repeat, no-repeat;
  background-position: 21px 50%, 12px 50%;
  background-size: 16px 16px, 34px 34px;
  padding-left: 56px !important;
}
#itemInfoFields textarea[data-icon]{
  background-image:
    var(--_icon),
    radial-gradient(circle at center, var(--_plate) 0 16px, transparent 17px);
  background-position: 21px 16px, 12px 16px;
}
#itemInfoFields textarea{ resize: vertical; min-height: 92px; }
#itemInfoFields input::placeholder,
#itemInfoFields textarea::placeholder{
  color: rgba(255,255,255,0.42);
  font-weight: 700;
}
#itemInfoFields input:focus,
#itemInfoFields textarea:focus{
  border-color: rgba(var(--accent-rgb),0.55);
  /* Keep icon backgrounds intact while adjusting field color */
  background-color: rgba(255,255,255,.09);
  box-shadow:
    0 0 0 1px rgba(var(--accent-rgb),0.22) inset,
    0 0 0 3px rgba(var(--accent-rgb),0.14),
    0 12px 30px rgba(0,0,0,0.34);
}

#itemInfoModal .secondary{
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  color: rgba(255,255,255,0.92) !important;
}
#itemInfoModal .secondary:hover{
  background: rgba(255,255,255,0.10) !important;
}




/* --- Item details / preview modal (ticket/product) --- */
#itemDetailsBackdrop{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.58);
  backdrop-filter: blur(8px);
  z-index: 9996;
}
#itemDetailsModal{
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(860px, calc(100vw - 28px));
  max-height: min(86vh, calc(100vh - 28px));
  overflow: auto;
  z-index: 9997;
  background: rgba(14,14,16,.94) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  border-radius: 18px !important;
  box-shadow: 0 30px 90px rgba(0,0,0,.60) !important;
  color: rgba(255,255,255,.94);
}
#itemDetailsModal .modal-header{
  border-bottom: 1px solid rgba(255,255,255,.10) !important;
  background:
    radial-gradient(120% 140% at 12% 0%, rgba(255,255,255,0.08), rgba(0,0,0,0) 60%),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(0,0,0,0));
}
#itemDetailsModal .modal-title{
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 1200;
}

.details-body{
  display: flex;
  gap: 16px;
  align-items: stretch;
}
.details-left{
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.details-right{
  width: 260px;
  flex: 0 0 260px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.details-desc{
  color: rgba(255,255,255,0.84);
  line-height: 1.45;
  font-weight: 750;
}
.details-perks{
  display: grid;
  gap: 6px;
}
.details-perks .perk{
  padding: 8px 10px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.92);
  font-weight: 800;
}
.details-sizes{
  display: grid;
  gap: 8px;
  margin-top: 2px;
}
.details-size-label{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Courier New", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.86);
}
.details-note{
  color: rgba(255,255,255,0.62);
  line-height: 1.45;
}
.details-img{
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,0.25);
}
.details-img-ph{
  height: 260px;
  border-radius: 16px;
  border: 1px dashed rgba(255,255,255,.16);
  background: rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px;
}

/* Responsive: stack preview under text on small screens */
@media (max-width: 720px){
  .details-body{ flex-direction: column-reverse; }
  .details-right{ width: 100%; flex-basis: auto; }
  .details-img, .details-img-ph{ height: 220px; }
}


/* --- Payment confirmed popup (SePay verified) --- */
.pay-confirm-modal{
  width: min(560px, 92vw);
  top: 50%;
  background: rgba(0,0,0,0.72);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow:
    0 28px 70px rgba(0,0,0,0.55),
    0 0 0 1px rgba(255,255,255,0.06) inset;
  backdrop-filter: blur(18px);
  color: rgba(255,255,255,0.92);
  transform: translate(-50%, -50%) scale(0.98);
  opacity: 0;
  transition: transform .22s cubic-bezier(.2,.9,.2,1), opacity .22s ease;
}
.pay-confirm-modal.is-show{
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.pay-confirm-modal .modal-header{
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.pay-confirm-modal .modal-title{
  letter-spacing: 0.04em;
}
.pay-confirm-center{
  display:flex;
  flex-direction: column;
  align-items:center;
  text-align:center;
  padding: 10px 6px;
}
.pay-confirm-checkwrap{
  width: 92px;
  height: 92px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(80,255,160,0.10);
  box-shadow:
    0 0 0 1px rgba(80,255,160,0.26) inset,
    0 18px 60px rgba(80,255,160,0.18);
}
.pay-confirm-check{
  width: 60px;
  height: 60px;
}
.pay-confirm-check .pc-circle,
.pay-confirm-check .pc-check{
  stroke: rgba(255,255,255,0.92);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 180;
  stroke-dashoffset: 180;
}
.pay-confirm-modal.is-show .pay-confirm-check .pc-circle{
  animation: pcCircleDraw .55s ease forwards;
}
.pay-confirm-modal.is-show .pay-confirm-check .pc-check{
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: pcCheckDraw .38s .18s ease forwards;
}
@keyframes pcCircleDraw{
  to{ stroke-dashoffset: 0; }
}
@keyframes pcCheckDraw{
  to{ stroke-dashoffset: 0; }
}

/* Compact receipt blocks (checkout + confirmation) */
.checkout-receipt{
  margin: 12px 0 14px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
}
.checkout-receipt .rc-title{
  font-weight: 1100;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-size: 12px;
  opacity: 0.9;
  margin-bottom: 8px;
}
.checkout-receipt .rc-line{
  display:flex;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
}
.checkout-receipt .rc-line:last-child{ border-bottom: none; }
.checkout-receipt .rc-left{ min-width: 0; }
.checkout-receipt .rc-name{ font-weight: 900; }
.checkout-receipt .rc-meta{ font-size: 12px; opacity: 0.70; margin-top: 2px; }
.checkout-receipt .rc-right{ font-weight: 1000; white-space: nowrap; }

.pay-confirm-receipt{
  width: 100%;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  text-align: left;
}
.pay-confirm-receipt .rc-line{ font-size: 13px; padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.pay-confirm-receipt .rc-line:last-child{ border-bottom: none; }
.pay-confirm-receipt code{ font-size: 12px; }

/* Order details modal */
.order-modal{
  width: min(620px, 92vw);
}
.order-modal-body{
  display: grid;
  gap: 10px;
}
.order-modal-body .od-head{
  display:flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
}
.order-modal-body .od-items{
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
}
.order-modal-body .od-item{ font-size: 13px; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.order-modal-body .od-item:last-child{ border-bottom: none; }

/* News + Timeline modal specifics */
.news-modal{ width: min(760px, 94vw); }
.news-modal-img{
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 18px 60px rgba(0,0,0,0.40);
  margin-bottom: 12px;
}
.news-modal-content{
  line-height: 1.55;
  font-size: 14px;
  color: rgba(255,255,255,0.92);
}
.news-modal-links{ margin-top: 10px; display:flex; flex-wrap: wrap; gap: 10px; }
.news-modal-links a{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.news-modal-links a:hover{ border-color: rgba(var(--accent3-rgb),0.34); box-shadow: 0 0 0 3px rgba(var(--accent3-rgb),0.12); }

.timeline-modal{ width: min(660px, 92vw); }
.timeline-modal-desc{ font-weight: 900; margin-bottom: 8px; }
.timeline-modal-details{ opacity: 0.86; line-height: 1.55; }
.timeline-modal-bullets{ margin: 10px 0 0; padding-left: 18px; opacity: 0.92; }



@media (max-width: 720px){
  /* Top-right Purchase button: icon + count only (to avoid overflow) */
  #openBooking .booking-text{ display:none !important; }
  #openBooking{ padding: 10px 10px; min-width: 44px; justify-content: center; }
  #openBooking .pill{ margin-left: 6px; }
}



/* Purchased item detail modal */
.pitem-modal{ max-width: 860px; width: min(860px, calc(100vw - 22px)); }
.pitem-grid{ display:grid; grid-template-columns: 1fr 320px; gap: 16px; }
.pitem-info{ font-size: 14px; line-height: 1.45; }
.pitem-info .row{ margin: 6px 0; }
.pitem-info code{ padding: 2px 6px; border-radius: 8px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); }
.pitem-note{ margin-top: 12px; padding: 12px 12px; border-radius: 14px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.10); color: rgba(255,255,255,0.88); }
.pitem-note b{ font-weight: 1100; }
.pitem-right{ display:flex; align-items:flex-start; justify-content:flex-end; }
.pitem-img{ width: 320px; max-width: 100%; border-radius: 18px; border: 1px solid rgba(255,255,255,0.12); box-shadow: 0 22px 60px rgba(0,0,0,0.55); object-fit: cover; }
.pitem-img.ph{ display:flex; align-items:center; justify-content:center; height: 220px; background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.55); }
@media (max-width: 720px){
  .pitem-grid{ grid-template-columns: 1fr; }
  .pitem-right{ justify-content:center; }
  .pitem-img{ width: min(420px, 100%); }
}



.purchased-line.is-clickable{
  cursor: pointer;
  border-radius: 12px;
  padding: 8px 10px;
  margin: 4px 0;
  transition: transform 140ms ease, background 140ms ease, box-shadow 140ms ease;
}
.purchased-line.is-clickable:hover{
  background: rgba(255,255,255,0.04);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.10) inset, 0 18px 40px rgba(0,0,0,0.35);
  transform: translateY(-1px);
}

