:root {
  --bg: #07060a;
  --text: #f4efe6;
  --muted: #b7adbe;
  --gold: #e4c27a;
  --gold-deep: #b8893e;
  --ink: #1c1408;
  --line: rgba(228, 194, 122, 0.28);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: Outfit, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  background:
    radial-gradient(880px 480px at 78% -10%, rgba(180, 120, 48, 0.16), transparent 60%),
    var(--bg);
  line-height: 1.6;
}

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

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

h1,
h2,
h3,
p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

button,
summary {
  font: inherit;
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 40;
  padding: 8px 12px;
  background: var(--gold);
  color: var(--ink);
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(7, 6, 10, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo {
  margin-right: auto;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.nav {
  display: flex;
  gap: 22px;
}

.nav a,
.text-link {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav a:hover,
.text-link:hover,
.nav a:focus-visible,
.text-link:focus-visible {
  color: var(--text);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  background: transparent;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
}

.btn-sm {
  min-height: 38px;
  padding: 0 14px;
  font-size: 12px;
}

.btn-gold {
  color: var(--ink);
  background: var(--gold);
}

.btn-gold:hover {
  background: #f0d7a2;
}

.btn:focus-visible,
.game-link:focus-visible,
.zone:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.hero-bg {
  display: none;
}

.lead-short {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.82fr);
  gap: 64px;
  align-items: center;
  padding: 72px 0 36px;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

h1,
h2,
.zone h3,
.game-copy strong {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(64px, 8vw, 104px);
  line-height: 0.88;
}

.lead {
  max-width: 36em;
  margin-top: 24px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 300;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 32px;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
  padding-top: 22px;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.facts b,
.points h3,
.step h3 {
  display: block;
  font-size: 16px;
  font-weight: 500;
}

.facts span,
.points p,
.step p,
.section-head p,
.game-copy span,
.zone-copy p,
.faq-item p,
.footer-note,
.preview-note,
.cta-copy p {
  color: var(--muted);
}

.facts span,
.game-copy span,
.preview-note {
  display: block;
  margin-top: 4px;
  font-size: 13px;
}

.hero-visual {
  width: min(100%, 460px);
  margin-left: auto;
}

.preview {
  position: relative;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(228, 194, 122, 0.16), transparent 28%),
    #120e0b;
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

.preview-bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.preview-stage {
  position: relative;
}

.scene {
  display: none;
}

.scene.is-on {
  display: flex;
  align-items: center;
}

.preview-reels,
.mj-board,
.candy-board {
  width: 100%;
}

.preview-reels {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.preview-reels::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background: transparent;
  pointer-events: none;
  z-index: 2;
}

.preview.is-win .preview-reels::after {
  background: rgba(255, 226, 150, 0.95);
  box-shadow: 0 0 16px rgba(228, 194, 122, 0.9);
}

.reel {
  height: 264px;
  overflow: hidden;
  background: #1a120c;
}

.reel.is-spin img {
  filter: blur(1.2px) saturate(1.15);
}

.preview.is-win .reel {
  box-shadow: inset 0 0 0 1px rgba(228, 194, 122, 0.85);
}

.reel-strip img {
  width: 100%;
  height: 88px;
  object-fit: cover;
  object-position: center;
  flex: none;
}

.mj-board,
.candy-board {
  position: relative;
  display: grid;
  gap: 6px;
}

.mj-board {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  padding-top: 16px;
}

.candy-board {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.tile,
.candy-cell {
  overflow: hidden;
  background: #1a120c;
  aspect-ratio: 1;
}

.tile img,
.candy-cell img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tile img {
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.tile.is-hot {
  outline: 2px solid #f3d48a;
  outline-offset: -2px;
  box-shadow: 0 0 16px rgba(228, 194, 122, 0.65);
  position: relative;
}

.tile.is-gone img {
  opacity: 0;
  transform: scale(0.4);
}

.candy-cell img {
  animation: candyIn 0.5s ease both;
}

.candy-cell:nth-child(n + 5) img {
  animation-delay: 0.08s;
}

.candy-cell:nth-child(n + 9) img {
  animation-delay: 0.16s;
}

.candy-cell.is-match {
  box-shadow: inset 0 0 0 2px #f3d48a, 0 0 16px rgba(228, 194, 122, 0.45);
}

.candy-cell.is-match img {
  transform: scale(1.05);
}

.link-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 2;
}

.link-svg polyline {
  fill: none;
  stroke: #ffe29a;
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  filter: drop-shadow(0 0 6px rgba(228, 194, 122, 0.85));
}

.link-svg polyline.draw {
  animation: linkDraw 0.42s ease forwards;
}

@keyframes linkDraw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes candyIn {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.reel-strip {
  display: flex;
  flex-direction: column;
  will-change: transform;
}

.win-banner {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 50%;
  z-index: 3;
  padding: 14px 12px 12px;
  text-align: center;
  color: var(--ink);
  background: linear-gradient(180deg, #f8e7b6, #e4c27a 42%, #b8893e);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(-42%) scale(0.94);
  pointer-events: none;
}

.preview.is-win .win-banner {
  opacity: 1;
  transform: translateY(-50%) scale(1);
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.win-banner p {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.win-banner strong {
  display: block;
  margin-top: 2px;
  font-family: var(--serif);
  font-size: clamp(52px, 6vw, 72px);
  font-weight: 600;
  line-height: 0.88;
}

.preview-note {
  margin: 12px 0 0;
  text-align: right;
}

.game-dots {
  display: none;
  justify-content: center;
  gap: 2px;
  margin-top: 12px;
}

.game-dots button {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.game-dots button::before {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  margin: 0 auto;
  border-radius: 99px;
  background: rgba(228, 194, 122, 0.35);
}

.game-dots button.is-on::before {
  width: 18px;
  background: var(--gold);
}

.section {
  padding: 78px 0;
  scroll-margin-top: 88px;
}

.hall-embed {
  height: calc(100dvh - var(--header-offset, 72px));
  min-height: 640px;
  margin: 0;
  padding: 0;
  background: #07060a;
  scroll-margin-top: var(--header-offset, 72px);
}

.hall-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 640px;
  border: 0;
  display: block;
}

.section-head {
  max-width: 620px;
  margin-bottom: 32px;
}

.section-head h2,
.cta-copy h2 {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 0.95;
}

.section-head p {
  margin-top: 14px;
  font-size: 16px;
}

.games {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 22px 16px;
  list-style: none;
}

.games > li {
  grid-column: span 3;
}

.games > li:first-child {
  grid-column: span 6;
}

.game-link {
  display: block;
}

.cover {
  display: block;
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #16120e;
}

.games > li:first-child .cover {
  aspect-ratio: 16 / 10;
}

.cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transition: transform 0.7s ease;
}

.game-copy {
  display: block;
  padding-top: 12px;
}

.game-copy strong {
  display: block;
  font-size: 28px;
  line-height: 1;
}

.zone-grid,
.points,
.steps {
  display: grid;
  gap: 18px;
}

.zone-grid {
  grid-template-columns: 1fr 1fr;
}

.zone {
  position: relative;
  display: flex;
  min-height: 460px;
  overflow: hidden;
  align-items: flex-end;
}

.zone img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.zone-copy {
  display: block;
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  margin: 18px;
  padding: 22px;
  background: rgba(7, 6, 10, 0.72);
  backdrop-filter: blur(8px);
}

.kicker {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.zone h3 {
  font-size: 40px;
  line-height: 0.95;
}

.zone-copy p {
  margin: 10px 0 16px;
}

.zone-copy .text-link {
  color: var(--gold);
}

.points,
.steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.points li,
.step {
  list-style: none;
  padding: 22px 18px 0 0;
}

.points span,
.step-no {
  display: block;
  margin-bottom: 16px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 28px;
}

.step {
  counter-increment: step;
}

.steps {
  counter-reset: step;
}

.step-no::before {
  content: counter(step, decimal-leading-zero);
}

.points p,
.step p {
  margin-top: 8px;
  font-size: 14px;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 40px;
  align-items: start;
}

.faq-item {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  min-height: 64px;
  cursor: pointer;
  list-style: none;
  font-size: 18px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.plus {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1;
}

.faq-item[open] .plus {
  transform: rotate(45deg);
}

.faq-item p {
  max-width: 62em;
  margin: 0 0 18px;
}

.faq-item a,
.footer-note a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cta {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 420px;
  overflow: hidden;
  background: #100d09;
}

.cta img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.cta-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px;
}

.cta-copy p {
  max-width: 28em;
  margin: 16px 0 24px;
}

.site-footer {
  padding: 8px 0 40px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.age {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 10px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.footer-note {
  max-width: 46em;
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
  color: var(--muted);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--gold);
}

@media (hover: hover) {
  .game-link:hover .cover img,
  .zone:hover img {
    transform: scale(1.04);
  }
}

@media (max-width: 980px) {
  .points,
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .games > li,
  .games > li:first-child {
    grid-column: span 6;
  }

  .games > li:first-child {
    grid-column: span 12;
  }

  .faq-layout,
  .cta,
  .hero {
    grid-template-columns: 1fr;
  }

  .cta img {
    height: 280px;
  }
}

@media (max-width: 860px) {
  .header-inner {
    flex-wrap: wrap;
    padding-block: 12px;
  }

  .nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .hero {
    padding-top: 36px;
    gap: 32px;
  }

  .zone-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(1160px, calc(100% - 32px));
  }

  .facts,
  .points,
  .steps,
  .games {
    grid-template-columns: 1fr;
  }

  .games > li,
  .games > li:first-child {
    grid-column: auto;
  }

  .games > li,
  .games > li:first-child {
    grid-column: auto;
  }

  .nav,
  .header-cta .btn,
  .lead,
  .facts,
  .preview-note {
    display: none;
  }

  .hero-screen {
    position: relative;
  }

  .hero-bg {
    display: grid;
    position: relative;
    height: 188px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: 1fr;
    overflow: hidden;
  }

  .hero-bg img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center 18%;
  }

  .hero-bg img:nth-child(n + 4) {
    display: none;
  }

  .hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 6, 10, 0.05), #07060a 96%);
  }

  .hero {
    position: relative;
    z-index: 1;
    padding-top: 8px;
    gap: 18px;
  }

  .lead-short {
    display: block;
    margin-top: 16px;
    color: var(--text);
    font-size: 16px;
  }

  .hero .actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 22px;
  }

  .hero .actions a[data-hall="download"] {
    order: -1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    color: var(--ink);
    background: var(--gold);
  }

  .hero .actions .btn {
    border: 1px solid var(--line);
    background: #100e12;
    color: var(--text);
  }

  h1 {
    font-size: 52px;
  }

  .game-dots {
    display: flex;
  }

  .games {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .games::-webkit-scrollbar {
    display: none;
  }

  .games > li,
  .games > li:first-child {
    flex: 0 0 100%;
    scroll-snap-align: start;
  }

  .cover,
  .games > li:first-child .cover {
    aspect-ratio: 16 / 10;
  }

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

  .footer-inner,
  .footer-links {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-copy {
    padding: 28px 20px 32px;
  }
}

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

  .cover img,
  .zone img,
  .reel-strip,
  .tile img,
  .candy-cell img,
  .link-svg polyline,
  .win-banner {
    animation: none;
    transition: none;
  }
}

::selection {
  background: var(--gold);
  color: var(--ink);
}
