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

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: fixed;
  inset: 0;
  touch-action: none;
  overscroll-behavior: none;
  background: #0f0000;
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
}

.bokeh {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  mix-blend-mode: screen;
}

.bokeh__orb {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 50%;
  will-change: transform, filter, opacity;
  transform: translate3d(0, 0, 0);
}

.landing {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  padding:
    calc(12px + env(safe-area-inset-top))
    24px
    calc(12px + env(safe-area-inset-bottom));
  text-align: center;
}

.landing__stage {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.landing__stage .landing__disco-scene,
.landing__stage .disco-wrapper {
  pointer-events: auto;
}

.landing__title-cluster {
  position: absolute;
  top: calc(10vh + env(safe-area-inset-top));
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: max-content;
  max-width: calc(100vw - 48px);
  pointer-events: none;
}

.disco-string {
  width: 1px;
  flex-shrink: 0;
  margin-top: 6px;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.32) 0%,
    rgba(255, 255, 255, 0.14) 35%,
    rgba(213, 0, 0, 0.1) 65%,
    rgba(213, 0, 0, 0) 100%
  );
  box-shadow: 0 0 6px rgba(213, 0, 0, 0.08);
}

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

.landing__title {
  --bl-pixel: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 100%;
  flex-shrink: 1;
  min-height: 0;
  user-select: none;
  line-height: 0;
}

.title-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  gap: calc(var(--bl-pixel) * 5);
}

.title-brand .block-word {
  display: inline-flex;
  align-items: center;
  gap: calc(var(--bl-pixel) * 3.6);
}

.block-letter {
  display: grid;
  grid-template-columns: repeat(5, var(--bl-pixel));
  grid-template-rows: repeat(5, var(--bl-pixel));
  width: calc(var(--bl-pixel) * 5 + 4px);
  height: calc(var(--bl-pixel) * 5 + 4px);
  gap: 1px;
  pointer-events: none;
}

.block-letter__pixel {
  display: block;
  border-radius: 0;
}

.block-letter__pixel.on {
  background: #d50000;
}

.block-word--inverted .block-letter__pixel.on {
  background: #ffffff;
}

.block-letter__pixel.off {
  background: transparent;
}

.landing__disco-scene {
  --cube-size: clamp(120px, 34vw, 168px);
  width: var(--cube-size);
  height: var(--cube-size);
  perspective: calc(var(--cube-size) * 5.5);
  perspective-origin: 50% 50%;
  flex-shrink: 0;
}

.disco-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform-origin: 50% 50%;
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.disco-wrapper.is-dragging {
  cursor: grabbing;
}

.disco-face {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(5, 1fr);
  gap: 2px;
  padding: 3px;
  border-radius: 4px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: #0f0000;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 -4px 12px rgba(0, 0, 0, 0.45);
}

.disco-cell {
  border-radius: 1px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: #0f0000;
}

.disco-cell.is-on {
  background: #d50000;
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 0 8px rgba(213, 0, 0, 0.55);
  animation: disco-cell-pulse 2.4s ease-in-out infinite alternate;
}

@keyframes disco-cell-pulse {
  from {
    background-color: #d50000;
  }
  to {
    background-color: #8b0000;
  }
}

.disco-face--front {
  transform: translateZ(calc(var(--cube-size) * 0.5));
}

.disco-face--right {
  transform: rotateY(90deg) translateZ(calc(var(--cube-size) * 0.5));
}

.disco-face--back {
  transform: rotateY(180deg) translateZ(calc(var(--cube-size) * 0.5));
}

.disco-face--left {
  transform: rotateY(-90deg) translateZ(calc(var(--cube-size) * 0.5));
}

.landing__stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 420px;
  margin-top: auto;
  padding-top: clamp(20px, 4vh, 36px);
  padding-bottom: calc(36px + env(safe-area-inset-bottom));
}

.store-link {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  min-width: 168px;
  padding: 10px 18px;
  border-radius: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  background: rgba(15, 0, 0, 0.72);
  color: #ffffff;
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.store-link__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #ffffff;
}

.store-link__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.store-link__icon--play svg {
  width: 26px;
  height: 26px;
}

.store-link__icon--play-badge {
  font-size: 1.1rem;
  line-height: 1;
  color: #ff5252;
}

.store-link--play {
  border-color: rgba(213, 0, 0, 0.55);
  background: rgba(40, 0, 0, 0.82);
}

.store-link__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.store-link:hover,
.store-link:focus-visible {
  border-color: rgba(213, 0, 0, 0.65);
  background: rgba(30, 0, 0, 0.88);
  transform: translateY(-1px);
  outline: none;
}

.store-link__label {
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.55);
}

.store-link__brand {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
}

.landing__footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(14px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.8125rem;
}

.landing__footer a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
}

.landing__footer a:hover,
.landing__footer a:focus-visible {
  color: #d50000;
  text-decoration: underline;
  outline: none;
}

.landing__footer-sep {
  color: rgba(255, 255, 255, 0.2);
}

@media (max-height: 560px) {
  .landing__disco-scene {
    --cube-size: 108px;
  }
}
