* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: black;
  font-family: 'Inter', sans-serif;
  overflow: hidden;
}

/* ============================================================ */
/* SHARED PAGE TRANSITION LOADER */
/* ============================================================ */
.page-transition-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  background: black;
  overflow: hidden;
}

.page-transition-loader.active {
  display: flex;
}

.transition-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.transition-text-row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 7.85px;
}

.transition-loading-text {
  height: 20px;
}

.transition-dots {
  display: flex;
  align-items: center;
  gap: 3.5px;
}

.transition-dot {
  height: 3.25px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.transition-dot.show {
  opacity: 1;
}

.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
}

.press-enter-img {
  height: 18px;
  z-index: 2;
  opacity: 1;
}

.main-content {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  opacity: 1;
  z-index: 1;
}

.intro-card {
  opacity: 0;
  transform: translateX(120px);
}

.intro-card.swoosh-in {
  animation-name: cardSwoosh;
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes cardSwoosh {
  from { opacity: 0; transform: translateX(120px); }
  to { opacity: 1; transform: translateX(0); }
}

.intro-text {
  opacity: 0;
}

#bgVideo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  z-index: 0;
  transition: filter 0.6s ease;
}

#bgVideo.store-dimmed {
  filter: brightness(0.5) contrast(1.80);
}

.homepage-view {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  transition: transform 0.5s ease;
  z-index: 2;
}

.homepage-view.slide-up-out {
  transform: translateY(-100%);
}

.store-view {
  position: fixed;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100vh;
  transition: transform 0.5s ease, opacity 0.4s ease;
  overflow-y: auto;
  z-index: 2;
}

.store-view.slide-up-in {
  transform: translateY(-100%);
}

.site-name {
  position: fixed;
  top: 60px;
  left: 48px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 10;
}

.site-name-img { height: 14px; }
.plus-icon-img { height: 12px; }

.carousel-frame {
  position: fixed;
  bottom: 120px;
  left: 500px;
  width: 192px;
  height: 528px;
  z-index: 5;
  transition: opacity 0.6s ease;
}

.carousel-frame.dimmed { opacity: 0.07; }

.carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 528px;
  transition: none;
}

.card {
  width: 192px;
  height: 290px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 9px 12.3px 8px rgba(0,0,0,0.4);
  cursor: pointer;
  bottom: 0;
  transition: left 0.3s ease, width 0.3s ease, height 0.3s ease, box-shadow 0.2s ease;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.store-icon-inverted {
  filter: invert(1);
}

.card-title-img {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 4;
}

.card.selected .card-title-img {
  opacity: 1;
}

.title-store {
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  height: 11px;
}

.title-packaging {
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  height: 16px;
}

.title-uiux {
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  height: 16px;
}

.title-interior {
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  height: 16px;
}

.card.selected {
  width: 350px;
  height: 528px;
  z-index: 2;
  box-shadow: 9px 12.3px 8px rgba(0,0,0,0.4), 0 0 0 3px #ffffff;
}

.store-card {
  background-color: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.store-card .card-img {
  width: 55%;
  height: auto;
  object-fit: contain;
}

.store-card.selected {
  width: 192px;
  height: 290px;
}

.reveal-bg {
  display: none;
}

.notification-banner {
  position: fixed;
  top: 265px;
  left: 50%;
  transform: translateX(-50%);
  width: 195px;
  height: auto;
  opacity: 0;
  z-index: 999;
  pointer-events: none;
  filter: drop-shadow(6px 11px 3.75px rgba(0,0,0,0.3));
}

.notification-banner.show {
  opacity: 1;
}

.notif-dim-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  opacity: 0;
  z-index: 998;
  pointer-events: none;
}

.notif-dim-overlay.show {
  opacity: 1;
}

.archive-text-img {
  position: absolute;
  top: 145px;
  left: 50%;
  transform: translateX(-50%);
  height: 25px;
  z-index: 6;
}

.archive-subtext-img {
  position: absolute;
  top: 200px;
  left: 50%;
  transform: translateX(-50%);
  height: 14px;
  z-index: 6;
}

.store-scroll {
  position: relative;
  z-index: 5;
  padding-top: 385px;
  padding-bottom: 100px;
  padding-left: 48px;
  padding-right: 48px;
}

.store-category {
  margin-bottom: 60px;
}

.store-category-label {
  color: rgba(255,255,255,0.5);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 16px;
}

.store-poster-wrap {
  position: relative;
  cursor: pointer;
  border-radius: 8px;
  overflow: visible;
}

.store-poster {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  transition: filter 0.2s ease;
}

.store-poster-wrap:hover .store-poster {
  filter: brightness(1.3);
}

.store-selection-border {
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border: 3px solid white;
  border-radius: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 2;
}

.store-poster-wrap.selected .store-selection-border {
  opacity: 1;
}

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  z-index: -1;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-img {
  max-width: 80%;
  max-height: 85vh;
  width: auto;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  position: relative;
  z-index: 2;
}

.lightbox-close {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s ease;
  line-height: 1;
  margin-bottom: -4px;
  margin-right: -400px;
}

.lightbox-close:hover {
  opacity: 1;
}

.lightbox-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

@media (max-width: 768px) {

  .site-name {
    top: 30px;
    left: 24px;
  }

  .carousel-frame {
    left: 50%;
    transform: translateX(-50%);
    bottom: 100px;
    width: 140px;
    height: 210px;
  }

  .card {
    width: 140px;
    height: 210px;
  }

  .card.selected {
    width: 154px;
    height: 224px;
    margin-top: -7px;
  }

  .store-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }

  .store-scroll {
    padding-top: 260px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 60px;
  }

  .archive-text-img {
    top: 90px;
    height: 20px;
  }

  .archive-subtext-img {
    display: none;
  }

  .lightbox-close {
    margin-right: 0;
    align-self: flex-end;
  }

  .lightbox-img {
    max-width: 92%;
    max-height: 75vh;
  }

  .notification-banner {
    width: 150px;
    top: 200px;
  }
}

/* ============================================================ */
/* CAROUSEL NAV ARROWS — CSS-drawn chevrons, no image assets. */
/* Positions/size are ESTIMATED to sit just outside the carousel — */
/* adjust left/top/width/height freely, take them out if they don't land. */
/* ============================================================ */
.carousel-arrow {
  position: fixed;
  top: 90%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  z-index: 6;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-arrow.visible {
  opacity: 1;
  pointer-events: all;
}

.carousel-arrow span {
  display: block;
  width: 14px;
  height: 14px;
  border-right: 2px solid white;
  border-bottom: 2px solid white;
}

.carousel-arrow-left {
  left: 485px;
}

.carousel-arrow-left span {
  transform: rotate(135deg);
  margin-left: 4px;
}

.carousel-arrow-right {
  left: 935px;
}

.carousel-arrow-right span {
  transform: rotate(-45deg);
  margin-right: 4px;
}