/* =========================
   TICKETS PAGE
========================= */

@font-face {
  font-family: "Hobo";
  src: url("/fonts/HoboBT.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
}

body {
  background: #4b1474;
  font-family: Inter, sans-serif;
  overflow-x: hidden;
  overflow-y: auto;
}

/* =========================
   PAGE WRAPPER
========================= */

.tickets-page {
  width: min(100%, 430px);
  margin: 0 auto;
  overflow: hidden;
  background: #4b1474;
}

.ticket-hero {
  position: relative;
  min-height: 1120px;
  height: 1360px;
  /* controls total top section height */
  overflow: hidden;
}


/* =========================
   TOP COLORFUL BG
========================= */

.ticket-colorful-bg {
  position: absolute;
  top: 0;
  left: 0;

  display: block;
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center top;
}


/* SMALL STARS */

.ticket-space-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;

  background:
    radial-gradient(circle at 20% 25%, rgba(255, 216, 0, .15), transparent 18%),
    radial-gradient(circle at 80% 20%, rgba(255, 0, 170, .15), transparent 22%),
    linear-gradient(180deg,
      #120022 0%,
      #29004d 55%,
      #4b1474 100%);
}

#stars {
  position: absolute;
  inset: 0;
}

.star {
  position: absolute;
  border-radius: 50%;
  background: white;

  animation: twinkle var(--duration) ease-in-out infinite;
  animation-delay: var(--delay);
}

@keyframes twinkle {

  0%,
  100% {
    opacity: .2;
    transform: scale(.8);
  }

  50% {
    opacity: 1;
    transform: scale(1.3);
  }
}

.orb {
  position: absolute;

  width: 18px;
  height: 18px;

  border-radius: 50%;

  background: rgba(255, 255, 255, .12);

  box-shadow:
    0 0 25px rgba(255, 255, 255, .4),
    0 0 45px rgba(255, 216, 0, .2);

  animation:
    orb-float 8s ease-in-out infinite,
    orb-pulse 4s ease-in-out infinite;
}

@keyframes orb-pulse {

  0%,
  100% {
    opacity: .4;
    transform: scale(1);
  }

  50% {
    opacity: .7;
    transform: scale(1.15);
  }
}

@keyframes orb-float {

  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -10px;
  }
}

.beacon {
  position: absolute;

  width: 4px;
  height: 4px;

  border-radius: 50%;

  background: #70ff4f;

  box-shadow:
    0 0 15px #70ff4f,
    0 0 35px #70ff4f;

  animation: beacon 2.8s ease-in-out infinite;
}

@keyframes beacon {

  0%,
  100% {
    opacity: .4;
  }

  50% {
    opacity: 1;
  }
}



/* =========================
   BLOB SECTION
========================= */

.ticket-blob-wrap {
  position: absolute;
  top: 285px;
  left: 50%;
  width: 117%;
  transform: translateX(-50%);
  z-index: 10;
}

.ticket-blob-bg {
  display: block;
  width: 110%;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  filter:
    drop-shadow(0 0 0px rgba(112, 255, 79, 0)) drop-shadow(0 0 0px rgba(112, 255, 79, 0));

  animation: frequency-pulse 3.5s ease-in-out infinite;
}

@keyframes frequency-pulse {

  0%,
  100% {
    filter:
      drop-shadow(0 0 0px rgba(112, 255, 79, 0)) drop-shadow(0 0 0px rgba(112, 255, 79, 0));
  }

  50% {
    filter:
      drop-shadow(0 0 8px rgba(112, 255, 79, .45)) drop-shadow(0 0 18px rgba(112, 255, 79, .22));
  }
}

.ticket-blob-content {
  position: absolute;
  inset: 0;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.ticket-header {
  width: min(52vw, 260px);

  margin-top: 135px;
  margin-bottom: 18px;

  display: block;

  animation: header-float 4s ease-in-out infinite;
}

@keyframes header-float {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  25% {
    transform: translateY(-2px) rotate(-0.4deg);
  }

  75% {
    transform: translateY(2px) rotate(0.4deg);
  }
}

.ticket-cards {
  width: min(80%, 370px);

  display: flex;
  flex-direction: column;

  gap: 25px;
}

.ticket-highlights {
  width: min(80vw, 280px);

  margin-top: 28px;

  display: block;
}

.shooting-star {
  position: absolute;
  width: 90px;
  height: 2px;

  background: linear-gradient(90deg,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, .8) 15%,
      rgba(255, 255, 255, 0) 100%);

  border-radius: 999px;
  opacity: 0;

  transform: rotate(-28deg);
  animation: shooting-star 1.6s ease-out forwards;
  pointer-events: none;

  filter:
    drop-shadow(0 0 6px rgba(255, 255, 255, .8)) drop-shadow(0 0 12px rgba(255, 255, 255, .4));
}

@keyframes shooting-star {
  0% {
    opacity: 0;
    translate: 0 0;
  }

  12% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    translate: -180px 120px;
  }
}




/* =========================
   TICKET BUTTONS
========================= */

.ticket-trigger {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.ticket-trigger img {
  display: block;
  width: 100%;
  height: auto;
  z-index: 2;
  position: relative;
}

.ticket-dropdown {
  width: 95%;
  margin: -14px auto 0;
  max-height: 0;
  overflow: hidden;
  position: relative;
  transition: max-height 0.35s ease;
  z-index: 1;
}

.ticket-item.open .ticket-dropdown {
  max-height: 900px;
}

.dropdown-bg {
  display: block;
  width: 100%;
  height: auto;
}

.dropdown-content {
  position: absolute;
  inset: 0;
}

/* top text zone */
.dropdown-content ul {
  position: absolute;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);

  width: 78%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dropdown-content li {
  font-family: "Hobo", sans-serif;
  font-size: 13px;
  line-height: 1.05;
  font-weight: 800;
  color: #5b1797;
  text-align: center;
  margin-bottom: 9px;
}

.dropdown-content li::before {
  content: "✦";
  color: #00d01c;
  margin-right: 6px;
}


.dropdown-price {
  position: relative;
  /* left: 50%; */
  /* bottom: 100px; */
  /* transform: translateX(-50%); */
  margin: 0;
  padding: 0;
  font-family: "Hobo", sans-serif;
  font-size: 28px;
  /* line-height: 1; */
  color: #ff00aa;
  text-align: center;
  z-index: 3;
  top: 25px;
}

.dropdown-cta {
  bottom: 28px;
  z-index: 4;
}

/* .dropdown-content ul {
  top: 78px;
} */

/* CTA pinned to bottom */
.dropdown-cta {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);

  display: block;
  width: 70%;
  max-width: 250px;
  margin: 0;
}

.dropdown-cta img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.dropdown-cta:hover img {
  transform: scale(1.03);
  filter: brightness(1.05);
}

.dropdown-cta:hover img {
  transform: scale(1.03);
  filter: brightness(1.05);
}

/* =========================
   ARROW
========================= */

.ticket-arrow {
  width: 20px;

  margin-top: 26px;

  animation: arrow-bounce 1.8s ease-in-out infinite;
}

@keyframes arrow-bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(12px);
  }
}

/* =========================
   PRICING SECTION
========================= */

.pricing-section {
  position: absolute;
  /* margin-top: -10px; */
  top: 815px;
  left: 0;
  width: 100%;
  z-index: 1;
}

.pricing-bg {
  display: none;
  width: 100%;
}

.pricing-content {
  position: absolute;
  inset: 0;

  display: flex;
  flex-direction: column;
  align-items: center;
}

/* =========================
   TITLE
========================= */

.countdown-wrap {
  margin-top: -346px;
  text-align: center;
}

.countdown-title {
  margin: 0 0 7px;

  font-family: "Hobo", sans-serif;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 1px;
}

.countdown-title .green {
  color: #70ff4f;
}

.countdown-title .pink {
  color: #ff2bd6;
}

/* =========================
   COUNTDOWN
========================= */

.countdown {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.count-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.count-item span {
  font-family: "Hobo", sans-serif;

  font-size: 64px;
  line-height: 1;

  color: #fff;

  text-shadow:
    0 0 8px rgba(255, 255, 255, 0.25),
    0 0 18px rgba(255, 255, 255, 0.12);

  animation: countdown-glow 3s ease-in-out infinite;
}

.count-item label {
  margin-top: 6px;

  font-family: Inter, sans-serif;
  font-size: 18px;
  color: #fff;
}



/* =========================
   CTA
========================= */

.price-arc-cta {
  display: block;
  width: min(55%, 430px);

  margin-top: 17px;
}

.price-arc-cta img {
  display: block;
  width: 100%;
  animation: cta-pulse 2.8s ease-in-out infinite;
  height: auto;
}

@keyframes cta-pulse {

  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(255, 216, 0, 0));
  }

  50% {
    transform: scale(1.04);
    filter: drop-shadow(0 0 12px rgba(255, 216, 0, 0.45));
  }
}


/* =========================
   ARC IMAGE
========================= */

.price-arc {
  width: 88%;
  margin-top: 34px;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 430px) {

  .countdown-title {
    font-size: 18px;
  }

  .countdown {
    gap: 28px;
  }

  .count-item span {
    font-size: 52px;
  }

  .count-item label {
    font-size: 15px;
  }

  .price-arc {
    width: 92%;
  }

}

/* =========================
   MOBILE TUNE
========================= */

@media (max-width: 430px) {
  .ticket-blob-wrap {
    margin-top: -185px;
  }

  .ticket-blob-content {
    /* top: 155px;
    width: 87%; */
    padding: 0 16px;
  }

  .ticket-options {
    width: min(100%, 320px);
    gap: 25px;
  }

  .ticket-arrow {
    margin-top: 20px;
  }
}

.rotate-device {
  display: none;
}

@media (orientation: landscape) and (max-width: 1024px) {
  .rotate-device {
    display: flex;
    position: fixed;
    inset: 0;
    background: #2a004a;
    z-index: 99999;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
  }

  .rotate-message {
    color: #ffe600;
    font-size: 2rem;
    font-family: "Hobo BT", sans-serif;
  }

  body {
    overflow: hidden;
  }
}