/* TILTOUT — working one-pager styles */

:root {
  --bg: #0a0a0a;
  --bg-2: #050505;
  --line: #1a1a1a;
  --line-soft: #111;
  --fg: #ffffff;
  --fg-mute: #aaa;
  --fg-dim: #666;
  --fg-faint: #444;

  --accent: #ffcf5c;     /* yellow */
  --pink:   #ff5cf0;
  --purple: #7c5cff;
  --blue:   #5c8aff;
  --green:  #5cf0a0;
  --rose:   #ff5c7c;
  --orange: #ff8a5c;
  --lime:   #a8ff5c;
  --cyan:   #5cf0e8;

  --display: 'Inter Tight', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --maxw: 1280px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0; background: var(--bg); color: var(--fg);
  font-family: var(--display); letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

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

::selection { background: var(--accent); color: #000; }

/* MARQUEE ---------------------------------------------------------------- */
.marquee {
  background: #fff; color: #000; padding: 10px 0;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em;
  overflow: hidden; white-space: nowrap; border-bottom: 1px solid #000;
  position: sticky; top: 0; z-index: 50;
}
.marquee-track { display: inline-flex; animation: marquee 40s linear infinite; will-change: transform; }
.marquee-track > span { display: inline-flex; gap: 32px; padding-right: 32px; }
.marquee-track .m-item { font-weight: 700; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* NAV --------------------------------------------------------------------- */
.nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 32px; border-bottom: 1px solid var(--line);
  background: rgba(10,10,10,0.85); backdrop-filter: blur(12px);
  position: sticky; top: 36px; z-index: 49;
}
.nav-mark { display: flex; align-items: baseline; font-weight: 900; font-size: 22px; }
.nav-mark .t-tilt { font-style: italic; transform: skewX(-10deg); display: inline-block; letter-spacing: -0.04em; font-weight: 400; }
.nav-mark .t-out  { display: inline-flex; align-items: center; margin-left: 6px; }
.nav-mark .t-ball { width: 16px; height: 16px; border-radius: 50%; background: #fff; display: inline-block; }

.nav-links { display: flex; gap: 28px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; color: var(--fg-dim); }
.nav-links a:hover { color: var(--fg); }

.scores { display: flex; gap: 4px; }
.score-cell {
  background: #000; border: 1px solid var(--line); padding: 6px 14px;
  display: flex; flex-direction: column; align-items: center; min-width: 64px;
  font-family: var(--mono);
}
.score-l { font-size: 9px; letter-spacing: 0.2em; color: var(--fg-dim); }
.score-v { font-size: 18px; font-weight: 700; color: #fff; }

.nav-cta {
  background: var(--accent); color: #000; padding: 10px 16px; border-radius: 4px;
  font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  transition: transform 120ms ease;
}
.nav-cta:hover { transform: translateY(-2px); }

/* HERO -------------------------------------------------------------------- */
.hero {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px;
  padding: 80px 32px 100px; max-width: var(--maxw); margin: 0 auto;
  position: relative; border-bottom: 1px solid var(--line);
}
.hero-left { padding-top: 20px; }
.coin-tag {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  color: var(--accent); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px;
  border: 1px solid var(--accent); padding: 6px 14px; border-radius: 999px;
}
.coin-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: blink 1.6s steps(2) infinite; }

.hero-h {
  margin: 0; font-weight: 900; font-size: 200px; line-height: 0.84; letter-spacing: -0.05em;
  display: flex; flex-direction: column; gap: 24px;
}
.hero-h .tilt-big {
  font-style: italic; transform: skewX(-12deg); display: inline-flex;
  font-weight: 400; letter-spacing: -0.04em;
}
.hero-h .tilt-big .l { display: inline-block; }
.hero-h .tilt-big .l-tilt {
  display: inline-block; transform-origin: 50% 100%;
  transition: transform 120ms ease-out;
  will-change: transform;
}
.hero-h .out-big { display: flex; align-items: center; }
.hero-h .big-ball {
  width: 156px; height: 156px; background: #fff; border-radius: 50%;
  display: inline-block; margin-right: -4px;
  box-shadow: 0 0 80px rgba(255,255,255,0.18);
  animation: bobble 4s ease-in-out infinite;
}
@keyframes bobble {
  0%, 100% { transform: translate(0, 0) rotate(0); }
  25% { transform: translate(-6px, 4px) rotate(-3deg); }
  50% { transform: translate(8px, -2px) rotate(2deg); }
  75% { transform: translate(-4px, 6px) rotate(-1deg); }
}

.hero-sub { font-family: var(--mono); font-size: 16px; line-height: 1.7; color: var(--fg-mute); margin-top: 32px; max-width: 520px; }

.hero-cta-row { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.btn-fill {
  background: #fff; color: #000; padding: 16px 22px; border-radius: 6px;
  font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: 0.1em;
  display: inline-flex; align-items: center; gap: 10px;
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.btn-fill:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(255,255,255,0.18); }
.btn-ghost {
  border: 1px solid #333; color: #fff; padding: 16px 22px; border-radius: 6px;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em;
  display: inline-flex; align-items: center; gap: 8px;
  transition: border-color 120ms ease, color 120ms ease;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, max-content); gap: 32px;
  margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line);
}
.hero-stat { display: flex; flex-direction: column; }
.hero-stat b { font-size: 36px; font-weight: 900; letter-spacing: -0.04em; }
.hero-stat span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; color: var(--fg-dim); margin-top: 2px; }

/* hero device */
.hero-right { position: relative; display: flex; justify-content: center; align-items: center; min-height: 600px; }
.device-rot { transform: rotate(-6deg); filter: drop-shadow(0 30px 80px rgba(0,0,0,0.6)); transition: transform 300ms cubic-bezier(.2,.8,.2,1); }
.device-rot:hover { transform: rotate(-2deg) scale(1.02); }
.device {
  width: 280px; height: 580px; background: #000; border-radius: 38px;
  border: 8px solid #1a1a1a; overflow: hidden;
}
.device img { width: 100%; height: 100%; object-fit: cover; display: block; }

.receipt {
  position: absolute; right: -10px; top: 40px; width: 220px; padding: 20px;
  background: #fff; color: #000; transform: rotate(4deg);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.05em;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.r-top { font-weight: 700; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px dashed #000; }
.r-row { display: flex; justify-content: space-between; padding: 4px 0; }
.r-dash { color: #666; margin: 8px 0; text-align: center; font-size: 10px; }

.sticker-yellow {
  position: absolute; left: 0px; top: 50px; width: 150px; height: 150px;
  background: var(--accent); color: #000; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; padding: 14px;
  transform: rotate(-12deg); font-family: var(--mono);
  font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-align: center; line-height: 1.25;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  animation: spinSlow 24s linear infinite;
}
@keyframes spinSlow { from { transform: rotate(-12deg); } to { transform: rotate(348deg); } }
.sticker-pink {
  position: absolute; left: 30px; bottom: 80px; width: 60px; height: 60px;
  background: var(--pink); color: #000; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transform: rotate(20deg); font-size: 32px; font-weight: 900;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

/* HOW TO PLAY ------------------------------------------------------------- */
.how-row { display: grid; grid-template-columns: repeat(3, 1fr); }
.how-cell {
  padding: 60px 40px; min-height: 460px; position: relative;
  display: flex; flex-direction: column; cursor: default;
  transition: transform 200ms ease;
}
.how-cell:hover { transform: translateY(-4px); }
.how-cell.green  { background: var(--green);  color: #000; }
.how-cell.purple { background: var(--purple); color: #fff; }
.how-cell.pink   { background: var(--pink);   color: #000; }

.how-n { font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em; font-weight: 700; opacity: 0.6; }
.how-icon { flex: 1; display: flex; align-items: center; justify-content: center; margin: 20px 0; }
.how-t { font-size: 56px; font-weight: 900; letter-spacing: -0.04em; margin: 0 0 12px; }
.how-d { font-size: 14px; line-height: 1.5; opacity: 0.85; font-family: var(--mono); }

/* tilt phone illustration */
.tilt-device {
  width: 96px; height: 160px; border: 4px solid currentColor; border-radius: 14px;
  position: relative; animation: tiltWobble 3s ease-in-out infinite;
  transform-origin: center bottom;
}
.tilt-device::before {
  content: ""; position: absolute; left: 50%; top: 8px; transform: translateX(-50%);
  width: 30px; height: 4px; background: currentColor; border-radius: 2px; opacity: 0.4;
}
.tilt-device-ball {
  position: absolute; left: 8px; bottom: 12px; width: 22px; height: 22px;
  background: currentColor; border-radius: 50%;
  animation: ballSlide 3s ease-in-out infinite;
}
@keyframes tiltWobble {
  0%, 100% { transform: rotate(-12deg); }
  50% { transform: rotate(12deg); }
}
@keyframes ballSlide {
  0%, 100% { left: 8px; }
  50% { left: 60px; }
}

/* roll dots */
.roll-line {
  width: 220px; height: 6px; background: rgba(255,255,255,0.25);
  position: relative; border-radius: 3px;
}
.roll-ball {
  position: absolute; top: -12px; width: 28px; height: 28px;
  background: #fff; border-radius: 50%;
  animation: rollPulse 2.4s ease-in-out infinite;
}
.roll-ball:nth-child(1) { animation-delay: 0s; }
.roll-ball:nth-child(2) { animation-delay: -0.8s; opacity: 0.6; }
.roll-ball:nth-child(3) { animation-delay: -1.6s; opacity: 0.3; }
@keyframes rollPulse {
  0%   { left: 0%; opacity: 1; transform: scale(1); }
  80%  { left: 90%; opacity: 0.2; transform: scale(0.6); }
  100% { left: 90%; opacity: 0; transform: scale(0.4); }
}

/* crash */
.crash-wrap { position: relative; width: 140px; height: 140px; }
.crash-wall { position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: #000; }
.crash-ball {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px;
  background: #000; border-radius: 50%;
  animation: crashShake 0.6s ease-in-out infinite;
}
@keyframes crashShake {
  0%, 100% { transform: translate(0, -50%); }
  25% { transform: translate(-2px, calc(-50% - 2px)); }
  75% { transform: translate(2px, calc(-50% + 2px)); }
}
.crash-lines { position: absolute; left: 28px; top: 50%; width: 0; height: 0; }
.crash-lines::before, .crash-lines::after,
.crash-lines i, .crash-lines i::before {
  content: ""; position: absolute; left: 0; top: 0;
  width: 36px; height: 3px; background: #000; transform-origin: 0 50%;
}
.crash-lines::before { transform: rotate(-30deg) translateX(8px); }
.crash-lines::after  { transform: rotate(30deg)  translateX(8px); }
.crash-lines i { transform: rotate(0deg) translateX(8px); display: block; }
.crash-lines i::before { transform: rotate(60deg) translateX(0); }

/* LEADERBOARD ------------------------------------------------------------- */
.leader { padding: 120px 32px; border-bottom: 1px solid var(--line); background: var(--bg); }
.leader-head { text-align: center; max-width: 800px; margin: 0 auto 64px; }
.leader-kick { font-family: var(--mono); font-size: 12px; letter-spacing: 0.3em; color: var(--accent); }
.leader-h {
  font-size: 120px; font-weight: 900; line-height: 0.9;
  letter-spacing: -0.04em; margin: 20px 0;
}
.leader-em {
  background-image: linear-gradient(90deg, var(--pink), var(--purple), var(--blue));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.leader-p { font-family: var(--mono); font-size: 14px; line-height: 1.6; color: #999; }

.board-wrap {
  display: grid; grid-template-columns: 1fr 1fr 320px; gap: 24px;
  max-width: 1100px; margin: 0 auto;
}
.board-col {
  background: linear-gradient(180deg, #050505 0%, #1a1a1a 100%);
  border: 1px solid var(--line); border-radius: 8px;
  padding: 20px 24px; font-family: var(--mono);
}
.board-title {
  font-size: 11px; letter-spacing: 0.25em; color: var(--accent); padding-bottom: 14px;
  border-bottom: 1px solid var(--line); margin-bottom: 6px; font-weight: 700;
  display: flex; justify-content: space-between;
}
.board-row {
  display: grid; grid-template-columns: 30px 1fr auto; padding: 11px 0;
  border-bottom: 1px solid var(--line-soft); font-size: 14px;
  transition: background 120ms ease, padding 120ms ease;
  cursor: default;
}
.board-row:hover { background: rgba(255,207,92,0.06); padding-left: 4px; }
.board-row.you { background: rgba(255,207,92,0.1); }
.board-row.you .b-name { color: var(--accent); }
.b-rank { color: var(--fg-dim); }
.b-name { color: #fff; font-weight: 700; letter-spacing: 0.05em; }
.b-score { color: var(--pink); font-weight: 700; }

.board-side {
  background: #000; border: 1px solid var(--line); border-radius: 8px;
  overflow: hidden; position: relative;
}
.board-side img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* FEATURES ---------------------------------------------------------------- */
.feats { padding: 120px 32px; border-bottom: 1px solid var(--line); }
.feats-head { max-width: var(--maxw); margin: 0 auto 50px; }
.kicker { font-family: var(--mono); font-size: 12px; letter-spacing: 0.25em; color: var(--fg-dim); }
.feats-h { font-size: 100px; font-weight: 900; line-height: 0.95; letter-spacing: -0.04em; margin: 16px 0 0; }
.feats-h .one-ball { color: var(--accent); }

.feats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  max-width: var(--maxw); margin: 0 auto;
}
.feat-cell {
  background: #000; border: 1px solid var(--line); border-radius: 12px;
  padding: 32px 28px; min-height: 220px;
  transition: border-color 200ms ease, transform 200ms ease;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.feat-cell:hover { transform: translateY(-3px); border-color: var(--feat-c, #fff); }
.feat-cell::before {
  content: ""; position: absolute; left: 0; top: 0; right: 0; height: 2px;
  background: var(--feat-c, #fff); transform: scaleX(0); transform-origin: left;
  transition: transform 300ms ease;
}
.feat-cell:hover::before { transform: scaleX(1); }
.feat-icon {
  width: 56px; height: 56px; margin-bottom: 24px;
  color: var(--feat-c, #fff);
  display: flex; align-items: center; justify-content: center;
}
.feat-icon svg { width: 100%; height: 100%; overflow: visible; }
.feat-icon svg * { transition: all 300ms cubic-bezier(.2,.8,.2,1); }

.feat-t { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }
.feat-d { font-size: 14px; line-height: 1.5; color: #888; }

/* per-feature animations on hover */
.feat-cell.f-tilt:hover .ic-phone { transform: rotate(-18deg); }
.feat-cell.f-tilt:hover .ic-ball  { transform: translate(-12px, 4px); }

.feat-cell.f-levels:hover .ic-bar1 { transform: scaleY(1); }
.feat-cell.f-levels:hover .ic-bar2 { transform: scaleY(1); }
.feat-cell.f-levels:hover .ic-bar3 { transform: scaleY(1); }
.feat-cell.f-levels:hover .ic-bar4 { transform: scaleY(1); }

.feat-cell.f-gap:hover .ic-gap-l { transform: translateX(-6px); }
.feat-cell.f-gap:hover .ic-gap-r { transform: translateX(6px); }
.feat-cell.f-gap:hover .ic-gap-ball { transform: translateY(0); }

.feat-cell.f-trophy:hover .ic-star { transform: scale(1.15) rotate(8deg); transform-origin: 28px 22px; }

.feat-cell.f-haptic:hover .ic-wave1 { opacity: 1; transform: scale(1.0); }
.feat-cell.f-haptic:hover .ic-wave2 { opacity: 1; transform: scale(1.0); }
.feat-cell.f-haptic:hover .ic-wave3 { opacity: 0.6; transform: scale(1.0); }

.feat-cell.f-zero:hover .ic-zero { transform: rotate(-8deg); }
.feat-cell.f-zero:hover .ic-slash { stroke-dashoffset: 0; }

.ic-bar1, .ic-bar2, .ic-bar3, .ic-bar4 { transform: scaleY(0.4); transform-origin: 50% 100%; }
.ic-gap-ball { transform: translateY(20px); }
.ic-wave1, .ic-wave2, .ic-wave3 { transform-origin: center; opacity: 0.4; transform: scale(0.7); }
.ic-slash { stroke-dasharray: 60; stroke-dashoffset: 60; }

/* FAQ --------------------------------------------------------------------- */
.faq { padding: 100px 32px; max-width: 900px; margin: 0 auto; border-bottom: 1px solid var(--line); }
.faq-head { text-align: center; margin-bottom: 50px; }
.faq-h { font-size: 72px; font-weight: 900; letter-spacing: -0.03em; margin: 14px 0 0; }
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 0; cursor: pointer; font-size: 22px; font-weight: 700; letter-spacing: -0.01em;
  transition: color 120ms ease;
}
.faq-q:hover { color: var(--accent); }
.faq-q .plus {
  font-family: var(--mono); font-size: 22px; transition: transform 200ms ease;
  color: var(--fg-dim);
}
.faq-item.open .faq-q .plus { transform: rotate(45deg); color: var(--accent); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 320ms ease, padding 320ms ease;
  font-family: var(--mono); font-size: 14px; line-height: 1.7; color: #999;
}
.faq-item.open .faq-a { max-height: 200px; padding: 0 0 24px; }

/* GAME OVER --------------------------------------------------------------- */
.game-over {
  padding: 140px 32px; text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--bg) 0%, #1a0a1a 100%);
  border-bottom: 1px solid var(--line);
}
.go-bg { position: absolute; inset: 0; pointer-events: none; }
.go-bg .ball {
  position: absolute; border-radius: 50%; opacity: 0.7; mix-blend-mode: screen;
  animation: float 8s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -30px); }
}
.go-inner { max-width: 720px; margin: 0 auto; position: relative; z-index: 1; }
.go-kicker { font-family: var(--mono); font-size: 13px; color: var(--pink); letter-spacing: 0.3em; font-weight: 700; }
.go-h { font-size: 180px; font-weight: 900; letter-spacing: -0.05em; margin: 16px 0 0; line-height: 0.9; }
.go-p { font-family: var(--mono); color: #aaa; margin: 20px 0 40px; font-size: 16px; }
.go-btn {
  display: inline-block; background: var(--accent); color: #000;
  padding: 22px 36px; border-radius: 6px; font-family: var(--mono);
  font-size: 14px; font-weight: 700; letter-spacing: 0.15em;
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.go-btn:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(255,207,92,0.3); }
.go-blink {
  font-family: var(--mono); color: var(--pink); margin-top: 36px;
  font-size: 12px; letter-spacing: 0.3em; animation: blink 1.2s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0.2; } }

/* FOOTER ------------------------------------------------------------------ */
.foot {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 28px 32px;
  font-family: var(--mono); font-size: 11px; color: var(--fg-faint); letter-spacing: 0.15em;
  flex-wrap: wrap;
}
.foot-l { display: flex; gap: 16px; flex-wrap: wrap; }
.foot-r { display: flex; gap: 16px; flex-wrap: wrap; }
.foot-r a:hover { color: #fff; }

/* Reveal on scroll */
.reveal { opacity: 1; transform: none; transition: opacity 600ms ease, transform 600ms cubic-bezier(.2,.8,.2,1); }
.reveal.pre { opacity: 0; transform: translateY(24px); }
.reveal.in  { opacity: 1; transform: none; }

/* Responsive -------------------------------------------------------------- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding: 60px 20px; }
  .hero-h { font-size: 120px; }
  .hero-h .big-ball { width: 96px; height: 96px; }
  .hero-right { min-height: 540px; }
  .nav-links { display: none; }
  .scores { display: none; }
  .how-row { grid-template-columns: 1fr; }
  .how-cell { min-height: 320px; }
  .leader-h { font-size: 64px; }
  .feats-h { font-size: 56px; }
  .feats-grid { grid-template-columns: 1fr; }
  .board-wrap { grid-template-columns: 1fr; }
  .board-side { min-height: 360px; }
  .go-h { font-size: 80px; }
  .faq-h { font-size: 44px; }
  .hero-stats { grid-template-columns: repeat(2, max-content); gap: 20px; }
  .sticker-yellow {
    width: 110px; height: 110px; padding: 10px;
    font-size: 11px; letter-spacing: 0.06em; line-height: 1.25;
    left: -8px; top: 16px;
  }
  .sticker-pink {
    width: 50px; height: 50px; font-size: 26px;
    left: 14px; bottom: 60px;
  }
  .receipt {
    top: -10px; right: 0; transform: rotate(4deg) scale(0.9);
    transform-origin: top right;
  }
}

/* SUPPORT MODAL ----------------------------------------------------------- */
.modal {
  position: fixed; inset: 0; z-index: 100;
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
}
.modal.open { display: flex; animation: modalIn 200ms ease-out; }
@keyframes modalIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  cursor: pointer;
}
.modal-card {
  position: relative; z-index: 1;
  max-width: 520px; width: 100%;
  background: #0a0a0a;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 36px 36px 32px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  animation: modalCardIn 240ms cubic-bezier(.2,.8,.2,1);
}
@keyframes modalCardIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}
.modal-close {
  position: absolute; top: 12px; right: 16px;
  font-size: 28px; line-height: 1; color: var(--fg-dim);
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: background 120ms ease, color 120ms ease;
}
.modal-close:hover { background: var(--line); color: var(--fg); }
.modal-kicker {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.3em;
  color: var(--accent); margin-bottom: 14px;
}
.modal-title {
  font-size: 36px; font-weight: 900; letter-spacing: -0.03em;
  margin: 0 0 20px;
}
.modal-body {
  font-family: var(--mono); font-size: 13px; line-height: 1.7;
  color: #bbb; margin: 0 0 14px;
}
.modal-body-em { color: var(--fg); }
.modal-list {
  font-family: var(--mono); font-size: 13px; line-height: 1.7;
  color: #bbb; padding-left: 18px; margin: 0 0 18px;
}
.modal-list li { margin-bottom: 4px; }
.modal-list li::marker { color: var(--accent); }
.modal-btn {
  display: inline-block; margin-top: 8px;
  background: var(--accent); color: #000;
  padding: 14px 22px; border-radius: 6px;
  font-family: var(--mono); font-size: 13px; font-weight: 700; letter-spacing: 0.08em;
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.modal-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(255,207,92,0.25); }

@media (max-width: 600px) {
  .modal-card { padding: 28px 22px 24px; }
  .modal-title { font-size: 28px; }
}

