/*
 * FABLE V2.1.1 — web yüzeyi jetonları.
 *
 * Değerler uygulamanın KABUL EDİLMİŞ Home Round 6 paletinden gelir
 * (src/theme/colors.ts → homePalette). Web ile uygulamanın aynı ürün gibi
 * görünmesinin tek yolu aynı sayıları paylaşmalarıdır; "yaklaşık aynı kahve"
 * iki farklı ürün üretir.
 *
 * Jeton ADLARI korunur: 1800+ satırlık mevcut stil bu adlara yaslanıyor ve
 * yeniden adlandırmak bu fazın işi değil. Değişen yalnız değerler; yeni
 * roller (--brass, --ember-*) sona eklendi.
 *
 * Rol sözleşmesi uygulamayla aynıdır:
 *   --orange (köz)  = birincil eylem ve seçili durum
 *   --gold/--brass  = ÇERÇEVE ve yapı — asla eylem, asla başarı
 *   --violet        = YALNIZ şans/olasılık
 *   --blue          = YALNIZ party/sosyal
 *   --green         = YALNIZ gerçek tamamlanma
 */
:root {
  color-scheme: dark;
  /* world.nearBlack — Round 5'in kahverengi battaniyesi değil, temiz yakın-siyah. */
  --canvas: #07090d;
  /* world.neutral / neutralRaised — kahverengi OLMAMASI gereken yüzeyler. */
  --surface: #12151a;
  --raised: #1a1e25;
  /* world.elevated — sıcak kroma yalnız yükseltilmiş ahşap yüzeylerde. */
  --raised-2: #211812;
  --line: #6a4e2e;
  --line-soft: rgba(206, 190, 166, 0.14);
  /* text.primary / text.secondary */
  --text: #fff5e2;
  --dim: #d3c0a6;
  /* ember.base / ember.high */
  --orange: #ff7416;
  --orange-soft: #ffae4a;
  /* lucky.base — menekşe yalnız olasılık ailesinde. */
  --violet: #ae72f5;
  --violet-soft: #ddc7ff;
  /* party.base / party.high */
  --blue: #3567ff;
  --green: #4ee7a8;
  --coral: #ff5d73;
  /* brass.base — yapı rengi. */
  --gold: #e0ac50;
  --shadow: 0 34px 100px rgba(0, 0, 0, 0.52);

  /* Faz 7'de eklenen roller. */
  --brass: #e0ac50;
  --brass-high: #ffd37e;
  --brass-wash: rgba(214, 163, 74, 0.14);
  --ember-deep: #a9330e;
  --ember-wash: rgba(255, 116, 22, 0.14);
  --warm-chrome: #16100a;
  --quiet: #a2907a;
  --reward: #ffd060;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  font: 16px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  /*
   * Oda ışığı. Eskiden sol üstte bir menekşe havuzu vardı; menekşe artık
   * YALNIZ şans ailesinin rengi olduğu için zeminden kalktı — aksi halde
   * sayfanın tamamı "şanslı" gibi okunuyordu. Kalan iki havuz pirinç (yapı)
   * ve köz (eylem): tam olarak uygulamanın Home odasındaki iki ışık.
   */
  background:
    radial-gradient(1000px 620px at 6% -10%, rgba(224, 172, 80, 0.09), transparent 66%),
    radial-gradient(880px 560px at 104% 12%, rgba(255, 116, 22, 0.13), transparent 70%),
    linear-gradient(180deg, var(--warm-chrome) 0%, var(--canvas) 44%, #05070a 100%);
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(224, 172, 80, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(224, 172, 80, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 22%, #000, transparent 78%);
  pointer-events: none;
}

a { color: inherit; }
button, select { font: inherit; }
section[id] { scroll-margin-top: 88px; }
.wrap { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip-link {
  position: fixed;
  z-index: 200;
  top: 10px;
  inset-inline-start: 10px;
  padding: 10px 15px;
  border-radius: 11px;
  color: #171207;
  background: var(--orange-soft);
  font-weight: 900;
  text-decoration: none;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.topbar {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(10, 9, 9, 0.84);
  backdrop-filter: blur(20px);
}
.topbar-in {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 950;
  letter-spacing: 1.5px;
  text-decoration: none;
}
.brand img { width: 38px; height: 38px; border-radius: 11px; }
.brand b { color: var(--violet); }
.brand i { color: var(--orange); font-style: normal; }
.nav { display: flex; align-items: center; gap: clamp(12px, 1.8vw, 22px); }
.nav > a {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--dim);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.nav > a:hover, .nav > a:focus-visible { color: var(--text); }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
  cursor: pointer;
  list-style: none;
}
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu-panel {
  position: absolute;
  top: 52px;
  inset-inline-end: 0;
  display: grid;
  width: min(290px, calc(100vw - 36px));
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(24, 18, 15, 0.98);
  box-shadow: var(--shadow);
}
.mobile-menu-panel a {
  padding: 11px 13px;
  border-radius: 10px;
  color: var(--dim);
  font-weight: 800;
  text-decoration: none;
}
.mobile-menu-panel a:hover, .mobile-menu-panel a:focus-visible { color: var(--text); background: var(--raised); }

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: 15px;
  color: #181207;
  background: linear-gradient(135deg, #ff9a3c, #f27300);
  box-shadow: 0 16px 38px rgba(255, 138, 30, 0.24);
  font-weight: 900;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 20px 44px rgba(255, 138, 30, 0.32); }
.button.compact { min-height: 44px; padding: 9px 15px; font-size: 12px; }
.button.secondary {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: none;
}
.button.secondary:hover { border-color: #566486; box-shadow: none; }
.button:focus-visible, .brand:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible, select:focus-visible {
  outline: 3px solid var(--orange-soft);
  outline-offset: 3px;
}

.hero {
  display: grid;
  min-height: 760px;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: 58px;
  padding-block: 82px 42px;
}
.hero-copy { align-self: center; }
.kicker, .eyebrow {
  display: inline-block;
  color: var(--violet-soft);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 780px;
  margin: 16px 0 22px;
  font-size: clamp(48px, 7.1vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}
.gradient {
  color: transparent;
  background: linear-gradient(104deg, #fff 6%, #d4c9ff 46%, #ffb36e 92%);
  background-clip: text;
}
.lead { max-width: 760px; margin: 0; color: var(--dim); font-size: clamp(17px, 2vw, 21px); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.trust-line { margin: 18px 0 0; color: #c7cfdf; font-size: 13px; font-weight: 800; }

.dice-table {
  position: relative;
  display: flex;
  min-height: 154px;
  align-items: center;
  justify-content: center;
  gap: 34px;
  margin: 15px 8px 17px;
  overflow: hidden;
  border: 1px solid rgba(129, 153, 206, 0.19);
  border-radius: 27px;
  background:
    radial-gradient(230px 74px at 50% 82%, rgba(76, 141, 255, 0.21), transparent 72%),
    linear-gradient(180deg, rgba(23, 29, 47, 0.84), rgba(8, 11, 21, 0.91));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045), inset 0 -28px 65px rgba(0, 0, 0, 0.2);
}
.dice-table::before {
  position: absolute;
  z-index: 0;
  inset: 10px 12px auto;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(142, 180, 255, 0.2), transparent);
}
.dice-table::after {
  position: absolute;
  z-index: 0;
  right: 13%;
  bottom: 18px;
  left: 13%;
  height: 24px;
  border-radius: 50%;
  content: "";
  background: rgba(56, 116, 232, 0.12);
  filter: blur(15px);
  pointer-events: none;
}
.dice-webgl {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}
.dice-table.is-webgl .dice-webgl { opacity: 1; }
.dice-table.is-webgl .real-die { visibility: hidden; opacity: 0; }
.dice-table.webgl-failed .dice-webgl { display: none; }
.real-die {
  --die-size: 78px;
  --half-die: 39px;
  --die-x: 0deg;
  --die-y: 0deg;
  --die-z: 0deg;
  --start-x: var(--die-x);
  --start-y: var(--die-y);
  --start-z: var(--die-z);
  --camera-y: 25deg;
  --camera-z: -3deg;
  position: relative;
  z-index: 1;
  width: var(--die-size);
  height: var(--die-size);
  flex: 0 0 var(--die-size);
  transform-origin: 50% 100%;
  transition: opacity 180ms ease;
  will-change: transform;
}
.real-die-two { --camera-y: -25deg; --camera-z: 3deg; }
.real-die[data-value="1"] { --die-x: 0deg; --die-y: 0deg; --die-z: 0deg; }
.real-die[data-value="2"] { --die-x: 90deg; --die-y: 0deg; --die-z: 0deg; }
.real-die[data-value="3"] { --die-x: 0deg; --die-y: 0deg; --die-z: -90deg; }
.real-die[data-value="4"] { --die-x: 0deg; --die-y: 0deg; --die-z: 90deg; }
.real-die[data-value="5"] { --die-x: -90deg; --die-y: 0deg; --die-z: 0deg; }
.real-die[data-value="6"] { --die-x: 180deg; --die-y: 0deg; --die-z: 0deg; }
.die-camera,
.die-stage,
.die-cube {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}
.die-camera { perspective: 620px; perspective-origin: 50% 42%; }
.die-stage { transform: rotateX(-22deg) rotateY(var(--camera-y)) rotateZ(var(--camera-z)); }
.die-cube {
  position: relative;
  transform: rotateX(var(--die-x)) rotateY(var(--die-y)) rotateZ(var(--die-z));
  will-change: transform;
}
.die-face {
  --pip: #211912;
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid #c9a87d;
  border-radius: 12px;
  background: radial-gradient(circle at 29% 20%, #f7e8c9 0, #ead4aa 38%, #d8bd8e 72%, #b99668 100%);
  box-shadow:
    inset 0 0 0 2px rgba(255, 242, 215, 0.34),
    inset 7px 8px 15px rgba(255, 238, 204, 0.28),
    inset -7px -9px 15px rgba(89, 53, 27, 0.2),
    0 0 8px rgba(221, 145, 67, 0.08);
  backface-visibility: hidden;
}
.die-face::before,
.die-face::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}
.die-face::before {
  background-repeat: no-repeat;
  filter: drop-shadow(0 -1px 1px rgba(0, 0, 0, 0.38)) drop-shadow(0 1px 0 rgba(255, 255, 255, 0.5));
}
.die-face::after {
  background: linear-gradient(135deg, rgba(255, 245, 222, 0.34), transparent 36%, rgba(184, 112, 48, 0.06) 72%, rgba(62, 34, 18, 0.1));
  mix-blend-mode: soft-light;
}
.die-face-one { transform: rotateX(90deg) translateZ(var(--half-die)); }
.die-face-two { transform: translateZ(var(--half-die)); }
.die-face-three { transform: rotateY(90deg) translateZ(var(--half-die)); }
.die-face-four { transform: rotateY(-90deg) translateZ(var(--half-die)); }
.die-face-five { transform: rotateY(180deg) translateZ(var(--half-die)); }
.die-face-six { transform: rotateX(-90deg) translateZ(var(--half-die)); }
.real-die-two .die-face {
  --pip: #b87a35;
  border-color: #4d3627;
  background: radial-gradient(circle at 29% 20%, #3b2b22 0, #211814 42%, #15110f 74%, #090807 100%);
  box-shadow:
    inset 0 0 0 2px rgba(255, 218, 170, 0.06),
    inset 7px 8px 15px rgba(255, 196, 126, 0.05),
    inset -7px -9px 15px rgba(0, 0, 0, 0.34),
    0 0 8px rgba(221, 145, 67, 0.09);
}
.die-face-one::before {
  background-image: radial-gradient(circle at 50% 50%, var(--pip) 0 6px, rgba(24, 8, 10, 0.85) 6.2px, transparent 7px);
}
.die-face-two::before {
  background-image:
    radial-gradient(circle at 28% 28%, var(--pip) 0 5.7px, rgba(0, 0, 0, 0.72) 5.9px, transparent 6.8px),
    radial-gradient(circle at 72% 72%, var(--pip) 0 5.7px, rgba(0, 0, 0, 0.72) 5.9px, transparent 6.8px);
}
.die-face-three::before {
  background-image:
    radial-gradient(circle at 27% 27%, var(--pip) 0 5.7px, rgba(0, 0, 0, 0.72) 5.9px, transparent 6.8px),
    radial-gradient(circle at 50% 50%, var(--pip) 0 5.7px, rgba(0, 0, 0, 0.72) 5.9px, transparent 6.8px),
    radial-gradient(circle at 73% 73%, var(--pip) 0 5.7px, rgba(0, 0, 0, 0.72) 5.9px, transparent 6.8px);
}
.die-face-four::before {
  background-image:
    radial-gradient(circle at 28% 28%, var(--pip) 0 5.7px, rgba(0, 0, 0, 0.72) 5.9px, transparent 6.8px),
    radial-gradient(circle at 72% 28%, var(--pip) 0 5.7px, rgba(0, 0, 0, 0.72) 5.9px, transparent 6.8px),
    radial-gradient(circle at 28% 72%, var(--pip) 0 5.7px, rgba(0, 0, 0, 0.72) 5.9px, transparent 6.8px),
    radial-gradient(circle at 72% 72%, var(--pip) 0 5.7px, rgba(0, 0, 0, 0.72) 5.9px, transparent 6.8px);
}
.die-face-five::before {
  background-image:
    radial-gradient(circle at 27% 27%, var(--pip) 0 5.7px, rgba(0, 0, 0, 0.72) 5.9px, transparent 6.8px),
    radial-gradient(circle at 73% 27%, var(--pip) 0 5.7px, rgba(0, 0, 0, 0.72) 5.9px, transparent 6.8px),
    radial-gradient(circle at 50% 50%, var(--pip) 0 5.7px, rgba(0, 0, 0, 0.72) 5.9px, transparent 6.8px),
    radial-gradient(circle at 27% 73%, var(--pip) 0 5.7px, rgba(0, 0, 0, 0.72) 5.9px, transparent 6.8px),
    radial-gradient(circle at 73% 73%, var(--pip) 0 5.7px, rgba(0, 0, 0, 0.72) 5.9px, transparent 6.8px);
}
.die-face-six::before {
  background-image:
    radial-gradient(circle at 28% 25%, var(--pip) 0 5.5px, rgba(0, 0, 0, 0.72) 5.7px, transparent 6.6px),
    radial-gradient(circle at 72% 25%, var(--pip) 0 5.5px, rgba(0, 0, 0, 0.72) 5.7px, transparent 6.6px),
    radial-gradient(circle at 28% 50%, var(--pip) 0 5.5px, rgba(0, 0, 0, 0.72) 5.7px, transparent 6.6px),
    radial-gradient(circle at 72% 50%, var(--pip) 0 5.5px, rgba(0, 0, 0, 0.72) 5.7px, transparent 6.6px),
    radial-gradient(circle at 28% 75%, var(--pip) 0 5.5px, rgba(0, 0, 0, 0.72) 5.7px, transparent 6.6px),
    radial-gradient(circle at 72% 75%, var(--pip) 0 5.5px, rgba(0, 0, 0, 0.72) 5.7px, transparent 6.6px);
}
.die-ground-shadow {
  position: absolute;
  right: -9px;
  bottom: -17px;
  left: -9px;
  height: 23px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.62), rgba(16, 36, 78, 0.2) 50%, transparent 72%);
  filter: blur(5px);
  opacity: 0.78;
  transform: scaleX(0.88);
  will-change: transform, opacity;
}
.real-die.is-rolling { animation: die-flight-one 900ms cubic-bezier(0.2, 0.72, 0.18, 1) both; }
.real-die-two.is-rolling { animation-name: die-flight-two; }
.real-die.is-rolling .die-cube { animation: die-tumble-one 900ms cubic-bezier(0.18, 0.74, 0.2, 1) both; }
.real-die-two.is-rolling .die-cube { animation-name: die-tumble-two; }
.real-die.is-rolling .die-ground-shadow { animation: die-shadow 900ms ease-out both; }
.demo-roll { position: relative; width: 100%; min-height: 48px; margin-top: 12px; border: 0; border-radius: 14px; color: #181207; background: linear-gradient(135deg, #ff9a3c, #f27300); box-shadow: 0 14px 30px rgba(255, 138, 30, 0.25); font-weight: 950; cursor: pointer; }
.demo-roll:disabled { opacity: 0.62; cursor: wait; }

.facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.fact { padding: 21px 22px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(145deg, rgba(28, 34, 56, 0.88), rgba(15, 19, 32, 0.86)); box-shadow: 0 20px 55px rgba(0, 0, 0, 0.2); }
.fact b { display: block; color: var(--orange); font-size: 31px; line-height: 1; }
.fact span { display: block; margin-top: 8px; color: var(--dim); font-size: 13px; font-weight: 800; }

.section { padding-block: 88px; }
.section-head { max-width: 820px; margin-bottom: 34px; }
.section-head h2, .party-hero h2, .release-card h2 {
  margin: 10px 0 14px;
  font-size: clamp(34px, 5.3vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.section-head p, .subhead p { margin: 0; color: var(--dim); font-size: 17px; }
.compact-head { max-width: 900px; }
.subhead { max-width: 760px; margin: 48px 0 24px; }
.subhead h3 { margin: 0 0 8px; font-size: clamp(26px, 3.7vw, 38px); line-height: 1.1; }
.muted { color: var(--dim); }

.path-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.path-card, .mode-card, .detail-card, .feature-card, .daily-card, .trust-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(150deg, rgba(47, 34, 27, 0.94), rgba(15, 13, 13, 0.96));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}
.path-card { display: flex; min-height: 310px; flex-direction: column; padding: 30px; border-radius: 26px; }
.path-card h3 { position: relative; margin: 28px 0 9px; font-size: 25px; line-height: 1.15; }
.path-card p { position: relative; margin: 0 0 24px; color: var(--dim); }
.path-card a { position: relative; z-index: 1; display: inline-flex; min-height: 44px; align-items: center; align-self: flex-start; margin-top: auto; padding-block: 8px; color: var(--orange-soft); font-size: 13px; font-weight: 900; text-decoration: none; }

.how-section { background: linear-gradient(180deg, rgba(255, 255, 255, 0.012), transparent); }
.step-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.step { min-height: 250px; padding: 24px; border-top: 1px solid #53617e; border-bottom: 1px solid var(--line-soft); background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent); }
.step > span { color: var(--orange); font-size: 13px; font-weight: 950; letter-spacing: 1px; }
.step h3 { margin: 36px 0 9px; font-size: 21px; }
.step p { margin: 0; color: var(--dim); font-size: 14px; }

.mode-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.mode-card { grid-column: span 2; min-height: 270px; padding: 24px; border-radius: 22px; transition: transform 170ms ease, border-color 170ms ease; }
.mode-card:nth-child(4) { grid-column: 2 / span 2; }
.mode-card:hover { transform: translateY(-4px); border-color: #596889; }
.mode-level { display: inline-flex; padding: 5px 9px; border: 1px solid rgba(155, 124, 255, 0.38); border-radius: 999px; color: var(--violet-soft); background: rgba(155, 124, 255, 0.08); font-size: 12px; font-weight: 950; letter-spacing: 0.8px; }
.mode-icons { display: block; margin-top: 30px; font-size: 30px; letter-spacing: 4px; }
.mode-card h3 { margin: 16px 0 8px; font-size: 21px; line-height: 1.18; }
.mode-card p { margin: 0; color: var(--dim); font-size: 14px; }

.party-section { background: radial-gradient(900px 500px at 10% 30%, rgba(139, 92, 246, 0.11), transparent 70%); }
.party-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr); gap: 48px; align-items: center; padding: clamp(28px, 5vw, 58px); border: 1px solid #473e72; border-radius: 32px; background: linear-gradient(145deg, rgba(29, 25, 58, 0.96), rgba(13, 16, 29, 0.95)); box-shadow: var(--shadow); }
.party-hero > * { min-width: 0; }
.party-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; }
.party-pills > span { padding: 7px 10px; border: 1px solid rgba(155, 124, 255, 0.35); border-radius: 999px; color: #ddd5ff; background: rgba(155, 124, 255, 0.08); font-size: 12px; font-weight: 900; }
.party-preview { min-width: 0; padding: 22px; border: 1px solid #4a5575; border-radius: 24px; background: linear-gradient(160deg, #1b2135, #0f1321); box-shadow: 0 24px 65px rgba(0, 0, 0, 0.36); }
.party-preview-top { display: flex; align-items: center; justify-content: space-between; color: var(--violet-soft); font-size: 12px; font-weight: 950; letter-spacing: 1px; }
.party-preview-top b { direction: ltr; unicode-bidi: isolate; color: var(--orange-soft); }
.party-die-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin: 18px 0; }
.party-die-row span { display: grid; min-width: 0; min-height: 75px; place-items: center; padding: 8px; border: 1px solid var(--line); border-radius: 15px; color: var(--dim); background: var(--surface); text-align: center; font-size: 12px; font-weight: 950; hyphens: auto; overflow-wrap: anywhere; }
.party-preview > strong { display: block; font-size: 20px; line-height: 1.3; }
.party-answer-row { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 18px; }
.party-answer-row span { min-width: 0; max-width: 100%; padding: 5px 7px; border-radius: 8px; color: var(--green); background: rgba(43, 217, 160, 0.08); font-size: 12px; font-weight: 900; overflow-wrap: anywhere; }
.party-steps .step { min-height: 235px; }
.party-detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.detail-card { padding: 27px; border-radius: 24px; }
.card-icon { display: block; font-size: 31px; }
.detail-card h3 { margin: 20px 0 8px; font-size: 21px; line-height: 1.2; }
.detail-card p { margin: 0; color: var(--dim); font-size: 14px; }
.text-link { display: inline-flex; min-height: 44px; align-items: center; margin-top: 22px; color: var(--orange-soft); font-weight: 900; text-decoration: none; }

.feature-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.feature-card { grid-column: span 2; min-height: 250px; padding: 25px; border-radius: 23px; }
.feature-card:nth-child(7) { grid-column: 3 / span 2; }
.feature-card > span, .daily-card > span, .trust-card > span { display: block; font-size: 30px; }
.feature-card h3, .daily-card h3, .trust-card h3 { margin: 22px 0 8px; font-size: 20px; line-height: 1.2; }
.feature-card p, .daily-card p, .trust-card p { margin: 0; color: var(--dim); font-size: 14px; }

.daily-section { background: radial-gradient(750px 420px at 92% 36%, rgba(43, 217, 160, 0.08), transparent 70%); }
.daily-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.daily-card { min-height: 260px; padding: 28px; border-radius: 25px; }
.daily-card.lucky { border-color: rgba(227, 196, 119, 0.45); background: radial-gradient(360px 200px at 90% 0, rgba(227, 196, 119, 0.14), transparent 70%), linear-gradient(150deg, rgba(42, 33, 27, 0.96), rgba(15, 13, 13, 0.94)); }

.campaign-panel { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 46px; align-items: center; margin-bottom: 18px; padding: clamp(28px, 5vw, 52px); border: 1px solid var(--line); border-radius: 30px; background: linear-gradient(150deg, rgba(47, 34, 27, 0.96), rgba(13, 12, 12, 0.94)); box-shadow: var(--shadow); }
.campaign-count { display: block; color: var(--orange); font-size: 64px; font-weight: 950; line-height: 1; }
.campaign-panel h3 { margin: 9px 0; font-size: clamp(28px, 4vw, 44px); line-height: 1.08; }
.campaign-panel p { margin: 0; color: var(--dim); }
.campaign-panel p + p { margin-top: 14px; font-size: 13px; }
.world-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; }
.world-grid span { display: grid; aspect-ratio: 1; place-items: center; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); font-size: 29px; }
.progress-grid .feature-card:nth-child(5) { grid-column: 3 / span 2; }

.trust-section { background: linear-gradient(180deg, rgba(76, 141, 255, 0.045), transparent); }
.trust-grid { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 14px; }
.trust-card { grid-column: span 2; min-height: 260px; padding: 24px; border-radius: 22px; }
.trust-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }

.faq-layout { display: grid; grid-template-columns: minmax(270px, 0.78fr) minmax(0, 1.22fr); gap: 54px; align-items: start; }
.sticky-head { position: sticky; top: 110px; margin-bottom: 0; }
.faq-list { display: grid; gap: 11px; }
.faq-item { border: 1px solid var(--line); border-radius: 18px; background: rgba(33, 29, 26, 0.88); }
.faq-item summary { padding-block: 19px; padding-inline: 21px 52px; cursor: pointer; font-weight: 900; list-style: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { position: absolute; top: 16px; inset-inline-end: 19px; content: "+"; color: var(--orange); font-size: 24px; line-height: 1; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 0; padding: 0 21px 20px; color: var(--dim); }

.download { text-align: start; }
.release-card { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(250px, 0.75fr) auto; gap: 32px; align-items: center; padding: clamp(29px, 5vw, 54px); border: 1px solid rgba(255, 138, 30, 0.36); border-radius: 30px; background: radial-gradient(520px 300px at 100% 0, rgba(255, 138, 30, 0.12), transparent 72%), linear-gradient(150deg, rgba(43, 31, 25, 0.96), rgba(15, 13, 13, 0.95)); box-shadow: var(--shadow); }
.release-card h2 { max-width: 700px; }
.release-status { display: grid; gap: 9px; }
.release-status > div { display: grid; gap: 3px; padding: 12px 14px; border: 1px solid var(--line-soft); border-radius: 14px; background: rgba(10, 13, 23, 0.48); }
.release-status strong { color: var(--text); font-size: 13px; }
.release-status span { color: var(--dim); font-size: 12px; line-height: 1.45; }
.release-actions { display: grid; gap: 10px; min-width: 220px; }

.legal { width: min(880px, calc(100% - 36px)); margin: 40px auto 80px; padding: clamp(24px, 5vw, 50px); border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(155deg, rgba(42, 31, 26, 0.96), rgba(17, 15, 14, 0.96)); box-shadow: var(--shadow); }
.legal h1 { margin: 0 0 8px; font-size: clamp(36px, 7vw, 58px); line-height: 1.04; }
.legal h2 { margin: 34px 0 8px; font-size: 22px; }
.legal p { color: var(--dim); }
.legal strong { color: var(--text); }
.date { color: var(--orange) !important; font-weight: 900; }
.notice { padding: 14px 16px; border-inline-start: 3px solid var(--orange); border-radius: 12px; background: rgba(255, 138, 30, 0.08); }
.support-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.support-card { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--raised); }
.support-card h2 { margin: 0 0 8px; }
.support-card p { margin: 0; color: var(--dim); }
.support-card .button { margin-top: 18px; }
.danger { border-color: rgba(255, 101, 121, 0.5); }
.danger .button { color: #190a0d; background: var(--coral); }

.deep-page { display: grid; min-height: 100vh; place-items: center; padding: 72px 20px 28px; }
.deep-card { width: min(500px, 100%); padding: 40px 30px; text-align: center; border: 1px solid var(--line); border-radius: 30px; background: radial-gradient(420px 230px at 50% 0, rgba(255, 133, 27, 0.09), transparent 72%), linear-gradient(155deg, rgba(45, 33, 27, 0.98), rgba(16, 14, 13, 0.98)); box-shadow: 0 34px 100px rgba(0, 0, 0, 0.5); }
.deep-card > img { width: 80px; height: 80px; border: 1px solid rgba(214, 164, 95, 0.3); border-radius: 23px; box-shadow: 0 0 45px rgba(255, 133, 27, 0.13); }
.deep-card h1 { margin: 22px 0 10px; font-size: 32px; line-height: 1.08; }
.deep-card p { color: var(--dim); }
.deep-card .button { display: flex; margin-top: 24px; }
.deep-link { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; margin-top: 10px; padding: 8px 10px; color: var(--orange-soft); font-weight: 800; }
.deep-fallbacks { display: flex; align-items: center; justify-content: center; gap: 4px 10px; margin-top: 8px; flex-wrap: wrap; }
.deep-fallbacks .deep-link { margin-top: 0; }
.code { margin-top: 17px; color: #edc88d; font: 800 17px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; overflow-wrap: anywhere; direction: ltr; unicode-bidi: isolate; }
.invalid { color: #ff8193 !important; }
.badge { display: inline-flex; margin-top: 10px; padding: 8px 13px; border: 1px solid rgba(214, 184, 117, 0.48); border-radius: 999px; color: #f2dcaa; background: rgba(214, 184, 117, 0.11); font-size: 13px; font-weight: 900; }

.language-picker { position: fixed; z-index: 99; bottom: max(12px, env(safe-area-inset-bottom)); inset-inline-end: max(12px, env(safe-area-inset-right)); display: flex; min-height: 44px; align-items: center; gap: 8px; padding: 0 9px; border: 1px solid var(--line); border-radius: 14px; background: rgba(30, 23, 20, 0.96); box-shadow: 0 10px 34px rgba(0, 0, 0, 0.34); backdrop-filter: blur(14px); }
.language-picker label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.language-picker select { min-height: 44px; max-width: 170px; border: 0; color: var(--text); background: transparent; font: 700 13px/1.3 inherit; cursor: pointer; }
.language-picker option { color: #111; background: #fff; }

footer { padding: 34px 0 calc(54px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-soft); color: var(--dim); }
.footer-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-brand { font-size: 14px; }
.footer-brand img { width: 30px; height: 30px; }
.footer-links { display: flex; gap: 17px; flex-wrap: wrap; }
.footer-links a { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; text-decoration: none; }

.reveal { opacity: 1; transform: none; transition: opacity 500ms ease, transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.is-pending { opacity: 0; transform: translateY(18px); }
.reveal.is-visible { opacity: 1; transform: none; }

[dir="rtl"] .hero, [dir="rtl"] .section-head, [dir="rtl"] .party-hero, [dir="rtl"] .release-card { text-align: right; }
[dir="rtl"] .hero h1, [dir="rtl"] .section-head h2 { letter-spacing: 0; line-height: 1.14; }
:lang(hi) .hero h1, :lang(zh) .hero h1, :lang(ja) .hero h1,
:lang(hi) .section-head h2, :lang(zh) .section-head h2, :lang(ja) .section-head h2 { letter-spacing: 0; line-height: 1.14; }

/* DICESO Clubhouse — the landing page is a living game table, not a SaaS grid. */
body[data-page="landing"] {
  --canvas: #090a0d;
  --surface: #171719;
  --raised: #211d1a;
  --raised-2: #2b241f;
  --line: #594434;
  --line-soft: rgba(225, 183, 119, 0.14);
  --text: #f7f0e5;
  --dim: #b9b0a4;
  --orange: #ff851b;
  --orange-soft: #ffd09b;
  --violet: #8b5cf6;
  --violet-soft: #d7c7ff;
  --blue: #4c8dff;
  --green: #2bd9a0;
  --gold: #d6a45f;
  --walnut: #4a2c20;
  --walnut-dark: #26160f;
  --felt: #102a25;
  --party-felt: #101e38;
  --shadow: 0 34px 100px rgba(0, 0, 0, 0.48);
  background:
    radial-gradient(950px 680px at 84% 7%, rgba(255, 133, 27, 0.11), transparent 69%),
    radial-gradient(820px 620px at 4% 23%, rgba(139, 92, 246, 0.09), transparent 72%),
    linear-gradient(180deg, #0b0b0d 0%, #0b0908 46%, #090a0d 100%);
}

body[data-page="landing"]::before {
  opacity: 0.5;
  background-image:
    repeating-linear-gradient(96deg, transparent 0 86px, rgba(214, 164, 95, 0.018) 87px 88px),
    radial-gradient(circle at 50% 14%, rgba(255, 235, 201, 0.04), transparent 42%);
  background-size: auto;
  mask-image: linear-gradient(#000 0 72%, transparent 100%);
}

body[data-page="landing"] .topbar {
  border-bottom-color: rgba(214, 164, 95, 0.18);
  background: rgba(10, 9, 9, 0.82);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.16);
}

body[data-page="landing"] .topbar::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 133, 27, 0.42), transparent 72%);
}

body[data-page="landing"] .topbar-in {
  width: min(1476px, calc(100% - 60px));
}

body[data-page="landing"] .topbar-in .brand {
  gap: 0;
  font-size: 24px;
  font-style: italic;
  font-weight: 950;
  letter-spacing: -0.5px;
}
body[data-page="landing"] .topbar-in .brand img { display: none; }
body[data-page="landing"] .topbar-in .brand b { color: var(--orange); }

body[data-page="landing"] .nav {
  flex: 1;
  gap: clamp(28px, 3.5vw, 56px);
  margin-inline-start: clamp(170px, 23vw, 360px);
}

body[data-page="landing"] .nav > a:not(.button) {
  position: relative;
  color: #c9beb0;
  font-size: 16px;
  font-weight: 560;
}

body[data-page="landing"] .nav .button.compact { margin-inline-start: auto; padding-inline: 20px; font-size: 14px; }

body[data-page="landing"] .nav > a:not(.button)::after {
  position: absolute;
  right: 50%;
  bottom: -10px;
  left: 50%;
  height: 2px;
  border-radius: 99px;
  content: "";
  background: var(--orange);
  transition: right 160ms ease, left 160ms ease;
}

body[data-page="landing"] .nav > a:not(.button):hover::after,
body[data-page="landing"] .nav > a:not(.button):focus-visible::after { right: 8%; left: 8%; }

body[data-page="landing"] .button {
  border-color: rgba(255, 199, 132, 0.32);
  border-radius: 12px;
  background: linear-gradient(145deg, #ff9b40, #f56f00 68%, #d85a00);
  box-shadow: 0 18px 38px rgba(255, 108, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.36);
}

body[data-page="landing"] .button.secondary {
  border-color: rgba(214, 164, 95, 0.38);
  color: var(--text);
  background: linear-gradient(145deg, rgba(74, 44, 32, 0.5), rgba(19, 16, 15, 0.84));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}
body[data-page="landing"] .clubhouse-hero .button.secondary {
  border-color: rgba(94, 154, 247, 0.54);
  background: linear-gradient(145deg, rgba(33, 78, 142, 0.76), rgba(11, 28, 57, 0.9));
  box-shadow: inset 0 1px 0 rgba(202, 224, 255, 0.1), 0 12px 28px rgba(31, 91, 184, 0.14);
}

body[data-page="landing"] .mobile-menu summary,
body[data-page="landing"] .mobile-menu-panel {
  border-color: rgba(214, 164, 95, 0.32);
  background: rgba(24, 18, 15, 0.98);
}

body[data-page="landing"] .clubhouse-hero {
  position: relative;
  width: min(1536px, 100%);
  min-height: 602px;
  grid-template-columns: minmax(0, 38fr) minmax(0, 62fr);
  grid-template-rows: 510px 92px;
  column-gap: 0;
  row-gap: 0;
  padding: 0;
  isolation: isolate;
}

body[data-page="landing"] .clubhouse-hero::before {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 92px;
  left: 0;
  width: 62%;
  content: "";
  background: linear-gradient(90deg, rgba(6, 6, 7, 0.98) 0%, rgba(7, 7, 8, 0.88) 48%, rgba(8, 7, 7, 0.28) 78%, transparent 100%);
  pointer-events: none;
}

body[data-page="landing"] .hero-copy {
  position: relative;
  z-index: 5;
  grid-area: 1 / 1 / 2 / 2;
  width: min(100%, 590px);
  min-width: 0;
  align-self: center;
  padding-block: 28px 24px;
  padding-inline: clamp(38px, 4vw, 60px) 24px;
}
body[data-page="landing"] .kicker,
body[data-page="landing"] .eyebrow { color: var(--gold); letter-spacing: 2.4px; }

body[data-page="landing"] .clubhouse-hero h1 {
  max-width: 560px;
  margin: 14px 0 16px;
  color: #f8efe1;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(52px, 4.5vw, 70px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

body[data-page="landing"] .gradient {
  color: #f8efe1;
  background: none;
  background-clip: border-box;
}

body[data-page="landing"] .clubhouse-hero .lead {
  max-width: 520px;
  color: #cec3b6;
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.52;
}
body[data-page="landing"] .clubhouse-hero .actions { margin-top: 20px; }
body[data-page="landing"] .trust-line { margin-top: 12px; color: #d9c8b1; }

.hero-table-scene {
  position: relative;
  z-index: 0;
  grid-area: 1 / 1 / 2 / -1;
  align-self: stretch;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(760px 430px at 77% 35%, rgba(117, 73, 42, 0.16), transparent 70%),
    linear-gradient(180deg, #12100f 0%, #0d0b0b 65%, #080707 100%);
  box-shadow: none;
  isolation: isolate;
}

.hero-table-scene::before {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 36%;
  height: 28%;
  content: "";
  background: linear-gradient(180deg, rgba(20, 13, 10, 0.12), #090706 84%);
  clip-path: polygon(5% 0, 96% 0, 100% 100%, 0 100%);
}
.hero-table-scene::after {
  position: absolute;
  z-index: 5;
  inset: 0;
  border-radius: inherit;
  content: "";
  background:
    linear-gradient(90deg, rgba(7, 5, 4, 0.1), transparent 42%),
    linear-gradient(180deg, rgba(3, 3, 4, 0.03), transparent 55%, rgba(5, 3, 2, 0.3));
  pointer-events: none;
}

.clubhouse-room {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
}
.clubhouse-panel {
  position: absolute;
  top: 11%;
  width: 24%;
  height: 49%;
  border: 1px solid rgba(217, 173, 108, 0.17);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.018), transparent 14% 86%, rgba(255, 255, 255, 0.018)),
    repeating-linear-gradient(90deg, #201713 0 2px, #17110f 3px 13px);
  box-shadow: inset 0 0 0 8px rgba(7, 5, 4, 0.42), 0 24px 60px rgba(0, 0, 0, 0.25);
}
.panel-one { right: 8%; }
.panel-two { right: 34%; opacity: 0.7; }
.clubhouse-rail {
  position: absolute;
  right: 0;
  bottom: 30%;
  left: 28%;
  height: 5px;
  border-block: 1px solid rgba(214, 164, 95, 0.2);
  background: linear-gradient(180deg, #4b3023, #1a110e);
}
.clubhouse-glow {
  position: absolute;
  width: 260px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(233, 169, 86, 0.08);
  filter: blur(54px);
}
.glow-one { top: -70px; right: 10%; }
.glow-two { top: 40px; right: 42%; opacity: 0.55; }
.clubhouse-lamp {
  position: absolute;
  z-index: 1;
  top: 9%;
  width: 24px;
  height: 74px;
  border: 1px solid rgba(236, 199, 143, 0.32);
  border-radius: 50% 50% 12px 12px;
  background: linear-gradient(90deg, #5b3a22, #e0af69 48%, #4a2d1c);
  box-shadow: 0 0 42px 11px rgba(241, 168, 76, 0.14);
}
.clubhouse-lamp::after {
  position: absolute;
  top: 70px;
  left: 50%;
  width: 190px;
  height: 220px;
  content: "";
  background: linear-gradient(180deg, rgba(236, 174, 96, 0.1), transparent 82%);
  clip-path: polygon(44% 0, 56% 0, 100% 100%, 0 100%);
  transform: translateX(-50%);
}
.lamp-one { right: 18%; }
.lamp-two { right: 48%; transform: scale(0.82); opacity: 0.72; }

.clubhouse-table-shell {
  position: absolute;
  z-index: 3;
  top: 48px;
  inset-inline-end: 2.5%;
  width: 59%;
  height: 430px;
}
.clubhouse-table-shell::before,
.clubhouse-table-shell::after {
  position: absolute;
  content: "";
  transform: perspective(780px) rotateX(54deg);
  transform-origin: 50% 50%;
}
.clubhouse-table-shell::before {
  inset: 96px 0 22px;
  border: 10px solid #533321;
  border-radius: 46% / 27%;
  background:
    radial-gradient(ellipse at center, rgba(76, 141, 255, 0.2), transparent 66%),
    repeating-linear-gradient(7deg, rgba(255, 255, 255, 0.012) 0 1px, transparent 2px 7px),
    #14213b;
  box-shadow:
    0 0 0 2px #c49457,
    0 0 0 12px #24160f,
    0 54px 36px rgba(0, 0, 0, 0.54),
    inset 0 0 80px rgba(0, 0, 0, 0.4),
    inset 0 0 0 2px rgba(237, 202, 148, 0.12);
}
.clubhouse-table-shell::after {
  right: 12%;
  bottom: 34px;
  left: 12%;
  height: 58px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.38);
  filter: blur(20px);
}
.table-corner {
  position: absolute;
  z-index: 1;
  width: 12px;
  height: 12px;
  border: 2px solid #d3a365;
  border-radius: 50%;
  background: #2b1a12;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}
.corner-one { top: 145px; left: 8%; }
.corner-two { top: 145px; right: 8%; }
.corner-three { right: 16%; bottom: 100px; }
.corner-four { bottom: 100px; left: 16%; }

.demo-target {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto -5px;
  color: #d8c4a6;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.13em;
}
.demo-target strong {
  direction: ltr;
  color: #f4c57e;
  font-size: 38px;
  line-height: 1;
  text-shadow: 0 0 22px rgba(244, 176, 84, 0.3);
}
.demo-decisions {
  display: grid;
  width: min(100%, 250px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: -9px auto 4px;
}
.demo-decisions span {
  display: flex;
  min-width: 0;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid rgba(214, 164, 95, 0.22);
  border-radius: 999px;
  color: #c9bba8;
  background: rgba(10, 13, 20, 0.58);
}
.demo-decisions b { color: #f0c27c; font-size: 14px; }
.demo-decisions small {
  overflow: hidden;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-page="landing"] .tabletop-demo {
  position: absolute;
  z-index: 4;
  top: 62px;
  left: 50%;
  width: 340px;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: translateX(-50%);
}

body[data-page="landing"] .dice-table {
  min-height: 130px;
  gap: 22px;
  margin: 0;
  border: 0;
  border-radius: 48%;
  background:
    radial-gradient(ellipse at 50% 63%, rgba(6, 12, 24, 0.52) 0 50%, rgba(6, 10, 18, 0.26) 67%, transparent 79%);
  box-shadow: none;
}

body[data-page="landing"] .tabletop-demo .real-die {
  --die-size: 58px;
  --half-die: 29px;
}

body[data-page="landing"] .demo-roll {
  width: auto;
  min-width: 148px;
  min-height: 44px;
  margin: -4px auto 0;
  padding-inline: 16px;
  border: 1px solid rgba(230, 178, 108, 0.55);
  border-radius: 999px;
  color: #f8e8d0;
  background: rgba(24, 14, 10, 0.78);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 239, 214, 0.11);
  backdrop-filter: blur(8px);
  font-size: 12px;
}

body[data-page="landing"] .facts {
  position: relative;
  z-index: 6;
  grid-area: 2 / 1 / 3 / -1;
  align-self: end;
  overflow: hidden;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  height: 92px;
  margin: 0 38px;
  padding: 5px;
  border: 1px solid rgba(214, 164, 95, 0.32);
  border-radius: 9px;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.025), transparent 34%),
    linear-gradient(180deg, rgba(45, 34, 28, 0.82), rgba(18, 15, 14, 0.88));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

body[data-page="landing"] .fact {
  display: grid;
  padding: 8px 20px;
  align-content: center;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  text-align: center;
}
body[data-page="landing"] .fact + .fact { border-inline-start: 1px solid rgba(214, 164, 95, 0.22); }
body[data-page="landing"] .fact b {
  direction: ltr;
  unicode-bidi: isolate;
  color: #f0c68e;
  font-size: 31px;
}
body[data-page="landing"] .fact span { color: #bcae9b; letter-spacing: 0.05em; text-transform: uppercase; }

body[data-page="landing"] .section { position: relative; padding-block: 108px; }
body[data-page="landing"] .section-head { margin-bottom: 42px; }
body[data-page="landing"] .section-head h2,
body[data-page="landing"] .party-hero h2,
body[data-page="landing"] .release-card h2 { color: #f8efe1; text-wrap: balance; }
body[data-page="landing"] .section-head p,
body[data-page="landing"] .subhead p { color: #bfb4a6; }

body[data-page="landing"] .table-section {
  padding-block: 18px 82px;
  border-top: 1px solid rgba(214, 164, 95, 0.12);
  background:
    radial-gradient(720px 420px at 5% 26%, rgba(255, 133, 27, 0.07), transparent 72%),
    linear-gradient(180deg, rgba(44, 27, 19, 0.18), transparent 48%);
}
body[data-page="landing"] .table-section > .wrap { width: min(1460px, calc(100% - 76px)); }
body[data-page="landing"] .table-section .section-head { margin-bottom: 10px; }
body[data-page="landing"] .table-heading { max-width: none; }
body[data-page="landing"] .table-heading h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

body[data-page="landing"] .path-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
body[data-page="landing"] .path-card {
  min-height: 0;
  aspect-ratio: 16 / 9;
  justify-content: flex-end;
  padding: 0;
  border-color: rgba(214, 164, 95, 0.34);
  border-radius: 9px;
  background: #100b08;
  box-shadow: inset 0 1px 0 rgba(255, 239, 214, 0.06), 0 24px 58px rgba(0, 0, 0, 0.3);
  isolation: isolate;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

body[data-page="landing"] .path-card::before { content: none; }
body[data-page="landing"] .path-card::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 34%, rgba(7, 5, 4, 0.18) 52%, rgba(6, 4, 3, 0.96) 100%);
  pointer-events: none;
}
body[data-page="landing"] .path-card:hover,
body[data-page="landing"] .path-card:focus-within {
  border-color: rgba(255, 188, 108, 0.64);
  box-shadow: inset 0 1px 0 rgba(255, 239, 214, 0.08), 0 30px 68px rgba(0, 0, 0, 0.38);
  transform: translateY(-4px);
}

body[data-page="landing"] .path-table {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 26%),
    #17100d;
}
.path-table::before {
  position: absolute;
  top: 10%;
  right: 5%;
  bottom: 26%;
  left: 5%;
  border: 7px solid #4c2e1e;
  border-radius: 48% / 28%;
  content: "";
  background: var(--table-felt, #17352c);
  box-shadow:
    0 0 0 1px #bd8a4d,
    0 0 0 8px #24150f,
    0 26px 30px rgba(0, 0, 0, 0.42),
    inset 0 0 45px rgba(0, 0, 0, 0.42),
    inset 0 0 0 2px rgba(255, 240, 212, 0.05);
  transform: perspective(520px) rotateX(43deg);
  transition: transform 240ms ease, box-shadow 240ms ease;
}
.path-card:hover .path-table::before,
.path-card:focus-within .path-table::before {
  box-shadow:
    0 0 0 1px #d7a768,
    0 0 0 8px #291811,
    0 30px 34px rgba(0, 0, 0, 0.46),
    inset 0 0 45px rgba(0, 0, 0, 0.38),
    inset 0 0 0 2px rgba(255, 240, 212, 0.07);
  transform: perspective(520px) rotateX(41deg) translateY(-2px);
}
.path-table-rail {
  position: absolute;
  z-index: 1;
  top: 15%;
  right: 13%;
  left: 13%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(238, 199, 139, 0.28), transparent);
}
.arena-table {
  --table-felt:
    radial-gradient(circle at 50% 45%, rgba(216, 140, 72, 0.26), transparent 56%),
    repeating-linear-gradient(4deg, rgba(255, 255, 255, 0.012) 0 1px, transparent 2px 6px),
    #382714;
}
.party-table {
  --table-felt:
    radial-gradient(circle at 50% 46%, rgba(65, 135, 220, 0.27), transparent 58%),
    repeating-linear-gradient(4deg, rgba(255, 255, 255, 0.012) 0 1px, transparent 2px 6px),
    #102e52;
}
.journey-table {
  --table-felt:
    radial-gradient(circle at 66% 38%, rgba(201, 151, 63, 0.2), transparent 54%),
    repeating-linear-gradient(4deg, rgba(255, 255, 255, 0.01) 0 1px, transparent 2px 6px),
    #2c2214;
}
.arena-target {
  position: absolute;
  z-index: 2;
  top: 21%;
  left: 50%;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(235, 195, 133, 0.5);
  border-radius: 50%;
  color: #f4d09b;
  background: rgba(20, 19, 15, 0.66);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35), inset 0 0 0 4px rgba(177, 124, 62, 0.12);
  font-size: 28px;
  font-weight: 950;
  transform: translateX(-50%);
}
.mini-die {
  position: absolute;
  z-index: 2;
  top: 43%;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 11px;
  background: linear-gradient(145deg, #fffaf0, #d9ccb9);
  box-shadow: 0 10px 14px rgba(0, 0, 0, 0.4), inset -4px -5px 8px rgba(82, 65, 45, 0.18);
  transform: rotate(-8deg);
}
.mini-die.die-two { left: 35%; }
.mini-die.die-five { right: 35%; transform: rotate(10deg); }
.mini-die i {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #271b17;
  box-shadow: inset 0 1px 1px #000;
}
.mini-die i:nth-child(1) { top: 8px; left: 8px; }
.mini-die i:nth-child(2) { right: 8px; bottom: 8px; }
.mini-die.die-five i:nth-child(3) { top: 8px; right: 8px; }
.mini-die.die-five i:nth-child(4) { bottom: 8px; left: 8px; }
.mini-die.die-five i:nth-child(5) { top: 50%; left: 50%; transform: translate(-50%, -50%); }
.score-track {
  position: absolute;
  z-index: 2;
  right: 19%;
  bottom: 32%;
  left: 19%;
  display: flex;
  justify-content: center;
  gap: 10%;
  height: 18px;
  border-top: 1px solid rgba(239, 203, 147, 0.3);
}
.score-track i {
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border: 1px solid #e2b777;
  border-radius: 50%;
  background: #7a4a2d;
  box-shadow: 0 0 10px rgba(231, 176, 97, 0.32);
}
.party-center {
  position: absolute;
  z-index: 2;
  top: 31%;
  left: 50%;
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  border: 1px solid rgba(129, 182, 249, 0.64);
  border-radius: 50%;
  color: #e5efff;
  background: rgba(7, 24, 46, 0.72);
  box-shadow: 0 0 26px rgba(77, 146, 255, 0.22), inset 0 0 0 6px rgba(83, 151, 244, 0.08);
  transform: translateX(-50%);
}
.party-center i {
  position: absolute;
  width: 36px;
  height: 36px;
  border: 2px dashed rgba(125, 183, 255, 0.44);
  border-radius: 50%;
}
.party-center b { position: relative; font-size: 23px; }
.seat {
  position: absolute;
  z-index: 2;
  width: 26px;
  height: 26px;
  border: 2px solid #96bff3;
  border-radius: 50%;
  background: linear-gradient(145deg, #397dca, #173b72);
  box-shadow: 0 0 0 5px rgba(12, 34, 67, 0.75), 0 7px 14px rgba(0, 0, 0, 0.38);
}
.seat-one { top: 20%; left: 35%; }
.seat-two { top: 20%; right: 35%; }
.seat-three { top: 43%; left: 23%; }
.seat-four { top: 43%; right: 23%; }
.seat-five { top: 60%; left: 36%; }
.seat-six { top: 60%; right: 36%; }
.journey-line {
  position: absolute;
  z-index: 1;
  height: 2px;
  border-top: 2px dashed rgba(222, 179, 117, 0.54);
  transform-origin: 0 50%;
}
.line-one { top: 54%; left: 25%; width: 25%; transform: rotate(-22deg); }
.line-two { top: 44%; left: 47%; width: 21%; transform: rotate(20deg); }
.line-three { top: 51%; left: 64%; width: 18%; transform: rotate(-32deg); }
.journey-node {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border: 2px solid #d5a867;
  border-radius: 50%;
  color: #f1d19e;
  background: linear-gradient(145deg, #452c26, #1d171e);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4), 0 0 18px rgba(156, 91, 219, 0.18);
}
.journey-node i { font-size: 12px; font-style: normal; font-weight: 900; }
.node-one { top: 51%; left: 22%; }
.node-two { top: 35%; left: 45%; }
.node-three { top: 51%; left: 64%; }
.node-four { top: 28%; right: 16%; border-color: #c483ff; }
.journey-star { position: absolute; z-index: 2; color: #e8b762; font-size: 12px; text-shadow: 0 0 12px rgba(232, 183, 98, 0.48); }
.star-one { top: 42%; left: 24%; }
.star-two { top: 25%; left: 48%; }
.star-three { top: 41%; right: 29%; }
.table-seal {
  position: absolute;
  z-index: 2;
  right: 8%;
  bottom: 30%;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font: 900 12px/1 Georgia, serif;
  opacity: 0.72;
}
.seal-arena { color: #e2b777; }
.seal-party { color: #78adf1; }
.seal-journey { color: #bd78ff; }

body[data-page="landing"] .path-card-copy {
  position: relative;
  z-index: 2;
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 16px;
  padding: 24px 28px 22px;
}
body[data-page="landing"] .path-card h3 {
  margin: 0 0 2px;
  color: #f6ebdc;
  font-size: 24px;
  line-height: 1.12;
}
body[data-page="landing"] .path-card p {
  margin: 0;
  color: #e0d3c4;
  font-size: 14px;
  line-height: 1.35;
}
body[data-page="landing"] .path-card a {
  display: grid;
  width: 48px;
  height: 48px;
  min-height: 44px;
  place-items: center;
  align-self: end;
  margin: 0;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: var(--orange);
  background: rgba(8, 6, 5, 0.64);
  font-size: 28px;
  line-height: 1;
  text-decoration: none;
}
body[data-page="landing"] .path-card.party a { color: #4c9eff; }
body[data-page="landing"] .path-card.journey a { color: #bd78ff; }
body[data-page="landing"] .path-card a::after { content: none; }
[dir="rtl"] body[data-page="landing"] .path-card a span[aria-hidden="true"] { transform: scaleX(-1); }

body[data-page="landing"] .clubhouse-rules {
  border-block: 1px solid rgba(214, 164, 95, 0.1);
  background:
    radial-gradient(600px 320px at 85% 10%, rgba(46, 113, 88, 0.11), transparent 74%),
    linear-gradient(180deg, rgba(16, 42, 37, 0.11), rgba(14, 11, 10, 0.2));
}

body[data-page="landing"] .clubhouse-rules .step-grid {
  overflow: hidden;
  gap: 0;
  border: 1px solid rgba(214, 164, 95, 0.25);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(42, 31, 25, 0.82), rgba(13, 13, 13, 0.9));
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.24);
}

body[data-page="landing"] .clubhouse-rules .step {
  min-height: 255px;
  padding: 28px;
  border: 0;
  border-inline-end: 1px solid rgba(214, 164, 95, 0.16);
  background: none;
}
body[data-page="landing"] .clubhouse-rules .step:last-child { border-inline-end: 0; }
body[data-page="landing"] .step > span { color: var(--gold); }
body[data-page="landing"] .step h3 { color: #f1e5d5; }
body[data-page="landing"] .step p { color: #b8ad9f; }

body[data-page="landing"] .mode-section { background: radial-gradient(620px 420px at 0 40%, rgba(139, 92, 246, 0.08), transparent 72%); }
body[data-page="landing"] .mode-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
body[data-page="landing"] .mode-card {
  grid-column: span 4;
  min-height: 285px;
  border-color: rgba(214, 164, 95, 0.26);
  border-radius: 20px;
  background:
    linear-gradient(130deg, rgba(255, 255, 255, 0.025), transparent 36%),
    linear-gradient(155deg, rgba(43, 33, 29, 0.96), rgba(16, 14, 14, 0.96));
}
body[data-page="landing"] .mode-card:nth-child(1) { grid-column: span 5; }
body[data-page="landing"] .mode-card:nth-child(2) { grid-column: span 3; }
body[data-page="landing"] .mode-card:nth-child(3) { grid-column: span 4; }
body[data-page="landing"] .mode-card:nth-child(4),
body[data-page="landing"] .mode-card:nth-child(5) { grid-column: span 6; min-height: 245px; }
body[data-page="landing"] .mode-card:hover { border-color: rgba(255, 190, 113, 0.58); }
body[data-page="landing"] .mode-level { border-color: rgba(214, 164, 95, 0.34); color: #e3bf8c; background: rgba(74, 44, 32, 0.34); }
body[data-page="landing"] .mode-icons { filter: saturate(0.72) sepia(0.12); }

body[data-page="landing"] .party-section {
  border-block: 1px solid rgba(76, 141, 255, 0.13);
  background:
    radial-gradient(850px 560px at 88% 20%, rgba(76, 141, 255, 0.14), transparent 72%),
    radial-gradient(720px 440px at 9% 64%, rgba(139, 92, 246, 0.08), transparent 72%),
    linear-gradient(180deg, rgba(8, 18, 37, 0.36), rgba(9, 10, 13, 0.12));
}

body[data-page="landing"] .party-hero {
  gap: 58px;
  padding: clamp(32px, 5vw, 62px);
  border-color: rgba(109, 154, 230, 0.34);
  border-radius: 28px;
  background:
    radial-gradient(620px 360px at 92% 28%, rgba(76, 141, 255, 0.17), transparent 70%),
    linear-gradient(145deg, rgba(33, 28, 26, 0.98), rgba(10, 19, 37, 0.97));
  box-shadow: inset 0 0 0 6px rgba(51, 30, 20, 0.27), var(--shadow);
}
body[data-page="landing"] .party-pills > span { border-color: rgba(93, 151, 247, 0.35); color: #d9e6ff; background: rgba(76, 141, 255, 0.09); }
body[data-page="landing"] .party-preview {
  position: relative;
  overflow: visible;
  padding: 30px;
  border-color: rgba(95, 153, 246, 0.42);
  border-radius: 36px;
  background:
    radial-gradient(circle at 10% 12%, #d6a45f 0 5px, transparent 6px),
    radial-gradient(circle at 90% 12%, #d6a45f 0 5px, transparent 6px),
    radial-gradient(circle at 10% 88%, #d6a45f 0 5px, transparent 6px),
    radial-gradient(circle at 90% 88%, #d6a45f 0 5px, transparent 6px),
    radial-gradient(ellipse at center, #163a68, #0b2145 76%);
  box-shadow: 0 0 0 8px rgba(48, 28, 20, 0.72), 0 0 0 9px rgba(214, 164, 95, 0.22), 0 32px 72px rgba(0, 0, 0, 0.45), 0 0 55px rgba(76, 141, 255, 0.12);
}
body[data-page="landing"] .party-preview-top { color: #b9d2ff; }
body[data-page="landing"] .party-die-row span { border-color: rgba(214, 164, 95, 0.3); color: #d8c8b2; background: rgba(7, 17, 34, 0.72); }
body[data-page="landing"] .party-preview > strong { color: #f5ecdf; }
body[data-page="landing"] .party-detail-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
body[data-page="landing"] .detail-card {
  grid-column: span 4;
  min-height: 270px;
  border-color: rgba(94, 137, 210, 0.28);
  background: linear-gradient(145deg, rgba(18, 34, 61, 0.76), rgba(18, 15, 15, 0.94));
}
body[data-page="landing"] .detail-card:first-child { grid-column: span 5; }
body[data-page="landing"] .detail-card:nth-child(2) { grid-column: span 4; }
body[data-page="landing"] .detail-card:nth-child(3) { grid-column: span 3; }

body[data-page="landing"] .compete-section { background: radial-gradient(720px 420px at 98% 18%, rgba(255, 133, 27, 0.07), transparent 72%); }
body[data-page="landing"] .feature-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
body[data-page="landing"] .feature-card {
  grid-column: span 3;
  min-height: 245px;
  border-color: rgba(214, 164, 95, 0.23);
  background: linear-gradient(150deg, rgba(40, 31, 27, 0.88), rgba(14, 13, 13, 0.94));
}
body[data-page="landing"] .feature-card:first-child { grid-column: span 5; }
body[data-page="landing"] .feature-card:nth-child(2) { grid-column: span 3; }
body[data-page="landing"] .feature-card:nth-child(3) { grid-column: span 4; }
body[data-page="landing"] .feature-card:nth-child(7) { grid-column: span 3; }

body[data-page="landing"] .arena-section {
  border-block: 1px solid rgba(214, 164, 95, 0.11);
  background:
    radial-gradient(650px 390px at 10% 36%, rgba(255, 133, 27, 0.11), transparent 72%),
    linear-gradient(180deg, rgba(51, 28, 18, 0.18), transparent);
}
body[data-page="landing"] .daily-grid { grid-template-columns: 1.2fr 0.9fr 0.9fr; gap: 18px; }
body[data-page="landing"] .daily-card {
  min-height: 300px;
  border-color: rgba(214, 164, 95, 0.28);
  background: linear-gradient(150deg, rgba(48, 34, 27, 0.95), rgba(15, 13, 13, 0.96));
}
body[data-page="landing"] .daily-card.lucky {
  border-color: rgba(215, 181, 112, 0.5);
  background:
    radial-gradient(420px 270px at 80% 0, rgba(227, 196, 119, 0.18), transparent 70%),
    linear-gradient(150deg, rgba(43, 38, 31, 0.96), rgba(15, 15, 14, 0.96));
}

body[data-page="landing"] .journey-section { background: radial-gradient(760px 500px at 93% 20%, rgba(139, 92, 246, 0.08), transparent 72%); }
body[data-page="landing"] .campaign-panel {
  position: relative;
  overflow: hidden;
  border-color: rgba(214, 164, 95, 0.36);
  background:
    repeating-linear-gradient(104deg, rgba(255, 226, 181, 0.018) 0 2px, transparent 3px 20px),
    linear-gradient(145deg, rgba(72, 44, 31, 0.94), rgba(23, 16, 14, 0.97));
  box-shadow: inset 0 1px 0 rgba(255, 234, 202, 0.06), var(--shadow);
}
body[data-page="landing"] .campaign-panel::after { position: absolute; right: -100px; bottom: -140px; width: 400px; aspect-ratio: 1; border: 1px solid rgba(139, 92, 246, 0.23); border-radius: 50%; content: ""; box-shadow: 0 0 70px rgba(139, 92, 246, 0.08); }
body[data-page="landing"] .campaign-count { color: #f0bd75; text-shadow: 0 0 30px rgba(255, 133, 27, 0.18); }
body[data-page="landing"] .campaign-panel p { color: #c5b8a8; }
body[data-page="landing"] .world-grid { position: relative; z-index: 1; }
body[data-page="landing"] .world-grid::before { position: absolute; z-index: -1; top: 50%; right: 7%; left: 7%; border-top: 2px dashed rgba(214, 164, 95, 0.28); content: ""; }
body[data-page="landing"] .world-grid span { border-color: rgba(214, 164, 95, 0.38); background: linear-gradient(145deg, #33231d, #171312); box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3); }
body[data-page="landing"] .progress-grid .feature-card:nth-child(4),
body[data-page="landing"] .progress-grid .feature-card:nth-child(5) { grid-column: span 6; }

body[data-page="landing"] .trust-section {
  border-top: 1px solid rgba(214, 164, 95, 0.1);
  background: linear-gradient(180deg, rgba(16, 42, 37, 0.15), rgba(9, 10, 13, 0.05));
}
body[data-page="landing"] .trust-grid { grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 0; border-block: 1px solid rgba(214, 164, 95, 0.22); }
body[data-page="landing"] .trust-card {
  grid-column: span 2;
  min-height: 270px;
  border: 0;
  border-inline-end: 1px solid rgba(214, 164, 95, 0.15);
  border-radius: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
  box-shadow: none;
}
body[data-page="landing"] .trust-card:last-child { border-inline-end: 0; }

body[data-page="landing"] .faq-item {
  border-color: rgba(214, 164, 95, 0.24);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(42, 32, 27, 0.74), rgba(15, 14, 14, 0.88));
}
body[data-page="landing"] .faq-item[open] { border-color: rgba(255, 174, 80, 0.48); }

body[data-page="landing"] .release-card {
  border-color: rgba(255, 155, 64, 0.42);
  background:
    radial-gradient(580px 320px at 100% 0, rgba(255, 133, 27, 0.16), transparent 72%),
    repeating-linear-gradient(103deg, rgba(255, 229, 190, 0.018) 0 2px, transparent 3px 22px),
    linear-gradient(150deg, rgba(70, 42, 29, 0.9), rgba(17, 14, 13, 0.97));
}
body[data-page="landing"] .release-status > div { border-color: rgba(214, 164, 95, 0.2); background: rgba(12, 9, 8, 0.42); }
body[data-page="landing"] footer { border-top-color: rgba(214, 164, 95, 0.15); background: #090908; }
body[data-page="landing"] .language-picker {
  position: relative;
  inset: auto;
  width: max-content;
  max-width: calc(100% - 32px);
  margin-block: 18px;
  margin-inline-start: auto;
  margin-inline-end: max(16px, env(safe-area-inset-right));
  border-color: rgba(214, 164, 95, 0.38);
  background: rgba(28, 20, 16, 0.96);
}

[dir="rtl"] body[data-page="landing"] .clubhouse-hero::before {
  right: 0;
  left: auto;
  background: linear-gradient(270deg, rgba(6, 6, 7, 0.98) 0%, rgba(7, 7, 8, 0.88) 48%, rgba(8, 7, 7, 0.28) 78%, transparent 100%);
}
[dir="rtl"] body[data-page="landing"] .path-card a::after { transform: scaleX(-1); }

@keyframes die-flight-one {
  0% { transform: translate3d(0, 0, 0) rotateZ(0) scale(1); }
  24% { transform: translate3d(-7px, -44px, 0) rotateZ(-4deg) scale(1.035); }
  48% { transform: translate3d(2px, 1px, 0) rotateZ(1deg) scale(1.04, 0.96); }
  62% { transform: translate3d(5px, -12px, 0) rotateZ(2deg) scale(0.99, 1.01); }
  76% { transform: translate3d(1px, 0, 0) rotateZ(0) scale(1.018, 0.982); }
  86% { transform: translate3d(-1px, -4px, 0) rotateZ(-0.5deg) scale(0.996, 1.004); }
  100% { transform: translate3d(0, 0, 0) rotateZ(0) scale(1); }
}
@keyframes die-flight-two {
  0% { transform: translate3d(0, 0, 0) rotateZ(0) scale(1); }
  24% { transform: translate3d(8px, -47px, 0) rotateZ(5deg) scale(1.04); }
  48% { transform: translate3d(-2px, 1px, 0) rotateZ(-1deg) scale(1.04, 0.96); }
  62% { transform: translate3d(-5px, -13px, 0) rotateZ(-2deg) scale(0.99, 1.01); }
  76% { transform: translate3d(-1px, 0, 0) rotateZ(0) scale(1.018, 0.982); }
  86% { transform: translate3d(1px, -4px, 0) rotateZ(0.5deg) scale(0.996, 1.004); }
  100% { transform: translate3d(0, 0, 0) rotateZ(0) scale(1); }
}
@keyframes die-tumble-one {
  0% { transform: rotateX(var(--start-x)) rotateY(var(--start-y)) rotateZ(var(--start-z)); }
  24% { transform: rotateX(calc(var(--start-x) + 255deg)) rotateY(calc(var(--start-y) - 205deg)) rotateZ(calc(var(--start-z) + 145deg)); }
  48% { transform: rotateX(calc(var(--die-x) + 430deg)) rotateY(calc(var(--die-y) - 325deg)) rotateZ(calc(var(--die-z) + 250deg)); }
  72% { transform: rotateX(calc(var(--die-x) + 185deg)) rotateY(calc(var(--die-y) - 120deg)) rotateZ(calc(var(--die-z) + 95deg)); }
  88% { transform: rotateX(calc(var(--die-x) + 36deg)) rotateY(calc(var(--die-y) - 18deg)) rotateZ(calc(var(--die-z) + 12deg)); }
  100% { transform: rotateX(var(--die-x)) rotateY(var(--die-y)) rotateZ(var(--die-z)); }
}
@keyframes die-tumble-two {
  0% { transform: rotateX(var(--start-x)) rotateY(var(--start-y)) rotateZ(var(--start-z)); }
  24% { transform: rotateX(calc(var(--start-x) - 225deg)) rotateY(calc(var(--start-y) + 245deg)) rotateZ(calc(var(--start-z) - 155deg)); }
  48% { transform: rotateX(calc(var(--die-x) - 405deg)) rotateY(calc(var(--die-y) + 350deg)) rotateZ(calc(var(--die-z) - 265deg)); }
  72% { transform: rotateX(calc(var(--die-x) - 170deg)) rotateY(calc(var(--die-y) + 135deg)) rotateZ(calc(var(--die-z) - 90deg)); }
  88% { transform: rotateX(calc(var(--die-x) - 34deg)) rotateY(calc(var(--die-y) + 20deg)) rotateZ(calc(var(--die-z) - 13deg)); }
  100% { transform: rotateX(var(--die-x)) rotateY(var(--die-y)) rotateZ(var(--die-z)); }
}
@keyframes die-shadow {
  0% { opacity: 0.78; transform: scaleX(0.88); }
  24% { opacity: 0.2; transform: scaleX(0.52); }
  48% { opacity: 0.82; transform: scaleX(0.94); }
  62% { opacity: 0.48; transform: scaleX(0.7); }
  76% { opacity: 0.8; transform: scaleX(0.91); }
  86% { opacity: 0.66; transform: scaleX(0.82); }
  100% { opacity: 0.78; transform: scaleX(0.88); }
}

@media (max-width: 1040px) {
  .nav { display: none; }
  .mobile-menu { display: block; }
  .trust-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .trust-card { grid-column: span 2; }
  .trust-card:nth-child(4) { grid-column: 2 / span 2; }
}

@media (max-width: 860px) {
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 40px; padding-top: 74px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .path-grid, .daily-grid, .party-detail-grid { grid-template-columns: 1fr; }
  .path-card { min-height: 270px; }
  .step-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mode-grid, .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mode-card, .mode-card:nth-child(4), .feature-card, .feature-card:nth-child(7), .progress-grid .feature-card:nth-child(5) { grid-column: auto; }
  .party-hero, .campaign-panel, .release-card, .faq-layout { grid-template-columns: 1fr; }
  .sticky-head { position: static; }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-card, .trust-card:nth-child(4) { grid-column: auto; }
  .release-actions { min-width: 0; }
}

@media (max-width: 560px) {
  .wrap { width: min(100% - 28px, 1160px); }
  .hero { padding-top: 54px; }
  .hero h1 { font-size: clamp(43px, 14vw, 63px); }
  .section { padding-block: 62px; }
  .facts, .step-grid, .mode-grid, .feature-grid, .trust-grid, .support-grid { grid-template-columns: 1fr; }
  .fact { padding: 18px; }
  .step { min-height: auto; }
  .step h3 { margin-top: 24px; }
  .party-hero { padding: 24px 19px; border-radius: 25px; }
  .party-preview { padding: 17px; }
  .world-grid { grid-template-columns: repeat(5, 1fr); gap: 5px; }
  .world-grid span { border-radius: 11px; font-size: 22px; }
  .real-die { --die-size: 68px; --half-die: 34px; }
  .dice-table { min-height: 137px; gap: 27px; }
  .language-picker { bottom: max(8px, env(safe-area-inset-bottom)); inset-inline-end: max(8px, env(safe-area-inset-right)); }
  .legal { margin-top: 32px; }
  .deep-page { padding-top: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1040px) {
  body[data-page="landing"] .topbar-in { width: min(920px, calc(100% - 40px)); }
  body[data-page="landing"] .clubhouse-hero {
    width: min(920px, calc(100% - 32px));
    min-height: auto;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 360px auto;
    gap: 0;
    padding: 0;
  }
  body[data-page="landing"] .clubhouse-hero::before { content: none; }
  body[data-page="landing"] .hero-copy {
    grid-area: 1 / 1 / 2 / -1;
    width: min(100%, 780px);
    padding: 36px 0 24px;
  }
  body[data-page="landing"] .clubhouse-hero .lead { max-width: 720px; }
  body[data-page="landing"] .hero-table-scene {
    grid-area: 2 / 1 / 3 / -1;
    width: 100%;
    min-height: 0;
    border-radius: 18px;
  }
  body[data-page="landing"] .clubhouse-table-shell { top: 0; inset-inline-end: 1%; width: 74%; height: 360px; }
  body[data-page="landing"] .clubhouse-table-shell::before { inset: 72px 0 16px; }
  body[data-page="landing"] .tabletop-demo { top: 30px; left: 50%; width: 280px; }
  body[data-page="landing"] .dice-table { min-height: 120px; }
  body[data-page="landing"] .tabletop-demo .real-die { --die-size: 50px; --half-die: 25px; }
  body[data-page="landing"] .facts {
    grid-area: 3 / 1 / 4 / -1;
    width: 100%;
    margin: 16px 0 0;
  }
  body[data-page="landing"] .trust-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  body[data-page="landing"] .trust-card { grid-column: span 2; }
  body[data-page="landing"] .trust-card:nth-child(4) { grid-column-start: 2; }
}

@media (max-width: 860px) {
  body[data-page="landing"] .clubhouse-hero {
    width: min(760px, calc(100% - 32px));
    grid-template-rows: auto 330px auto;
    gap: 0;
    padding: 0;
  }
  body[data-page="landing"] .hero-copy { padding-top: 32px; }
  body[data-page="landing"] .hero-table-scene { min-height: 0; }
  body[data-page="landing"] .clubhouse-table-shell { inset-inline-end: -1%; width: 84%; height: 330px; }
  body[data-page="landing"] .clubhouse-table-shell::before { inset: 64px 0 15px; }
  body[data-page="landing"] .tabletop-demo { top: 23px; left: 50%; width: 270px; }
  body[data-page="landing"] .facts { height: 166px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body[data-page="landing"] .fact + .fact { border-inline-start: 0; }
  body[data-page="landing"] .fact:nth-child(even) { border-inline-start: 1px solid rgba(214, 164, 95, 0.22); }
  body[data-page="landing"] .fact:nth-child(n + 3) { border-top: 1px solid rgba(214, 164, 95, 0.22); }
  body[data-page="landing"] .table-section > .wrap { width: min(760px, calc(100% - 40px)); }
  body[data-page="landing"] .path-grid { grid-template-columns: 1fr; }
  body[data-page="landing"] .path-card { grid-column: auto; min-height: 0; }
  body[data-page="landing"] .clubhouse-rules .step-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body[data-page="landing"] .clubhouse-rules .step { border-inline-end: 1px solid rgba(214, 164, 95, 0.16); border-bottom: 1px solid rgba(214, 164, 95, 0.16); }
  body[data-page="landing"] .clubhouse-rules .step:nth-child(even) { border-inline-end: 0; }
  body[data-page="landing"] .clubhouse-rules .step:nth-last-child(-n + 2) { border-bottom: 0; }
  body[data-page="landing"] .mode-grid,
  body[data-page="landing"] .feature-grid,
  body[data-page="landing"] .party-detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body[data-page="landing"] .mode-card,
  body[data-page="landing"] .mode-card:nth-child(1),
  body[data-page="landing"] .mode-card:nth-child(2),
  body[data-page="landing"] .mode-card:nth-child(3),
  body[data-page="landing"] .mode-card:nth-child(4),
  body[data-page="landing"] .mode-card:nth-child(5),
  body[data-page="landing"] .feature-card,
  body[data-page="landing"] .feature-card:first-child,
  body[data-page="landing"] .feature-card:nth-child(2),
  body[data-page="landing"] .feature-card:nth-child(3),
  body[data-page="landing"] .feature-card:nth-child(7),
  body[data-page="landing"] .progress-grid .feature-card:nth-child(4),
  body[data-page="landing"] .progress-grid .feature-card:nth-child(5),
  body[data-page="landing"] .detail-card,
  body[data-page="landing"] .detail-card:first-child,
  body[data-page="landing"] .detail-card:nth-child(2),
  body[data-page="landing"] .detail-card:nth-child(3) { grid-column: auto; }
  body[data-page="landing"] .daily-grid { grid-template-columns: 1fr; }
  body[data-page="landing"] .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body[data-page="landing"] .trust-card,
  body[data-page="landing"] .trust-card:nth-child(4) { grid-column: auto; }
  body[data-page="landing"] .trust-card:nth-child(4) { grid-column-start: auto; }
  body[data-page="landing"] .trust-card:nth-child(even) { border-inline-end: 0; }
  body[data-page="landing"] .trust-card:nth-child(n + 3) { border-top: 1px solid rgba(214, 164, 95, 0.15); }
}

@media (max-width: 560px) {
  body[data-page="landing"] .topbar-in { width: calc(100% - 32px); }
  body[data-page="landing"] .clubhouse-hero {
    width: min(100% - 32px, 760px);
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 250px auto;
    gap: 0;
    padding: 0;
  }
  body[data-page="landing"] .hero-copy { padding: 28px 0 22px; }
  body[data-page="landing"] .clubhouse-hero h1 {
    margin-bottom: 18px;
    font-size: clamp(38px, 12.5vw, 50px);
  }
  body[data-page="landing"] .clubhouse-hero .actions { margin-top: 20px; }
  body[data-page="landing"] .clubhouse-hero .actions .button { width: 100%; }
  body[data-page="landing"] .hero-table-scene {
    display: block;
    min-height: 0;
    padding: 0;
    border-radius: 16px;
  }
  body[data-page="landing"] .clubhouse-table-shell { top: 0; inset-inline-end: -5%; width: 110%; height: 250px; }
  body[data-page="landing"] .clubhouse-table-shell::before { inset: 55px 4% 8px; border-width: 7px; }
  body[data-page="landing"] .table-corner { display: none; }
  body[data-page="landing"] .clubhouse-panel { height: 56%; }
  body[data-page="landing"] .tabletop-demo {
    position: absolute;
    top: 12px;
    left: 50%;
    width: 226px;
    padding: 0;
  }
  body[data-page="landing"] .demo-target { min-height: 34px; margin-bottom: -6px; }
  body[data-page="landing"] .demo-target strong { font-size: 28px; }
  body[data-page="landing"] .dice-table { min-height: 66px; gap: 12px; }
  body[data-page="landing"] .tabletop-demo .real-die {
    --die-size: 36px;
    --half-die: 18px;
  }
  body[data-page="landing"] .demo-decisions { width: 200px; margin-top: -5px; }
  body[data-page="landing"] .demo-decisions span { min-height: 27px; }
  body[data-page="landing"] .demo-decisions small { max-width: 58px; font-size: 12px; }
  body[data-page="landing"] .demo-roll {
    min-width: 122px;
    min-height: 44px;
    margin-top: 0;
    padding-inline: 9px;
    font-size: 12px;
    line-height: 1.15;
  }
  body[data-page="landing"] .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body[data-page="landing"] .fact { padding: 15px 9px; }
  body[data-page="landing"] .fact b { font-size: 28px; }
  body[data-page="landing"] .fact span { font-size: 12px; }
  body[data-page="landing"] .section { padding-block: 72px; }
  body[data-page="landing"] .table-section { padding-block: 24px 72px; }
  body[data-page="landing"] .table-section > .wrap { width: calc(100% - 32px); }
  body[data-page="landing"] .table-heading h2 { font-size: 26px; }
  body[data-page="landing"] .path-card { min-height: 0; padding: 0; }
  body[data-page="landing"] .path-card-copy { gap: 10px; padding: 14px 15px 13px; }
  body[data-page="landing"] .path-card h3 { margin: 0 0 1px; font-size: 20px; }
  body[data-page="landing"] .path-card p { margin: 0; font-size: 12px; }
  body[data-page="landing"] .path-card a { width: 44px; height: 44px; font-size: 24px; }
  body[data-page="landing"] .clubhouse-rules .step-grid,
  body[data-page="landing"] .mode-grid,
  body[data-page="landing"] .feature-grid,
  body[data-page="landing"] .party-detail-grid,
  body[data-page="landing"] .trust-grid { grid-template-columns: 1fr; }
  body[data-page="landing"] .clubhouse-rules .step { border-inline-end: 0; border-bottom: 1px solid rgba(214, 164, 95, 0.16); }
  body[data-page="landing"] .clubhouse-rules .step:nth-last-child(2) { border-bottom: 1px solid rgba(214, 164, 95, 0.16); }
  body[data-page="landing"] .clubhouse-rules .step:last-child { border-bottom: 0; }
  body[data-page="landing"] .party-preview { padding: 22px 18px; border-radius: 27px; }
  body[data-page="landing"] .trust-card { min-height: auto; border-inline-end: 0; border-top: 1px solid rgba(214, 164, 95, 0.15); }
  body[data-page="landing"] .trust-card:first-child { border-top: 0; }
}

@media (max-width: 359px) {
  body[data-page="landing"] .demo-decisions { display: none; }
  body[data-page="landing"] .demo-roll { margin-top: 4px; }
  body[data-page="landing"] .party-die-row { grid-template-columns: minmax(0, 1fr); }
  body[data-page="landing"] .party-die-row span { min-height: 44px; }
}

@media (min-width: 768px) and (max-width: 1039px) {
  body[data-page="landing"] .path-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body[data-page="landing"] .path-card { width: 100%; min-height: 0; grid-column: auto; }
  body[data-page="landing"] .path-card:last-child {
    width: calc(50% - 10px);
    grid-column: 1 / -1;
    justify-self: center;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
 * FABLE V2.1.1 — üretim sanatı ve ikon ailesi (Faz 7)
 *
 * Bu blok kasıtlı olarak dosyanın SONUNDA: 1800 satırlık mevcut Clubhouse
 * sistemi olduğu gibi duruyor, buradaki kurallar yalnız iki şeyi değiştiriyor —
 * emoji yerine gelen ikonların malzemesi ve CSS ile çizilmiş sahnelerin yerine
 * geçen gerçek üretim görselleri. Çerçeve, tipografi ve yerleşim aynı.
 * ═══════════════════════════════════════════════════════════════════════ */

/* ── İkonlar ─────────────────────────────────────────────────────────────
 * Form SVG'de (satır içi sprite), MALZEME burada. Emojinin yapamadığı şey
 * tam olarak bu: aynı yüzeyde aynı pirinç kabartma ve aynı sıcak parıltı.
 * `1em` boyutlandırma sayesinde mevcut `font-size` kuralları hâlâ ölçü verir.
 */
.ic {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.16em;
  filter:
    drop-shadow(0 1px 0 rgba(0, 0, 0, 0.72))
    drop-shadow(0 0 9px rgba(224, 172, 80, 0.14));
}

.mode-icons { display: flex; align-items: center; gap: 14px; letter-spacing: 0; }
.party-pills > span { display: inline-flex; align-items: center; gap: 6px; }
.party-pills .ic { width: 15px; height: 15px; vertical-align: middle; }
.world-grid .ic { width: 30px; height: 30px; }
.mobile-menu summary .ic { width: 20px; height: 20px; }
.badge .ic { width: 17px; height: 17px; margin-inline-end: 7px; }
.journey-star .ic { width: 100%; height: 100%; }

/* Sıcak parıltı yalnız sıcak ikonlarda anlamlı; soğuk ailelerde kendi
 * renginde olmalı, yoksa her ikon "pirinç" gibi okunur. */
.trust-card .ic,
.feature-card .ic { filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.72)) drop-shadow(0 0 9px rgba(224, 172, 80, 0.12)); }
.daily-card.lucky .ic { filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.72)) drop-shadow(0 0 10px rgba(78, 231, 168, 0.18)); }
.detail-card .ic { filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.72)) drop-shadow(0 0 10px rgba(53, 103, 255, 0.16)); }

/* ── Kahraman odası ──────────────────────────────────────────────────────
 * Oda artık CSS ile çizilmiş panel/ray/lamba taklidi değil, gerçek çekim.
 *
 * ZAR NOTU: kaynak görseldeki fildişi zar elle, yakınlaştırılarak incelendi;
 * KOMŞU İKİ YÜZÜ DE 4 ve üst yüzün benekleri kare düzende değil — kullanıcının
 * Round 5'te reddettiği kusurun aynısı. Bu yüzden `hero_scene` türevi zar
 * bölgesini KIRPARAK dışarıda bırakır (bkz. scripts/build-web-art.mjs).
 * Sayfadaki gerçek zarlar canlı CSS-3D/WebGL zarlardır; yüzleri kodla üretilir.
 */
.hero-art {
  position: absolute;
  z-index: 0;
  inset-block: 0;
  inset-inline-end: 0;
  width: 74%;
  height: 100%;
  object-fit: cover;
  /* Fotografin MAVI HALKASI, uzerine cizilen oval masayla ust uste gelip iki
   * mavi oval uretiyordu. Kadraj asagi kaydirilir: masanin altinda artik
   * ceviz yuzey, altin jeton ve parsomen harita var — cizilen masa tek mavi
   * kutle olarak kalir. */
  object-position: 44% 38%;
  opacity: 1;
  /* Sol kenar metin sütununa taşmadan erisin: sert kesim yerine yumuşak geçiş. */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 26%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 26%, #000 100%);
}

/* Gerçek oda geldiği için sahte oda kalkar — ikisi üst üste çizilirse
 * fotoğrafın perspektifiyle CSS panellerinin perspektifi çakışır. */
.clubhouse-panel,
.clubhouse-rail,
.clubhouse-lamp { display: none; }

/* Kalan iki parıltı fotoğrafın üstünde durur: masanın kendi ışığı. */
.clubhouse-glow { mix-blend-mode: screen; opacity: 0.5; }

/* Fotoğraf metnin altına girdiği için sol perde biraz daha kapalı. */
body[data-page="landing"] .clubhouse-hero::before {
  background: linear-gradient(90deg,
    rgba(5, 6, 9, 0.985) 0%,
    rgba(6, 7, 10, 0.93) 46%,
    rgba(7, 7, 9, 0.42) 76%,
    transparent 100%);
}

/* CIZILMIS OVAL MASA KALKAR.
 *
 * Fotografta zaten gercek bir masa var; ustune CSS ile ikinci bir mavi oval
 * cizmek iki masa ureterek sahneyi okunmaz yapiyordu. Canli zarlar, hedef
 * plakasi ve karar cipleri artik dogrudan gercek masanin uzerinde durur —
 * hedef gorseldeki kompozisyonun kendisi budur.
 *
 * Yalnizca zeminin golgesi kalir ki zarlar havada asili durmasin. */
.clubhouse-table-shell::before { display: none; }
.clubhouse-table-shell::after {
  right: 16%;
  bottom: 58px;
  left: 16%;
  height: 64px;
  background: rgba(0, 0, 0, 0.46);
}

/* ── Yol kartları ────────────────────────────────────────────────────────
 * Üç sahne de gerçek üretim sanatı. Kartın alt yarısı zaten karanlık
 * kompozisyonlu; metin için ayrıca bir perde çizilir ki kontrast görselden
 * bağımsız garanti olsun (WCAG'ı sanatın şansına bırakmıyoruz).
 */
.path-table { position: relative; overflow: hidden; }
.path-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 34%;
}
.path-table > span { display: none; }
/* Arena master'ındaki geçersiz baked zar bbox'ı kaynak görsel bozulmadan
 * tamamen örtülür. Kalkan OPAKTIR; üzerindeki zarlar doğrulanmış V2.1.4
 * 5/6/3 + 6/3/5 ailesidir. Yüzde konumu kaynak kadrajına bağlı, clamp ölçüsü
 * ise 320px telefonda bile zar çiftini sayılabilir tutar. */
.arena-dice-replacement {
  position: absolute;
  z-index: 1;
  top: 19.5%;
  left: 21.5%;
  display: grid;
  width: clamp(94px, 23%, 180px);
  aspect-ratio: 1.5;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(224, 172, 80, 0.64);
  border-radius: 24px;
  background-color: #120b07;
  background-image:
    radial-gradient(ellipse at 50% 42%, #49301e 0%, #2a190f 58%, #120b07 100%);
  box-shadow:
    0 10px 18px rgba(0, 0, 0, 0.52),
    inset 0 0 0 3px rgba(255, 220, 160, 0.06),
    inset 0 -10px 22px rgba(0, 0, 0, 0.3);
}
.arena-dice-replacement img {
  display: block;
  width: 86%;
  height: auto;
  filter: drop-shadow(0 7px 6px rgba(0, 0, 0, 0.52));
}
body[data-page="landing"] .path-card::after {
  background: linear-gradient(180deg, transparent 34%, rgba(6, 7, 10, 0.72) 68%, rgba(5, 6, 9, 0.96) 100%);
}
body[data-page="landing"] .path-card { border-color: rgba(224, 172, 80, 0.22); }
body[data-page="landing"] .path-card:hover { border-color: rgba(224, 172, 80, 0.42); }

/* ── Party bandı ─────────────────────────────────────────────────────────
 * Gerçek sekiz kişilik masa. KOLTUKLAR BOŞ — ürün hiçbir yerde varlık
 * (presence) bilgisi tutmuyor, dolayısıyla dolu koltuk çizmek veri uydurmak
 * olurdu. Görsel bu yüzden olduğu gibi, kalabalıklaştırılmadan kullanılır.
 */
.party-section {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(900px 500px at 10% 30%, rgba(53, 103, 255, 0.1), transparent 70%);
}
.party-section::before {
  position: absolute;
  z-index: -1;
  inset-block: 0;
  inset-inline-end: 0;
  width: min(760px, 58%);
  content: "";
  opacity: 0.42;
  background-image: image-set(
    url("art/party_table-560.webp") 1x,
    url("art/party_table-900.webp") 2x);
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  -webkit-mask-image: radial-gradient(120% 90% at 78% 50%, #000 18%, transparent 72%);
  mask-image: radial-gradient(120% 90% at 78% 50%, #000 18%, transparent 72%);
  pointer-events: none;
}

/* ── Günlük Arena: jeton amblemi ─────────────────────────────────────────
 * Günlük Arena ürünün jeton ekonomisinin oynandığı yer; üretim jetonu tam
 * olarak buraya ait. Dekorasyon değil, bölümün konusunun kendisi.
 */
.daily-section { position: relative; isolation: isolate; }
.daily-section::after {
  position: absolute;
  z-index: -1;
  top: 34px;
  inset-inline-end: 4%;
  width: 190px;
  height: 190px;
  content: "";
  /* %20'de jeton koyu bir leke gibi okunuyordu — altın yüzeyin kendisi orta
   * tonda, karanlık zeminde kararıyor. Görünür bir amblem olarak durmalı ya da
   * hiç durmamalı; "belli belirsiz koyu daire" ikisi de değil. */
  opacity: 0.55;
  filter: drop-shadow(0 0 22px rgba(255, 116, 22, 0.18));
  background-image: image-set(
    url("art/gold_chip-140.webp") 1x,
    url("art/gold_chip-240.webp") 2x);
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}

/* ── Fable rol hizalaması ────────────────────────────────────────────────
 * Uygulamadaki anlam haritası burada da geçerli: pirinç yapıdır, köz tek
 * birincil eylemdir, menekşe yalnız şanstır, mavi yalnız party'dir.
 */
.mode-level {
  border-color: rgba(224, 172, 80, 0.32);
  color: var(--brass-high);
  background: var(--brass-wash);
}
.party-pills > span {
  border-color: rgba(53, 103, 255, 0.34);
  color: #cfdcff;
  background: rgba(53, 103, 255, 0.09);
}
.daily-card.lucky {
  border-color: rgba(174, 114, 245, 0.4);
  background:
    radial-gradient(360px 200px at 90% 0, rgba(174, 114, 245, 0.16), transparent 70%),
    linear-gradient(150deg, rgba(32, 22, 44, 0.96), rgba(14, 12, 18, 0.95));
}
.step > span { color: var(--brass); }
.step { border-top-color: rgba(224, 172, 80, 0.3); }
.faq-item summary::after { color: var(--brass); }
.notice { border-inline-start-color: var(--brass); background: var(--brass-wash); }
.date { color: var(--brass) !important; }

/* ── Dar ekran ───────────────────────────────────────────────────────────
 * Tek sütuna düşen kahraman: fotoğraf tüm genişliği alır ve maske dikey olur;
 * yatay maske dar ekranda görselin yarısını siliyordu.
 */
@media (max-width: 900px) {
  .hero-art {
    width: 100%;
    object-position: 52% 78%;
    opacity: 0.62;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 100%);
  }
  .party-section::before { width: 100%; opacity: 0.16; }
  .daily-section::after { width: 150px; height: 150px; opacity: 0.14; }
}

/* Hareket azaltma isteyen kullanıcı için görseller sabit; zaten animasyon
 * taşımıyorlar ama parıltı karışımı düşük güçlü cihazlarda pahalı olabiliyor. */
@media (prefers-reduced-motion: reduce) {
  .clubhouse-glow { mix-blend-mode: normal; opacity: 0.3; }
}

/* ── Party önizleme perçinleri ───────────────────────────────────────────
 * Kartın dört köşesindeki pirinç perçinler yüzde ile konumlanıyordu (%10/%90
 * × %12/%88). Kart yüksekliği ~340px olduğunda üstteki perçinler 41px'e
 * düşüyor ve tur sayacının ("3 / 10") tam üstüne biniyor — ekran görüntüsünde
 * "1" rakamı altın bir noktanın altında kayboluyordu.
 *
 * Yüzde, içeriği kartın boyuna bağlar; perçin bir DONANIM parçasıdır ve
 * kenardan sabit uzaklıkta durmalıdır. Bu kusur Faz 7 öncesinde de vardı.
 */
body[data-page="landing"] .party-preview {
  background:
    radial-gradient(circle at 17px 17px, var(--brass) 0 5px, transparent 6px),
    radial-gradient(circle at calc(100% - 17px) 17px, var(--brass) 0 5px, transparent 6px),
    radial-gradient(circle at 17px calc(100% - 17px), var(--brass) 0 5px, transparent 6px),
    radial-gradient(circle at calc(100% - 17px) calc(100% - 17px), var(--brass) 0 5px, transparent 6px),
    radial-gradient(ellipse at center, #163a68, #0b2145 76%);
}

/* ── Derin bağlantı kapıları, hukuk sayfaları ve 404 ─────────────────────
 *
 * Bu beş kapı (/c/ /m/ /i/ /u/ /p/) ürünün en çok paylaşılan yüzeyidir ve
 * çoğu ziyaretçi DICESO'yu İLK burada görür. Buna rağmen tarayıcıda hiçbir
 * arka uç yoktur: sayfa yalnız URL'de ne varsa onu bilir.
 *
 * Hedef görsel (`web_party_invite_final.png`) ev sahibinin kullanıcı adını,
 * oda adını ve "6/8 oyuncu"yu gösteriyor. Bunların HİÇBİRİ bu sayfada bilinmez;
 * çizmek veri uydurmak olurdu (brief §8). Bu yüzden kapılar dürüst kalır —
 * amblem, başlık, URL'deki kod, tek birincil eylem, yedek bağlantılar — ve
 * görsel fark MALZEMEYLE kapatılır: gerçek masa fonu, pirinç çerçeve,
 * perçinler ve kazınmış kod plakası.
 */
.deep-page { position: relative; isolation: isolate; }
.deep-page::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background-image: image-set(
    url("art/hero_scene-600.webp") 1x,
    url("art/hero_scene-960.webp") 2x);
  background-repeat: no-repeat;
  background-position: 50% 78%;
  background-size: cover;
  opacity: 0.26;
  -webkit-mask-image: radial-gradient(130% 82% at 50% 112%, #000 4%, transparent 68%);
  mask-image: radial-gradient(130% 82% at 50% 112%, #000 4%, transparent 68%);
  pointer-events: none;
}

.deep-card {
  border-color: rgba(224, 172, 80, 0.3);
  /* Dört pirinç perçin: uygulamadaki plaka donanımının aynısı. Konumlar
   * kenardan SABİT uzaklıkta — yüzdeyle verilseydi kart uzadıkça içeri kayıp
   * metnin üstüne binerdi (party önizlemesinde tam olarak bu olmuştu). */
  background:
    radial-gradient(circle at 18px 18px, var(--brass) 0 4px, transparent 5px),
    radial-gradient(circle at calc(100% - 18px) 18px, var(--brass) 0 4px, transparent 5px),
    radial-gradient(circle at 18px calc(100% - 18px), var(--brass) 0 4px, transparent 5px),
    radial-gradient(circle at calc(100% - 18px) calc(100% - 18px), var(--brass) 0 4px, transparent 5px),
    radial-gradient(460px 250px at 50% 0, rgba(255, 116, 22, 0.11), transparent 72%),
    linear-gradient(155deg, rgba(35, 25, 18, 0.98), rgba(10, 9, 8, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(255, 211, 126, 0.1),
    0 34px 100px rgba(0, 0, 0, 0.55);
}
.deep-card > img {
  border-color: rgba(224, 172, 80, 0.36);
  box-shadow: 0 0 46px rgba(255, 116, 22, 0.16);
}

/* Kazınmış kod plakası. Kod URL'den gelir — uydurulmuş tek karakter yok. */
.code {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  padding: 11px 18px;
  border: 1px solid rgba(224, 172, 80, 0.32);
  border-radius: 13px;
  color: var(--brass-high);
  background: linear-gradient(180deg, rgba(8, 9, 12, 0.94), rgba(4, 5, 8, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 211, 126, 0.12), inset 0 -1px 0 rgba(0, 0, 0, 0.6);
  letter-spacing: 0.16em;
}
/* Boş `aria-live` kutusu görünür bir plaka bırakmasın. */
.code:empty { display: none; }
.code.invalid { border-color: rgba(255, 93, 115, 0.42); }

.badge {
  border-color: rgba(224, 172, 80, 0.4);
  color: #f7e3b6;
  background: var(--brass-wash);
}

/*
 * Aile vurgusu YALNIZ çerçevenin parıltısındadır. Birincil eylem her kapıda
 * köz kalır: "ekran başına tek doygun eylem rengi" kuralı web'de de geçerli,
 * yoksa aynı düğme beş farklı renkte beş farklı şey gibi okunur.
 */
body[data-page="party"] .deep-card { box-shadow: inset 0 0 0 1px rgba(143, 182, 255, 0.14), 0 34px 100px rgba(0, 0, 0, 0.55), 0 0 70px rgba(53, 103, 255, 0.1); }
body[data-page="profile"] .deep-card { box-shadow: inset 0 0 0 1px rgba(143, 182, 255, 0.12), 0 34px 100px rgba(0, 0, 0, 0.55), 0 0 70px rgba(53, 103, 255, 0.07); }
body[data-page="referral"] .deep-card { box-shadow: inset 0 0 0 1px rgba(255, 211, 126, 0.16), 0 34px 100px rgba(0, 0, 0, 0.55), 0 0 70px rgba(224, 172, 80, 0.09); }
body[data-page="notFound"] .deep-page::before { opacity: 0.16; }

/* ── Hukuk ve destek ─────────────────────────────────────────────────────
 * Bunlar KASITLI olarak sakin: yıkıcı onay, veri açıklaması ve yardım metni
 * sinematik olmamalı. Tek değişiklik malzemenin ürünle aynı olması.
 */
.legal {
  border-color: rgba(224, 172, 80, 0.2);
  background: linear-gradient(155deg, rgba(30, 23, 17, 0.96), rgba(14, 13, 12, 0.96));
}
.support-card { border-color: rgba(224, 172, 80, 0.2); background: var(--raised); }
.support-card.danger { border-color: rgba(255, 93, 115, 0.45); }
.legal h2 { color: var(--text); }

/* ── Dar ekranda karar çipleri ───────────────────────────────────────────
 * `.demo-decisions` 250px genişlikte iki sütun; 390px'de her çip ~122px'e
 * düşüyor ve "ZAR TUTULDU" / "YENİDEN AT" üç nokta ile kırpılıyordu (Arapça
 * "تم الاحتفاظ" da aynı şekilde). Kırpılmış arayüz metni bitmemiş görünür.
 * Dar ekranda tek sütuna inip metnin sarmasına izin verilir.
 */
@media (max-width: 520px) {
  .demo-decisions { grid-template-columns: minmax(0, 1fr); }
  .demo-decisions span { min-height: 34px; padding-inline: 12px; }
  .demo-decisions small { overflow: visible; white-space: normal; text-overflow: clip; }
}

/* ── Gezinme çubuğundaki köz CTA'sının metin rengi ───────────────────────
 * `.nav > a` (0,2,0) `.button` (0,1,0) kuralını yeniyordu, bu yüzden üst
 * çubuktaki "Yayın durumu" düğmesi köz degradesi üzerinde `--dim` bej
 * metinle çiziliyordu: ölçülen kontrast 1.35, gereken 4.5. Düğme metni
 * düğmenin kendi mürekkebi olmalı.
 */
.nav > a.button,
.nav > a.button:hover,
.nav > a.button:focus-visible { color: #181207; }
.nav > a.button.secondary,
.nav > a.button.secondary:hover { color: var(--text); }

/* ── Hukuk sayfalarındaki geri bağlantısı ────────────────────────────────
 * "← Siteye dön" bir CÜMLE İÇİ bağlantı değil, tek başına duran bir gezinme
 * denetimi; ölçülen kutusu 93×21 idi. WCAG 2.5.8'in "inline" muafiyeti buna
 * uygulanmaz. Gövde metnindeki e-posta ve üçüncü taraf politika bağlantıları
 * ise cümlenin içindedir; onlar muafiyet kapsamındadır ve satır yüksekliğini
 * bozmamak için olduğu gibi bırakılır.
 *
 * Seçici href'e BAKMAZ: i18n çalışma katmanı bağlantıyı çalışma zamanında
 * mutlak bir URL'e (`http://…/index.html?lang=tr`) çeviriyor, dolayısıyla
 * href tabanlı her seçici sayfa çevrildiği anda sessizce devre dışı kalır.
 * Yapı sabittir: hukuk sayfasının ilk paragrafı yalnız geri bağlantısıdır.
 */
.legal > p:first-of-type > a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding-inline-end: 8px;
  color: var(--brass-high);
  font-weight: 800;
  text-decoration: none;
}
