:root {
  --night: #160B08;
  --tomb: #1F100B;
  --tomb-2: #2B160F;
  --tomb-3: #3A1D13;
  --sand-red: #6E2818;
  --carnelian: #C8372A;

  --gold: #E7B447;
  --gold-hi: #FBE6A6;
  --gold-lo: #A8731F;

  --lapis: #1E4DB4;
  --lapis-hi: #7FA2F4;

  --papyrus: #EFE0BD;
  --papyrus-2: #E3CD9C;
  --ink: #2A170D;
  --ink-soft: #5A3E26;

  --jade: #4DB37A;

  --text: #F0E6D2;
  --muted: #C4AE8E;
  --line: rgba(231, 180, 71, .24);
  --line-soft: rgba(240, 230, 210, .09);

  --font-display: "Marcellus", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --font-body: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --wrap: 1200px;
  --header-h: 76px;

  --grad-gold: linear-gradient(180deg, #FBE6A6 0%, #E7B447 48%, #B8812A 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--night);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.68;
  color: var(--text);
  background: var(--night);
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--gold-hi); text-underline-offset: 3px; }
a:hover { color: #fff; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0; color: #fff; font-weight: 400; }
h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 1.2rem + 1.9vw, 2.6rem);
  line-height: 1.15;
  margin-bottom: .75em;
  text-wrap: balance;
}
h3 {
  font-family: var(--font-body);
  font-size: 1.14rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: .55em;
}
b, strong { font-weight: 700; }
.small { font-size: .88rem; line-height: 1.5; }
.muted { color: var(--muted); }
.center { text-align: center; }

:focus-visible { outline: 2px solid var(--lapis-hi); outline-offset: 3px; }

.skip {
  position: absolute; left: 12px; top: -80px; z-index: 300;
  background: var(--gold); color: var(--ink);
  padding: 10px 16px; border-radius: 6px; font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }

#dust {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: -1; pointer-events: none;
}
.bg-wall {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(1100px 620px at 78% -5%, rgba(200, 55, 42, .20), transparent 62%),
    radial-gradient(800px 700px at -10% 30%, rgba(30, 77, 180, .10), transparent 60%),
    linear-gradient(180deg, #1F0F0A 0%, #160B08 45%, #140A07 100%);
}
.bg-wall::after {
  content: ""; position: absolute; inset: 0; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cg fill='none' stroke='%23E7B447' stroke-width='2' stroke-linecap='round'%3E%3Cellipse cx='30' cy='22' rx='6' ry='8'/%3E%3Cpath d='M30 30v26M20 36h20'/%3E%3Cpath d='M110 24q14-12 28 0q-14 10-28 0z'/%3E%3Ccircle cx='124' cy='24' r='3.5'/%3E%3Cpath d='M124 31l-4 14M131 30q7 9 0 14'/%3E%3Cpath d='M22 112h24M22 121h24M22 130h24M34 104v36'/%3E%3Cpath d='M118 104v34M113 104q5-9 10 0M108 138h20'/%3E%3Cpath d='M80 78l7 11-7 11-7-11z'/%3E%3Cpath d='M150 150q10-6 20 0M150 158q10-6 20 0'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 180px 180px;
}

.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: var(--h);
  padding: 0 24px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 800; font-size: 1rem; letter-spacing: .01em;
  text-decoration: none; white-space: nowrap;
  border: 0; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, filter .2s ease;
}
.btn-gold {
  color: #2A1705;
  background: var(--grad-gold);
  box-shadow:
    0 8px 24px rgba(231, 180, 71, .28),
    inset 0 0 0 2px rgba(255, 244, 205, .55),
    inset 0 0 0 3px rgba(110, 70, 18, .35);
}
.btn-gold:hover { color: #1B0E02; transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 12px 30px rgba(231, 180, 71, .42), inset 0 0 0 2px rgba(255, 244, 205, .65), inset 0 0 0 3px rgba(110, 70, 18, .35); }
.btn-gold:active { transform: translateY(1px); }
.btn-line {
  color: var(--text);
  background: rgba(30, 77, 180, .16);
  box-shadow: inset 0 0 0 1.5px var(--lapis-hi);
}
.btn-line:hover { color: #fff; background: rgba(30, 77, 180, .34); }
.btn-lg { --h: 56px; padding: 0 30px; font-size: 1.04rem; }
.btn-sm { --h: 40px; padding: 0 18px; font-size: .92rem; }
.btn-block { width: 100%; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(22, 11, 8, .88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.topline {
  background: linear-gradient(90deg, transparent, rgba(231, 180, 71, .14), transparent);
  border-bottom: 1px solid var(--line-soft);
  text-align: center;
}
.topline p { margin: 0; padding: 5px 16px; font-size: .78rem; color: var(--muted); letter-spacing: .02em; }
.header-bar {
  max-width: var(--wrap); margin: 0 auto; padding: 0 22px;
  height: var(--header-h);
  display: flex; align-items: center; gap: 24px;
}
.brand { flex: none; display: block; }
.brand img { height: 54px; width: auto; }

.nav { flex: 1; display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
.nav-list {
  list-style: none; margin: 0 auto; padding: 5px;
  display: flex; gap: 2px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(43, 22, 15, .6);
}
.nav-list a {
  display: block; padding: 8px 15px; border-radius: 999px;
  color: var(--text); text-decoration: none; font-weight: 600; font-size: .94rem;
  transition: background-color .2s ease, color .2s ease;
}
.nav-list a:hover { background: rgba(231, 180, 71, .12); color: #fff; }
.nav-list a.active { background: var(--gold); color: var(--ink); }
.nav-note { display: none; }

.burger {
  display: none; flex: none;
  width: 48px; height: 48px; margin-left: auto;
  border: 1px solid var(--line); border-radius: 12px;
  background: rgba(43, 22, 15, .7);
  cursor: pointer; padding: 0;
  position: relative;
}
.burger span {
  position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px;
  background: var(--gold-hi);
  transition: transform .25s ease, opacity .2s ease, top .25s ease;
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 23px; }
.burger span:nth-child(3) { top: 30px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 23px; transform: rotate(-45deg); }

.progress { height: 2px; background: var(--line-soft); }
.progress i { display: block; height: 100%; width: 0; background: var(--grad-gold); }

.hero { position: relative; padding: 56px 0 44px; overflow: hidden; }
.hero-sun {
  position: absolute; top: -380px; right: -260px;
  width: 1000px; height: 1000px; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(231, 180, 71, .09) 0deg 5deg, transparent 5deg 15deg);
  -webkit-mask-image: radial-gradient(circle, #000 18%, transparent 68%);
  mask-image: radial-gradient(circle, #000 18%, transparent 68%);
  animation: sun 140s linear infinite;
  pointer-events: none;
}
@keyframes sun { to { transform: rotate(360deg); } }

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "head head" "copy visual";
  gap: 36px 56px;
  align-items: start;
}
.hero-head { grid-area: head; margin-bottom: -4px; }
.hero-copy { grid-area: copy; }
.hero-visual { grid-area: visual; position: relative; margin-top: .35em; }

.hero-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.hero-meta span {
  font-size: .85rem; font-weight: 600; color: var(--gold-hi);
  padding: 4px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(231, 180, 71, .07);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.08;
  width: 100%;
  margin: 0;
  text-wrap: pretty;
  background: linear-gradient(180deg, #FFF6DC 0%, #F3D27A 60%, #D9A240 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.lead { font-size: 1.12rem; color: #fff; margin-top: -.3em; }
.hero-copy > p:not(.hero-meta):not(.lead) { color: var(--muted); max-width: 62ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.arch {
  margin: 0;
  position: relative;
  border-radius: 50% 50% 20px 20px / 34% 34% 20px 20px;
  padding: 10px;
  background: linear-gradient(180deg, #FBE6A6, #B8812A 60%, #6E4A12);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(0, 0, 0, .4);
}
.arch::before {
  content: ""; position: absolute; inset: 4px;
  border-radius: 50% 50% 16px 16px / 34% 34% 16px 16px;
  border: 1px solid rgba(42, 23, 13, .55);
  pointer-events: none; z-index: 2;
}
.arch picture, .arch img {
  display: block; width: 100%;
  border-radius: 50% 50% 12px 12px / 34% 34% 12px 12px;
}
.arch picture { overflow: hidden; }
.arch img { aspect-ratio: 1000 / 547; height: auto; object-fit: cover; }

.stats {
  list-style: none; margin: 16px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(58, 29, 19, .75), rgba(31, 16, 11, .75));
  overflow: hidden;
}
.stats li { padding: 10px 12px; display: flex; flex-direction: column; gap: 0; text-align: center; }
.stats li + li { border-left: 1px solid var(--line); }
.stats b {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.1rem, .8rem + .6vw, 1.35rem); line-height: 1.2;
  color: var(--gold-hi);
}
.stats span { color: var(--muted); font-size: .74rem; line-height: 1.3; }

.contents {
  background: var(--papyrus);
  background-image:
    linear-gradient(90deg, rgba(168, 115, 31, .10) 1px, transparent 1px),
    linear-gradient(180deg, #F2E5C6, #E8D5A8);
  background-size: 7px 100%, 100% 100%;
  color: var(--ink);
  padding: 30px 0 34px;
  border-top: 3px solid var(--gold-lo);
  border-bottom: 3px solid var(--gold-lo);
}
.contents-title {
  font-family: var(--font-display);
  font-size: 1.35rem; margin-bottom: 16px; color: var(--ink);
}
.contents-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px 22px;
}
.contents-list a {
  display: flex; align-items: baseline; gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(90, 62, 38, .35);
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: .96rem;
}
.contents-list a:hover { color: var(--carnelian); }
.contents-list i {
  font-style: normal; font-family: var(--font-display);
  color: var(--gold-lo); min-width: 30px; font-size: .95rem;
}

.sec { padding: 88px 0; position: relative; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.split-text > p { color: var(--text); }
.split-text > p + p { color: var(--muted); }

.note-gold {
  margin-top: 24px;
  padding: 18px 20px 18px 22px;
  border-left: 3px solid var(--gold);
  background: rgba(231, 180, 71, .07);
  border-radius: 0 12px 12px 0;
  color: #fff !important;
}

.ledger {
  border-radius: 20px;
  background: var(--papyrus);
  color: var(--ink);
  padding: 8px 26px 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .4), inset 0 0 60px rgba(168, 115, 31, .18);
  position: relative;
}
.ledger::before, .ledger::after {
  content: ""; position: absolute; left: 14px; right: 14px; height: 10px;
  background: linear-gradient(180deg, #B8812A, #6E4A12);
  border-radius: 6px;
}
.ledger::before { top: -5px; }
.ledger::after { bottom: -5px; }
.ledger-head {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 16px;
  padding: 18px 0 10px;
  font-family: var(--font-display); font-size: 1.05rem; color: var(--ink-soft);
  border-bottom: 2px solid rgba(90, 62, 38, .35);
}
.ledger dl { margin: 0; }
.ledger dl > div {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(90, 62, 38, .16);
}
.ledger dl > div:last-child { border-bottom: 0; }
.ledger dt { color: var(--ink-soft); font-size: .95rem; }
.ledger dd { margin: 0; font-weight: 700; font-size: .96rem; }
.ledger .hl dd { color: var(--carnelian); }
.ledger .yes::before { content: "✓ "; color: #2E7D4F; }

.sec-casinos {
  background:
    linear-gradient(180deg, rgba(110, 40, 24, .38), rgba(110, 40, 24, .12) 60%, transparent),
    rgba(0, 0, 0, .15);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.casino-intro { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; margin-bottom: 44px; }
.casino-intro h2 { margin-bottom: 0; }
.casino-intro-text p { color: var(--muted); }
.casino-intro-text p:first-child { color: var(--text); }

.casinos {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px;
  counter-reset: none;
}
.casino {
  position: relative;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 36px 24px 22px;
  border-radius: 150px 150px 20px 20px;
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(231, 180, 71, .14), transparent 60%),
    linear-gradient(180deg, var(--tomb-3), var(--tomb));
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
  transition: transform .2s ease, border-color .2s ease;
}
.casino:hover { transform: translateY(-3px); border-color: rgba(231, 180, 71, .55); }
.casino-top {
  border: 1.5px solid var(--gold);
  box-shadow: 0 18px 50px rgba(231, 180, 71, .18), 0 18px 40px rgba(0, 0, 0, .35);
}
.casino-rank {
  position: absolute; top: 100px; left: calc(50% - 76px);
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.05rem;
  color: var(--gold-hi); border: 1px solid var(--line);
  background: rgba(22, 11, 8, .6);
}
.casino-flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  font-size: .76rem; font-weight: 700; color: #fff;
  padding: 4px 10px; border-radius: 999px; background: var(--lapis);
}
.casino-logo {
  width: 112px; height: 112px; border-radius: 26px; object-fit: cover;
  box-shadow: 0 0 0 3px rgba(231, 180, 71, .55), 0 12px 26px rgba(0, 0, 0, .45);
  margin-bottom: 16px;
}
.casino-name { font-family: var(--font-display); font-weight: 400; font-size: 1.45rem; margin-bottom: 10px; }
.casino-label { font-size: .85rem; color: var(--muted); margin-bottom: 2px; }
.casino-bonus {
  font-size: 1.36rem; font-weight: 800; line-height: 1.3; color: var(--gold-hi);
  min-height: 2.6em; display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.casino .btn { margin-top: auto; }
.casino-terms { font-size: .76rem; color: var(--muted); margin: 10px 0 0; }

.lines-box {
  border-radius: 22px;
  padding: 22px;
  background: linear-gradient(180deg, var(--tomb-3), var(--tomb));
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .4);
}
.lines-grid {
  position: relative;
  display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(3, 1fr);
  gap: 6px;
  aspect-ratio: 5 / 3;
  padding: 10px;
  border-radius: 14px;
  background: #120806;
  border: 2px solid var(--gold-lo);
}
.lines-grid .cell {
  border-radius: 8px;
  background: linear-gradient(180deg, #3A1D13, #26130D);
  display: grid; place-items: center;
  font-family: var(--font-display); color: rgba(240, 230, 210, .35);
  font-size: clamp(.9rem, 2.4vw, 1.3rem);
}
.lines-svg { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); pointer-events: none; overflow: visible; }
.lines-svg path { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; transition: opacity .25s ease; }
.lines-svg path.off { opacity: 0; }
.lines-ctrl { margin-top: 18px; }
.lines-ctrl label { font-weight: 700; display: block; margin-bottom: 8px; }
.lines-ctrl output { color: var(--gold-hi); font-size: 1.2rem; }
input[type="range"] {
  width: 100%; accent-color: var(--gold);
  height: 28px; margin: 0 0 10px;
}

.tomb-card {
  margin-top: 56px;
  display: grid; grid-template-columns: auto minmax(0, 1fr) 240px; gap: 32px; align-items: start;
  padding: 34px;
  border-radius: 24px;
  background:
    radial-gradient(80% 120% at 0% 0%, rgba(30, 77, 180, .28), transparent 60%),
    linear-gradient(180deg, #24120C, #1A0D09);
  border: 1px solid rgba(127, 162, 244, .3);
}
.tomb-icon {
  width: 96px; height: 96px; border-radius: 22px;
  display: grid; place-items: center;
  background: rgba(231, 180, 71, .1); border: 1px solid var(--line);
}
.tomb-icon svg { width: 76px; height: 76px; }
.tomb-body p { color: var(--muted); }
.tomb-body p:first-of-type { color: var(--text); }
.tomb-roles { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tomb-roles li {
  padding: 16px 18px; border-radius: 16px;
  background: rgba(22, 11, 8, .55); border: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.tomb-roles b { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; color: var(--gold-hi); }
.tomb-roles span { font-size: .9rem; color: var(--muted); }

.sec-papyrus {
  color: var(--ink);
  background:
    radial-gradient(1000px 400px at 50% 0%, rgba(255, 255, 255, .35), transparent 70%),
    linear-gradient(90deg, rgba(168, 115, 31, .08) 1px, transparent 1px),
    linear-gradient(180deg, #F1E3C2, #E6D2A3);
  background-size: 100% 100%, 7px 100%, 100% 100%;
}
.sec-papyrus::before, .sec-papyrus::after {
  content: ""; position: absolute; left: 0; right: 0; height: 14px;
  background: linear-gradient(180deg, #8A5B1C, #5C3A0E);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .3);
}
.sec-papyrus::before { top: 0; }
.sec-papyrus::after { bottom: 0; }
.sec-papyrus h2, .sec-papyrus h3 { color: var(--ink); }
.sec-papyrus a:not(.btn) { color: var(--lapis); }
.sec-papyrus p,
.sec-papyrus .split-text > p { color: #3B2616; }
.sec-papyrus .split-text > p:first-of-type { color: var(--ink); font-weight: 500; }

.page-head { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; margin-bottom: 40px; }
.page-head h2 { margin-bottom: 0; }
.h3-page { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; margin-bottom: 20px; }

.ladder {
  display: grid; grid-template-columns: minmax(0, 1.25fr) 40px minmax(0, 1fr);
  gap: 18px; align-items: end;
  padding: 26px;
  border-radius: 22px;
  background: rgba(255, 250, 235, .5);
  border: 1px solid rgba(90, 62, 38, .22);
  margin-bottom: 40px;
}
.ladder-cap { font-weight: 700; font-size: .92rem; color: var(--ink-soft) !important; margin-bottom: 12px; }
.sym-row { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; }
.sym {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px;
  padding: 14px 6px 12px;
  border-radius: 14px;
  text-align: center;
  min-height: 118px;
}
.sym-low { background: #F9F0DA; border: 1px solid rgba(90, 62, 38, .22); }
.sym-glyph { font-family: var(--font-display); font-size: 2rem; line-height: 1; color: var(--lapis); }
.sym-name { font-size: .82rem; font-weight: 600; color: var(--ink-soft); }
.sym svg { width: 58px; height: 58px; }
.sym-high { background: linear-gradient(180deg, #3A1D13, #24120C); color: var(--gold); }
.sym-high .sym-name { color: var(--papyrus); }
.sym-top {
  background: linear-gradient(180deg, #F7D67D, #C8912E);
  color: #2A170D;
  box-shadow: 0 10px 24px rgba(168, 115, 31, .35);
  min-height: 150px;
}
.sym-top .sym-name { color: var(--ink); font-weight: 800; }
.sym-top em { font-style: normal; font-size: .72rem; font-weight: 700; color: #5C3A0E; }
.ladder-arrow { align-self: center; height: 2px; background: var(--gold-lo); position: relative; }
.ladder-arrow::after {
  content: ""; position: absolute; right: -2px; top: -5px;
  border-left: 10px solid var(--gold-lo); border-top: 6px solid transparent; border-bottom: 6px solid transparent;
}

.page-cols { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.pair-card {
  padding: 26px; border-radius: 20px;
  background: var(--ink); color: var(--papyrus);
  box-shadow: 0 18px 40px rgba(42, 23, 13, .35);
}
.pair-visual { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: 18px; }
.pair-tile {
  aspect-ratio: 1; border-radius: 8px;
  background: linear-gradient(180deg, #F7D67D, #C8912E);
  color: #2A170D; display: grid; place-items: center;
}
.pair-tile svg { width: 70%; height: 70%; }
.pair-tile.off { background: rgba(239, 224, 189, .08); border: 1px dashed rgba(239, 224, 189, .25); }
.pair-title { font-family: var(--font-display); font-size: 1.35rem; color: var(--gold-hi) !important; margin-bottom: 6px; }
.pair-text { color: #D9C49A !important; font-size: .95rem; }

.special {
  margin-top: 40px;
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 26px; align-items: center;
  padding: 26px 30px;
  border-radius: 20px;
  background: var(--lapis);
  box-shadow: 0 18px 40px rgba(30, 77, 180, .3);
}
.special p { color: #EEF2FF !important; margin: 0; }
.special-icon { width: 84px; height: 84px; border-radius: 20px; background: rgba(255, 255, 255, .12); display: grid; place-items: center; }
.special-icon svg { width: 66px; height: 66px; }

.sec-spins h2.center { max-width: 22ch; margin-left: auto; margin-right: auto; margin-bottom: 48px; }
.spins-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 44px; align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 16px; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 22px 24px 22px 84px;
  border-radius: 18px;
  background: rgba(43, 22, 15, .72);
  border: 1px solid var(--line-soft);
}
.steps li::before {
  content: counter(step);
  position: absolute; left: 22px; top: 20px;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.3rem;
  color: var(--ink); background: var(--grad-gold);
}
.steps li:not(:last-child)::after {
  content: ""; position: absolute; left: 43px; top: 68px; bottom: -18px;
  width: 2px; background: var(--line);
}
.steps p { color: var(--muted); margin: 0; }

.reel-demo {
  position: sticky; top: calc(var(--header-h) + 50px);
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, #2E170F, #1A0D09);
  border: 1.5px solid var(--gold-lo);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
  text-align: center;
}
.reel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.reel-title { margin: 0; font-weight: 700; color: var(--muted); font-size: .92rem; }
.reel-pick {
  margin: 0; display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px 5px 8px; border-radius: 999px;
  background: rgba(231, 180, 71, .14); color: var(--gold-hi); font-weight: 700; font-size: .9rem;
}
.reel-pick svg { width: 22px; height: 22px; color: var(--gold); }
.reel {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px;
  padding: 8px; border-radius: 14px; background: #120806;
  border: 1px solid rgba(231, 180, 71, .3);
}
.reel-col { display: grid; grid-template-rows: repeat(3, 1fr); gap: 6px; position: relative; }
.reel-cell {
  aspect-ratio: 1; border-radius: 8px;
  background: linear-gradient(180deg, #3A1D13, #26130D);
  display: grid; place-items: center;
  font-family: var(--font-display); color: var(--papyrus); font-size: clamp(1rem, 3vw, 1.5rem);
  transition: background-color .3s ease, box-shadow .3s ease, opacity .3s ease;
}
.reel-cell svg { width: 70%; height: 70%; }
.reel-cell.is-hat { color: var(--gold); }
.reel-cell.is-book svg { width: 82%; height: 82%; }
.reel-col.glow .reel-cell.is-hat { box-shadow: inset 0 0 0 2px var(--gold); }
.reel-col .expand {
  position: absolute; inset: 0; border-radius: 8px;
  background: linear-gradient(180deg, #F7D67D, #C8912E);
  color: #2A170D;
  display: grid; place-items: center;
  transform: scaleY(0); transform-origin: center;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
  box-shadow: 0 0 24px rgba(231, 180, 71, .55);
}
.reel-col .expand svg { width: 100%; height: auto; }
.reel-col.expanded .expand { transform: scaleY(1); }
.reel-status { margin: 14px 0 12px; min-height: 1.6em; color: var(--muted); font-size: .92rem; }

.wide-note {
  margin: 44px auto 0; max-width: 78ch; text-align: center;
  font-size: 1.1rem; color: #fff;
}
.cta-row { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 28px; }
.cta-hint { font-size: .85rem; color: var(--muted); }

.feat-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.feat-intro p { color: var(--muted); }
.feat-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.feat {
  padding: 26px; border-radius: 20px;
  background: linear-gradient(180deg, var(--tomb-2), var(--tomb));
  border: 1px solid var(--line-soft);
  border-top: 3px solid var(--gold);
}
.feat:nth-child(2) { border-top-color: var(--lapis-hi); transform: translateY(28px); }
.feat-ic { width: 40px; height: 40px; color: var(--gold); margin-bottom: 14px; }
.feat:nth-child(2) .feat-ic { color: var(--lapis-hi); }
.feat p { color: var(--muted); margin: 0; font-size: .97rem; }

.sec-rtp { background: linear-gradient(180deg, transparent, rgba(30, 77, 180, .08) 40%, transparent); }
.rtp-grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 48px; align-items: center; }
.gauge-card {
  padding: 30px 28px 26px; border-radius: 24px; text-align: center;
  background: radial-gradient(100% 80% at 50% 100%, rgba(231, 180, 71, .16), transparent 70%), var(--tomb-2);
  border: 1px solid var(--line);
}
.gauge { width: 100%; max-width: 260px; margin: 0 auto -54px; }
.gauge-fill { transition: stroke-dasharray 1.4s ease; }
.gauge-num { font-family: var(--font-display); font-size: 3rem; line-height: 1; color: var(--gold-hi); margin: 0 0 8px; }
.gauge-cap { color: var(--muted); margin: 0; font-size: .92rem; }
.rtp-text p:first-child { color: #fff; font-size: 1.06rem; }
.rtp-text p { color: var(--muted); }

.vol { margin-top: 56px; display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 48px; align-items: start; }
.vol-meter {
  padding: 26px 28px; border-radius: 24px;
  background: var(--tomb-2); border: 1px solid var(--line);
  position: sticky; top: calc(var(--header-h) + 50px);
}
.vol-cap { margin-bottom: 14px; color: var(--muted); font-weight: 600; }
.vol-bars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; align-items: end; height: 90px; }
.vol-bars i { display: block; border-radius: 6px 6px 2px 2px; background: var(--grad-gold); }
.vol-bars i:nth-child(1) { height: 28%; }
.vol-bars i:nth-child(2) { height: 46%; }
.vol-bars i:nth-child(3) { height: 64%; }
.vol-bars i:nth-child(4) { height: 82%; background: linear-gradient(180deg, #FF8A6A, var(--carnelian)); }
.vol-bars i:nth-child(5) { height: 100%; }
.vol-bars i.off { background: rgba(240, 230, 210, .12); }
.vol-scale { display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); margin-top: 8px; }
.vol-val { font-family: var(--font-display); font-size: 2rem; color: #FF9A7E; margin: 10px 0 0; }
.vol-text h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.55rem; }
.vol-text p { color: var(--muted); }
.vol-text p:first-of-type { color: var(--text); }

.tip {
  margin-top: 48px;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: center;
  padding: 24px 28px; border-radius: 20px;
  background: rgba(30, 77, 180, .16);
  border: 1px solid rgba(127, 162, 244, .4);
}
.tip-ic { width: 34px; height: 34px; color: var(--lapis-hi); }
.tip p { margin: 0; }

.split-win { align-items: center; }
.calc {
  padding: 30px; border-radius: 24px;
  background: var(--ink); color: var(--papyrus);
  box-shadow: 0 26px 60px rgba(42, 23, 13, .4);
  position: relative; overflow: hidden;
}
.calc::before {
  content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(231, 180, 71, .28), transparent 70%);
}
.calc p { color: #D9C49A; }
.calc-title { font-weight: 700; color: var(--papyrus) !important; margin-bottom: 4px; }
.calc-x { font-family: var(--font-display); font-size: clamp(3.2rem, 2rem + 4vw, 5rem); line-height: 1; color: var(--gold-hi) !important; margin-bottom: 20px; }
.calc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.calc-chips button {
  font: inherit; font-weight: 700; font-size: .92rem;
  padding: 8px 14px; min-height: 40px; border-radius: 999px; cursor: pointer;
  background: rgba(239, 224, 189, .08); color: var(--papyrus);
  border: 1px solid rgba(239, 224, 189, .25);
}
.calc-chips button.on, .calc-chips button:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.calc-field { display: grid; gap: 6px; margin-bottom: 18px; font-size: .9rem; color: #D9C49A; }
.calc-field input {
  font: inherit; font-size: 1.1rem; font-weight: 700;
  padding: 12px 14px; border-radius: 12px;
  border: 1px solid rgba(239, 224, 189, .3);
  background: rgba(0, 0, 0, .25); color: #fff;
  width: 100%;
}
.calc-out {
  display: flex; flex-direction: column; gap: 2px;
  padding: 16px 18px; border-radius: 14px;
  background: linear-gradient(180deg, rgba(231, 180, 71, .2), rgba(231, 180, 71, .08));
  border: 1px solid rgba(231, 180, 71, .45);
  margin-bottom: 14px;
}
.calc-out span { font-size: .88rem; color: #D9C49A; }
.calc-out output { font-family: var(--font-display); font-size: 2.2rem; color: #fff; line-height: 1.2; }

.sec-demo {
  background:
    radial-gradient(900px 500px at 50% 20%, rgba(200, 55, 42, .16), transparent 70%);
}
.demo-head { max-width: 820px; margin: 0 auto 32px; text-align: center; }
.demo-head p { color: var(--muted); }
.demo-window {
  max-width: 1040px; margin: 0 auto;
  border-radius: 20px; overflow: hidden;
  border: 2px solid var(--gold-lo);
  background: #0E0605;
  box-shadow: 0 34px 90px rgba(0, 0, 0, .6), 0 0 0 6px rgba(231, 180, 71, .08);
}
.demo-bar {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 12px 10px 16px;
  background: linear-gradient(180deg, #3A1D13, #2B160F);
  border-bottom: 1px solid var(--line);
}
.demo-dots { display: flex; gap: 6px; }
.demo-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--carnelian); }
.demo-dots i:nth-child(2) { background: var(--gold); }
.demo-dots i:nth-child(3) { background: var(--lapis-hi); }
.demo-name { flex: 1; min-width: 0; font-size: .88rem; font-weight: 600; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-tools { display: flex; gap: 6px; }
.tool {
  width: 38px; height: 38px; border-radius: 10px; cursor: pointer;
  display: grid; place-items: center;
  background: rgba(240, 230, 210, .06); color: var(--text);
  border: 1px solid var(--line-soft);
}
.tool:hover:not(:disabled) { background: rgba(231, 180, 71, .18); color: #fff; }
.tool:disabled { opacity: .35; cursor: default; }

.demo-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}
.demo-stage iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0; display: block;
}
.demo-poster { position: absolute; inset: 0; }
.demo-poster > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.demo-blur { object-fit: cover; filter: blur(22px) brightness(.5); transform: scale(1.15); }
.demo-art { object-fit: contain; }
.demo-poster::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(55% 60% at 50% 50%, rgba(22, 11, 8, .7), rgba(22, 11, 8, .35));
}
.demo-center {
  position: relative; z-index: 1; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  padding: 20px; text-align: center;
}
.demo-emblem { width: 84px; height: 84px; filter: drop-shadow(0 8px 20px rgba(0, 0, 0, .6)); }
.demo-hint { margin: 0; color: #E8DCC4; font-size: .9rem; }
.demo-source { text-align: center; font-size: .88rem; color: var(--muted); margin: 14px 0 0; }
.demo-window:fullscreen { border: 0; border-radius: 0; display: flex; flex-direction: column; }
.demo-window:fullscreen .demo-stage { flex: 1; aspect-ratio: auto; }

.demo-text { max-width: 820px; margin: 44px auto 0; }
.demo-text p { color: var(--muted); }
.demo-text p:first-child { color: var(--text); }
.h3-demo { text-align: center; font-family: var(--font-display); font-weight: 400; font-size: 1.55rem; margin: 48px 0 22px; }
.devices { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.device {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: start;
  padding: 24px; border-radius: 20px;
  background: rgba(43, 22, 15, .72); border: 1px solid var(--line-soft);
}
.device-ic { width: 44px; height: 44px; color: var(--gold); }
.device p { margin: 0; color: var(--muted); font-size: .97rem; }

.cta-banner {
  margin-top: 36px;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: center;
  padding: 20px 22px; border-radius: 22px;
  background: linear-gradient(90deg, rgba(30, 77, 180, .5), rgba(30, 77, 180, .18));
  border: 1px solid rgba(127, 162, 244, .45);
}
.cta-banner img { width: 72px; height: 72px; border-radius: 18px; }
.cta-banner-title { font-family: var(--font-display); font-size: 1.45rem; color: #fff; margin: 0; line-height: 1.2; }
.cta-banner-sub { color: #D5DEFA; margin: 4px 0 0; font-size: .92rem; }

.split-mobile { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; }
.phone {
  justify-self: center;
  width: min(290px, 78vw);
  aspect-ratio: 9 / 18.5;
  border-radius: 44px;
  padding: 12px;
  background: linear-gradient(160deg, #4A2A1A, #1A0D09);
  box-shadow: 0 40px 80px rgba(0, 0, 0, .6), inset 0 0 0 2px rgba(231, 180, 71, .45);
  transform: rotate(-4deg);
}
.phone-screen {
  position: relative; height: 100%; border-radius: 34px; overflow: hidden;
  background: linear-gradient(180deg, #6E2818, #1F100B 60%);
}
.phone-art { padding: 34px 10px 0; }
.phone-art img { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 0 0 1px var(--line), 0 10px 24px rgba(0, 0, 0, .5); }
.phone-reel {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px;
  margin: 12px 12px 0; padding: 6px; border-radius: 10px;
  background: rgba(0, 0, 0, .4); border: 1px solid var(--line);
}
.phone-reel i {
  font-style: normal; aspect-ratio: 1; border-radius: 5px;
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: .82rem; color: var(--papyrus);
  background: linear-gradient(180deg, #3A1D13, #26130D);
}
.phone-reel i.g { background: linear-gradient(180deg, #F7D67D, #C8912E); color: var(--ink); }
.phone-ui {
  position: absolute; left: 0; right: 0; bottom: 26px;
  display: flex; justify-content: center; align-items: center; gap: 12px;
}
.phone-chip { font-size: .72rem; font-weight: 700; padding: 6px 10px; border-radius: 999px; background: rgba(0, 0, 0, .45); color: var(--papyrus); border: 1px solid var(--line); }
.phone-spin { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-gold); color: var(--ink); box-shadow: 0 8px 20px rgba(231, 180, 71, .45); }
.checks { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.checks li {
  padding: 7px 14px 7px 32px; border-radius: 999px; position: relative;
  background: rgba(77, 179, 122, .12); border: 1px solid rgba(77, 179, 122, .4);
  font-weight: 600; font-size: .9rem;
}
.checks li::before { content: ""; position: absolute; left: 13px; top: 50%; width: 8px; height: 13px; margin-top: -8px; border: solid var(--jade); border-width: 0 2.4px 2.4px 0; transform: rotate(45deg); }

.pc { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pc-col { padding: 28px; border-radius: 22px; }
.pc-plus { background: #FBF4E2; border: 1px solid rgba(46, 125, 79, .35); border-top: 5px solid #2E7D4F; }
.pc-minus { background: #FBF4E2; border: 1px solid rgba(200, 55, 42, .3); border-top: 5px solid var(--carnelian); }
.pc h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; margin-bottom: 16px; }
.pc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pc li { position: relative; padding-left: 36px; color: #3B2616; line-height: 1.55; }
.pc li::before {
  position: absolute; left: 0; top: 1px;
  width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: .9rem; color: #fff;
}
.pc-plus li::before { content: "+"; background: #2E7D4F; }
.pc-minus li::before { content: "−"; background: var(--carnelian); }
.verdict {
  margin: 30px 0 0; padding: 24px 28px; border-radius: 20px;
  background: var(--ink); color: var(--papyrus) !important;
  font-size: 1.05rem;
}

.why { position: relative; padding: 110px 0; overflow: hidden; isolation: isolate; }
.why-bg { position: absolute; inset: 0; z-index: -1; }
.why-bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(28px) saturate(1.1); transform: scale(1.2); }
.why-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22, 11, 8, .82), rgba(22, 11, 8, .7) 50%, rgba(22, 11, 8, .9));
}
.why-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; }
.why-art {
  margin: 0; padding: 8px; border-radius: 22px;
  background: linear-gradient(180deg, #FBE6A6, #B8812A 60%, #6E4A12);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .55);
}
.why-art img { width: 100%; height: auto; border-radius: 15px; }
.why-card {
  padding: 36px;
  border-radius: 24px;
  background: rgba(31, 16, 11, .72);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid var(--line);
}
.why-card p { color: var(--text); }
.why-card p + p { color: var(--muted); }

.faq-wrap { max-width: 900px; }
.faq-wrap h2 { text-align: center; }
.faq { display: grid; gap: 12px; }
.faq details {
  border-radius: 18px;
  background: rgba(43, 22, 15, .72);
  border: 1px solid var(--line-soft);
  transition: border-color .2s ease;
}
.faq details[open] { border-color: var(--line); background: rgba(58, 29, 19, .8); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 20px 64px 20px 24px; position: relative;
  font-weight: 700; font-size: 1.04rem; color: #fff;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%;
  width: 26px; height: 26px; margin-top: -13px; border-radius: 50%;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 11px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 11px no-repeat,
    var(--gold);
  transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; margin: 0; color: var(--muted); }

.site-footer {
  margin-top: 20px;
  border-top: 3px solid var(--gold-lo);
  background: #110806;
  padding: 50px 0 calc(80px + env(safe-area-inset-bottom, 0px));
}
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.footer-brand img { height: 56px; width: auto; margin-bottom: 14px; }
.footer-brand p, .footer-rg p { color: var(--muted); font-size: .9rem; }
.footer-rg { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.age {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800; color: #fff; border: 2px solid var(--carnelian);
}
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line-soft);
  font-size: .85rem; color: var(--muted);
}
.footer-bottom p { margin: 0; }

.flyin {
  position: fixed; z-index: 95;
  left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 8px 56px calc(8px + env(safe-area-inset-bottom, 0px));
  background: rgba(22, 11, 8, .94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--gold-lo);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, .45);
  opacity: 0; visibility: hidden;
  transform: translateY(100%);
  transition: transform .45s cubic-bezier(.2, 1, .3, 1), opacity .3s ease, visibility 0s linear .45s;
}
.flyin.show {
  opacity: 1; visibility: visible; transform: none;
  transition: transform .45s cubic-bezier(.2, 1, .3, 1), opacity .3s ease;
}
.flyin-cta { --h: 40px; min-width: 280px; font-size: .98rem; }
.flyin.show .flyin-cta { animation: flyin-pulse 2.4s ease-in-out 1s infinite; }
@keyframes flyin-pulse {
  0%, 100% { box-shadow: 0 6px 18px rgba(231, 180, 71, .25), inset 0 0 0 2px rgba(255, 244, 205, .55); }
  50% { box-shadow: 0 6px 26px rgba(231, 180, 71, .55), 0 0 0 5px rgba(231, 180, 71, .14), inset 0 0 0 2px rgba(255, 244, 205, .55); }
}
.flyin-close {
  position: absolute; right: 14px; top: 50%; margin-top: -15px;
  width: 30px; height: 30px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center;
  background: rgba(240, 230, 210, .06); color: var(--text);
  border: 1px solid var(--line);
}
.flyin-close:hover { background: var(--gold); color: var(--ink); }

@media (max-width: 1120px) {
  .nav-list a { padding: 8px 11px; font-size: .9rem; }
  .brand img { height: 46px; }
  .tomb-card { grid-template-columns: auto minmax(0, 1fr); }
  .tomb-roles { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  :root { --header-h: 66px; }
  .burger { display: block; }
  .brand img { height: 44px; }
  .nav {
    position: fixed; left: 0; right: 0; bottom: 0;
    top: var(--hdr, calc(var(--header-h) + 29px));
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 18px;
    padding: 24px 22px calc(24px + env(safe-area-inset-bottom, 0px));
    background:
      radial-gradient(600px 400px at 100% 0%, rgba(200, 55, 42, .22), transparent 70%),
      #160B08;
    border-top: 1px solid var(--line);
    overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .25s ease; }
  .nav-list {
    margin: 0; flex-direction: column; gap: 0;
    border: 0; border-radius: 0; background: none; padding: 0;
  }
  .nav-list a {
    padding: 16px 4px; border-radius: 0; font-size: 1.35rem;
    font-family: var(--font-display); font-weight: 400;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav-list a.active { background: none; color: var(--gold-hi); }
  .nav-cta { --h: 56px; font-size: 1.05rem; }
  .nav-note { display: block; text-align: center; color: var(--muted); font-size: .85rem; margin: 0; }

  .hero { padding-top: 36px; }
  .hero-grid { grid-template-columns: 1fr; grid-template-areas: "head" "copy" "visual"; gap: 24px; }
  .hero-head { margin-bottom: 0; }
  .hero-visual { max-width: 520px; width: 100%; justify-self: center; }

  .contents-list { grid-template-columns: repeat(2, 1fr); }
  .split, .casino-intro, .page-head, .page-cols, .feat-wrap, .rtp-grid, .vol, .spins-grid, .split-mobile { grid-template-columns: 1fr; gap: 32px; }
  .casinos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reel-demo, .vol-meter { position: static; }
  .rtp-grid .gauge-card, .vol-meter { max-width: 420px; }
  .feat:nth-child(2) { transform: none; }
  .split-mobile .phone { order: 2; }
  .why-inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap, .header-bar { padding-left: 16px; padding-right: 16px; }
  .topline p { font-size: .72rem; }
  .brand img { height: 40px; }
  .sec { padding: 60px 0; }
    .hero-actions .btn { flex: 1 1 100%; }
  .stats li { padding: 9px 4px; }
  .stats span { font-size: .68rem; }
  .contents-list { grid-template-columns: 1fr; }
  .ledger { padding: 6px 18px 14px; }
  .ledger-head, .ledger dl > div { grid-template-columns: 1fr 1fr; gap: 12px; }

    .casinos { grid-template-columns: 1fr; gap: 16px; }
  .casino { border-radius: 110px 110px 20px 20px; padding: 32px 20px 20px; }
  .casino-rank { top: 96px; }
  .casino-bonus { min-height: 0; }

  .lines-box, .tomb-card, .reel-demo, .calc, .ledger { border-radius: 18px; }
  .tomb-card { grid-template-columns: 1fr; padding: 24px 20px; }
  .tomb-icon { width: 76px; height: 76px; }
  .tomb-icon svg { width: 60px; height: 60px; }
  .ladder { grid-template-columns: 1fr; padding: 18px; }
  .ladder-arrow { display: none; }
  .sym-row { gap: 6px; }
  .sym { min-height: 96px; padding: 10px 2px; }
  .sym-top { min-height: 110px; }
  .sym-glyph { font-size: 1.6rem; }
  .sym-name { font-size: .72rem; }
  .special { grid-template-columns: 1fr; padding: 22px; }
  .steps li { padding: 20px 18px 20px 72px; }
  .steps li::before { left: 16px; width: 40px; height: 40px; }
  .steps li:not(:last-child)::after { left: 35px; }
  .feat-cards, .devices, .pc { grid-template-columns: 1fr; }
  .tip { grid-template-columns: 1fr; text-align: left; }
  .tip .btn { width: 100%; }
  .device { grid-template-columns: 1fr; }
  .cta-banner { grid-template-columns: auto minmax(0, 1fr); }
  .cta-banner .btn { grid-column: 1 / -1; width: 100%; }
  .cta-banner img { width: 60px; height: 60px; }
  .demo-stage { aspect-ratio: 3 / 4; max-height: calc(100svh - 160px); }
  .demo-name { font-size: .78rem; }
  .demo-poster > .demo-art { top: 8%; bottom: auto; height: 46%; padding: 0 12px; }
  .demo-center { justify-content: flex-end; padding-bottom: 34px; }
  .demo-emblem { display: none; }
  .demo-poster::after { background: linear-gradient(180deg, rgba(22, 11, 8, .15) 0%, rgba(22, 11, 8, .15) 55%, rgba(22, 11, 8, .75) 100%); }
  .why { padding: 60px 0; }
  .why-inner { gap: 24px; }
  .why-art { padding: 6px; border-radius: 18px; }
  .why-art img { border-radius: 13px; }
  .why-card { padding: 24px 20px; }
  .faq summary { padding: 18px 58px 18px 18px; font-size: 1rem; }
  .faq details p { padding: 0 18px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 640px) {
  .flyin { padding: 10px 54px calc(10px + env(safe-area-inset-bottom, 0px)) 12px; }
  .flyin-cta { --h: 46px; width: 100%; min-width: 0; }
  .flyin-close { right: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
