:root {
  --ink:#2d1b33;
  --muted:#7f718a;
  --paper:#fffaf2;
  --paper-2:#fff4e3;
  --line:rgba(45,27,51,0.12);
  --teal:#4ecdc4;
  --teal-dark:#2ba5a0;
  --gold:#f5b942;
  --pink:#f47b8f;
  --violet:#8b6eea;
  --shadow:0 24px 60px rgba(65,45,75,0.16);
  --soft-shadow:0 12px 28px rgba(65,45,75,0.12);
  --radius:8px;
}

* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  margin:0;
  min-height:100vh;
  font-family:'Nunito','Segoe UI',system-ui,sans-serif;
  color:var(--ink);
  background:
    radial-gradient(circle at 15% 12%, rgba(255,255,255,0.94), rgba(255,255,255,0) 26%),
    radial-gradient(circle at 78% 8%, rgba(78,205,196,0.18), rgba(78,205,196,0) 24%),
    linear-gradient(170deg,#fff8f0 0%,#f6edff 48%,#e9f8fa 100%);
  overflow-x:hidden;
}

body.nav-open { overflow:hidden; }

a { color:inherit; text-decoration:none; }
button, input { font:inherit; }
button { cursor:pointer; }
img, canvas, svg { display:block; max-width:100%; }

.bubble-cursor {
  display:none;
}

.site-shell {
  position:relative;
  isolation:isolate;
}

.site-header {
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:40;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  width:min(1180px, calc(100% - 28px));
  margin:14px auto 0;
  padding:10px 12px;
  border:1px solid rgba(45,27,51,0.1);
  border-radius:14px;
  background:rgba(255,250,242,0.82);
  backdrop-filter:blur(18px);
  box-shadow:0 10px 30px rgba(45,27,51,0.1);
}

.brand {
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:900;
  font-size:18px;
}

.brand-icon {
  width:36px;
  height:36px;
  border-radius:9px;
  box-shadow:0 5px 14px rgba(45,27,51,0.16);
}

.nav-links {
  display:flex;
  align-items:center;
  gap:6px;
}

.nav-links a {
  padding:10px 13px;
  border-radius:9px;
  font-size:13px;
  font-weight:900;
  color:#574762;
  transition:background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
  background:#fff;
  color:var(--ink);
  transform:translateY(-1px);
}

.nav-toggle {
  display:none;
  width:42px;
  height:42px;
  border:0;
  border-radius:10px;
  background:#fff;
  box-shadow:inset 0 -2px 0 rgba(45,27,51,0.08);
}

.nav-toggle span {
  display:block;
  width:18px;
  height:2px;
  margin:4px auto;
  border-radius:4px;
  background:var(--ink);
}

.hero-section {
  position:relative;
  min-height:100vh;
  display:flex;
  align-items:center;
  padding:104px 20px 72px;
  overflow:hidden;
}

.hero-canvas {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  z-index:-2;
}

.hero-section::after {
  content:'';
  position:absolute;
  inset:auto 0 0;
  height:220px;
  background:linear-gradient(180deg, rgba(255,248,240,0), rgba(255,248,240,0.9));
  z-index:-1;
  pointer-events:none;
}

.hero-content {
  display:grid;
  grid-template-columns:minmax(0, 1.04fr) minmax(320px, 0.78fr);
  align-items:center;
  gap:54px;
  width:min(1180px, 100%);
  margin:0 auto;
}

.hero-copy {
  max-width:680px;
}

.hero-logo {
  width:min(360px, 84vw);
  margin:0 0 18px -8px;
  filter:drop-shadow(0 16px 18px rgba(45,27,51,0.12));
}

.eyebrow,
.section-kicker {
  margin:0 0 10px;
  color:#8b6eea;
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:1.8px;
}

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

h1 {
  max-width:660px;
  margin-bottom:18px;
  font-size:clamp(42px, 7vw, 82px);
  line-height:0.95;
  font-weight:900;
  letter-spacing:0;
  text-shadow:0 2px 0 rgba(255,255,255,0.78);
}

.hero-text {
  max-width:570px;
  color:#675671;
  font-size:18px;
  line-height:1.62;
  text-shadow:0 1px 0 rgba(255,255,255,0.78);
}

.hero-actions,
.store-row {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
}

.primary-action,
.secondary-action,
.local-link,
.notify-form button {
  min-height:46px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:0;
  border-radius:10px;
  padding:0 18px;
  font-weight:900;
  box-shadow:inset 0 -3px 0 rgba(45,27,51,0.12), 0 12px 22px rgba(45,27,51,0.12);
  transition:transform 0.18s ease, filter 0.18s ease;
}

.primary-action,
.notify-form button {
  background:linear-gradient(180deg,#55d7ce,#2faea7);
  color:#fff;
}

.hero-actions .primary-action {
  min-height:54px;
  padding:0 24px;
  border-radius:12px;
  font-size:17px;
}

.secondary-action,
.local-link {
  background:#fff;
  color:var(--ink);
  border:1px solid rgba(45,27,51,0.09);
}

.primary-action:hover,
.secondary-action:hover,
.local-link:hover,
.notify-form button:hover,
.store-badge:hover {
  transform:translateY(-2px);
  filter:brightness(1.02);
}

.phone-stage {
  --phone-w:390px;
  --phone-h:834.42px;
  --phone-scale:0.85;
  position:relative;
  width:calc(var(--phone-w) * var(--phone-scale));
  height:calc(var(--phone-h) * var(--phone-scale));
  flex:0 0 auto;
  display:block;
  margin-inline:auto;
  overflow:visible;
  cursor:pointer;
}

.phone-stage:focus-visible {
  outline:3px solid rgba(78,205,196,0.55);
  outline-offset:8px;
  border-radius:36px;
}

.phone-frame {
  position:absolute;
  top:0;
  left:0;
  width:var(--phone-w);
  height:var(--phone-h);
  max-width:none;
  padding:12px;
  border-radius:34px;
  background:linear-gradient(180deg,#33223b,#150d1a);
  box-shadow:var(--shadow);
  overflow:hidden;
  transform:rotate(2deg) scale(var(--phone-scale));
  transform-origin:top left;
}

.phone-notch {
  position:absolute;
  top:9px;
  left:50%;
  width:98px;
  height:23px;
  transform:translateX(-50%);
  border-radius:0 0 16px 16px;
  background:#160e1c;
  z-index:3;
}

.phone-app-demo {
  position:absolute;
  top:12px;
  left:12px;
  right:12px;
  bottom:12px;
  border-radius:25px;
  background:#fff8f0;
  overflow:hidden;
}

.phone-game-preview {
  width:100%;
  height:100%;
  display:block;
  border:0;
  background:transparent;
  pointer-events:none;
}

.phone-glass {
  position:absolute;
  inset:12px;
  border-radius:25px;
  background:linear-gradient(115deg, rgba(255,255,255,0.28), rgba(255,255,255,0) 32%, rgba(255,255,255,0.1) 78%);
  pointer-events:none;
}

.demo-topbar {
  position:absolute;
  top:37px;
  left:14px;
  right:14px;
  z-index:3;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:7px;
}

.demo-profile-chip,
.demo-top-actions,
.demo-currency-stack {
  display:flex;
  align-items:center;
  gap:6px;
}

.demo-profile-chip,
.demo-icon-btn,
.demo-currency {
  min-height:24px;
  display:inline-flex;
  align-items:center;
  border:1px solid rgba(45,27,51,0.06);
  border-radius:9px;
  background:rgba(255,255,255,0.74);
  box-shadow:0 1px 6px rgba(45,27,51,0.07);
  backdrop-filter:blur(8px);
}

.demo-profile-chip {
  width:78px;
  min-height:31px;
  padding:4px 6px;
}

.demo-profile-chip b,
.demo-profile-chip small {
  display:block;
  line-height:1;
  color:#4f4656;
}

.demo-profile-chip b {
  font-size:10px;
  font-weight:900;
}

.demo-profile-chip small {
  margin-top:3px;
  font-size:6px;
  font-weight:900;
  color:#9a8ba4;
}

.demo-avatar-mini {
  width:22px;
  height:22px;
  flex:0 0 auto;
  display:grid;
  place-items:center;
  border-radius:7px;
  background:linear-gradient(135deg,#45b7aa,#76e2d8);
  box-shadow:inset -2px -2px 0 rgba(45,27,51,0.11);
}

.demo-avatar-mini span {
  width:12px;
  height:12px;
  border-radius:50% 50% 44% 56%;
  background:radial-gradient(circle at 35% 28%, #dcfffb, #9ff2eb 55%, #4ecdc4);
}

.demo-top-actions {
  gap:4px;
}

.demo-icon-btn {
  width:27px;
  height:27px;
  justify-content:center;
}

.demo-icon-btn i {
  position:relative;
  width:14px;
  height:12px;
  display:block;
}

.demo-mail-btn i {
  border:2px solid #6f6278;
  border-radius:3px;
}

.demo-mail-btn i::before {
  content:'';
  position:absolute;
  left:1px;
  right:1px;
  top:0;
  height:8px;
  border-bottom:2px solid #6f6278;
  transform:skewY(-27deg);
}

.demo-badge-btn i {
  width:14px;
  height:14px;
  border-radius:50%;
  border:2px solid #6f6278;
}

.demo-badge-btn i::before,
.demo-badge-btn i::after {
  content:'';
  position:absolute;
  bottom:-6px;
  width:5px;
  height:8px;
  background:#6f6278;
  border-radius:2px;
}

.demo-badge-btn i::before { left:2px; transform:rotate(18deg); }
.demo-badge-btn i::after { right:2px; transform:rotate(-18deg); }

.demo-items-btn i {
  width:17px;
  height:13px;
  border:2px solid #6f6278;
  border-top:0;
  border-radius:0 0 7px 7px;
}

.demo-items-btn i::before {
  content:'';
  position:absolute;
  left:2px;
  top:-7px;
  width:12px;
  height:9px;
  border:2px solid #6f6278;
  border-bottom:0;
  border-radius:8px 8px 0 0;
}

.demo-currency {
  width:auto;
  min-width:58px;
  gap:4px;
  justify-content:flex-start;
  padding:4px 7px 4px 5px;
}

.demo-currency b {
  font-size:11px;
  line-height:1;
}

.demo-currency.ticket b { color:#c8860a; }
.demo-currency.orb b { color:#5c4fc2; }

.demo-ticket-icon {
  width:23px;
  height:14px;
  flex:0 0 auto;
  display:inline-block;
  transform:rotate(-10deg);
  background:url('assets/ticket-icon.png') center/contain no-repeat;
}

.demo-orb-icon {
  width:18px;
  height:18px;
  flex:0 0 auto;
  display:inline-block;
  position:relative;
  overflow:hidden;
  border-radius:50%;
  background:radial-gradient(circle at 40% 35%, #D4A0F0 0%, #B388FF 28%, #7C4DFF 58%, #4527A0 100%);
  box-shadow:0 0 5px rgba(124,77,255,0.3);
}

.demo-orb-icon::before {
  content:'';
  position:absolute;
  inset:-20% -60%;
  border-radius:50%;
  background:linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.18) 35%, rgba(255,255,255,0.05) 50%, transparent 65%, rgba(0,0,0,0.08) 80%, transparent 100%);
}

.demo-orb-icon::after {
  content:'';
  position:absolute;
  top:12%;
  left:18%;
  width:28%;
  height:22%;
  border-radius:50%;
  background:rgba(255,255,255,0.25);
  filter:blur(1px);
}

.demo-orb-icon.tiny {
  width:11px;
  height:11px;
}

.demo-logo-wrap {
  width:100%;
  display:grid;
  justify-items:center;
  gap:7px;
  margin:8px 0 0;
  position:relative;
  z-index:2;
}

.demo-logo {
  width:78%;
  filter:drop-shadow(0 10px 10px rgba(45,27,51,0.13));
  animation:demoLogoBreathe 2.8s ease-in-out infinite;
}

.demo-logo-wrap span {
  color:#b7a7bf;
  font-size:10px;
  font-weight:900;
  letter-spacing:4px;
  text-transform:uppercase;
}

.demo-droplee-arc {
  width:94%;
  height:112px;
  position:relative;
  z-index:2;
  margin:0 auto 1px;
  pointer-events:none;
}

.demo-arc-drop {
  position:absolute;
  filter:drop-shadow(0 10px 12px rgba(45,27,51,0.13));
}

.demo-arc-drop.drop-one {
  left:6%;
  top:43px;
  width:44px;
  height:44px;
}

.demo-arc-drop.drop-two {
  left:27%;
  top:15px;
  width:53px;
  height:53px;
}

.demo-arc-drop.drop-three {
  right:27%;
  top:12px;
  width:61px;
  height:61px;
}

.demo-arc-drop.drop-four {
  right:3%;
  top:32px;
  width:76px;
  height:76px;
}

@keyframes demoLogoBreathe {
  0%, 100% { transform:translateY(0) scale(1); }
  50% { transform:translateY(-3px) scale(1.025); }
}

.demo-mode-buttons {
  width:65%;
  display:grid;
  gap:8px;
  margin-top:2px;
  position:relative;
  z-index:2;
}

.demo-mode {
  height:48px;
  display:grid;
  place-items:center;
  border-radius:13px;
  color:#fff;
  font-size:16px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:1.6px;
  box-shadow:inset 0 -4px 0 rgba(45,27,51,0.13), 0 9px 16px rgba(45,27,51,0.11);
}

.demo-mode small {
  display:block;
  margin-top:-8px;
  font-size:7px;
  letter-spacing:0.9px;
  opacity:0.76;
}

.demo-mode.classic { background:linear-gradient(135deg,#4ECDC4,#45B7AA); }
.demo-mode.puzzle { background:linear-gradient(135deg,#A78BFA,#8B6EEA); }
.demo-mode.rush { background:linear-gradient(135deg,#F47B8F,#E84A6F); }

.demo-home-module {
  width:92%;
  margin-top:auto;
  display:grid;
  grid-template-columns:1.05fr 0.95fr;
  gap:8px;
  min-height:142px;
  padding:12px;
  border-radius:17px;
  background:
    linear-gradient(125deg, transparent 0 58%, rgba(78,205,196,0.12) 58% 64%, transparent 64%),
    linear-gradient(38deg, transparent 0 63%, rgba(139,110,234,0.11) 63% 70%, transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,0.78), rgba(255,250,242,0.9));
  box-shadow:0 13px 26px rgba(45,27,51,0.14);
  position:relative;
  z-index:2;
}

.demo-side-tab {
  position:absolute;
  right:12px;
  z-index:3;
  min-width:50px;
  min-height:42px;
  display:grid;
  place-items:center;
  border-radius:12px 0 0 12px;
  color:#fff;
  font-size:11px;
  font-weight:900;
  letter-spacing:0.4px;
  box-shadow:inset 0 -3px 0 rgba(45,27,51,0.12), 0 7px 13px rgba(45,27,51,0.12);
}

.demo-shop-tab {
  top:337px;
  background:linear-gradient(135deg,#f5b942,#e28f2d);
}

.demo-spin-tab {
  top:387px;
  background:linear-gradient(135deg,#f47b8f,#e84a6f);
}

.demo-module-left,
.demo-module-right {
  display:grid;
  min-width:0;
}

.demo-module-left {
  grid-template-rows:1fr 1.08fr;
  gap:6px;
}

.demo-stat-lines {
  display:grid;
  grid-template-columns:28px 1fr;
  gap:4px 6px;
  align-items:center;
  padding-bottom:6px;
  border-bottom:1px solid rgba(45,27,51,0.09);
}

.demo-mode-letter {
  grid-row:1 / 3;
  width:26px;
  height:26px;
  display:grid;
  place-items:center;
  border-radius:8px;
  color:#fff;
  background:linear-gradient(135deg,#4ecdc4,#45b7aa);
  font-size:14px;
  font-weight:900;
}

.demo-stat-lines span:not(.demo-mode-letter),
.demo-dex-copy,
.demo-daily-line {
  min-width:0;
}

.demo-stat-lines b,
.demo-dex-copy b,
.demo-daily-line b {
  display:block;
  color:#6f6278;
  font-size:6.8px;
  font-weight:900;
  line-height:1;
  text-transform:uppercase;
  letter-spacing:0.2px;
}

.demo-stat-lines strong,
.demo-dex-copy strong {
  display:block;
  color:#2d1b33;
  font-size:12px;
  line-height:1;
}

.demo-dex-area {
  position:relative;
  display:grid;
  grid-template-columns:48px 1fr;
  align-items:center;
  gap:7px;
  min-height:60px;
  padding-top:6px;
}

.demo-dex-title {
  position:absolute;
  left:0;
  top:4px;
  padding:2px 10px;
  transform:skew(-16deg);
  border:1px solid rgba(255,255,255,0.62);
  background:#544b5c;
  color:#f7f2ff;
  font-size:9px;
  font-weight:900;
  letter-spacing:1px;
  box-shadow:0 2px 5px rgba(45,27,51,0.12);
}

.demo-dex-drops {
  width:48px;
  height:48px;
  align-self:end;
  position:relative;
  display:block;
}

.demo-dex-drops i {
  position:absolute;
  width:14px;
  height:14px;
  border-radius:50%;
  background:#f5b942;
  box-shadow:inset -2px -2px 0 rgba(45,27,51,0.08), 0 2px 3px rgba(45,27,51,0.1);
}

.demo-dex-drops i:nth-child(1) { left:1px; top:18px; background:#f47b8f; }
.demo-dex-drops i:nth-child(2) { left:15px; top:9px; background:#f5b942; }
.demo-dex-drops i:nth-child(3) { left:28px; top:20px; background:#9b7fd4; }
.demo-dex-drops i:nth-child(4) { left:12px; top:31px; background:#4ecdc4; }
.demo-dex-drops i:nth-child(5) { left:31px; top:34px; background:#f5b942; }

.demo-dex-copy b {
  color:#4f4656;
  font-size:9px;
  line-height:1.05;
}

.demo-dex-copy strong {
  margin-top:4px;
  font-size:19px;
}

.demo-module-right {
  gap:6px;
}

.demo-daily-line {
  display:grid;
  gap:3px;
  align-content:center;
  min-height:38px;
  padding:7px 8px;
  border-radius:11px;
  background:rgba(255,255,255,0.5);
  box-shadow:inset 0 -1px 0 rgba(45,27,51,0.05);
}

.demo-daily-line span {
  display:flex;
  align-items:center;
  gap:4px;
  min-width:0;
  color:#4f4656;
  font-size:9px;
  font-weight:900;
  line-height:1.1;
}

.demo-daily-line i {
  width:13px;
  height:13px;
  display:inline-grid;
  place-items:center;
  border-radius:50%;
  background:#ef425c;
  color:#fff;
  font-style:normal;
  font-size:9px;
}

.demo-daily-line.challenges span {
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:4px;
}

.demo-daily-line.challenges i {
  width:100%;
  height:8px;
  border-radius:999px;
  background:#d8e8ef;
}

.section {
  width:min(1180px, calc(100% - 32px));
  margin:0 auto;
  padding:82px 0;
}

.section-head {
  max-width:720px;
  margin-bottom:28px;
}

.section-head h2,
.lore-copy h2,
.download-panel h2 {
  margin-bottom:12px;
  font-size:clamp(32px, 5vw, 56px);
  line-height:1;
  font-weight:900;
  letter-spacing:0;
}

.section-head p,
.lore-copy p,
.download-panel p,
.panel-note {
  color:#665771;
  line-height:1.62;
}

.rhythm-grid {
  display:grid;
  grid-template-columns:minmax(320px, 0.78fr) minmax(300px, 1fr);
  gap:24px;
  align-items:stretch;
}

.rhythm-panel,
.lore-card,
.download-panel {
  position:relative;
  overflow:hidden;
  border:1px solid rgba(45,27,51,0.1);
  border-radius:16px;
  background:
    linear-gradient(135deg, transparent 0 58%, rgba(78,205,196,0.12) 58% 63%, transparent 63%),
    linear-gradient(48deg, transparent 0 66%, rgba(245,185,66,0.12) 66% 71%, transparent 71%),
    linear-gradient(180deg, rgba(255,255,255,0.78), rgba(255,250,242,0.95));
  box-shadow:var(--soft-shadow);
}

.rhythm-panel::before,
.lore-card::before,
.download-panel::before {
  content:'';
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(112deg, transparent 0 14%, rgba(139,110,234,0.08) 14% 22%, transparent 22%),
    linear-gradient(165deg, transparent 0 72%, rgba(78,205,196,0.1) 72% 80%, transparent 80%);
}

.rhythm-panel > *,
.lore-card > *,
.download-panel > * {
  position:relative;
  z-index:1;
}

.board-panel {
  width:min(100%, 410px);
  justify-self:center;
  padding:14px;
}

.board-topline {
  display:grid;
  place-items:center;
  gap:3px;
  margin-bottom:10px;
  text-align:center;
}

.board-topline strong {
  display:block;
  font-size:clamp(30px, 5vw, 42px);
  line-height:0.9;
  letter-spacing:0;
  text-shadow:0 2px 0 rgba(255,255,255,0.78);
}

.panel-label {
  text-align:center;
  margin-bottom:4px;
  font-size:12px;
  font-weight:900;
  color:#8b6eea;
  text-transform:uppercase;
  letter-spacing:1.5px;
}

.board-gif {
  width:100%;
  height:auto;
  border-radius:12px;
  background:rgba(255,255,255,0.42);
  box-shadow:inset 0 0 0 1px rgba(45,27,51,0.08);
  overflow:hidden;
}

.gameplay-frame {
  width:100%;
  aspect-ratio:390 / 515;
  max-height:515px;
  display:block;
  border:0;
  border-radius:14px;
  background:#fffaf2;
  box-shadow:inset 0 0 0 1px rgba(45,27,51,0.08);
  overflow:hidden;
}

.panel-note {
  margin:12px 0 0;
  font-size:13px;
}

.mode-stack {
  display:grid;
  gap:12px;
  align-content:start;
}

.mode-stack-head {
  display:grid;
  gap:4px;
  padding:2px 4px 4px;
}

.mode-stack-head .section-kicker {
  margin:0;
}

.mode-stack-head h3 {
  margin:0;
  color:#2D1B33;
  font-size:clamp(26px, 3.6vw, 38px);
  line-height:1;
  font-weight:900;
  letter-spacing:0;
}

.mode-card {
  display:flex;
  align-items:center;
  gap:14px;
  min-height:104px;
  padding:14px;
  border:1px solid rgba(45,27,51,0.1);
  border-radius:14px;
  background:#fffaf2;
  color:var(--ink);
  text-align:left;
  box-shadow:inset 0 -3px 0 rgba(45,27,51,0.06);
  transition:transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.mode-card.active,
.mode-card:hover {
  transform:translateY(-2px);
  border-color:rgba(78,205,196,0.52);
  box-shadow:0 14px 26px rgba(78,205,196,0.14), inset 0 -3px 0 rgba(45,27,51,0.08);
}

.mode-icon {
  flex:0 0 66px;
  width:66px !important;
  height:66px !important;
  aspect-ratio:1;
}

.mode-card strong {
  display:block;
  margin-bottom:3px;
  font-size:19px;
}

.mode-card small {
  display:block;
  color:#776984;
  font-size:13px;
  line-height:1.35;
}

.mode-discovery-note {
  margin:2px 4px 0;
  padding:14px 16px;
  border:1px solid rgba(45,27,51,0.08);
  border-radius:14px;
  background:rgba(255,255,255,0.66);
  color:#665771;
  font-size:13px;
  font-weight:800;
  line-height:1.45;
  box-shadow:inset 0 -2px 0 rgba(45,27,51,0.04);
}

.lore-card {
  min-height:590px;
  display:grid;
  grid-template-columns:minmax(0, 0.68fr) minmax(360px, 0.62fr);
  align-items:center;
  padding:34px;
}

.lore-copy {
  max-width:670px;
}

.about-dropleez {
  position:absolute;
  inset:28px 26px 28px 49%;
  z-index:1;
  pointer-events:none;
  min-height:510px;
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  grid-template-rows:auto minmax(104px, 1fr) auto minmax(132px, 1.08fr) auto;
  gap:10px 14px;
  align-items:center;
  justify-items:center;
  padding:6px 0 0;
}

.about-render-bridge {
  position:absolute;
  width:1px;
  height:1px;
  opacity:0;
  pointer-events:none;
  border:0;
}

.about-droplee-seat {
  position:relative;
  width:clamp(62px, 7.1vw, 104px);
  height:clamp(62px, 7.1vw, 104px);
  transform-origin:50% 82%;
  justify-self:center;
  align-self:center;
}

.about-droplee-seat.power {
  width:clamp(76px, 8.2vw, 116px);
  height:clamp(76px, 8.2vw, 116px);
  pointer-events:auto;
}

.about-droplee {
  position:absolute;
  inset:0;
  z-index:2;
  width:100%;
  height:100%;
  filter:drop-shadow(0 16px 18px rgba(45,27,51,0.16));
  opacity:1;
  transition:opacity 0.2s ease, filter 0.2s ease;
}

.about-droplee-perch {
  position:absolute;
  left:13%;
  right:13%;
  bottom:11%;
  z-index:1;
  height:15%;
  border-radius:50%;
  background:radial-gradient(ellipse at center, rgba(45,27,51,0.18), rgba(45,27,51,0.07) 48%, transparent 72%);
  box-shadow:0 9px 18px rgba(45,27,51,0.08);
  transform:translateY(36%) scaleX(1.02);
}

.about-droplee-label {
  position:absolute;
  left:50%;
  top:calc(100% + 7px);
  z-index:3;
  transform:translateX(-50%);
  padding:4px 8px;
  border-radius:999px;
  background:rgba(255,255,255,0.84);
  border:1px solid rgba(45,27,51,0.08);
  color:#4f4656;
  font-size:10px;
  font-weight:900;
  line-height:1;
  white-space:nowrap;
  box-shadow:0 6px 14px rgba(45,27,51,0.08);
  transition:background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.about-droplee-seat.power:not(.revealed) .about-droplee-label {
  opacity:0;
  transform:translate(-50%, 4px);
  pointer-events:none;
}

.about-reveal-btn {
  position:absolute;
  left:50%;
  top:50%;
  z-index:4;
  width:64px;
  height:64px;
  transform:translate(-50%, -50%);
  border:0;
  border-radius:50%;
  padding:0;
  background:
    radial-gradient(circle at 36% 30%, rgba(255,255,255,0.38), transparent 34%),
    rgba(45,27,51,0.23);
  color:#fff;
  font:900 10px/1 'Nunito',sans-serif;
  letter-spacing:0.3px;
  text-transform:uppercase;
  box-shadow:0 10px 22px rgba(45,27,51,0.14), inset 0 8px 15px rgba(255,255,255,0.18), inset 0 -8px 14px rgba(45,27,51,0.12);
  -webkit-backdrop-filter:blur(2px);
  backdrop-filter:blur(2px);
  cursor:pointer;
  transition:transform 0.18s ease, filter 0.18s ease, background 0.18s ease;
}

.about-reveal-btn:hover {
  transform:translate(-50%, -50%) scale(1.04);
  filter:brightness(1.02);
}

.about-reveal-btn:disabled {
  display:none;
}

.about-droplee-seat.power:not(.revealed) .about-droplee {
  opacity:0.3;
  filter:grayscale(0.78) blur(0.25px) drop-shadow(0 16px 18px rgba(45,27,51,0.12));
}

.about-power-detail {
  position:absolute;
  left:50%;
  top:auto;
  bottom:calc(100% + 13px);
  z-index:5;
  width:146px;
  min-height:58px;
  display:grid;
  grid-template-columns:40px minmax(0, 1fr);
  align-items:center;
  gap:7px;
  transform:translate(-50%, -8px) scale(0.96);
  opacity:0;
  pointer-events:none;
  padding:7px;
  border-radius:13px;
  background:rgba(255,255,255,0.9);
  box-shadow:0 12px 24px rgba(45,27,51,0.12), inset 0 0 0 1px rgba(45,27,51,0.07);
  transition:opacity 0.2s ease, transform 0.2s ease;
}

.about-droplee-seat.power.revealed .about-power-detail {
  opacity:1;
  transform:translate(-50%, 0) scale(1);
  pointer-events:auto;
}

.about-spread {
  width:42px;
  height:42px;
  display:block;
  border-radius:9px;
  background:rgba(45,27,51,0.04);
}

.about-power-detail p {
  margin:0;
  color:#665771;
  font:800 9px/1.25 'Nunito',sans-serif;
}

.about-cluster-title,
.about-power-title,
.about-power-note {
  position:relative;
  left:50%;
  z-index:3;
  transform:translateX(-50%);
  padding:8px 15px;
  border-radius:999px;
  background:rgba(255,255,255,0.82);
  border:1px solid rgba(45,27,51,0.08);
  color:#2D1B33;
  font-size:12px;
  font-weight:900;
  line-height:1;
  letter-spacing:0.6px;
  text-transform:uppercase;
  box-shadow:0 10px 24px rgba(45,27,51,0.09);
}

.about-cluster-title {
  grid-column:1 / -1;
  grid-row:1;
  left:auto;
  top:auto;
  transform:none;
  justify-self:center;
}
.about-power-title {
  grid-column:1 / -1;
  grid-row:3;
  left:auto;
  top:auto;
  transform:none;
  justify-self:center;
  padding:5px 10px;
  font-size:9px;
  letter-spacing:0.45px;
  box-shadow:0 7px 16px rgba(45,27,51,0.07);
}
.about-power-note {
  grid-column:1 / -1;
  grid-row:5;
  top:auto;
  left:auto;
  right:auto;
  bottom:auto;
  width:min(360px, 92%);
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:12px;
  transform:none;
  justify-self:center;
  padding:13px 16px 13px 46px;
  border-radius:15px;
  background:linear-gradient(135deg, rgba(255,255,255,0.9), rgba(246,239,255,0.78));
  color:#4f4656;
  font-size:11px;
  text-align:left;
  letter-spacing:0.2px;
  text-transform:none;
  box-shadow:0 14px 30px rgba(45,27,51,0.12), inset 0 0 0 1px rgba(255,255,255,0.66);
}

.about-power-note b {
  position:absolute;
  left:-20px;
  top:50%;
  width:52px;
  height:52px;
  transform:translateY(-50%) rotate(-7deg);
  display:grid;
  place-items:center;
  border-radius:16px;
  background:linear-gradient(135deg,#4ECDC4,#8B6EEA);
  color:#fff;
  font:900 42px/1 'Nunito',sans-serif;
  box-shadow:0 18px 26px rgba(78,205,196,0.24), 0 7px 0 rgba(45,27,51,0.08), inset 0 5px 8px rgba(255,255,255,0.3);
  text-shadow:0 2px 0 rgba(45,27,51,0.1);
}

.about-droplee-seat-1 { grid-column:1; grid-row:2; }
.about-droplee-seat-2 { grid-column:2; grid-row:2; width:clamp(68px, 7.5vw, 110px); height:clamp(68px, 7.5vw, 110px); }
.about-droplee-seat-3 { grid-column:3; grid-row:2; width:clamp(75px, 8vw, 118px); height:clamp(75px, 8vw, 118px); }
.about-droplee-seat-4 { grid-column:4; grid-row:2; width:clamp(82px, 8.5vw, 126px); height:clamp(82px, 8.5vw, 126px); }
.about-droplee-seat-5 { grid-column:1; grid-row:4; }
.about-droplee-seat-6 { grid-column:2; grid-row:4; }
.about-droplee-seat-7 { grid-column:3; grid-row:4; }
.about-droplee-seat-8 { grid-column:4; grid-row:4; }

.lore-copy {
  position:relative;
  z-index:2;
}

.download-panel {
  display:grid;
  grid-template-columns:minmax(0, 0.9fr) minmax(360px, 1fr);
  gap:28px;
  align-items:center;
  padding:30px;
}

.store-row {
  align-content:start;
}

.store-badge {
  min-width:190px;
  min-height:58px;
  display:flex;
  align-items:center;
  gap:12px;
  padding:9px 14px;
  border:0;
  border-radius:12px;
  background:#17131b;
  color:#fff;
  box-shadow:0 12px 26px rgba(45,27,51,0.18), inset 0 0 0 1px rgba(255,255,255,0.14);
  transition:transform 0.18s ease, filter 0.18s ease;
}

.store-badge svg {
  width:28px;
  height:28px;
  fill:#fff;
}

.store-badge small,
.store-badge strong {
  display:block;
  text-align:left;
}

.store-badge small {
  color:rgba(255,255,255,0.72);
  font-size:10px;
  line-height:1;
}

.store-badge strong {
  font-size:18px;
  line-height:1.1;
}

.notify-form {
  grid-column:1 / -1;
  padding-top:18px;
  border-top:1px solid rgba(45,27,51,0.09);
}

.notify-form label {
  display:block;
  margin-bottom:4px;
  color:#574762;
  font-size:13px;
  font-weight:900;
}

.notify-perk {
  margin:0 0 10px;
  color:#665771;
  font-size:13px;
  font-weight:800;
}

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

.notify-form input {
  flex:1;
  min-width:0;
  height:48px;
  border:1px solid rgba(45,27,51,0.14);
  border-radius:10px;
  padding:0 14px;
  background:#fff;
  color:var(--ink);
  outline:none;
}

.notify-form input:focus {
  border-color:rgba(78,205,196,0.8);
  box-shadow:0 0 0 4px rgba(78,205,196,0.16);
}

.notify-consent {
  display:flex !important;
  align-items:flex-start;
  gap:8px;
  margin-top:8px !important;
  color:#74677c !important;
  font-size:11px !important;
  font-weight:800 !important;
  line-height:1.35;
}

.notify-consent input {
  flex:0 0 auto;
  width:15px;
  height:15px;
  margin-top:1px;
  accent-color:#4ECDC4;
}

.notify-consent a {
  color:#4E8BCB;
  font-weight:900;
}

#notifyStatus {
  min-height:20px;
  margin:8px 0 0;
  color:#2ba5a0;
  font-size:13px;
  font-weight:900;
}

.site-footer {
  width:min(1180px, calc(100% - 32px));
  margin:0 auto;
  padding:16px 0 24px;
  color:#675671;
  border-top:1px solid rgba(45,27,51,0.1);
}

.footer-main {
  display:grid;
  grid-template-columns:minmax(240px, 1fr) repeat(3, minmax(112px, auto));
  gap:22px;
  align-items:start;
  padding:0 0 12px;
}

.footer-brand-block {
  display:grid;
  gap:8px;
  align-content:start;
}

.footer-brand {
  display:inline-flex;
  align-items:center;
  gap:9px;
  width:max-content;
  color:#2D1B33;
  font-size:17px;
  font-weight:900;
}

.footer-icon {
  width:34px;
  height:34px;
  border-radius:9px;
  box-shadow:0 5px 12px rgba(45,27,51,0.12);
}

.footer-brand-block p {
  max-width:360px;
  margin:0;
  color:#665771;
  line-height:1.25;
  font-size:13px;
  font-weight:800;
}

.footer-group {
  display:grid;
  align-content:start;
  gap:6px;
  min-width:0;
}

.footer-group strong {
  color:#2D1B33;
  font-size:11px;
  font-weight:900;
  letter-spacing:0.7px;
  text-transform:uppercase;
}

.footer-group a,
.footer-group span {
  color:#675671;
  font-size:12px;
  font-weight:800;
  line-height:1.3;
}

.footer-group a {
  transition:color 0.16s ease, transform 0.16s ease;
}

.footer-group a:hover {
  color:#2D1B33;
  transform:translateX(2px);
}

.footer-status span {
  width:max-content;
  max-width:100%;
  padding:6px 10px;
  border-radius:11px;
  background:rgba(78,205,196,0.12);
  color:#2ba5a0;
  box-shadow:inset 0 0 0 1px rgba(78,205,196,0.16);
}

.footer-bottom {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  padding:10px 0 0;
  border-top:1px solid rgba(45,27,51,0.08);
  color:#81728b;
  font-size:11px;
  font-weight:900;
}

.footer-studio {
  display:inline-flex;
  align-items:center;
  gap:9px;
}

.footer-reyn-logo {
  display:block;
  width:58px;
  height:auto;
  opacity:0.62;
}

.site-footer a {
  color:inherit;
}

.legal-page-shell {
  min-height:100vh;
}

.legal-site-header {
  position:relative;
}

.legal-page-main {
  width:min(900px, calc(100% - 28px));
  margin:34px auto 72px;
}

.legal-document {
  padding:34px;
  border:1px solid rgba(45,27,51,0.1);
  border-radius:18px;
  background:rgba(255,250,242,0.9);
  box-shadow:var(--shadow);
}

.legal-document h1 {
  max-width:780px;
  margin-bottom:8px;
  font-size:clamp(38px, 7vw, 68px);
}

.legal-document h2 {
  margin:28px 0 10px;
  font-size:24px;
}

.legal-document p,
.legal-document li {
  color:#675671;
  font-size:16px;
  line-height:1.65;
}

.legal-document a {
  color:#6d57d8;
  font-weight:900;
}

.legal-updated {
  color:#9b8ea8;
  font-size:13px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:1px;
}

.toast {
  position:fixed;
  left:50%;
  bottom:22px;
  z-index:80;
  transform:translate(-50%, 18px);
  opacity:0;
  pointer-events:none;
  min-width:min(340px, calc(100% - 32px));
  padding:13px 16px;
  border-radius:12px;
  background:#4f4656;
  color:#fff;
  font-weight:900;
  text-align:center;
  box-shadow:0 18px 40px rgba(45,27,51,0.24);
  transition:opacity 0.22s ease, transform 0.22s ease;
}

.toast.visible {
  opacity:1;
  transform:translate(-50%, 0);
}

@media (min-width:1101px) and (max-width:1240px) {
  .phone-stage {
    --phone-scale:0.78;
  }
}

@media (max-width:900px) {
  .nav-toggle { display:block; }
  .nav-links {
    position:fixed;
    top:78px;
    left:14px;
    right:14px;
    display:grid;
    gap:6px;
    padding:12px;
    border:1px solid rgba(45,27,51,0.1);
    border-radius:14px;
    background:rgba(255,250,242,0.96);
    box-shadow:var(--shadow);
    transform:translateY(-12px);
    opacity:0;
    pointer-events:none;
    transition:opacity 0.2s ease, transform 0.2s ease;
  }
  body.nav-open .nav-links {
    opacity:1;
    transform:translateY(0);
    pointer-events:auto;
  }
  .nav-links a { padding:14px; }
  .hero-content,
  .rhythm-grid,
  .lore-card,
  .download-panel {
    grid-template-columns:1fr;
  }
  .hero-section { padding-top:112px; }
  .phone-stage {
    --phone-scale:0.74;
  }
  .lore-card { min-height:auto; }
  .about-dropleez {
    position:relative;
    inset:auto;
    min-height:430px;
    grid-template-rows:auto minmax(96px, 1fr) auto minmax(126px, 1.05fr) auto;
    margin-top:10px;
  }
  .about-power-note {
    width:min(360px, 92%);
  }
  .footer-main {
    grid-template-columns:1fr 1fr;
    gap:16px 22px;
  }
  .footer-brand-block {
    grid-column:1 / -1;
  }
  .footer-bottom { justify-content:flex-start; }
}

@media (min-width:901px) and (max-width:1100px) {
  .hero-content {
    grid-template-columns:minmax(0, 1fr) minmax(260px, 0.62fr);
    gap:24px;
  }
  .phone-stage {
    --phone-scale:0.68;
  }
}

@media (max-width:620px) {
  .site-header {
    width:calc(100% - 20px);
    margin-top:10px;
  }
  .hero-section {
    padding-left:14px;
    padding-right:14px;
    align-items:flex-start;
  }
  .hero-copy { text-align:left; }
  .hero-logo { width:min(300px, 86vw); }
  .hero-text { font-size:16px; }
  .phone-stage { display:none; }
  .hero-content {
    grid-template-columns:1fr;
  }
  .gameplay-frame {
    aspect-ratio:390 / 515;
    max-height:none;
  }
  .section {
    width:calc(100% - 24px);
    padding:58px 0;
  }
  .lore-card,
  .download-panel { padding:20px; }
  .about-dropleez {
    min-height:460px;
    gap:8px 8px;
    grid-template-rows:auto minmax(86px, 1fr) auto minmax(128px, 1.05fr) auto;
  }
  .about-droplee-seat { width:68px; height:68px; }
  .about-droplee-seat-2 { width:74px; height:74px; }
  .about-droplee-seat-3 { width:80px; height:80px; }
  .about-droplee-seat-4 { width:86px; height:86px; }
  .about-droplee-seat.power { width:84px; height:84px; }
  .about-cluster-title,
  .about-power-title,
  .about-power-note {
    padding:7px 12px;
    font-size:10px;
  }
  .about-power-title {
    padding:4px 8px;
    font-size:8px;
    letter-spacing:0.35px;
  }
  .about-power-note {
    padding:9px 10px 9px 34px;
    font-size:9px;
  }
  .about-power-note b {
    left:-15px;
    width:44px;
    height:44px;
    border-radius:14px;
    font-size:34px;
  }
  .about-power-note {
    width:min(280px, 86%);
  }
  .about-reveal-btn {
    width:54px;
    height:54px;
    font-size:9px;
  }
  .about-droplee-label { font-size:9px; padding:4px 7px; }
  .about-power-detail {
    width:118px;
    grid-template-columns:34px minmax(0, 1fr);
    gap:6px;
    padding:6px;
    bottom:calc(100% + 10px);
  }
  .about-spread {
    width:34px;
    height:34px;
  }
  .about-power-detail p {
    font-size:8px;
  }
  .notify-row { flex-direction:column; }
  .store-badge,
  .local-link { width:100%; }
  .footer-main {
    grid-template-columns:minmax(0, 1fr) minmax(0, 1fr);
    gap:12px 14px;
    padding:0 0 10px;
  }
  .footer-brand-block { grid-column:1 / -1; gap:5px; }
  .footer-brand {
    font-size:17px;
  }
  .footer-icon {
    width:30px;
    height:30px;
    border-radius:8px;
  }
  .footer-brand-block p {
    font-size:12px;
    line-height:1.22;
  }
  .footer-group {
    gap:4px;
  }
  .footer-group strong {
    font-size:10px;
    letter-spacing:0.5px;
  }
  .footer-group a,
  .footer-group span {
    font-size:11px;
    line-height:1.2;
  }
  .footer-status {
    grid-column:1 / -1;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    min-height:34px;
    padding:6px 9px;
    border-radius:12px;
    background:rgba(255,255,255,0.58);
    box-shadow:inset 0 0 0 1px rgba(45,27,51,0.06);
  }
  .footer-status span {
    padding:5px 9px;
    font-size:11px;
  }
  .footer-bottom {
    align-items:center;
    justify-content:space-between;
    gap:8px;
    padding-top:9px;
    font-size:9px;
  }
  .footer-studio {
    gap:6px;
  }
  .footer-reyn-logo {
    width:46px;
  }
}

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

@media (pointer:fine) and (prefers-reduced-motion:no-preference) {
  body.has-bubble-cursor,
  body.has-bubble-cursor a,
  body.has-bubble-cursor button,
  body.has-bubble-cursor .phone-stage {
    cursor:none;
  }

  body.has-bubble-cursor input {
    cursor:text;
  }

  .bubble-cursor {
    position:fixed;
    left:0;
    top:0;
    z-index:120;
    width:24px;
    height:24px;
    display:block;
    pointer-events:none;
    opacity:0;
    transform:translate3d(-50%, -50%, 0) scale(0.84);
    border-radius:50%;
    border:2px solid rgba(45,27,51,0.24);
    background:
      radial-gradient(circle at 34% 30%, rgba(255,255,255,0.98) 0 18%, rgba(255,255,255,0) 19%),
      radial-gradient(circle at center, rgba(78,205,196,0.28), rgba(139,110,234,0.16));
    box-shadow:0 8px 18px rgba(45,27,51,0.12), inset 0 -3px 7px rgba(45,27,51,0.06);
    transition:width 0.16s ease, height 0.16s ease, border-color 0.16s ease, opacity 0.16s ease, transform 0.16s ease;
    mix-blend-mode:multiply;
  }

  .bubble-cursor span {
    position:absolute;
    left:50%;
    top:50%;
    width:6px;
    height:6px;
    border-radius:50%;
    background:#4ECDC4;
    transform:translate(-50%, -50%);
    box-shadow:0 0 0 4px rgba(78,205,196,0.12);
  }

  .bubble-cursor.visible {
    opacity:1;
    transform:translate3d(-50%, -50%, 0) scale(1);
  }

  .bubble-cursor.cursor-active {
    width:34px;
    height:34px;
    border-color:rgba(139,110,234,0.42);
  }
}
