@font-face {
  font-family: "Speedee App";
  src: url("assets/fonts/SpeedeeApp-Regular.ttf") format("truetype");
  font-display: swap;
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Speedee App";
  src: url("assets/fonts/SpeedeeApp-Bold.ttf") format("truetype");
  font-display: swap;
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Speedee Condensed";
  src: url("assets/fonts/SpeedeeCondensed-Bold.ttf") format("truetype");
  font-display: swap;
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Speedee Condensed";
  src: url("assets/fonts/SpeedeeCondensed-Regular.ttf") format("truetype");
  font-display: swap;
  font-weight: 400;
  font-style: normal;
}

:root {
  --mc-yellow: #FFBC0D;
  --mc-yellow-bright: #FFBC0D;
  --mc-green: #2f5e49;
  --mc-ink: #111111;
  --mc-white: #fffdf6;
  --mc-black: #050505;
  --shell-width: min(100vw, 430px);
  --page-radius: 34px;
  color-scheme: light;
  font-size: 62.5%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--mc-black);
  color: var(--mc-ink);
  font-family: "Speedee App", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
}

body.popup-open {
  overflow: hidden;
}

img,
video {
  display: block;
  max-width: 100%;
}

button,
a {
  font: inherit;
}

.desktop-lock {
  display: none;
}

.mobile-experience {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 0;
}

.page {
  width: var(--shell-width);
  overflow: hidden;
  background: var(--mc-yellow);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.missionsHeader {
  background-color: #000;
}

.section {
  width: 100%;
  position: relative;
}

.section--yellow {
  background:
    url("assets/Background-yellow.png") center / cover no-repeat,
    linear-gradient(180deg, #ffd334 0%, #e8b511 100%);
}

.section--dark {
  background:
    url("assets/Background.png") center / cover no-repeat,
    linear-gradient(180deg, #373737 0%, #212121 100%);
}

.section--black {
  background:
    linear-gradient(180deg, #000 75%, #333 100%);
}

.hero {
  padding:
    calc(18px + env(safe-area-inset-top)) 28px 28px;
}

.hero__top {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: start;
  margin: 10px 0 30px;
}

.hero__wordmark {
  width: min(106px, 40vw);
  margin: 0 auto;
}

.menu-button {
  width: 24px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  position: relative;
  text-decoration: none;
}

.menu-button span {
  display: block;
  width: 30px;
  height: 2.5px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.9);
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: center;
}

.menu-button--close span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.menu-button--close span:nth-child(2) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.hero__spacer {
  width: 44px;
  height: 44px;
}

.hero__title,
.section-title,
.popup-card__title,
.popup-card__tag,
.cta-button {
  font-family: "Speedee Condensed", sans-serif;
}

.hero__title {
    margin: 0;
    text-align: center;
    text-transform: uppercase;
    font-size: 16vw;
    line-height: 0.75;
    letter-spacing: -0.05em;
    width: 100%;
    transform: rotate(-2deg);
}

.hero__photo {
  width: 100%;
  margin: 26px auto 28px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
  transform: rotate(-2deg);
  border-radius: 5px;
  aspect-ratio: 16 / 9;
  background: black;
}

.hero__copy {
  width: min(100%, 330px);
  text-align: center;
  font-size: 1.8rem;
  line-height: 1.4;
  letter-spacing: -0.02em;
  transform: rotate(-2deg);
  margin: 0 auto;
}

.delivery__copy {
  width: 100%;
  font-size: 1.8rem;
  line-height: 1.4;
  letter-spacing: -0.02em;
  transform: rotate(-2deg);
  padding-left: 6px;
}

.delivery__copy.white {
  color: #fff;
}

.hero__date {
  display: block;
  margin-top: 2px;
}

.join {
  padding: 0 30px 42px;
  color: var(--mc-white);
}

.section-title {
  margin: 0;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.section-title--light {
  font-size: clamp(3rem, 13.2vw, 4.6rem);
}

.section-copy {
  margin: 16px 0 0;
  font-size: 1.8rem;
  line-height: 1.4;
}

.section-copy--light {
  max-width: 320px;
}

.join__tickets {
  width: min(50vw, 292px);
  margin: 26px auto 24px;
}

.ticketContainer {
  position: relative;
  margin-bottom: 32px;
  display: flex;
  justify-content: center;
}
.ticket {
  position: absolute;
  height: 70%;
}
@keyframes ticket1 {
  0% { transform: rotate(-10deg) translate(-40%, -10%); }
  50% { transform: rotate(-15deg) translate(-45%, -20%); }
}
@keyframes ticket2 {
  0% { transform: rotate(10deg) translate(30%, -10%); }
  50% { transform: rotate(15deg) translate(35%, -15%); }
}
.ticket1 {
  transform: rotate(-10deg) translate(-40%, -10%);
  bottom: 0;
  z-index: 2;
  animation: ticket1 3s infinite ease-in-out;
}
.ticket2 {
  transform: rotate(10deg) translate(30%, -10%);
  bottom: 5vh;
  z-index: 1;
  animation: ticket2 3s .2s infinite ease-in-out;
}
@keyframes ticketShadow {
  0% {width: 50%;}
  50% {width: 60%;}
}
.ticketShadow {
  position: absolute;
  bottom: -2.5%;
  width: 50%;
  animation: ticketShadow 3s infinite ease-in-out;
}


@keyframes prize {
  0% { transform: rotate(2.5deg) translate(0%); }
  50% { transform: rotate(-2.5deg) translate(0%); }
}
.prizeAnim {
  transform: rotate(0deg) translate(0%);
  bottom: 0;
  z-index: 2;
  animation: prize 3s infinite ease-in-out;
}


@keyframes heartbeat {
  0% {transform: scale(1) rotate(-2deg); }
  2% {transform: scale(1.1) rotate(-4deg); }
  4% {transform: scale(1) rotate(-2deg); }
  6% {transform: scale(1.1) rotate(-4deg); }
  8% {transform: scale(1) rotate(-2deg); }
}
.cta-button {
  transition: .15s;
  width: min(100%, 240px);
  font-family: "Speedee Condensed", sans-serif;
  font-weight: 700;
  min-height: 48px;
  margin: 0 auto;
  border-radius: 14px;
  background: var(--mc-yellow-bright);
  color: var(--mc-ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 2.4rem;
  line-height: 1;
  padding: 14px 20px;
  box-shadow: 0 16px 24px rgba(0, 0, 0, 0.18);
  animation: heartbeat 10s infinite ease-in-out;
  transform: rotate(-2deg);
}

.cta-button:active {
  color: var(--mc-yellow);
  background: var(--mc-black);
}

.cta-button img {
  width: 14px;
  height: auto;
}

.cta-button.dark {
  background-color: #050505;
  color: #fff;
  margin: 30px auto 20px;
}

.discover {
  padding: 44px 5vw calc(22px + env(safe-area-inset-bottom));
  font-size: 1.8rem;
}

.discover__title {
  font-size: 16vw;
  padding-bottom: 2rem;
  text-align: left;
}

.discover__stage {
  position: relative;
  width: calc(100% + 60px);
  margin: 26px 0 -22px -30px;
}

.discover__crates {
  width: 100%;
  height: auto;
}

@keyframes btnhover {
  0% {transform: translateY(0) rotate(-2deg); }
  50% {transform: translateY(-10px) rotate(-1deg);}
  100% {transform: translateY(0) rotate(-2deg); }
}

.hotspot {
  position: absolute;
  border: 0;
  padding: 5px 10px;
  cursor: pointer;
  color: #fff;
  transform: rotate(-2deg);
  font-weight: 700;
  animation: btnhover 5s ease-in-out infinite;
  background: #264F36;
  background: linear-gradient(90deg,rgba(38, 79, 54, 1) 0%, rgba(38, 79, 54, 1) 100%);
}

.hotspot--canada {
  top: 25%;
  left: 58%;
  animation-delay: 1s;
  animation-duration: 4s;
}

.hotspot--japan {
  top: 29%;
  left: 47%;
}

.hotspot--sakura {    
  top: 46%;
  left: 11%;
  animation-delay: 1.5s;
  animation-duration: 6s;
}

.hotspot--chile {        
  top: 65%;
  left: 47%;
  animation-delay: .5s;
  animation-duration: 5.5s;
}

.hotspot--indonesie {    
  top: 44%;
  left: 70%;
  animation-delay: 1.5s;
  animation-duration: 6s;
}

.hotspot--zuidkorea {        
  top: 82%;
  left: 14%;
  animation-delay: 1.5s;
  animation-duration: 6s;
}

.hotspot:focus-visible,
.cta-button:focus-visible,
.popup-card__close:focus-visible,
.menu-button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.9);
  outline-offset: 3px;
}

.hotspot:focus-visible {
  background: rgba(47, 94, 73, 0.24);
  box-shadow: 0 0 0 3px rgba(47, 94, 73, 0.6);
}

.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
}

.popup-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.popup-overlay__scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
}

.popup-card {
  position: relative;
  width: min(100%, 390px);
  max-height: calc(100dvh - 24px);
  overflow: auto;
  background: var(--mc-black);
  color: var(--mc-white);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translateY(28px) scale(0.96);
  transition: opacity 260ms ease, transform 260ms ease;
  scrollbar-width: none;
}

.popup-card::-webkit-scrollbar {
  display: none;
}

.popup-overlay.is-active .popup-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.popup-card__hero {
  position: relative;
  padding: 0;
}

.popup-card__tag {
  width: fit-content;
  max-width: calc(100% - 72px);
  margin: 0;
  padding: 9px 12px 8px;
  background: var(--mc-green);
  color: var(--mc-white);
  font-size: clamp(2rem, 8.4vw, 2.75rem);
  line-height: 0.95;
  text-transform: uppercase;
  transform: rotate(-2.1deg);
  display: none !important;
}

.popup-card__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.popup-card__close img {
  width: 100%;
  height: 100%;
}

.popup-card__visual {
  width: 100%;
  height: auto;
}

.popup-card__body {
  padding: 22px 20px 28px;
  background: var(--mc-black);
}

.popup-card__title-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.popup-card__title {    
  flex: 1;
  margin: 0;
  font-size: 3.6rem;
  line-height: .8;
  letter-spacing: -0.04em;
}

.popup-card__stamp {    
  width: 15vw;
  flex: 0 0 auto;
}

.popup-card__divider {
  width: 100%;
  margin: 18px 0 22px;
}

.popup-card__copy {
  margin: 0;
  font-size: clamp(1rem, 4.8vw, 1.65rem);
  line-height: 1.4;
  font-size: 1.8rem;
}

@media (min-width: 768px) {
  .desktop-lock {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 28px;
    background:
      radial-gradient(circle at top, rgba(255, 204, 23, 0.2), transparent 48%),
      var(--mc-black);
  }

  .desktop-lock__card {
    width: min(100%, 460px);
    text-align: center;
    padding: 40px 32px;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
    color: var(--mc-white);
  }

  .desktop-lock__logo {
    width: 150px;
    margin: 0 auto 18px;
  }

  .desktop-lock__title {
    margin: 0;
    font-family: "Speedee Condensed", sans-serif;
    font-size: 3rem;
    line-height: 0.92;
    letter-spacing: -0.06em;
    text-transform: uppercase;
  }

  .desktop-lock__copy {
    margin: 16px 0 0;
    font-size: 1.1rem;
    line-height: 1.5;
  }

  .mobile-experience {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .popup-overlay,
  .popup-card {
    transition: none;
  }
}
