/* ============================================
   TICKET POPUP — fixed sticky promo widget
   Figma: 559 × 249 px @ 1920px = 55.9 × 24.9 rem
   Position: bottom-right corner, follows scroll.
   Auto-hides after June 30 deadline or on close.
   ============================================ */

.ticket-popup {
  position: fixed;
  bottom: 3rem;
  right: 3rem;
  width: 60rem;
  z-index: 900;

  display: flex;
  align-items: stretch;
  overflow: hidden;

  background: #ffffff;
  border-radius: 2.4rem;
  box-shadow:
    0 2.4rem 8rem rgba(0, 0, 0, 0.20),
    0 0.8rem 2rem rgba(0, 0, 0, 0.08);

  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.ticket-popup.is-hidden {
  opacity: 0;
  transform: translateY(2rem);
  pointer-events: none;
}

/* ============================================
   CLOSE BUTTON
   ============================================ */

.ticket-popup__close {
  position: absolute;
  top: 1.4rem;
  right: 1.6rem;
  z-index: 10;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  line-height: 1;
  font-size: 1.8rem;
  color: rgba(0, 0, 0, 0.28);
  transition: color 0.15s ease;
}

.ticket-popup__close:hover {
  color: rgba(0, 0, 0, 0.65);
}

/* ============================================
   LEFT — text, timer, button
   ============================================ */

.ticket-popup__body {
  flex: 1;
  min-width: 0;
  padding: 3.2rem 2rem 3.2rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.ticket-popup__title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #0a0e1a;
  margin: 0;
}

.ticket-popup__subtitle {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0.6rem 0 0;

  background: linear-gradient(90deg, #FF6B2D 0%, #8B5CF6 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

/* ============================================
   COUNTDOWN TIMER
   ============================================ */

.ticket-popup__timer {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.ticket-popup__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.ticket-popup__digit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5.8rem;
  height: 4.8rem;
  border-radius: 1rem;
  background: #E6EAF6;

  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.ticket-popup__digit span {
  background: linear-gradient(135deg, #FF6B2D 0%, #8B5CF6 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
}

.ticket-popup__sep {
  font-size: 2.6rem;
  font-weight: 700;
  color: #C4CADE;
  margin-top: 0.6rem;
  line-height: 1;
}

.ticket-popup__unit-label {
  font-size: 1.1rem;
  font-weight: 400;
  color: #C4CADE;
}

/* ============================================
   ACTION ROW — button + stacked prices
   ============================================ */

.ticket-popup__action {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.ticket-popup__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  flex-shrink: 0;
  padding: 1.3rem 2rem;
  border-radius: 10rem;
  background: linear-gradient(90deg, #8B5CF6 0%, #FF6B2D 100%);

  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #ffffff;
  white-space: nowrap;
  transition: filter 0.2s ease;
}

.ticket-popup__btn:hover {
  filter: brightness(1.08);
}

.ticket-popup__prices {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  white-space: nowrap;
}

.ticket-popup__old-price {
  font-size: 1.3rem;
  font-weight: 400;
  color: rgba(10, 14, 26, 0.4);
  text-decoration: line-through;
}

.ticket-popup__cur-price {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #0a0e1a;
}

/* ============================================
   RIGHT — ticket SVG illustration
   ============================================ */

.ticket-popup__visual {
  flex: 0 0 28rem;
  position: relative;
  overflow: hidden;
}

.ticket-popup__visual img {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1280px) {
  .ticket-popup {
    width: 58rem;
    bottom: 2.4rem;
    right: 2.4rem;
  }
}

@media (max-width: 700px) {
  .ticket-popup {
    display: none;
  }
}