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

:root {
  color-scheme: dark;
  --cyan: #a78bfa; /* taste-skill-ignore: ReCloud brand accent requested by user */
  --cyan-light: #c4b5fd;
  --frame-cyan: #c084fc; /* taste-skill-ignore: ReCloud brand accent requested by user */
  --ink: #211331;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: #fff;
  background-color: #172728;
  background-image: url("assets/hex.png");
  background-size: 68px auto;
  background-repeat: repeat;
  font-family: OpenSans, Arial, sans-serif;
  font-size: 16px;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { max-width: 100%; }

.site-header {
  position: relative;
  z-index: 10;
  height: 70px;
  background: #1e2022;
  display: flex;
  align-items: center;
  padding: 0 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}
.brand-logo {
  display: block;
  width: 48px;
  height: auto;
  object-fit: contain;
}
.brand span {
  margin-left: 0;
  letter-spacing: -0.2px;
}

.hero-inner {
  display: flex;
  align-items: flex-start;
  max-width: 1060px;
  margin: 0 auto;
  padding-top: 65.2px;
}
.hero-copy {
  flex: 0 0 477px;
  width: 477px;
  padding-left: 16.5px;
  padding-top: 88.4px;
}
.hero-copy h1 {
  margin: 0;
  color: #fff;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.01em;
  white-space: pre-line;
}
.hero-copy p {
  margin: 16px 0 22px;
  max-width: 462px;
  color: #fff;
  font-size: 17px;
  line-height: 1.36;
}

.play-button {
  position: relative;
  display: inline-block;
  margin-top: 18px;
  padding: 0.9rem 2.6rem;
  border-radius: 2.5rem;
  background: var(--cyan);
  box-shadow: 0 7px #6d3fc1; /* taste-skill-ignore */
  color: #24113f;
  font-size: 1.7rem;
  line-height: 1.36;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  z-index: 1;
  animation: buttonAnimation 2s infinite;
  transition: all 0.3s; /* taste-skill-ignore */
}
.play-button::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 0;
  height: 100%;
  border-radius: 10rem;
  background: #c4b5fd;
  z-index: -1;
  transition: all 0.3s; /* taste-skill-ignore */
}
.play-button:hover { padding-right: 4rem; }
.play-button:hover::before { width: 100%; }

.button-icon {
  position: absolute;
  top: 51%;
  right: -2px;
  width: 61px;
  opacity: 0;
  transform: translateY(-50%);
  animation: iconAnimation 2s infinite;
  transition: all 0.3s; /* taste-skill-ignore */
  filter: hue-rotate(75deg) saturate(0.9);
}
.play-button:hover .button-icon { opacity: 1; }

@keyframes buttonAnimation {
  0% { background: #a78bfa; box-shadow: 0 7px #6d3fc1; color: #24113f; padding-right: 2.6rem; transform: scale(1); } /* taste-skill-ignore */
  10% { background: #a78bfa; box-shadow: 0 7px #6d3fc1; color: #24113f; padding-right: 2.6rem; transform: scale(1); } /* taste-skill-ignore */
  50% { background: #c4b5fd; box-shadow: 0 7px #8f68d8; /* taste-skill-ignore */ color: #24113f; padding-right: 4rem; transform: scale(1.08); }
  90% { background: #a78bfa; box-shadow: 0 7px #6d3fc1; color: #24113f; padding-right: 2.6rem; transform: scale(1); } /* taste-skill-ignore */
  100% { background: #a78bfa; box-shadow: 0 7px #6d3fc1; color: #24113f; padding-right: 2.6rem; transform: scale(1); } /* taste-skill-ignore */
}
@keyframes iconAnimation {
  0% { opacity: 0; }
  20% { opacity: 0; }
  35% { opacity: 1; }
  50% { opacity: 1; }
  65% { opacity: 0; }
  100% { opacity: 0; }
}

.hero-media { margin-left: 72px; margin-top: 62.95px; }
.game-display {
  position: relative;
  width: 490px;
  height: 355.5px;
  padding: 28px;
  border: 4px solid var(--frame-cyan);
  border-radius: 40px;
  background: #294041;
  box-shadow: 0 0 14px 3px rgba(192, 132, 252, 0.42); /* taste-skill-ignore */
  transform: skew(-3deg, 3deg);
  overflow: hidden;
}
.player-wrapper {
  position: relative;
  width: 100%;
  height: 242px;
  border-radius: 14px;
  background: #1d1d1d;
  overflow: hidden;
}
.player-wrapper video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hands {
  position: absolute;
  bottom: 0;
  left: 50%;
  height: 136px;
  width: auto;
  max-width: none;
  transform: translateX(-50%);
  pointer-events: none;
}

.showcase {
  width: 100vw;
  padding: 90px 0 48px;
  color: #f5f5f7;
  font-size: 16px;
  text-align: center;
}
.showcase-header { padding: 0 24px; }
.showcase-header h2 {
  margin: 0;
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.showcase-header p {
  margin: 20px auto 0;
  max-width: 720px;
  color: #b9bdc5;
  font-size: 18px;
  line-height: 1.7;
}

.carousel {
  --slot: clamp(158.4px, 21.6vw, 288px);
  position: relative;
  left: 50%;
  width: 100vw;
  margin-top: 12px;
  transform: translateX(-50%);
}
.viewport {
  position: relative;
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
  height: 540px;
  padding: 12px 0;
  overflow: hidden;
}
.slide {
  grid-area: 1 / 1;
  display: block;
  position: relative;
  width: var(--slot);
  border-radius: 22px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.333); /* taste-skill-ignore */
  overflow: hidden;
  color: inherit;
  text-align: left;
  transform: translateX(calc(var(--offset) * var(--slot))) scale(0.78);
  transform-origin: center;
  transition: transform 0.65s ease, width 0.65s ease, background-color 0.65s ease;
  cursor: pointer;
}
.slide img { display: block; width: 100%; height: auto; }
.slide:focus-visible { outline: 3px solid #c4b5fd; outline-offset: 5px; }
.slide.focused {
  width: min(calc(var(--slot) * 1.6), calc(100vw - 112px));
  background: #101b1c;
  border: 1px solid rgba(255, 255, 255, 0.125); /* taste-skill-ignore */
  transform: translateX(0) scale(1);
  z-index: 1;
}
.feature-details {
  max-height: 0;
  padding: 0 20px;
  opacity: 0;
  overflow: hidden;
  visibility: hidden;
  transition: max-height 0.65s ease, padding 0.65s ease, opacity 0.35s ease, visibility 0.35s ease;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.feature-details::-webkit-scrollbar { display: none; }
.focused .feature-details {
  max-height: 230px;
  padding: 16px 20px 32px;
  opacity: 1;
  visibility: visible;
  overflow-y: auto;
}
.feature-details h3 { margin: 0 0 10px; font-size: 24px; font-weight: 700; }
.feature-details .players { display: inline-block; color: #c4b5fd; font-size: 14px; font-weight: 600; }
.feature-details p { margin: 14px 0 0; color: #b9bdc5; font-size: 15px; line-height: 1.65; }
.scroll-hint {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 16px 12px 8px;
  background: linear-gradient(transparent, #101b1c 45%); /* taste-skill-ignore */
  color: #c4b5fd;
  font-size: 12px;
  text-align: center;
  pointer-events: none;
}
.scroll-hint span { margin-left: 6px; }

.arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.208); /* taste-skill-ignore */
  border-radius: 50%;
  background: rgba(18, 18, 18, 0.933);
  color: #fff;
  cursor: pointer;
  place-items: center;
  transform: translateY(-50%);
}
.arrow svg { width: 24px; height: 24px; }
.arrow:hover { background: #6d3fc1; }
.arrow:focus-visible { outline: 3px solid #c4b5fd; outline-offset: 5px; }
.arrow.previous { left: max(16px, 4vw); }
.arrow.next { right: max(16px, 4vw); }

.browse-button {
  margin-top: 24px;
  background: #a78bfa; /* taste-skill-ignore: ReCloud brand accent requested by user */
  color: #24113f;
  font-size: 20px;
  animation: none;
}
.browse-button:hover { padding-right: 2.6rem; }
.browse-button .button-icon { display: none; }

.howto {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 60px;
}
.howto-title {
  margin: 60px 0 20px;
  color: #fff;
  font-size: 35px;
  font-weight: 700;
}
.steps { display: flex; align-items: center; }
.step {
  position: relative;
  width: 200px;
  height: 300px;
  margin: 0 20px;
  border-radius: 15px;
  background: #294041;
  overflow: hidden;
}
.step-description {
  padding: 15px 20px 20px;
  color: #fff;
  font-size: 15px;
  line-height: 1.36;
}
.step-description.large { padding: 20px 20px 10px; font-size: 17px; }
.step-illustration {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 180px;
  border-radius: 10px 10px 0 0;
  background-image: linear-gradient(to right, #a78bfa, #c4b5fd); /* taste-skill-ignore */
  box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.25); /* taste-skill-ignore */
}
.step-illustration img {
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
}

footer {
  display: flex;
  justify-content: center;
  padding: 24px 0 40px;
}
footer a { color: #fff; font-size: 16px; }
footer a:hover { color: #c4b5fd; }

@media (max-width: 1180px) {
  .hero-inner { padding-left: 24px; padding-right: 24px; }
  .hero-copy { flex: 1 1 46%; width: auto; padding-top: 48px; }
  .hero-copy h1 { font-size: 30px; }
  .hero-media { margin-left: 40px; margin-top: 40px; flex: 0 1 432px; }
  .game-display { width: 100%; }
}

@media (max-width: 900px) {
  .hero-inner { flex-direction: column; align-items: center; padding-top: 40px; }
  .hero-copy { flex: none; width: 100%; max-width: 560px; padding: 0; }
  .hero-media { margin: 44px 0 0; width: min(432px, calc(100vw - 48px)); }
  .showcase { padding-top: 64px; }
  .viewport { height: 410px; }
  .steps { flex-wrap: wrap; justify-content: center; gap: 32px 0; }
}

@media (max-width: 620px) {
  .brand { transform: scale(0.86); transform-origin: left top; }
  .hero-copy h1 { font-size: 24px; }
  .hero-copy p { font-size: 16px; }
  .play-button { font-size: 1.2rem; }
  .showcase-header p { font-size: 16px; }
  .arrow { width: 40px; height: 40px; }
  .howto-title { font-size: 28px; }
  .step { margin: 0 8px; }
}
