:root {
  --black: #050508;
  --ink: #0a0b10;
  --text: #ffffff;
  --soft: rgba(255, 255, 255, 0.74);
  --line: rgba(255, 255, 255, 0.18);
  --panel: rgba(8, 9, 14, 0.58);
  --panel-solid: rgba(8, 9, 14, 0.88);
  --red: #ff3535;
  --cyan: #31e7e2;
  --gold: #ffd36b;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--black);
  overflow-x: clip;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  opacity: 0;
  background: url("/Media/background.png") center / cover no-repeat;
}

body.shop-page::before {
  background: url("/Media/backgroundpattern.png") center top / cover no-repeat;
}

body.video-fallback::before {
  opacity: 1;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 5, 8, 0.9), rgba(5, 5, 8, 0.34) 42%, rgba(5, 5, 8, 0.86)),
    linear-gradient(180deg, rgba(5, 5, 8, 0.22), rgba(5, 5, 8, 0.88));
}

a {
  color: inherit;
}

.bg-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: 0.9;
  filter: saturate(1.15) contrast(1.08);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
}

.navbar {
  width: min(1260px, calc(100% - 30px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  text-shadow: 0 0 22px rgba(0, 0, 0, 0.75);
}

.brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(16px);
}

.nav-links a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 800;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.page {
  width: min(1260px, calc(100% - 30px));
  margin: 0 auto;
}

.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 110px 0 80px;
  text-align: center;
}

.hero.compact {
  min-height: 72vh;
  place-items: end start;
  text-align: left;
}

.hero-content {
  width: min(920px, 100%);
  margin: 0 auto;
}

.hero.compact .hero-content {
  margin: 0;
}

.hero-logo {
  width: min(610px, 90vw);
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 24px 45px rgba(0, 0, 0, 0.75));
}

.kicker {
  margin: 24px 0 0;
  color: var(--cyan);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1 {
  margin: 12px 0 0;
  font-size: clamp(2.1rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-shadow: 0 18px 50px rgba(0, 0, 0, 0.72);
}

.hero-title {
  font-size: clamp(2.6rem, 7.8vw, 7rem);
}

.lead {
  max-width: 760px;
  margin: 20px auto 0;
  color: var(--soft);
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  line-height: 1.58;
}

.hero.compact .lead {
  margin-left: 0;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.hero.compact .button-row {
  justify-content: flex-start;
}

.button,
.category-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0 18px;
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
  backdrop-filter: blur(14px);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.category-button:hover,
.category-button.active {
  transform: translateY(-2px);
  border-color: rgba(49, 231, 226, 0.58);
  background: rgba(49, 231, 226, 0.17);
}

.button.primary {
  border-color: rgba(255, 53, 53, 0.62);
  background: rgba(255, 53, 53, 0.86);
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  width: 28px;
  height: 48px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
}

.scroll-cue::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  transform: translateX(-50%);
  animation: scrollDot 1.4s ease-in-out infinite;
}

.intro-strip {
  min-height: 92vh;
  display: grid;
  align-items: center;
  padding: 72px 0;
  max-width: 100vw;
  overflow: hidden;
  contain: paint;
}

.preview-cloud {
  position: relative;
  width: min(1180px, calc(100% - 30px));
  min-height: auto;
  margin: 0 auto;
  overflow: clip;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 4vw, 54px);
  padding: 36px 0;
}

.preview-chip {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 22px;
  background: rgba(0, 0, 0, 0.38);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(12px);
  will-change: transform;
}

.preview-chip img {
  width: 92%;
  height: 92%;
  object-fit: contain;
  filter: drop-shadow(0 22px 28px rgba(0, 0, 0, 0.7));
}

.preview-chip:nth-child(2),
.preview-chip:nth-child(5) {
  margin-top: 70px;
}

.preview-chip:nth-child(4),
.preview-chip:nth-child(6) {
  margin-top: -20px;
}

.scroll-stage {
  position: relative;
  min-height: 138vh;
  max-width: 100vw;
  overflow: hidden;
  contain: paint;
}

.stage-sticky {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.stage-copy {
  position: relative;
  z-index: 3;
  width: min(780px, calc(100% - 30px));
  text-align: center;
}

.stage-copy h2,
.section-title {
  margin: 0;
  font-size: clamp(2.1rem, 6vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
}

.stage-copy p,
.section-lead {
  max-width: 720px;
  margin: 18px auto 0;
  color: var(--soft);
  font-size: 1.08rem;
  line-height: 1.58;
}

.floating-card {
  position: absolute;
  width: clamp(175px, 22vw, 345px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.34);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
}

.floating-card img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  filter: drop-shadow(0 20px 24px rgba(0, 0, 0, 0.7));
}

.float-a {
  top: 18%;
  left: 8%;
}

.float-b {
  top: 16%;
  right: 8%;
}

.float-c {
  bottom: 13%;
  left: 14%;
}

.float-d {
  bottom: 12%;
  right: 14%;
}

.reel-section {
  min-height: auto;
  padding: 90px 0;
  max-width: 100vw;
  overflow: hidden;
  contain: paint;
}

.reel-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  margin-top: 40px;
  will-change: transform;
}

.reel-card {
  width: 100%;
  min-height: 370px;
  display: grid;
  grid-template-rows: 270px auto;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.42);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.46);
  backdrop-filter: blur(12px);
}

.reel-card img {
  width: 100%;
  height: 270px;
  object-fit: contain;
}

.reel-card strong {
  align-self: center;
  overflow-wrap: anywhere;
}

.content-section {
  padding: 90px 0 46vh;
  overflow: hidden;
  contain: paint;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
  overflow: hidden;
  contain: paint;
}

.panel,
.contact-card,
.info-box,
.faq details,
.product-card,
.loader,
.empty-state {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(16px);
}

.panel,
.contact-card,
.info-box {
  padding: 22px;
}

.panel {
  opacity: 0;
  will-change: opacity, transform;
}

.panel h2,
.contact-card h2,
.info-box h2 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.panel p,
.contact-card p,
.info-box p,
.faq p {
  margin: 0;
  color: var(--soft);
  line-height: 1.6;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 22px;
  align-items: start;
  padding: 120px 0 80px;
}

.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  overflow: hidden;
}

.faq summary {
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 900;
}

.faq details[open] summary {
  color: var(--cyan);
}

.faq p {
  padding: 0 20px 20px;
}

.warning {
  border-color: rgba(255, 53, 53, 0.5);
}

.shop-toolbar {
  position: sticky;
  top: 86px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 28px 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(16px);
}

.category-actions {
  display: flex;
  gap: 8px;
}

.shop-status {
  padding-right: 12px;
  color: var(--soft);
  font-weight: 800;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  gap: 16px;
  padding-bottom: 48vh;
  overflow: hidden;
  contain: paint;
}

.product-card {
  border-style: solid;
  font: inherit;
  opacity: 0;
  min-height: 265px;
  display: grid;
  grid-template-rows: 178px auto auto;
  gap: 10px;
  padding: 15px;
  color: var(--text);
  text-align: center;
  cursor: pointer;
  overflow: hidden;
  transform-style: preserve-3d;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.product-card:hover {
  transform: translateY(-8px) rotateX(0) scale(1.02);
  border-color: rgba(255, 211, 107, 0.58);
  background: rgba(10, 10, 14, 0.78);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.58);
}

.product-card img {
  width: 100%;
  height: 178px;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.62));
}

.product-card h3,
.product-card p {
  margin: 0;
  overflow-wrap: anywhere;
}

.product-card h3 {
  font-size: 1rem;
}

.product-card p {
  color: var(--soft);
  font-size: 0.9rem;
}

.loader,
.empty-state {
  grid-column: 1 / -1;
  min-height: 190px;
  display: grid;
  place-items: center;
  color: var(--soft);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(12px);
}

.modal.open {
  display: flex;
}

.modal-dialog {
  position: relative;
  width: min(1060px, 100%);
  max-height: 92vh;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 14px;
}

.modal-figure {
  min-height: 0;
  display: grid;
  place-items: center;
  margin: 0;
}

.modal-figure img {
  max-width: 100%;
  max-height: 76vh;
  object-fit: contain;
  filter: drop-shadow(0 34px 70px rgba(0, 0, 0, 0.76));
}

.modal-caption {
  text-align: center;
  font-size: clamp(1.35rem, 3vw, 2.8rem);
  font-weight: 900;
}

.modal-button {
  position: absolute;
  z-index: 2;
  min-width: 48px;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, 0.54);
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-close {
  top: 0;
  right: 0;
}

.modal-prev,
.modal-next {
  top: 50%;
  transform: translateY(-50%);
}

.modal-prev {
  left: 0;
}

.modal-next {
  right: 0;
}

.discord-widget {
  overflow: hidden;
}

.discord-widget iframe {
  display: block;
  width: 100%;
  height: 430px;
  border: 0;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  font-weight: 800;
}

.contact-list a {
  color: var(--cyan);
}

.contact-journey,
.about-journey {
  display: grid;
  gap: 38vh;
  padding: 36px 0 48vh;
  overflow: hidden;
  contain: paint;
}

.contact-step,
.about-step {
  min-height: 68vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: clamp(20px, 4vw, 42px);
  text-align: center;
}

.contact-step.discord-step {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 0.66fr);
  text-align: left;
}

.contact-mark {
  width: clamp(140px, 22vw, 280px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 28px;
  background: rgba(0, 0, 0, 0.44);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(14px);
}

.contact-mark,
.contact-value,
.discord-widget,
.about-question,
.about-answer {
  opacity: 0;
  will-change: opacity, transform;
}

.contact-mark img {
  width: 58%;
  height: 58%;
  object-fit: contain;
}

.contact-value,
.about-answer {
  font-size: clamp(1.5rem, 3.8vw, 4.2rem);
  line-height: 1.04;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.contact-value a {
  color: var(--text);
  text-decoration: none;
}

.about-question {
  color: var(--cyan);
  font-size: clamp(2.1rem, 5vw, 5.8rem);
  line-height: 0.96;
  font-weight: 900;
  text-transform: uppercase;
}

.about-answer {
  margin-top: 12px;
}

.site-footer {
  padding: 22px 0;
  background: rgba(0, 0, 0, 0.62);
}

.site-footer p {
  width: min(1260px, calc(100% - 30px));
  margin: 0 auto;
  color: var(--soft);
}

.js-reveal,
.preview-chip,
.floating-card,
.reel-card,
.stage-copy {
  opacity: 0;
  transition: none !important;
  will-change: opacity, transform;
  animation: none !important;
}

.js-reveal,
.preview-chip,
.floating-card,
.reel-card,
.stage-copy {
  animation: none !important;
}

@keyframes scrollDot {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }
  35% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 20px);
  }
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(70px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes stripMove {
  from {
    transform: translateX(22%);
  }
  to {
    transform: translateX(-34%);
  }
}

@keyframes cloudLeft {
  from {
    transform: translate(-18vw, 18vh) rotate(-18deg) scale(0.86);
  }
  to {
    transform: translate(16vw, -12vh) rotate(8deg) scale(1.08);
  }
}

@keyframes cloudCenter {
  from {
    transform: translateY(20vh) rotate(10deg) scale(0.9);
  }
  to {
    transform: translateY(-18vh) rotate(-8deg) scale(1.08);
  }
}

@keyframes cloudRight {
  from {
    transform: translate(18vw, 18vh) rotate(18deg) scale(0.86);
  }
  to {
    transform: translate(-16vw, -12vh) rotate(-8deg) scale(1.08);
  }
}

@keyframes stageCopy {
  0% {
    opacity: 0.25;
    transform: scale(0.88);
  }
  42%,
  68% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0.2;
    transform: scale(1.12);
  }
}

@keyframes floatA {
  from {
    opacity: 0;
    transform: translate(-60vw, 18vh) rotate(-24deg) scale(0.75);
  }
  38%,
  72% {
    opacity: 1;
    transform: translate(8vw, -4vh) rotate(7deg) scale(1);
  }
  to {
    opacity: 0.8;
    transform: translate(24vw, -16vh) rotate(18deg) scale(1.08);
  }
}

@keyframes floatB {
  from {
    opacity: 0;
    transform: translate(60vw, -14vh) rotate(24deg) scale(0.75);
  }
  38%,
  72% {
    opacity: 1;
    transform: translate(-8vw, 6vh) rotate(-8deg) scale(1);
  }
  to {
    opacity: 0.8;
    transform: translate(-24vw, -10vh) rotate(-18deg) scale(1.08);
  }
}

@keyframes floatC {
  from {
    opacity: 0;
    transform: translate(-52vw, 30vh) rotate(18deg) scale(0.76);
  }
  38%,
  72% {
    opacity: 1;
    transform: translate(12vw, -12vh) rotate(-8deg) scale(1);
  }
  to {
    opacity: 0.8;
    transform: translate(28vw, 8vh) rotate(-16deg) scale(1.08);
  }
}

@keyframes floatD {
  from {
    opacity: 0;
    transform: translate(52vw, 28vh) rotate(-18deg) scale(0.76);
  }
  38%,
  72% {
    opacity: 1;
    transform: translate(-12vw, -10vh) rotate(8deg) scale(1);
  }
  to {
    opacity: 0.8;
    transform: translate(-28vw, 10vh) rotate(16deg) scale(1.08);
  }
}

@keyframes reelMove {
  from {
    transform: translateX(18vw);
  }
  to {
    transform: translateX(-52vw);
  }
}

@keyframes reelRise {
  from {
    opacity: 0.2;
    transform: translateY(90px) rotate(-4deg) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0) scale(1);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
  }

  .js-reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

@media (max-width: 900px) {
  .navbar {
    min-height: auto;
    padding: 12px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    border-radius: 18px;
  }

  .hero,
  .hero.compact {
    min-height: auto;
    padding-top: 120px;
    place-items: center start;
  }

  .split,
  .panel-grid {
    grid-template-columns: 1fr;
  }

  .shop-toolbar {
    top: 112px;
    align-items: stretch;
    flex-direction: column;
    border-radius: 18px;
  }

  .shop-status {
    padding-left: 8px;
  }
}

@media (max-width: 560px) {
  .page {
    width: min(100% - 22px, 1260px);
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .nav-links a {
    padding: 0 12px;
  }

  .hero-logo {
    width: min(92vw, 430px);
  }

  .floating-card {
    width: 145px;
  }

  .float-a {
    top: 13%;
    left: -5%;
  }

  .float-b {
    top: 18%;
    right: -7%;
  }

  .float-c {
    bottom: 12%;
    left: -4%;
  }

  .float-d {
    bottom: 10%;
    right: -6%;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .product-card {
    min-height: 218px;
    grid-template-rows: 132px auto auto;
    padding: 12px;
  }

  .product-card img {
    height: 132px;
  }

  .preview-cloud {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .preview-chip {
    position: relative;
    inset: auto !important;
    width: 100% !important;
  }

  .contact-step,
  .about-step {
    min-height: 72vh;
    gap: 18px;
  }

  .contact-step.discord-step {
    display: flex;
    text-align: center;
  }

  .contact-journey,
  .about-journey {
    gap: 22vh;
  }

  .modal-prev,
  .modal-next {
    display: none;
  }
}
