/* Locker page – forked from RBM; hero simplified, single product image, locker-map, Locker FAQ */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.locker-page .container {
  max-width: 1400px;
  width: calc(100% - 48px);
  margin: 0 auto;
  padding: 0 24px;
}

/* --------------- Hero --------------- */
.locker-page .hero {
  min-height: auto;
  position: relative;
  overflow: hidden;
  padding-top: 0;
  border-bottom-left-radius: 64px;
  border-bottom-right-radius: 64px;
  z-index: 1;
}

.locker-page .hero > .container {
  max-width: 1400px;
  width: calc(100% - 48px);
}

.locker-page .hero__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  border-bottom-left-radius: 64px;
  border-bottom-right-radius: 64px;
  overflow: hidden;
}

.locker-page .hero__background {
  position: absolute;
  inset: 0;
  border-bottom-left-radius: 64px;
  border-bottom-right-radius: 64px;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.locker-page .hero__background::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(to bottom, #000 0%, #000 30%, #39D091 75%, #000 100%);
}

.locker-page .hero__background::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(59, 130, 246, 0.04) 0%, transparent 50%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%);
}

.locker-page .hero__content {
  text-align: center;
  position: relative;
  z-index: 3;
  min-height: 0;
  padding-top: 80px;
  padding-bottom: 80px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  max-width: 1400px;
  width: calc(100% - 48px);
  margin: 0 auto;
  gap: 16px;
}

.locker-page .hero__title {
  font-family: 'Russo One', sans-serif;
  font-size: var(--fs-h1);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 16px;
  background: linear-gradient(90deg, #fff 0%, #fff 30%, #d6f7eb 36%, #39D091 50%, #d6f7eb 64%, #fff 70%, #fff 100%);
  background-size: 300% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: locker-titleGradientShift 6s linear infinite;
  letter-spacing: -0.01em;
}

.locker-page .hero__subtitle {
  font-size: var(--fs-body);
  color: #fff;
  margin-bottom: 8px;
  opacity: 0.95;
}

/* Cover image: clipped to hero, sits below content in flex flow */
.locker-page .hero__cover {
  position: relative;
  width: min(90vw, 900px);
  max-height: 82.5%;
  object-fit: contain;
  object-position: bottom center;
  z-index: 2;
  pointer-events: none;
}

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

@media (max-width: 700px) {
  /* Full-bleed hero on mobile, but height driven by content */
  .locker-page .hero {
    border-bottom-left-radius: 64px;
    border-bottom-right-radius: 64px;
  }

  .locker-page .hero > .container {
    width: 100%;
    max-width: none;
    padding: 0;
  }

  .locker-page .hero__panel {
    border-bottom-left-radius: 64px;
    border-bottom-right-radius: 64px;
  }

  .locker-page .hero__content {
    max-width: none;
    width: 100%;
    padding-top: 88px;          /* keep comfortable gap from navbar */
    padding-bottom: 32px;       /* smaller bottom padding so hero ends near cover */
    padding-inline: 24px;
  }

  /* Subtitle → cover gap roughly matches title → subtitle rhythm */
  .locker-page .hero__cover {
    margin-top: 24px;
    max-height: none;           /* let image height define hero depth */
  }

  /* Concept: reorder so OS banner sits after body and before product on mobile */
  .locker-page .concept__body {
    order: 1;
  }

  .locker-page .concept__os-banners {
    order: 2;
    margin-top: 16px;
  }

  .locker-page .concept__product {
    order: 3;
    margin-top: 16px;
  }

  .locker-page .concept__os-banner--tablet,
  .locker-page .concept__os-banner--desktop {
    display: none;
  }

  .locker-page .concept__os-banner--mobile {
    display: block;
    width: min(320px, 90%);
  }
}

/* --------------- Concept --------------- */
.locker-page .concept {
  padding: 0;
  padding-top: 96px;
  position: relative;
  margin-top: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  align-content: center;
  overflow: visible;
}

/* Ensure section 2 paints above the hero’s bottom edge */
.locker-page #concept {
  position: relative;
  z-index: 2;
}

/* Concept head visible by default so section isn’t empty below hero (no scroll-to-reveal) */
.locker-page .concept__head[data-animate="fade-up"] {
  opacity: 1;
  transform: none;
}

.locker-page .concept .container {
  width: calc(100% - 160px);
  max-width: 1400px;
  padding-left: 0;
  padding-right: 0;
  overflow: visible;
}

.locker-page .concept__head {
  align-self: flex-start;
  width: 100vw;
  max-width: none;
  margin-top: 0;
  margin-left: calc(50% - 50vw);
  margin-bottom: 0;
  padding-left: 24px;
  padding-right: 24px;
  text-align: center;
  box-sizing: border-box;
}

/* Single product image + body (no second gif) */
.locker-page .concept__wrap {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 0;
}

.locker-page .concept__wrap::before {
  content: '';
  flex: 1 1 0;
  min-width: 0;
  order: -1;
  max-width: 20vw;
}

.locker-page .concept__body::after {
  content: '';
  flex: 1 1 0;
  min-width: 0;
  max-width: 20vw;
}

.locker-page .concept__body {
  flex: 1 1 auto;
  order: 1;
  align-self: stretch;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  margin: 0;
  padding: 0;
  min-width: 200px;
}

.locker-page .concept__body-inner {
  flex: 0 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.locker-page .concept__product {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(30vw, 360px);
}

.locker-page .concept__product-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  display: block;
}

/* OS support banners under concept content */
.locker-page .concept__os-banners {
  flex: 0 0 100%;
  order: 3;
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.locker-page .concept__os-banner {
  display: none;
  max-width: 100%;
  height: auto;
}

/* Default (desktop) banner */
.locker-page .concept__os-banner--desktop {
  display: block;
  width: 18vw;
  max-width: 336px;
}

/* Scroll animation: slide the product in from the left with fade, then back out when leaving viewport */
.locker-page .concept__product-img--slide {
  transform: translateX(-32px);
  opacity: 0;
  transition:
    transform 600ms cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 600ms cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform, opacity;
}

.locker-page .concept__product-img--slide.is-visible {
  transform: translateX(0);
  opacity: 1;
}

.locker-page .concept__tag {
  font-size: var(--fs-small);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  display: inline-block;
  background: linear-gradient(to bottom, #fff 0%, #39D091 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 4px 8px;
  border: 1px solid #39D091;
  border-radius: 6px;
}

.locker-page .concept__title {
  font-family: 'Russo One', sans-serif;
  font-size: var(--fs-h2);
  font-weight: 400;
  color: #fff;
  text-align: center;
  margin: 0;
  line-height: 1.2;
  background: linear-gradient(90deg, #fff 0%, #fff 30%, #39D091 50%, #fff 70%, #fff 100%);
  background-size: 300% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: locker-titleGradientShift 3s ease-in-out infinite;
  display: block;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

.locker-page .concept__subtitle {
  color: #fff;
  font-size: var(--fs-body);
  margin-bottom: 8px;
  line-height: 1.3;
}

.locker-page .concept__bold {
  font-size: var(--fs-body);
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
}

.locker-page .concept__bold-line {
  display: block;
  background: linear-gradient(to bottom, #fff 0%, #757F8D 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.locker-page .concept__spacing { height: 8px; }

.locker-page .concept__description {
  color: #fff;
  font-size: var(--fs-body);
  line-height: 1.3;
}

.locker-page .concept__highlight {
  color: #39D091;
  font-weight: 600;
}

@media (max-width: 960px) {
  .locker-page .concept .container {
    width: calc(100% - 48px);
  }
  .locker-page .concept__wrap {
    flex-direction: column;
    gap: 24px;
  }
  .locker-page .concept__wrap::before {
    display: none;
  }
  .locker-page .concept__body::after {
    display: none;
  }
  .locker-page .concept__body {
    padding: 0;
    width: 100%;
    box-sizing: border-box;
  }
  .locker-page .concept__product {
    width: min(86vw, 400px);
    margin: 0 auto;
  }

  .locker-page .concept__os-banners {
    order: 3;
    margin-top: 16px;
  }

  .locker-page .concept__os-banner--desktop {
    display: none;
  }

  .locker-page .concept__os-banner--tablet {
    display: block;
    width: 50vw;
    max-width: 480px;
  }
}

/* --------------- Locker map (replaces diagram iframe) --------------- */
.locker-page .locker-map-section {
  padding: 0;
  background: transparent;
}

.locker-page .locker-map-section .diagram-text {
  background: transparent;
  padding: 60px 0;
}

.locker-page .locker-map-section .diagram-text--above { padding-bottom: 30px; }
.locker-page .locker-map-section .diagram-text--below { padding-top: 30px; padding-bottom: 30px; }

.locker-page .diagram-title,
.locker-page .section-title {
  font-family: 'Russo One', sans-serif;
  font-size: var(--fs-h2);
  font-weight: 400;
  color: #fff;
  text-align: center;
  margin-bottom: 10px;
  line-height: 1.2;
  background: linear-gradient(90deg, #fff 0%, #fff 30%, #39D091 50%, #fff 70%, #fff 100%);
  background-size: 300% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: locker-titleGradientShift 3s ease-in-out infinite;
}

.locker-page .diagram-description {
  font-size: var(--fs-body);
  color: #ccc;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

.locker-page .diagram-description + .diagram-description {
  margin-top: 12px;
}

.locker-page .locker-map__wrap {
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 24px;
}

.locker-page .locker-map__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* --------------- Scrolling marquee --------------- */
.locker-page .scrolling-marquee {
  background: transparent;
  min-height: 28vh;
  padding-top: 120px;
  padding-bottom: 0;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.locker-page .marquee-content {
  display: flex;
  animation: locker-scroll-left 20s linear infinite;
  width: max-content;
}

.locker-page .marquee-text {
  font-family: 'Press Start 2P', monospace;
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 400;
  background: linear-gradient(to bottom, #BFBFBF 0%, #FFF 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  letter-spacing: 0;
  white-space: nowrap;
  margin-right: 50px;
  line-height: 1.5;
}

.locker-page .marquee-text::after {
  content: attr(data-text);
  margin-left: 50px;
}

@keyframes locker-scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --------------- FAQ --------------- */
.locker-page .faq {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.locker-page .faq .container {
  position: relative;
}

.locker-page .faq__list {
  max-width: 800px;
  margin: 0 auto;
}

.locker-page .faq-item {
  border: 1px solid rgba(57, 208, 145, 0.2);
  border-radius: 8px;
  margin-bottom: 16px;
  background: rgba(26, 26, 31, 0.7);
  overflow: hidden;
  transition: border-color 250ms ease, background 250ms ease;
}

.locker-page .faq-item:hover {
  border-color: #39D091;
}

.locker-page .faq-question {
  width: 100%;
  padding: 20px;
  background: none;
  border: none;
  color: #f5f5f5;
  font-size: var(--fs-body);
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 150ms ease;
}

.locker-page .faq-question:hover { color: #39D091; }
.locker-page .faq-question:focus {
  outline: 2px solid #39D091;
  outline-offset: 2px;
}

.locker-page .faq-icon {
  font-size: var(--fs-h3);
  font-weight: 700;
  color: #fff;
  transition: transform 250ms ease, color 250ms ease;
  margin-left: 16px;
  flex-shrink: 0;
}

.locker-page .faq-question[aria-expanded="true"] { color: #39D091; }
.locker-page .faq-item:has(.faq-question[aria-expanded="true"]) { border-color: #39D091; }
.locker-page .faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  color: #39D091;
}

.locker-page .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  background: rgba(10, 10, 15, 0.3);
}

.locker-page .faq-answer.open { max-height: 800px; }

.locker-page .faq-answer p {
  padding: 20px;
  color: #fff;
  line-height: 1.5;
  margin: 0;
  font-size: var(--fs-body);
}

.locker-page .faq-answer p + p {
  margin-top: 0.5em;
}

@media (min-width: 701px) and (max-width: 1024px) {
  .locker-page .scrolling-marquee {
    padding-top: 40px;
  }

  .locker-page .faq {
    padding: 40px 0;
  }
}

@media (max-width: 700px) {
  /* Reduce marquee / FAQ vertical padding on mobile */
  .locker-page .scrolling-marquee {
    padding-top: 40px;
  }

  .locker-page .faq {
    padding: 40px 0;
  }
}

/* Teaser modal (shared) */
.locker-page .teaser-modal { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; z-index: 10001; }
.locker-page .teaser-modal.active { display: flex; }
.locker-page .teaser-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.9); }
.locker-page .teaser-modal__dialog { position: relative; z-index: 1; width: min(96vw, 1200px); max-height: 90vh; }
.locker-page .teaser-modal__player { position: relative; width: 100%; aspect-ratio: 16/9; background: #000; border-radius: 12px; overflow: hidden; }
.locker-page .teaser-frame { width: 100%; height: 100%; border: 0; background: #000; display: block; }
.locker-page .teaser-modal__close {
  position: absolute; top: -12px; right: -12px; background: #111; color: #39D091; border: 1px solid #39D091;
  border-radius: 9999px; width: 32px; height: 32px; line-height: 28px; text-align: center; font-size: 22px; cursor: pointer; z-index: 2;
}
