/* Design tokens from Figma */
:root {
  --color-bg: #7a8865;
  --color-gold: #eed362;
  --color-yellow: #ffcf4a;
  --color-yellow-text: #596751;
  --color-white: #ffffff;
  --color-overlay: rgba(34, 34, 34, 0.5);
  --gradient-cta: linear-gradient(90deg, #fed242 0%, #ff7b6b 100%);
  --gradient-card: linear-gradient(
    135deg,
    rgba(69, 77, 56, 0.5) 0%,
    rgba(136, 136, 136, 0) 100%
  );
  --gradient-badge-green: linear-gradient(
    90deg,
    rgba(213, 255, 150, 0.5) 0%,
    rgba(140, 202, 46, 0.5) 100%
  );
  --gradient-menu-btn: linear-gradient(
    129deg,
    rgba(34, 34, 34, 0.5) 0%,
    rgba(34, 34, 34, 0.25) 100%
  );
  --blur: blur(20.5px);
  --font-heading: 'Cinzel', 'Times New Roman', serif;
  --font-body: 'Montserrat', Arial, sans-serif;
  --container-mobile: 430px;
  --container-desktop: 1440px;
  --px-mobile: 10px;
  --px-tablet: 40px;
  --px-desktop: 100px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-white);
  line-height: 1.5;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: disc;
  padding-left: 30px;
}

.container {
  width: 100%;
  max-width: var(--container-desktop);
  margin: 0 auto;
  padding-left: var(--px-mobile);
  padding-right: var(--px-mobile);
}

.heading-xl {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.heading-lg {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;
}

.heading-md {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 400;
  text-transform: uppercase;
}

.subtitle {
  font-size: 20px;
  font-weight: 500;
}

.text-body {
  font-size: 16px;
  font-weight: 400;
}

.text-muted {
  opacity: 0.55;
}

.text-center {
  text-align: center;
}

.glass-card {
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  background: var(--gradient-card);
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.badge--yellow {
  background: var(--color-yellow);
  color: var(--color-yellow-text);
}

.badge--green {
  background: var(--gradient-badge-green);
  color: var(--color-white);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  border-radius: 100px;
  transition: opacity 0.2s;
}

.btn:hover {
  opacity: 0.92;
}

.btn--cta {
  background: var(--gradient-cta);
  color: var(--color-white);
  font-size: 20px;
  font-weight: 700;
  padding: 10px 60px;
}

.btn--cta-lg {
  background: var(--gradient-cta);
  color: var(--color-white);
  font-size: 24px;
  font-weight: 500;
  padding: 10px 40px;
  box-shadow: inset 0 4px 10px rgba(0, 0, 0, 0.25);
  position: relative;
}

.btn--cta-mobile {
  background: var(--color-yellow);
  color: var(--color-white);
  font-size: 24px;
  font-weight: 500;
  padding: 10px 40px;
  box-shadow: inset 0 4px 10px rgba(0, 0, 0, 0.25);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--color-gold);
  text-transform: uppercase;
}

.logo__icon {
  width: 20px;
  height: 20px;
  transform: rotate(180deg) scaleY(-1);
}

.ticker {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  background: var(--color-overlay);
  padding: 10px 0;
  overflow: hidden;
}

.ticker__viewport {
  overflow: hidden;
  width: 100%;
}

.ticker__track {
  display: flex;
  width: max-content;
  gap: 80px;
  animation: ticker-scroll 35s linear infinite;
}

.ticker__track span {
  font-family: var(--font-heading);
  font-size: 14px;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.ticker__track--desktop span {
  font-size: 24px;
}

.ticker__track--mobile span {
  font-size: 14px;
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker__track {
    animation: none;
  }
}

.section {
  position: relative;
  padding: 40px 0;
  isolation: isolate;
}

.section__bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  display: block;
  width: 100%;
  height: 100%;
}

.section__bg-wrap .section__bg {
  position: absolute;
  inset: 0;
}

.section__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.section--games .section__bg--forest {
  top: auto;
  bottom: 0;
  height: min(705px, 70%);
  opacity: 0.2;
}

.section > .container,
.section > .section__bg-wrap ~ .container {
  position: relative;
  z-index: 1;
}

/* Header */
.header {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.header > picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.header__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.header__wrap {
  position: relative;
  z-index: 2;
  min-height: 590px;
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .header {
    min-height: clamp(520px, 70vh, 640px);
  }

  .header__wrap {
    min-height: clamp(520px, 70vh, 640px);
    padding: 24px var(--px-tablet) 32px;
  }

  .header__top {
    padding: 0;
  }

  .header__card {
    margin: 40px auto 0;
    max-width: min(560px, 100%);
    width: 100%;
  }

  .header__card .heading-xl {
    font-size: clamp(30px, 4.5vw, 40px);
  }
}

@media (max-width: 1023px) {
  .header__card {
    margin-bottom: 10px;
    width: calc(100% - 20px);
    max-width: 410px;
    overflow: visible;
  }

  .header__card .heading-xl {
    font-size: clamp(28px, 8vw, 40px);
  }

  .header__card-cta .btn--cta {
    font-size: 18px;
    padding: 8px 32px;
    align-self: flex-start;
  }

  .header__fairy {
    position: absolute;
    right: -33px;
    bottom: -89px;
    width: 148px;
    height: 205px;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
  }

  .mobile-nav {
    right: var(--px-mobile);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .mobile-nav {
    right: var(--px-tablet);
  }
}

.header__top {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--px-mobile);
}

.header__badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.header__card {
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  background: linear-gradient(
    124deg,
    rgba(69, 77, 56, 0.5) 0%,
    rgba(136, 136, 136, 0) 100%
  );
  margin: 64px auto 0;
  padding: 20px;
  max-width: 410px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.header__card-text {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.header__card-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.header__ivy {
  position: absolute;
  opacity: 0.5;
  pointer-events: none;
}

picture.header__ivy {
  display: block;
}

picture.header__ivy img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.header__ivy--left {
  left: -87px;
  top: -57px;
  width: 371px;
  height: 493px;
}

.header__ivy--right {
  display: none;
}

.header__fairy {
  position: absolute;
  right: -33px;
  bottom: -89px;
  width: 148px;
  height: 205px;
  overflow: hidden;
  z-index: 2;
  pointer-events: none;
}

.header__fairy img {
  width: 116.57%;
  height: 116.17%;
  max-width: none;
  position: absolute;
  left: -8.19%;
  top: -8.31%;
}

.header__logo-desktop {
  display: none;
}

/* Lore — Figma 1:592 mobile / 1:117 desktop */
.section--lore {
  padding: 40px 0;
}

.lore-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lore-card {
  backdrop-filter: blur(20.5px);
  -webkit-backdrop-filter: blur(20.5px);
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: clip;
  word-break: break-word;
}

.lore-card--soul {
  background: linear-gradient(
    120.81deg,
    rgba(69, 77, 56, 0.5) 0%,
    rgba(136, 136, 136, 0) 100%
  );
  min-height: 742px;
}

.lore-card__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  word-break: break-word;
}

.lore-card__content .heading-md {
  line-height: 1.2;
  word-break: break-word;
}

.lore-card__fairy-wrap {
  position: absolute;
  left: 92px;
  top: 177px;
  width: 500px;
  height: 525px;
  pointer-events: none;
  z-index: 0;
}

.lore-card__fairy {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.lore-card--coin {
  background: linear-gradient(
    130.63deg,
    rgba(69, 77, 56, 0.5) 0%,
    rgba(136, 136, 136, 0) 100%
  );
}

.lore-card--mission {
  background: linear-gradient(
    140.84deg,
    rgba(69, 77, 56, 0.5) 0%,
    rgba(136, 136, 136, 0) 100%
  );
}

.lore-intro-desktop {
  display: none;
}

.lore-intro-mobile {
  max-width: 199px;
  word-break: break-word;
}

.games-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
}

.balance-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 40px;
  border-radius: 50px;
  backdrop-filter: blur(20.5px);
  -webkit-backdrop-filter: blur(20.5px);
  background: linear-gradient(
    167.68deg,
    rgba(69, 77, 56, 0.5) 0%,
    rgba(136, 136, 136, 0) 100%
  );
  font-size: 20px;
}

.balance-pill img {
  width: 30px;
  height: 30px;
}

.games-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.game-card {
  backdrop-filter: blur(20.5px);
  -webkit-backdrop-filter: blur(20.5px);
  background: linear-gradient(
    112.66deg,
    rgba(69, 77, 56, 0.5) 0%,
    rgba(136, 136, 136, 0) 100%
  );
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.game-card__intro {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.game-card__media {
  position: relative;
  width: 100%;
  height: 300px;
  flex-shrink: 0;
}

.game-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.game-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-card__how {
  font-size: 16px;
  width: 100%;
}

.game-card__how strong {
  font-weight: 700;
}

.game-card__disclaimer {
  font-size: 16px;
  text-align: center;
}

.crystal-inline {
  width: 25px;
  height: 34px;
  display: inline-block;
  vertical-align: middle;
}

/* Compliance */
.compliance-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 40px;
  padding: 40px 0;
}

.compliance-subtitle,
.chronicle-subtitle,
.about-block .subtitle {
  margin: 10px 0;
}

.compliance-intro .heading-md {
  line-height: 1.1;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.compliance-subtitle {
  overflow-wrap: anywhere;
}

.compliance-lead {
  font-size: 18px;
  margin-top: 20px;
  overflow-wrap: anywhere;
}

.compliance-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.compliance-row {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.compliance-card {
  backdrop-filter: blur(20.5px);
  -webkit-backdrop-filter: blur(20.5px);
  padding: 10px;
  flex: 1;
}

.compliance-row .compliance-card:nth-child(1) {
  background: linear-gradient(
    140.15deg,
    rgba(69, 77, 56, 0.5) 0%,
    rgba(136, 136, 136, 0) 100%
  );
}

.compliance-row .compliance-card:nth-child(2) {
  background: linear-gradient(
    144.44deg,
    rgba(69, 77, 56, 0.5) 0%,
    rgba(136, 136, 136, 0) 100%
  );
}

.compliance-card--full {
  background: linear-gradient(
    162.73deg,
    rgba(69, 77, 56, 0.5) 0%,
    rgba(136, 136, 136, 0) 100%
  );
}

.icon-circle {
  width: 44px;
  height: 44px;
  background: var(--color-bg);
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.icon-circle img {
  width: 24px;
  height: 24px;
}

.compliance-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 10px 0;
  overflow-wrap: anywhere;
  line-height: 1.2;
}

/* Why us */
.why-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.why-subtitle {
  font-weight: 700;
  font-size: 16px;
  margin-top: 10px;
}

.why-lead {
  margin-top: 0;
}

.why-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 40px;
}

.why-content .heading-md {
  letter-spacing: -1.2px;
}

.why-card {
  backdrop-filter: blur(20.5px);
  -webkit-backdrop-filter: blur(20.5px);
  padding: 40px 20px;
  background: linear-gradient(
    146deg,
    rgba(69, 77, 56, 0.5) 0%,
    rgba(136, 136, 136, 0) 100%
  );
}

.why-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin: 10px 0;
}

.gallery-carousel {
  width: 100%;
}

.gallery-carousel__viewport {
  overflow: hidden;
  width: 100%;
}

.gallery-carousel__track {
  display: flex;
  transition: transform 0.45s ease;
}

.gallery-carousel__slide {
  flex: 0 0 100%;
  height: 436px;
  position: relative;
}

.gallery-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-carousel__slide--combo img:last-child {
  position: absolute;
  inset: 0;
}

.gallery-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.gallery-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.gallery-carousel__dot.is-active {
  background: var(--color-gold);
}

.gallery-grid {
  display: none;
}

/* Team */
.team-section-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

.team-card {
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  background: linear-gradient(
    118deg,
    rgba(69, 77, 56, 0.5) 0%,
    rgba(136, 136, 136, 0) 100%
  );
  width: 100%;
  max-width: none;
  min-height: 310px;
  height: auto;
  padding: 20px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.team-card img {
  width: 150px;
  height: 150px;
  border-radius: 100px;
  object-fit: cover;
}

.team-card h3 {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
}

.team-card p {
  font-size: 16px;
  text-align: center;
}

.about-block,
.chronicle-block {
  backdrop-filter: blur(20.5px);
  -webkit-backdrop-filter: blur(20.5px);
  padding: 40px 20px;
  margin-top: 10px;
}

.about-block {
  background: linear-gradient(
    111deg,
    rgba(69, 77, 56, 0.5) 0%,
    rgba(136, 136, 136, 0) 100%
  );
  text-align: left;
}

.about-block .heading-md {
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.about-block .subtitle {
  overflow-wrap: anywhere;
}

.chronicle-block {
  background: linear-gradient(
    105deg,
    rgba(69, 77, 56, 0.5) 0%,
    rgba(136, 136, 136, 0) 100%
  );
}

/* Team + FAQ zone */
.team-faq-zone {
  position: relative;
}

.faq-zone {
  position: relative;
  width: 100%;
  margin-top: 10px;
  padding: 40px 0 80px;
  overflow: hidden;
  isolation: isolate;
}

.faq-zone__forest {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 609px;
  object-fit: cover;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.faq-zone__fairy {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 80px;
  width: min(100%, 430px);
  height: auto;
  max-height: 520px;
  object-fit: contain;
  object-position: center top;
  pointer-events: none;
  z-index: 1;
}

.faq-zone__content {
  position: relative;
  z-index: 2;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  z-index: 2;
  margin-top: 20px;
}

.faq-item {
  backdrop-filter: blur(20.5px);
  -webkit-backdrop-filter: blur(20.5px);
  padding: 20px 10px;
  background: linear-gradient(
    150.45deg,
    rgba(69, 77, 56, 0.5) 0%,
    rgba(136, 136, 136, 0) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-item:nth-child(even) {
  background: linear-gradient(
    154deg,
    rgba(69, 77, 56, 0.5) 0%,
    rgba(136, 136, 136, 0) 100%
  );
}

.faq-item h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 10px 0;
}

.menu-btn {
  width: 50px;
  height: 50px;
  border-radius: 28px;
  background: var(--gradient-menu-btn);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 3001;
}

.menu-btn img {
  width: 29px;
  height: 14px;
}

/* Footer */
.footer {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  backdrop-filter: blur(20.5px);
  -webkit-backdrop-filter: blur(20.5px);
  background: rgba(34, 34, 34, 0.5);
  padding: 40px 0;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.footer__top {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer__18 {
  display: inline-flex;
  align-self: flex-start;
  border: 2px solid var(--color-white);
  border-radius: 50px;
  padding: 8px 20px;
  font-weight: 700;
  font-size: 16px;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 16px;
  text-transform: uppercase;
}

.footer__divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
}

.footer__responsible {
  text-align: center;
  max-width: 100%;
}

.footer__responsible h4 {
  font-weight: 700;
  margin-bottom: 10px;
}

.footer__links {
  display: flex;
  gap: 20px;
  justify-content: center;
  font-weight: 700;
}

.footer__top > div:last-child {
  display: flex;
  flex-direction: column;
}

.footer-copy {
  margin-top: 10px;
}

.footer__legal {
  display: flex;
  flex-direction: column;
}

.footer-tag-desktop,
.footer-tag-mobile {
  font-weight: 700;
  font-size: 16px;
  margin-top: 20px;
}

.footer-desc-desktop,
.footer-desc-mobile {
  font-size: 14px;
  margin-top: 10px;
}

.footer-hotline {
  font-weight: 700;
  font-size: 16px;
  text-align: center;
}

.footer__links a {
  text-decoration: underline;
}

/* Mobile nav — Figma node 36:351 */
.header__menu {
  position: relative;
  flex-shrink: 0;
  z-index: 3002;
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2990;
  display: none;
  background: rgba(0, 0, 0, 0.35);
}

.mobile-nav-backdrop.is-open {
  display: block;
}

.mobile-nav {
  position: fixed;
  top: 72px;
  right: var(--px-mobile);
  z-index: 3000;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 56px;
  min-width: 200px;
  padding: 40px 28px;
  border-radius: 50px;
  backdrop-filter: blur(20.5px);
  -webkit-backdrop-filter: blur(20.5px);
  background: rgba(34, 34, 34, 0.85);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;
  text-align: center;
  color: var(--color-white);
  white-space: nowrap;
  pointer-events: auto;
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav a {
  color: var(--color-white);
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  pointer-events: auto;
}

body.menu-open {
  overflow: hidden;
}

body.menu-open .header,
body.menu-open .legal-hero,
body.menu-open main {
  pointer-events: none;
}

body.menu-open .menu-btn,
body.menu-open .mobile-nav,
body.menu-open .mobile-nav-backdrop {
  pointer-events: auto;
}

.menu-btn.is-active {
  opacity: 0.85;
}

/* Tablet */
@media (min-width: 768px) {
  .container {
    padding-left: var(--px-tablet);
    padding-right: var(--px-tablet);
  }

  .header__top {
    padding-left: var(--px-tablet);
    padding-right: var(--px-tablet);
  }

  .ticker p {
    font-size: 24px;
  }

  .ticker__track--desktop span {
    font-size: 24px;
  }

  .compliance-row {
    flex-direction: row;
  }

  .team-card img {
    width: 150px;
    height: 150px;
  }

  .team-card h3 {
    font-size: 20px;
  }
}

/* Tablet — stacked sections until wide desktop */
@media (min-width: 768px) and (max-width: 1199px) {
  .container {
    padding-left: var(--px-tablet);
    padding-right: var(--px-tablet);
  }

  .lore-intro-mobile {
    display: none;
  }

  .lore-intro-desktop {
    display: block;
    max-width: min(62%, 480px);
  }

  .lore-grid {
    flex-direction: column;
    gap: 10px;
  }

  .lore-card--soul {
    width: 100%;
    min-height: clamp(520px, 58vw, 680px);
  }

  .lore-card__fairy-wrap {
    left: auto;
    right: clamp(10px, 3vw, 32px);
    top: auto;
    bottom: 0;
    width: min(46%, 380px);
    height: auto;
    aspect-ratio: 500 / 525;
  }

  .lore-side {
    width: 100%;
  }

  .games-grid {
    flex-direction: column;
    gap: 40px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }

  .game-card {
    width: 100%;
  }

  .game-card__intro {
    width: 100%;
    max-width: 100%;
  }

  .compliance-grid {
    flex-direction: column;
    gap: 40px;
  }

  .why-grid {
    flex-direction: column;
    gap: 40px;
  }

  .why-cards {
    width: 100%;
  }

  .gallery-carousel {
    display: block;
  }

  .gallery-grid {
    display: none;
  }

  .team-section-inner {
    flex-direction: column;
    gap: 40px;
  }

  .team-grid {
    flex: none;
    max-width: 100%;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .team-card {
    width: 100%;
    max-width: none;
    height: auto;
    min-height: 280px;
  }

  .about-block {
    width: 100%;
    max-width: 100%;
    margin-top: 0;
  }

  .faq-list {
    position: static;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
  }

  .faq-item {
    position: relative;
    width: 100%;
    height: auto;
    left: auto !important;
    right: auto !important;
    top: auto !important;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .container {
    padding-left: var(--px-desktop);
    padding-right: var(--px-desktop);
  }

  .header {
    min-height: clamp(580px, 49vw, 707px);
    overflow: hidden;
  }

  .header__wrap {
    display: grid;
    grid-template-columns: minmax(0, 605px) minmax(0, 1fr);
    grid-template-rows: 1fr;
    align-items: start;
    gap: clamp(12px, 2.5vw, 40px);
    min-height: clamp(580px, 49vw, 707px);
    padding: clamp(72px, 8vw, 96px) clamp(40px, 7vw, var(--px-desktop))
      clamp(24px, 3vw, 32px);
    position: relative;
  }

  .header__bg {
    opacity: 0.5;
  }

  .header__top {
    position: absolute;
    top: clamp(20px, 2.5vw, 32px);
    right: clamp(40px, 7vw, var(--px-desktop));
    left: auto;
    padding: 0;
    gap: clamp(12px, 1.5vw, 24px);
    display: flex;
    align-items: center;
    z-index: 3001;
  }

  .mobile-nav {
    top: clamp(72px, 8vw, 92px);
    right: clamp(40px, 7vw, var(--px-desktop));
    z-index: 3000;
  }

  .header__card {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    width: 100%;
    max-width: 605px;
    min-width: 0;
    min-height: 0;
    padding: clamp(24px, 3vw, 40px) 20px;
    gap: clamp(20px, 3vw, 40px);
    z-index: 2;
    overflow: visible;
    background: linear-gradient(
      134deg,
      rgba(69, 77, 56, 0.5) 0%,
      rgba(136, 136, 136, 0) 100%
    );
  }

  .header__card .heading-xl {
    font-size: clamp(28px, 2.8vw, 40px);
  }

  .header__ivy--left {
    left: clamp(-120px, -8vw, -100px);
    top: -32px;
    width: min(371px, 62vw);
    height: auto;
    aspect-ratio: 371 / 493;
  }

  .header__ivy--right {
    display: block;
    left: auto;
    right: clamp(-80px, -6vw, -40px);
    top: 47px;
    width: min(371px, 62vw);
    height: auto;
    aspect-ratio: 371 / 493;
    transform: rotate(180deg);
  }

  .header__logo-desktop {
    display: flex;
  }

  .header__fairy {
    position: absolute;
    left: calc(100% + clamp(12px, 2.5vw, 40px));
    top: clamp(0px, 2vw, 25px);
    right: auto;
    bottom: auto;
    width: min(48vw, 619px);
    max-width: 619px;
    height: auto;
    aspect-ratio: 619 / 650;
    max-height: min(65vh, 650px);
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
  }

  .header__fairy img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: contain;
    left: 0;
    top: 0;
  }

  .lore-intro-mobile {
    display: none;
  }

  .lore-intro-desktop {
    display: block;
    max-width: none;
  }

  .game-card__intro {
    width: 100%;
    max-width: 560px;
  }

  .compliance-lead {
    font-size: 24px;
  }

  .compliance-card h3 {
    font-size: 24px;
  }

  .faq-zone {
    padding: 60px 0 120px;
    min-height: 620px;
  }

  .faq-zone__fairy {
    top: 50px;
    width: 1008px;
    max-width: none;
    height: 1059px;
    max-height: none;
    object-fit: cover;
  }

  .faq-zone__forest {
    height: 609px;
  }

  .faq-title-desktop {
    position: relative;
    z-index: 3;
    margin-bottom: 20px;
  }

  .faq-list {
    position: relative;
    min-height: 476px;
    margin-top: 0;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
  }

  .faq-item {
    position: absolute;
    width: 430px;
    height: 200px;
    margin: 0;
  }

  .faq-item--tl {
    left: 0;
    top: 41px;
  }

  .faq-item--tr {
    left: auto;
    right: 0;
    top: 41px;
  }

  .faq-item--bl {
    left: 0;
    top: 275px;
  }

  .faq-item--br {
    left: auto;
    right: 0;
    top: 275px;
  }

  .footer {
    padding: 40px 0;
    gap: 0;
  }

  .footer__inner {
    gap: 20px;
    padding-left: var(--px-desktop);
    padding-right: var(--px-desktop);
    max-width: var(--container-desktop);
    margin: 0 auto;
  }

  .footer__top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .footer__top > div:last-child {
    align-items: flex-end;
    text-align: right;
    max-width: 50%;
  }

  .footer__18 {
    align-self: flex-end;
  }

  .legal-page .mobile-nav,
  .legal-page .mobile-nav-backdrop,
  .legal-page .menu-btn,
  .legal-page .header__menu {
    display: none !important;
  }

  .why-content .heading-md {
    letter-spacing: 0;
  }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .container {
    padding-left: var(--px-tablet);
    padding-right: var(--px-tablet);
  }
}

@media (min-width: 1200px) {
  .lore-grid {
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    gap: 10px;
  }

  .lore-card--soul {
    flex: 1 1 49%;
    width: auto;
    min-width: 0;
    align-self: stretch;
    min-height: 720px;
    background: linear-gradient(
      130.75deg,
      rgba(69, 77, 56, 0.5) 0%,
      rgba(136, 136, 136, 0) 100%
    );
  }

  .lore-card__content {
    min-height: 0;
  }

  .lore-card__content .heading-md {
    line-height: normal;
  }

  .lore-card__fairy-wrap {
    left: clamp(16px, 8%, 53px);
    top: clamp(190px, 36%, 248px);
    width: min(92%, 460px);
    height: auto;
    aspect-ratio: 500 / 525;
  }

  .lore-side {
    flex: 1 1 49%;
    width: auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
  }

  .lore-card--coin {
    background: linear-gradient(
      146.78deg,
      rgba(69, 77, 56, 0.5) 0%,
      rgba(136, 136, 136, 0) 100%
    );
  }

  .lore-card--mission {
    background: linear-gradient(
      155.23deg,
      rgba(69, 77, 56, 0.5) 0%,
      rgba(136, 136, 136, 0) 100%
    );
  }

  .games-grid {
    flex-direction: row;
    gap: clamp(16px, 2vw, 40px);
    align-items: stretch;
  }

  .game-card {
    flex: 1 1 0;
    min-width: 0;
  }

  .compliance-grid {
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
  }

  .compliance-grid > .compliance-intro {
    flex: 1;
    min-width: 0;
  }

  .compliance-cards {
    flex: 1;
    min-width: 0;
  }

  .why-grid {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: clamp(16px, 2vw, 40px);
  }

  .why-cards {
    flex: 1 1 49%;
    width: auto;
    min-width: 0;
    max-width: 605px;
  }

  .gallery-carousel {
    display: none;
  }

  .gallery-grid {
    display: grid;
    flex: 1 1 49%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(260px, 1fr));
    gap: 10px;
    width: auto;
    min-width: 0;
    max-width: 604px;
  }

  .gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .gallery-grid__combo {
    position: relative;
  }

  .gallery-grid__combo img:last-child {
    position: absolute;
    inset: 0;
  }

  .team-section-inner {
    flex-direction: row;
    gap: 10px;
    align-items: flex-start;
  }

  .team-grid {
    flex: 1 1 49%;
    max-width: 630px;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .team-card {
    width: 100%;
    max-width: none;
    height: auto;
    min-height: 280px;
  }

  .team-card img {
    width: clamp(120px, 40%, 200px);
    height: clamp(120px, 40%, 200px);
  }

  .team-card h3 {
    font-size: 24px;
  }

  .about-block {
    flex: 1 1 49%;
    width: auto;
    min-width: 0;
    max-width: 600px;
    margin-top: 0;
  }
}

@media (min-width: 1440px) {
  body {
    max-width: 1440px;
    margin: 0 auto;
  }

  .header__wrap {
    max-width: var(--container-desktop);
    margin-left: auto;
    margin-right: auto;
  }

  .lore-card--soul {
    flex: 0 0 605px;
    width: 605px;
    min-height: 773px;
  }

  .lore-card__fairy-wrap {
    left: 53px;
    top: 248px;
    width: 500px;
    height: 525px;
  }

  .lore-side {
    flex: 0 0 618px;
    width: 618px;
  }

  .team-grid {
    flex: 0 0 630px;
    max-width: 630px;
    grid-template-columns: repeat(2, 310px);
  }

  .team-card {
    width: 310px;
    max-width: 310px;
    height: 310px;
    min-height: 310px;
  }

  .team-card img {
    width: 200px;
    height: 200px;
  }

  .why-cards {
    flex: 0 0 605px;
    width: 605px;
    max-width: 605px;
  }

  .gallery-grid {
    flex: 0 0 604px;
    grid-template-columns: repeat(2, 288px);
    grid-template-rows: repeat(2, 436px);
    width: 604px;
    max-width: 604px;
  }
}
