:root {
  --bg: #17143b;
  --bg2: #0e0c26;
  --text: #f1effc;
  --muted: #aaa5cf;
  --card: rgba(255, 255, 255, 0.07);
  --stroke: rgba(255, 255, 255, 0.12);
  --blue: #3bb7ee;
  --violet: #9a7fe0;
  --pink: #ee5fa7;
  --brand: #6fc6f5;
  --grad: linear-gradient(120deg, #3bb7ee 0%, #9a7fe0 50%, #ee5fa7 100%);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg2); }
body {
  margin: 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%) fixed;
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, sans-serif;
  overflow-x: hidden;
  min-height: 100vh;
}
body::before {
  content: "";
  position: fixed;
  inset: -20vmax;
  z-index: -1;
  background:
    radial-gradient(38vmax 38vmax at 12% 8%, rgba(59, 183, 238, 0.22), transparent 60%),
    radial-gradient(40vmax 40vmax at 92% 18%, rgba(154, 127, 224, 0.22), transparent 60%),
    radial-gradient(46vmax 46vmax at 50% 100%, rgba(238, 95, 167, 0.2), transparent 60%);
  filter: blur(20px);
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.round { font-family: ui-rounded, "SF Pro Rounded", system-ui, sans-serif; }

/* Nav */
nav { position: sticky; top: 12px; z-index: 10; margin-top: 12px; }
nav .bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 14px 10px 10px; border-radius: 22px;
  background: rgba(23, 20, 59, 0.6); border: 1px solid var(--stroke);
  backdrop-filter: blur(24px) saturate(1.6); -webkit-backdrop-filter: blur(24px) saturate(1.6);
}
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); font: 800 21px/1 ui-rounded, "SF Pro Rounded", system-ui, sans-serif; letter-spacing: -0.02em; }
.logo:hover { text-decoration: none; }
.logo img { width: 34px; height: 34px; border-radius: 9px; }
nav .links { display: flex; align-items: center; gap: 18px; font-size: 15px; }
nav .links a { color: var(--muted); }
nav .langs { display: flex; gap: 8px; padding-left: 14px; border-left: 1px solid var(--stroke); }
nav .langs a { font-size: 13px; font-weight: 650; letter-spacing: 0.02em; }
nav .langs a[aria-current] { color: var(--text); }
@media (max-width: 560px) { nav .links .hide-sm { display: none; } }
@media (max-width: 420px) { nav .links .hide-xs { display: none; } nav .links { gap: 12px; } }

/* Hero */
.hero { text-align: center; padding: 64px 0 34px; }
.arc { display: flex; justify-content: center; align-items: flex-end; gap: 4px; height: 92px; margin: 0 auto; }
.arc span {
  width: 46px; height: 52px; display: grid; place-items: center;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  font: 800 22px/1 ui-rounded, "SF Pro Rounded", system-ui, sans-serif; color: #fff;
  animation: rise 0.7s cubic-bezier(.3, 1.5, .5, 1) both;
}
.arc span:nth-child(1) { background: #3bb7ee; transform: translateY(0); animation-delay: .05s; }
.arc span:nth-child(2) { background: #5f9fe6; margin-bottom: 22px; animation-delay: .12s; }
.arc span:nth-child(3) { background: #7f8fe2; margin-bottom: 36px; animation-delay: .19s; }
.arc span:nth-child(4) { background: #f3efe4; color: #17143b; margin-bottom: 40px; animation-delay: .26s; }
.arc span:nth-child(5) { background: #b67fd9; margin-bottom: 36px; animation-delay: .33s; }
.arc span:nth-child(6) { background: #d570bf; margin-bottom: 22px; animation-delay: .40s; }
.arc span:nth-child(7) { background: #ee5fa7; animation-delay: .47s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px) scale(.8); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .arc span { animation: none; } }
@media (max-width: 420px) { .arc span { width: 38px; height: 43px; font-size: 18px; } .arc { height: 80px; } }

h1 { font: 800 clamp(38px, 7vw, 68px)/1.05 ui-rounded, "SF Pro Rounded", system-ui, sans-serif; letter-spacing: -0.035em; margin: 26px 0 16px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(18px, 2.4vw, 21px); color: var(--muted); max-width: 640px; margin: 0 auto; }
.cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; padding: 14px 24px; border-radius: 999px; background: var(--grad); color: #fff; font-weight: 650; box-shadow: 0 12px 34px rgba(154, 127, 224, 0.4); }
.cta:hover { text-decoration: none; filter: brightness(1.06); }
.note { margin-top: 12px; font-size: 14px; color: var(--muted); }

/* Cards */
.glass {
  background: var(--card); border: 1px solid var(--stroke); border-radius: 26px;
  backdrop-filter: blur(24px) saturate(1.5); -webkit-backdrop-filter: blur(24px) saturate(1.5);
}
section { padding: 44px 0; }
h2 { font: 800 clamp(28px, 4vw, 38px)/1.15 ui-rounded, "SF Pro Rounded", system-ui, sans-serif; letter-spacing: -0.025em; margin: 0 0 10px; text-align: center; }
.sub { text-align: center; color: var(--muted); margin: 0 auto 30px; max-width: 620px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.card { padding: 22px; }
.card .ic {
  width: 44px; height: 50px; display: grid; place-items: center; font-size: 20px; color: #fff; margin-bottom: 14px;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: var(--grad);
}
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* How to play */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; counter-reset: step; }
.step { padding: 22px; position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 34px; height: 38px; margin-bottom: 12px;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: #f3efe4; color: #17143b; font: 800 17px/1 ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
}
.step b { display: block; font-size: 17.5px; margin-bottom: 4px; }
.step span { color: var(--muted); font-size: 15.5px; }

/* Promises */
.promises { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.promise { padding: 16px 18px; display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.promise b { display: block; }
.promise span { color: var(--muted); }
.tick { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 800; margin-top: 2px; }
@media (max-width: 440px) { .promises { grid-template-columns: 1fr; } }

/* Plus */
.plus { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch; }
.plus .tier { padding: 26px; }
.plus .tier h3 { margin: 0 0 4px; font: 800 26px/1.2 ui-rounded, "SF Pro Rounded", system-ui, sans-serif; }
.plus .tier .per { color: var(--muted); margin-bottom: 14px; font-size: 15px; }
.plus .tier.best { border: 2px solid transparent; background: linear-gradient(var(--bg), var(--bg)) padding-box, var(--grad) border-box; }
.plus ul { margin: 0; padding: 0; list-style: none; }
.plus li { padding: 6px 0 6px 28px; position: relative; font-size: 15.5px; }
.plus li::before { content: "✓"; position: absolute; left: 0; top: 6px; color: var(--brand); font-weight: 800; }
.plus li span { color: var(--muted); }
@media (max-width: 700px) { .plus { grid-template-columns: 1fr; } }

/* Screenshot strip */
.shots { padding: 10px 0 30px; }
.strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 6px 44px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.strip::-webkit-scrollbar { display: none; }
.strip img { width: 100%; height: auto; scroll-snap-align: center; border-radius: 26px; box-shadow: 0 16px 34px rgba(0, 0, 0, 0.4); border: 1px solid var(--stroke); }
@media (max-width: 700px) { .strip { grid-auto-columns: 62%; margin: 0 -20px; padding: 10px 20px 44px; scroll-padding: 0 20px; } }

/* Legal pages */
.doc { max-width: 760px; margin: 40px auto 20px; padding: clamp(22px, 5vw, 44px); }
.doc h1 { font-size: clamp(32px, 6vw, 46px); margin: 0 0 6px; text-align: left; }
.doc h2 { text-align: left; font-size: 22px; margin: 30px 0 8px; }
.doc .meta { color: var(--muted); font-size: 15px; margin-bottom: 22px; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.summary { padding: 16px 18px; border-radius: 18px; background: rgba(59, 183, 238, 0.1); border: 1px solid rgba(59, 183, 238, 0.3); }
details { padding: 14px 18px; margin: 10px 0; border-radius: 18px; background: var(--card); border: 1px solid var(--stroke); }
summary { cursor: pointer; font-weight: 650; }
details p { margin: 10px 0 2px; color: var(--muted); }

footer { padding: 40px 0 50px; text-align: center; color: var(--muted); font-size: 14.5px; }
footer .links { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; margin-bottom: 10px; }
footer .links a { color: var(--muted); }
