:root {
  --blue: #0064d2;
  --blue2: #0055b8;
  --blueSoft: #eaf3ff;
  --yellow: #ffd51e;
  --text: #1f2937;
  --muted: #6b7280;
  --muted2: #9ca3af;
  --line: #e5e7eb;
  --bg: #f5f7fb;
  --red: #e23a4e;
  --green: #159947;
  --purple: #a02885;
  --pink: #fff1fb;
  --radius: 14px;
  --shadow: 0 2px 12px rgba(15, 23, 42, 0.08);
  --shadow2: 0 12px 36px rgba(15, 23, 42, 0.16);
  --armyPurple: #6f2dbd;
  --armyPurpleDark: #4c1d95;
  --armyPurpleSoft: #f2ecff;
  --disclaimerH: 34px;
  --footerTimerH: 56px;
  --creatorFooterH: 32px;
  --siteMax: 1180px;
  --startAvailH: calc(100dvh - var(--disclaimerH));
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  min-height: 100%;
  font-family:
    "Noto Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: #0b0f1a;
  color: var(--text);
  font-size: 14px;
  overflow-x: hidden;
}

body:not(.start-mode) {
  background: var(--bg) !important;
}

body.start-mode {
  height: 100dvh !important;
  overflow: hidden !important;
  background: #0b0f1a !important;
}

button,
input,
select {
  font: inherit;
}

button {
  border: 0;
  background: 0;
  cursor: pointer;
}

input,
select {
  outline: 0;
}

.screen {
  display: none !important;
  min-height: 100dvh;
}

.screen.active {
  display: block !important;
}

#start {
  display: none !important;
  background: #0b0f1a !important;
}

#start.active {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 16px 16px 42px;
}

.hidden {
  display: none !important;
}

.no-scroll {
  overflow: hidden !important;
}

body {
  padding-bottom: calc(var(--footerTimerH) + var(--creatorFooterH));
}

.wrap {
  padding-bottom: calc(42px + var(--footerTimerH)) !important;
}

/* ── DISCLAIMER ── */
.sim-disclaimer {
  position: sticky;
  top: 0;
  z-index: 10000;
  min-height: var(--disclaimerH);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px 18px;
  background: #fff7ed;
  border-bottom: 1px solid #fed7aa;
  color: #9a3412;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}

.sim-disclaimer strong {
  color: #7c2d12;
}

/* ── LOGO ── */
.logo {
  display: inline-flex;
  align-items: center;
  font-weight: 950 !important;
  color: var(--armyPurple) !important;
  font-size: 22px;
  letter-spacing: -1.35px !important;
  text-transform: lowercase !important;
}

.logo-dot {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7b2cbf, #4c1d95) !important;
  box-shadow: 0 8px 20px rgba(111, 45, 189, 0.24) !important;
  display: inline-block;
  margin: 0 1px;
}

.sim {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.7px;
  color: #3446a1;
  background: #eef2ff;
  border: 1px solid #dbe3ff;
  padding: 4px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ── HEADER ── */
.main-site-header {
  position: sticky;
  top: var(--disclaimerH) !important;
  z-index: 900 !important;
  background: #fff;
  border-bottom: 1px solid #e8ecf3;
}

.utility-row {
  height: 30px;
  max-width: none;
  padding: 0 calc((100vw - var(--siteMax)) / 2 + 24px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #6b7280;
  background: #f7f8fb;
}

.utility-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.utility-links span:first-child:before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, #ff3d6e, #ff9f1c);
  border-radius: 5px;
  vertical-align: -4px;
  margin-right: 8px;
  transform: rotate(-12deg);
}

.topin {
  height: 54px;
  max-width: 680px;
  margin: auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-row {
  height: 76px !important;
  max-width: var(--siteMax) !important;
  padding: 0 24px;
  display: flex;
  align-items: center;
}

.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-left: 34px;
  font-size: 18px;
  font-weight: 850;
  color: #2b2f39;
}

.main-nav span {
  white-space: nowrap;
}

.nav-active {
  background: #f0f3f9;
  padding: 13px 16px;
  border-radius: 11px;
}

.header-actions {
  margin-left: auto;
  display: flex;
  gap: 18px;
  align-items: center;
}

.mail-dot {
  position: relative;
  width: 28px;
  height: 20px;
  border: 2px solid #4b5563;
  border-radius: 4px;
  font-size: 0;
}

.mail-dot:before {
  content: "3";
  position: absolute;
  right: -12px;
  top: -13px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ea3449;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  display: grid;
  place-items: center;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4b5563, #111827);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 18px;
}

.search-row {
  max-width: var(--siteMax);
  margin: 0 auto;
  padding: 0 24px 14px;
}

.search-pill {
  height: 44px;
  max-width: 650px;
  background: #f6f8fc;
  border: 1px solid transparent;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #8a93a3;
  padding: 0 18px;
  font-weight: 600;
}

.search-icon {
  width: 15px;
  height: 15px;
  border: 2px solid #a8b0bf;
  border-radius: 50%;
  position: relative;
}

.search-icon:after {
  content: "";
  position: absolute;
  width: 7px;
  height: 2px;
  background: #a8b0bf;
  right: -6px;
  bottom: -3px;
  transform: rotate(45deg);
  border-radius: 2px;
}

.title {
  flex: 1;
  text-align: center;
  font-weight: 800;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.back {
  font-size: 0 !important;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--armyPurple);
  display: grid;
  place-items: center;
}

.back:before {
  content: "";
  width: 12px;
  height: 12px;
  border-left: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(45deg);
  margin-left: 5px;
}

.back:active {
  background: var(--armyPurpleSoft);
}

/* ── FLOAT / FLOAT TIMER ── */
#floatTimer {
  display: none !important;
}

#toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--footerTimerH) + 14px);
  transform: translate(-50%, 64px);
  z-index: 9999;
  background: #172036;
  color: #fff;
  border-radius: 999px;
  padding: 11px 18px;
  font-size: 13px;
  font-weight: 800;
  opacity: 0;
  transition: 0.25s;
  max-width: 90vw;
  white-space: nowrap;
  pointer-events: none;
}

#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ── FOOTER TIMER ── */
.footer-timer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: var(--creatorFooterH);
  z-index: 9998;
  height: var(--footerTimerH);
  background: linear-gradient(180deg, #fff, #fbfcff);
  border-top: 1px solid #dfe5ee;
  box-shadow: 0 -8px 28px rgba(15, 23, 42, 0.1);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  transition:
    background 0.3s,
    border-top-color 0.3s;
}

.footer-timer.show {
  display: flex;
}

/* YELLOW — ≤30s remaining */
.footer-timer.warn-yellow {
  background: linear-gradient(180deg, #fffbea, #fef9e7) !important;
  border-top-color: #f6c90e !important;
}

.footer-timer.warn-yellow .footer-timer-clock {
  color: #b45309 !important;
}

.footer-timer.warn-yellow .footer-timer-dot {
  background: #f59e0b !important;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.16) !important;
}

.footer-timer.warn-yellow .footer-timer-track span {
  background: linear-gradient(90deg, #f59e0b, #ef4444) !important;
}

/* RED — ≤10s remaining */
.footer-timer.warn-red {
  background: linear-gradient(180deg, #fff1f2, #ffe4e6) !important;
  border-top-color: #fca5a5 !important;
  animation: timerRedPulse 0.55s ease-in-out infinite alternate;
}

.footer-timer.warn-red .footer-timer-clock {
  color: #dc2626 !important;
  animation: timerClockShake 0.18s ease-in-out infinite alternate;
}

.footer-timer.warn-red .footer-timer-dot {
  background: #ef4444 !important;
  box-shadow: 0 0 0 5px rgba(239, 68, 68, 0.18) !important;
}

.footer-timer.warn-red .footer-timer-track span {
  background: linear-gradient(90deg, #dc2626, #f97316) !important;
}

@keyframes timerRedPulse {
  from {
    box-shadow: 0 -8px 28px rgba(15, 23, 42, 0.1);
  }

  to {
    box-shadow: 0 -14px 38px rgba(220, 38, 38, 0.32);
  }
}

@keyframes timerClockShake {
  from {
    transform: translateX(-1px) scale(1.02);
  }

  to {
    transform: translateX(1px) scale(1.04);
  }
}

.footer-timer-inner {
  width: min(var(--siteMax), 100%);
  display: grid;
  grid-template-columns: 190px 1fr 96px;
  align-items: center;
  gap: 16px;
}

.footer-timer-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #374151;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.footer-timer-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--armyPurple);
  box-shadow: 0 0 0 4px rgba(111, 45, 189, 0.12);
  transition:
    background 0.3s,
    box-shadow 0.3s;
}

.footer-timer-track {
  height: 8px;
  border-radius: 999px;
  background: #edf0f6;
  overflow: hidden;
}

.footer-timer-track span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--armyPurple), #ef4444);
  border-radius: 999px;
  transition: width 0.12s linear;
}

.footer-timer-clock {
  font-family: "Bebas Neue", sans-serif !important;
  font-size: 30px !important;
  letter-spacing: 1.4px !important;
  color: var(--armyPurpleDark) !important;
  text-align: right !important;
  line-height: 1 !important;
  transition: color 0.3s;
}

/* ── PANIC OVERLAY (time exceeded) ── */
#panicOverlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(185, 10, 20, 0.95);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 20px;
  animation: panicIn 0.2s ease;
}

#panicOverlay.show {
  display: flex;
}

@keyframes panicIn {
  from {
    opacity: 0;
    transform: scale(0.97);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.panic-shake {
  animation: panicShake 0.15s ease-in-out infinite;
}

@keyframes panicShake {
  0% {
    transform: translateX(-3px) rotate(-0.4deg);
  }

  50% {
    transform: translateX(3px) rotate(0.4deg);
  }

  100% {
    transform: translateX(-3px) rotate(-0.4deg);
  }
}

.panic-icon {
  font-size: 72px;
  margin-bottom: 12px;
  animation: panicBounce 0.4s ease-in-out infinite alternate;
}

@keyframes panicBounce {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.14);
  }
}

.panic-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(52px, 16vw, 88px);
  color: #fff;
  letter-spacing: 4px;
  line-height: 0.9;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.panic-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.65;
  margin: 14px 0 24px;
  max-width: 380px;
  font-weight: 700;
}

.panic-time {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(36px, 12vw, 64px);
  color: #ffd51e;
  letter-spacing: 2px;
  margin-bottom: 8px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.panic-elapsed-label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  margin-bottom: 22px;
}

.panic-btn {
  background: #fff;
  color: #b90a14;
  border-radius: 10px;
  padding: 14px 32px;
  font-weight: 950;
  font-size: 16px;
  letter-spacing: 0.3px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

.panic-btn:active {
  transform: scale(0.97);
}

.panic-bg-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.panic-bg-lines:before,
.panic-bg-lines:after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.panic-bg-lines:before {
  width: min(140vw, 900px);
  height: min(140vw, 900px);
}

.panic-bg-lines:after {
  width: min(90vw, 600px);
  height: min(90vw, 600px);
}

#panicOverlay > * {
  position: relative;
  z-index: 1;
}

/* ── TIMERBAR (legacy, hidden) ── */
.timerbar {
  display: none !important;
}

/* ── BTN ── */
.btn,
button,
.pick,
.panic-btn,
.payopt {
  text-transform: uppercase !important;
  letter-spacing: 0.25px;
}

.creator-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9997;
  height: var(--creatorFooterH);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 15, 26, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: rgba(255, 255, 255, 0.56);
}

.creator-footer a {
  color: #fff;
  text-decoration: none;
}

.creator-footer a:hover {
  text-decoration: underline;
}

.btn {
  width: 100%;
  border-radius: 9px;
  padding: 13px 14px;
  font-weight: 800;
  font-size: 15px;
  transition: 0.15s;
}

.btn-primary {
  background: var(--armyPurple) !important;
  color: #fff;
  box-shadow: 0 4px 14px rgba(111, 45, 189, 0.22) !important;
}

.btn-primary:active {
  background: var(--armyPurpleDark) !important;
  transform: scale(0.99);
}

.btn-primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

.btn-outline {
  background: #fff;
  border: 1.5px solid var(--armyPurple);
  color: var(--armyPurple);
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ── START ── */
body.start-mode .sim-disclaimer {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
}

body.start-mode #start.active {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--disclaimerH);
  bottom: var(--creatorFooterH);
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
  background: #0b0f1a !important;
}

#start:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 15, 26, 0.05),
    rgba(11, 15, 26, 0.82)
  );
  pointer-events: none;
}

.start-bg {
  position: absolute;
  inset: 0;
  background: url("images/concert.gif");
  background-size: cover;
  background-position: center;
}

.start-bg:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 12% 18%,
      rgba(111, 45, 189, 0.34),
      transparent 34%
    ),
    radial-gradient(
      circle at 82% 12%,
      rgba(255, 213, 30, 0.1),
      transparent 28%
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size:
    auto,
    auto,
    34px 34px;
  opacity: 0.95;
}

.start-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.82fr);
  gap: 34px;
  align-items: center;
  padding: 32px 32px 40px;
  color: #fff;
  overflow: hidden;
}

.start-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 590px;
  justify-content: center;
}

.start-logo {
  color: #fff !important;
  font-size: 26px !important;
}

.start-logo .logo-dot {
  width: 34px !important;
  height: 34px !important;
  vertical-align: -9px !important;
  margin: 0 -3px !important;
}

.start-sim-label {
  font-size: 11px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.48);
  margin-left: 8px;
  font-weight: 900;
}

.start-kicker {
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 3.5px;
  color: #d8c8ff;
  text-transform: uppercase;
}

.hero {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(70px, 9vw, 116px);
  line-height: 0.84;
  letter-spacing: 4px;
  text-shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
}

.hero-sub {
  font-family: "Bebas Neue";
  font-size: 42px;
  letter-spacing: 9px;
  color: #ffd4df;
}

.eventbox {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.075);
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(14px);
}

.city {
  font-family: "Bebas Neue";
  font-size: 30px;
  letter-spacing: 4px;
}

.venue {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.55;
  font-weight: 700;
}

.warn {
  display: flex;
  gap: 8px;
  border: 1px solid rgba(255, 213, 30, 0.25);
  background: rgba(255, 213, 30, 0.1);
  border-radius: 10px;
  padding: 12px;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.76);
}

.warn-mark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-weight: 950;
  flex-shrink: 0;
}

.label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.9px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
}

.levels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.level {
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.075);
  color: #fff;
  border-radius: 14px;
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.level.on {
  border-color: #c8b6ff;
  background: rgba(125, 66, 217, 0.3);
}

.level b {
  font-size: 12px;
}

.level small {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.55);
}

.lv-code {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-weight: 950;
  color: #ddd6fe;
}

.level.on .lv-code {
  background: var(--armyPurple);
  border-color: var(--armyPurple);
  color: #fff;
}

.start-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 11px;
  color: #fff;
  padding: 13px 14px;
  font-weight: 800;
}

.start-input::placeholder {
  color: rgba(255, 255, 255, 0.34);
}

.start-panel {
  align-self: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.13),
    rgba(255, 255, 255, 0.055)
  );
  border-radius: 28px;
  padding: 18px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
}

.start-visual {
  height: 270px;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
}

.visual-card {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(
      180deg,
      rgba(10, 5, 20, 0.04) 0%,
      rgba(10, 5, 20, 0.72) 100%
    ),
    url("images/concert-visual.png") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.visual-card:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.06) 1px,
    transparent 1px
  );
  background-size: 18px 18px;
  opacity: 0.2;
}

.start-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 14px;
}

.speedtest-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.075);
  border-radius: 14px;
  padding: 13px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}

.speedtest-title {
  font-size: 12px;
  font-weight: 950;
  color: #fff;
  letter-spacing: 0.2px;
}

.speedtest-sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.56);
  line-height: 1.35;
  margin-top: 2px;
}

.speedtest-link {
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 10px 12px;
  font-size: 11px;
  font-weight: 950;
  white-space: nowrap;
}

.speedtest-link:hover {
  background: rgba(255, 255, 255, 0.2);
}

.start-note {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.52);
  line-height: 1.55;
  margin-top: 10px;
}

/* ── QUEUE ── */
.q-card {
  background: #fff;
  border-radius: 16px;
  padding: 22px;
  margin-top: 16px;
  box-shadow: var(--shadow);
  min-height: 460px;
  display: flex;
  flex-direction: column;
}

.q-logo {
  margin-bottom: 24px;
}

.q-title {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 10px;
}

.q-event {
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 14px;
}

.q-copy {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 24px;
}

.turn {
  display: none;
  text-align: center;
  margin: 12px 0;
  padding: 12px;
  border: 1px solid #a3f0be;
  background: #e9fff2;
  color: #127a3a;
  border-radius: 12px;
  font-weight: 900;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.turn.show {
  display: block;
}

.qnum {
  text-align: center;
  font-size: 28px;
  font-weight: 900;
}

.qlabel {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

.qbar {
  height: 10px;
  border-radius: 999px;
  background: #e8eef6;
  margin: 18px 0 6px;
  position: relative;
}

.qfill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: #06457e;
  transition: 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.qbird {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  width: 16px !important;
  height: 16px !important;
  border-radius: 50% !important;
  background: var(--armyPurple) !important;
  border: 3px solid #fff !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18) !important;
  font-size: 0 !important;
  transition: 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.qmeta {
  font-size: 12px;
  color: var(--muted);
  line-height: 2;
  margin-top: 4px;
}

.qid {
  margin-top: auto;
  padding-top: 18px;
  font-size: 10px;
  color: #98a2b3;
}

/* ── DETAIL PAGE ── */
.event-title-row {
  background: #fff;
  border-top: 1px solid #eef1f5;
  border-bottom: 1px solid #dfe5ee;
}

.event-title-inner {
  height: 72px;
  max-width: var(--siteMax);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.event-page-title {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.4px;
  color: #2b2f39;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.breadcrumb-wrap {
  border-bottom: 0 !important;
}

.breadcrumbs {
  max-width: var(--siteMax);
  margin: 0 auto;
  padding: 16px 24px !important;
  font-size: 15px !important;
  color: #7b8494 !important;
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 700;
}

.breadcrumbs span:after {
  content: "›";
  margin-left: 12px;
  color: #c1c7d0;
}

.breadcrumbs strong {
  color: #6b7280;
}

/* Event hero with blurred bg */
.event-hero-pro {
  position: relative;
  overflow: hidden;
  background: linear-gradient(105deg, #4c141b 0%, #5c2b2b 45%, #3d3035 100%);
}

.event-hero-blur-bg {
  position: absolute;
  inset: -40px;
  background-image: url("images/concert-visual.png");
  background-size: cover;
  background-position: center;
  filter: blur(22px) brightness(0.45) saturate(0.7);
  transform: scale(1.08);
  pointer-events: none;
}

.event-hero-blur-bg:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(60, 10, 20, 0.7),
    rgba(40, 10, 30, 0.55)
  );
}

.event-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 24px;
  display: grid;
  grid-template-columns: minmax(420px, 1.08fr) minmax(360px, 0.92fr);
  gap: 42px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Poster card with concert-visual.png */
.poster-card-pro {
  height: 350px;
  border-radius: 6px;
  background-image: url("images/concert-visual.png");
  background-size: cover;
  background-position: center;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.36);
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 34px;
}

.poster-card-pro:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(20, 6, 38, 0.52) 0%,
    rgba(76, 29, 149, 0.38) 50%,
    rgba(10, 5, 20, 0.65) 100%
  );
  pointer-events: none;
}

.poster-card-pro:after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 28%,
    rgba(255, 255, 255, 0.14),
    transparent 30%
  );
  pointer-events: none;
}

.poster-watermark,
.poster-band,
.poster-main-title,
.poster-bottom {
  position: relative;
  z-index: 1;
}

.poster-watermark {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 2px;
}

.poster-band {
  margin-top: 46px;
  font-weight: 900;
  letter-spacing: 8px;
}

.poster-main-title {
  font-family: "Bebas Neue";
  font-size: 92px;
  letter-spacing: 10px;
  line-height: 0.9;
}

.poster-bottom {
  position: absolute;
  z-index: 1;
  left: 34px;
  right: 34px;
  bottom: 30px;
  display: flex;
  justify-content: space-between;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.8px;
}

.hero-copy-pro {
  color: #fff;
}

.hero-copy-pro h1 {
  font-size: 34px;
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 22px;
}

.hero-meta {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
  margin: 14px 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 600;
}

.line-icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  position: relative;
  opacity: 0.86;
}

.pin:before {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 10px;
  height: 10px;
  border: 3px solid currentColor;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.calendar:before {
  content: "";
  position: absolute;
  left: 2px;
  top: 4px;
  width: 16px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.calendar:after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 2px;
  height: 6px;
  background: currentColor;
  box-shadow: 8px 0 0 currentColor;
}

.ticketicon:before {
  content: "";
  position: absolute;
  left: 1px;
  top: 4px;
  width: 18px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.ticketicon:after {
  content: "";
  position: absolute;
  left: 8px;
  top: 5px;
  width: 2px;
  height: 12px;
  border-left: 2px dashed currentColor;
}

.hero-cta {
  margin-top: 22px;
  background: rgba(18, 24, 34, 0.45);
  border-radius: 8px;
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr 160px;
  gap: 14px;
  align-items: center;
  color: #fff;
  font-weight: 800;
}

.hero-cta .btn {
  padding: 13px 14px;
}

/* Tabs */
.tabs {
  display: flex;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab {
  padding: 13px 16px;
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  cursor: pointer;
}

.tab.on {
  color: var(--armyPurple);
  border-bottom-color: var(--armyPurple);
}

.pro-tabs {
  max-width: 1180px;
  margin: 0 auto;
  border-top: 0;
}

/* Detail layout */
.detail-layout-pro {
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 34px;
  background: #fff;
}

.detail-main-pro h2 {
  font-size: 24px;
  margin-bottom: 22px;
}

.important-box {
  background: #f7f8fc;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  color: #6b7280;
  line-height: 1.6;
}

.important-box h3 {
  color: #2b3344;
  margin-bottom: 6px;
}

.important-box ul {
  padding-left: 22px;
  margin-top: 4px;
}

.detail-main-pro p {
  font-size: 15px;
  color: #6b7280;
  line-height: 1.65;
  max-width: 720px;
  margin: 12px 0;
}

.seatplan-img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  margin-top: 22px;
  display: block;
}

.detail-aside-pro {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.aside-buy-card,
.aside-price-card {
  background: #fff;
  border: 1px solid #eef1f6;
  border-radius: 12px;
  box-shadow: 0 8px 26px rgba(29, 45, 68, 0.1);
  padding: 16px;
}

.aside-buy-card p {
  font-weight: 800;
  color: #596273;
  margin-bottom: 12px;
}

.aside-buy-card .btn {
  width: 170px;
}

.price-head,
.price-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 4px;
  border-bottom: 1px solid #e8ecf3;
}

.price-row span {
  color: #374151;
}

.fee-note {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  color: #5f6878;
  font-size: 13px;
  line-height: 1.45;
  padding: 12px 4px;
}

.info-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #4b5563;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
}

/* ── PACKAGES ── */
.checkout-title-wrap {
  background: #fff;
  border-bottom: 1px solid #dfe5ee;
  position: relative;
  z-index: 850;
  clear: both;
}

.checkout-title-inner {
  min-height: 64px;
  max-width: var(--siteMax);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.checkout-title-text {
  font-size: clamp(18px, 3.8vw, 24px);
  font-weight: 900;
  letter-spacing: -0.35px;
  color: #2b2f39;
  white-space: normal;
  line-height: 1.18;
  min-width: 0;
  overflow-wrap: anywhere;
}

.checkout-row {
  display: none !important;
}

.checkout-header {
  box-shadow: none !important;
  border-bottom: 0 !important;
}

/* Packages header banner */
.pkg-hero-banner {
  position: relative;
  overflow: hidden;
  height: 380px;
  background-color: #120b25;
  background-image: url("images/concert-visual.png");
  background-size: cover;
  background-position: center 42%;
  background-repeat: no-repeat;
}

.pkg-hero-banner:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(30, 8, 60, 0.72) 0%,
    rgba(76, 29, 149, 0.45) 55%,
    rgba(10, 5, 20, 0.7) 100%
  );
}

.pkg-hero-banner-inner {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 1;
  width: min(680px, 100%);
  padding: 0 16px 24px;
  color: #fff;
}

.pkg-hero-label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  margin-bottom: 8px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.pkg-hero-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(34px, 8vw, 52px);
  letter-spacing: 4px;
  line-height: 0.9;
  text-shadow: 0 5px 24px rgba(0, 0, 0, 0.65);
}

.pkg-hero-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 10px;
  font-weight: 800;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

/* Ticket cards */
.section-title {
  font-size: 18px;
  font-weight: 900;
  margin: 0 0 4px;
}

.hint {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 12px;
}

.ticket {
  border-radius: 12px;
  border: 1px solid #edf1f6;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  margin-bottom: 14px;
  background: #fff;
  overflow: hidden;
}

.ticket-head {
  padding: 16px 18px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  border-bottom: 0;
}

.ticket-name {
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
  color: #111827;
  letter-spacing: 0.1px;
}

.chev {
  color: #6b7280;
  font-size: 18px;
  transition: 0.2s;
}

.ticket.open .chev {
  transform: rotate(180deg);
}

.ticket-body {
  display: block !important;
  border-top: 0;
}

.ticket.open .ticket-head {
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f2f5;
}

.ticket-attrs {
  padding: 12px 18px 4px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.attr {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.35;
}

.attr span:first-child {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: #eef2f7;
  color: #667085;
  display: grid;
  place-items: center;
  font-size: 11px;
  flex-shrink: 0;
}

.attr small {
  display: block;
  color: #9ca3af;
  margin-top: 2px;
}

.detail-link {
  display: inline-block;
  padding: 10px 18px 14px;
  color: var(--armyPurple);
  font-weight: 900;
  font-size: 13px;
}

.date-block {
  padding: 0 18px 12px;
}

.block-label {
  font-size: 11px;
  font-weight: 900;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.date-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.date-chip {
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 9px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  width: 100%;
}

.date-chip.on {
  border-color: var(--armyPurple) !important;
  background: var(--armyPurpleSoft) !important;
}

.date-box {
  width: 40px;
  height: 48px;
  border: 1.5px solid #c7d7ef;
  border-radius: 9px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--armyPurple) !important;
  font-weight: 900;
  flex-shrink: 0;
}

.date-box small {
  font-size: 9px;
}

.date-box b {
  font-family: "Bebas Neue";
  font-size: 25px;
  line-height: 0.85;
}

.date-txt {
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
}

.date-txt small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  font-weight: 600;
  margin-top: 2px;
}

.ticket-bottom {
  margin: 0 18px;
  padding: 16px 0 18px;
  border-top: 1px dashed #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.price {
  font-size: 18px;
  font-weight: 900;
  color: #c1495b;
  white-space: nowrap;
  letter-spacing: 0.2px;
}

.pick {
  background: var(--armyPurple) !important;
  color: #fff;
  border-radius: 8px;
  padding: 11px 18px;
  font-size: 13px;
  font-weight: 900;
  min-width: 120px;
  box-shadow: 0 4px 12px rgba(111, 45, 189, 0.22);
}

.pick:active {
  background: var(--armyPurpleDark) !important;
}

.ticket:not(.open) .date-block {
  display: none !important;
}

.ticket:not(.open) .code-panel {
  display: none !important;
}

.ticket.open .date-block {
  display: block;
  padding-top: 4px;
}

.ticket.open .code-panel.show {
  display: block !important;
}

.code-panel {
  display: none;
  background: #fff;
  padding: 14px 18px 18px;
  border-top: 1px dashed var(--line);
}

.code-panel.show {
  display: block;
}

.code-panel h4 {
  font-size: 14px;
  font-weight: 900;
  margin: 0 0 10px;
}

.code-input {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 13px 14px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  height: 52px;
}

.code-input:focus {
  border-color: var(--armyPurple);
  box-shadow: 0 0 0 3px rgba(111, 45, 189, 0.1);
}

.code-btn {
  margin-top: 10px;
  height: 52px;
  border-radius: 10px;
}

.code-ok {
  display: none;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  margin-top: 8px;
}

.code-ok.show {
  display: block;
}

.selected {
  display: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.08);
  padding: 16px;
  margin-top: 6px;
}

.selected.show {
  display: block;
}

.qtyrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.qtylabel {
  font-weight: 900;
}

.qtylabel small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.qtyctrl {
  display: flex;
  align-items: center;
  gap: 11px;
}

.qtybtn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--armyPurpleSoft);
  color: var(--armyPurple);
  font-size: 22px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.qtyval {
  font-family: "Bebas Neue";
  font-size: 36px;
  width: 32px;
  text-align: center;
}

.summary {
  background: #f8fafc;
  border-radius: 10px;
  padding: 12px;
  margin-top: 14px;
}

.sumrow {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 3px 0;
  font-size: 13px;
}

.sumrow span:first-child {
  color: var(--muted);
}

.sumtotal {
  border-top: 1px solid var(--line);
  margin-top: 6px;
  padding-top: 8px;
  font-weight: 900;
}

.sumtotal span:last-child {
  color: var(--armyPurple) !important;
  font-size: 15px;
  text-align: right;
}

/* ── FORM ── */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 16px;
}

.form-title {
  font-size: 15px;
  font-weight: 900;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}

.form-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.field label {
  display: block;
  font-size: 11px;
  font-weight: 900;
  color: var(--muted);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.field input,
.field select {
  width: 100%;
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: 9px;
  padding: 12px 13px;
  font-size: 14px;
  color: var(--text);
}

.field input:focus,
.field select:focus {
  border-color: var(--armyPurple);
  box-shadow: 0 0 0 3px rgba(111, 45, 189, 0.1);
}

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.titles {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.radio {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 13px;
}

.radio input {
  width: 16px;
  height: 16px;
  accent-color: var(--armyPurple);
}

.holder {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fafcff;
  padding: 13px;
  margin-top: 10px;
}

.holder-title {
  font-size: 13px;
  font-weight: 900;
  color: var(--armyPurple);
  margin-bottom: 10px;
}

.same {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  margin-bottom: 12px;
}

.same input,
.agree input {
  width: 17px;
  height: 17px;
  accent-color: var(--armyPurple);
  flex-shrink: 0;
}

.terms {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  padding: 14px;
}

.terms ul {
  padding-left: 17px;
  margin-top: 5px;
}

.agree {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.5;
}

.continue-wrap {
  position: relative;
}

.continue-wrap .btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.validation-hint {
  display: none;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
  margin-top: 8px;
}

.continue-wrap:hover + .validation-hint.show,
.validation-hint.force {
  display: block;
}

.validation-hint.ok {
  display: none !important;
}

/* ── TRAFFIC OVERLAY ── */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(17, 24, 39, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.traffic {
  background: #fff;
  width: min(360px, 100%);
  border-radius: 20px;
  padding: 25px 22px;
  text-align: center;
  box-shadow: var(--shadow2);
  animation: pop 0.2s ease;
}

@keyframes pop {
  from {
    transform: scale(0.92);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.traffic-icon {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, #eaf3ff, #f0e8ff);
  display: grid;
  place-items: center;
  font-size: 50px;
  margin: 0 auto 14px;
}

.attempt {
  display: inline-block;
  background: #fff1f2;
  color: #be2738;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 900;
  margin-bottom: 12px;
}

.traffic-title {
  font-size: 17px;
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 8px;
}

.traffic-sub {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

/* ── PAYMENT ── */
.pay-card {
  background: linear-gradient(135deg, #172036, #31204c);
  border-radius: 14px;
  color: #fff;
  padding: 16px 18px;
  box-shadow: var(--shadow);
}

.pay-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 900;
}

.pay-event {
  font-family: "Bebas Neue";
  font-size: 27px;
  letter-spacing: 2px;
  margin: 5px 0;
}

.pay-detail {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}

.pay-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 12px;
  margin-top: 12px;
}

.pay-total b {
  font-family: "Bebas Neue";
  font-size: 30px;
  color: var(--yellow);
  letter-spacing: 1px;
}

.pay-group-title {
  font-size: 11px;
  font-weight: 900;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 8px 0;
}

.payopt {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 13px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  width: 100%;
  text-align: left;
}

.payopt.on {
  border-color: var(--armyPurple);
  background: var(--armyPurpleSoft);
}

.pay-left {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
}

.pay-logo {
  width: 44px;
  height: 28px;
  border-radius: 6px;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 900;
}

.gopay {
  background: #00a6ce;
}

.ovo {
  background: #5140bf;
}

.dana {
  background: #118ee9;
}

.visa {
  background: #172b85;
}

.bca {
  background: #005faa;
}

.tag {
  font-size: 10px;
  border-radius: 999px;
  padding: 4px 9px;
  font-weight: 900;
  background: #e8fff0;
  color: #12833e;
}

.slow {
  background: #fff1f2;
  color: #be2738;
}

.inst {
  display: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  font-size: 13px;
  line-height: 1.6;
}

.inst.show {
  display: block;
}

.inst ol {
  padding-left: 18px;
  margin-top: 6px;
}

.qr {
  width: 128px;
  height: 128px;
  margin: 10px auto;
  border: 2px dashed #c7d7ef;
  border-radius: 10px;
  background:
    repeating-linear-gradient(0deg, #fff, #fff 7px, #eef2f8 7px, #eef2f8 9px),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 7px,
      rgba(0, 0, 0, 0.04) 7px,
      rgba(0, 0, 0, 0.04) 9px
    );
}

/* ── SUCCESS / SOLDOUT ── */
.final {
  background: #0b0f1a;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.final-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(125, 66, 217, 0.4),
      transparent 35%
    ),
    radial-gradient(circle at 82% 82%, rgba(0, 100, 210, 0.3), transparent 36%),
    #0b0f1a;
}

.final-wrap {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin: auto;
  padding: 42px 16px 60px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  text-align: center;
}

#success .final-wrap {
  min-height: 100dvh;
  justify-content: center;
  max-width: 900px;
  padding: 18px 16px 22px;
  gap: 10px;
}

#success .logo {
  font-size: 20px !important;
}

#success .check {
  width: 50px;
  height: 50px;
  font-size: 24px;
}

#success .final-title {
  font-size: 36px;
}

#success .final-sub {
  font-size: 12px;
  line-height: 1.45;
  max-width: 520px;
}

.success-grid {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 14px;
  align-items: stretch;
}

#success .eticket {
  height: 100%;
}

#success .et-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 12px;
  padding: 10px 14px;
}

#success .et-row {
  padding: 5px 0;
}

#success .barcode {
  padding: 10px;
}

#success .bars {
  height: 28px;
}

#success .result-panel {
  height: 100%;
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 12px;
  padding: 14px;
}

#success .score-result-num,
#success .time-result-num {
  font-size: 52px;
}

.share-card {
  width: 100%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 12px;
  text-align: left;
}

.share-title {
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 1.4px;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.share-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.share-buttons .btn {
  padding: 10px 12px;
  font-size: 13px;
}

.check {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: #1db954;
  display: grid;
  place-items: center;
  font-size: 34px;
  font-weight: 900;
  box-shadow: 0 0 36px rgba(29, 185, 84, 0.3);
}

.final-title {
  font-family: "Bebas Neue";
  font-size: 44px;
  letter-spacing: 3px;
}

.final-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
}

.eticket {
  width: 100%;
  background: #fff;
  color: var(--text);
  border-radius: 14px;
  overflow: hidden;
  text-align: left;
  box-shadow: var(--shadow2);
}

.et-head {
  background: linear-gradient(135deg, #172036, #31204c);
  color: #fff;
  padding: 13px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.et-head small {
  display: block;
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 900;
}

.et-head b {
  font-family: "Bebas Neue";
  font-size: 19px;
  color: #d6c2ff;
}

.et-body {
  padding: 14px 16px;
}

.et-row {
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
}

.et-row:last-child {
  border-bottom: 0;
}

.et-row small {
  display: block;
  font-size: 10px;
  font-weight: 900;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.et-row strong {
  font-size: 14px;
}

.quality {
  font-size: 11px;
  font-weight: 800;
  margin-top: 3px;
}

.quality.good {
  color: var(--green);
}

.quality.bad {
  color: var(--red);
}

.barcode {
  border-top: 1px dashed var(--line);
  background: #f8fafc;
  padding: 14px;
  text-align: center;
}

.bars {
  height: 40px;
  display: flex;
  gap: 2px;
  justify-content: center;
  align-items: stretch;
}

.bars i {
  display: block;
  background: #1a2236;
  border-radius: 1px;
  width: 3px;
}

.bars i:nth-child(3n) {
  width: 1.5px;
}

.bars i:nth-child(4n) {
  height: 70%;
  align-self: center;
}

.bc {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 2.5px;
  margin-top: 6px;
}

.result-panel {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 18px;
  text-align: left;
}

.result-panel small {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}

.score-result,
.time-result {
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px;
}

.score-result-num,
.time-result-num {
  font-family: "Bebas Neue";
  font-size: 60px;
  color: var(--yellow);
  line-height: 1;
}

.result-panel p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.55;
  margin-top: 0;
}

.final-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
}

.final-actions .btn-outline {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.sold-title {
  font-family: "Bebas Neue";
  font-size: 48px;
  letter-spacing: 4px;
}

.sold-time {
  font-family: "Bebas Neue";
  font-size: 48px;
  color: var(--yellow);
  letter-spacing: 2px;
}

.soldbox {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 18px;
}

.soldbox small {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.45);
}

/* ── RESPONSIVE ── */
@media (max-width: 760px) {
  :root {
    --disclaimerH: 48px;
    --footerTimerH: 58px;
  }

  .sim-disclaimer {
    font-size: 11px;
    padding: 7px 12px;
  }

  .utility-row,
  .main-nav,
  .search-row {
    display: none !important;
  }

  .site-row {
    height: 62px !important;
  }

  .logo {
    font-size: 24px !important;
  }

  .logo-dot {
    width: 32px !important;
    height: 32px !important;
    vertical-align: -9px !important;
  }

  .event-title-inner,
  .checkout-title-inner {
    height: 64px;
    padding: 0 16px;
    gap: 14px;
  }

  .event-page-title,
  .checkout-title-text {
    font-size: 20px;
  }

  .checkout-title-wrap {
    top: auto;
  }

  .breadcrumbs {
    display: none !important;
  }

  .header-actions {
    gap: 10px !important;
  }

  .avatar {
    width: 40px !important;
    height: 40px !important;
  }

  .footer-timer-inner {
    grid-template-columns: 1fr auto !important;
    gap: 10px !important;
  }

  .footer-timer-track {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .footer-timer-clock {
    font-size: 26px !important;
  }

  .footer-timer-label {
    font-size: 11px !important;
  }

  .event-hero-inner {
    grid-template-columns: 1fr;
    padding: 18px 14px;
    gap: 18px;
  }

  .poster-card-pro {
    height: 210px;
    padding: 22px;
  }

  .poster-main-title {
    font-size: 58px;
  }

  .poster-band {
    margin-top: 26px;
  }

  .poster-bottom {
    left: 22px;
    right: 22px;
    bottom: 18px;
    font-size: 11px;
  }

  .hero-copy-pro h1 {
    font-size: 24px;
  }

  .hero-cta {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .detail-layout-pro {
    grid-template-columns: 1fr;
    padding: 24px 14px 80px;
  }

  .detail-aside-pro {
    order: -1;
  }

  .aside-buy-card .btn {
    width: 100%;
  }

  .date-grid {
    grid-template-columns: 1fr 1fr;
  }

  .two {
    grid-template-columns: 1fr 1fr;
  }

  .final-actions {
    grid-template-columns: 1fr 1fr;
  }

  .success-grid {
    grid-template-columns: 1fr;
  }

  #success .final-wrap {
    min-height: auto;
    padding: 28px 16px 60px;
  }

  #success .et-body {
    grid-template-columns: 1fr;
  }

  .levels {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px !important;
  }

  .pkg-hero-banner {
    height: 260px;
    background-size: cover;
    background-position: center;
  }

  .pkg-hero-banner-inner {
    padding: 0 16px 18px;
  }

  .pkg-hero-title {
    font-size: 34px;
  }
}

@media (max-width: 860px) {
  #start.active {
    height: auto !important;
    min-height: var(--startAvailH) !important;
    overflow: auto !important;
  }

  .start-shell {
    grid-template-columns: 1fr;
    height: auto;
    min-height: var(--startAvailH);
    padding: 18px 16px 22px;
  }

  .start-visual {
    min-height: 180px;
    height: 180px;
    order: -1;
    border-radius: 18px;
  }

  .visual-title {
    font-size: 22px;
  }

  .visual-note {
    display: none;
  }

  .hero {
    font-size: 56px;
  }

  .hero-sub {
    font-size: 30px;
  }
}

@media (max-width: 430px) {
  .ticket-head {
    padding: 15px 15px 8px;
  }

  .ticket-attrs {
    padding-left: 15px;
    padding-right: 15px;
  }

  .detail-link {
    padding-left: 15px;
    padding-right: 15px;
  }

  .ticket-bottom {
    margin-left: 15px;
    margin-right: 15px;
  }

  .pick {
    min-width: 112px;
    padding: 10px 14px;
  }

  .price {
    font-size: 16px;
  }

  .pkg-hero-banner {
    height: 230px;
    background-size: cover;
    background-position: center;
  }
}

/* ── MOBILE SCROLL SAFETY PATCH ──
   Desktop can keep the locked simulator feeling.
   Tablet/phone must use natural document scrolling so the layout never gets trapped.
*/
@media (max-width: 860px) {
  html,
  body {
    height: auto !important;
    min-height: 100% !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  body.start-mode {
    height: auto !important;
    min-height: 100dvh !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    padding-bottom: var(--creatorFooterH) !important;
  }

  body.no-scroll,
  .no-scroll {
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  body.start-mode #start.active,
  #start.active {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: calc(
      100dvh - var(--disclaimerH) - var(--creatorFooterH)
    ) !important;
    margin-top: var(--disclaimerH) !important;
    margin-bottom: var(--creatorFooterH) !important;
    overflow: visible !important;
    align-items: flex-start !important;
    justify-content: center !important;
  }

  .screen,
  .screen.active {
    overflow: visible !important;
  }

  .start-shell {
    height: auto !important;
    min-height: calc(
      100dvh - var(--disclaimerH) - var(--creatorFooterH)
    ) !important;
    overflow: visible !important;
    align-items: start !important;
    padding-bottom: calc(28px + var(--footerTimerH)) !important;
  }

  .start-content,
  .start-panel {
    min-width: 0 !important;
  }

  #success .final-wrap {
    min-height: auto !important;
    overflow: visible !important;
  }
}
