@font-face {
  font-family: 'Unbounded';
  src: url('../assets/fonts/unbounded-medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Unbounded';
  src: url('../assets/fonts/unbounded-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../assets/fonts/dm-sans-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../assets/fonts/dm-sans-medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #181818;
  --card: #222333;
  --orange: #ff9000;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --muted-2: rgba(255, 255, 255, 0.45);
  --radius: 20px;
  --radius-lg: 26px;
  --maxw: 680px;
  --display: 'Unbounded', system-ui, sans-serif;
  --body: 'DM Sans', system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; }
a { color: inherit; }

.stars {
  position: fixed;
  inset: 0;
  z-index: -1;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

h1, h2, h3, .brand, .footer-brand {
  font-family: var(--display);
  line-height: 1.15;
}
.brand, .hero h1, .footer-brand { font-weight: 500; }
.about h2, .why h2, .cta-card h2, .card-head h3, .footer-col h2 { font-weight: 700; }

.ficon {
  display: inline-block;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}
.ficon--privacy  { -webkit-mask-image: url('../assets/icons/icon-jprivacy.svg'); mask-image: url('../assets/icons/icon-jprivacy.svg'); }
.ficon--rocket   { -webkit-mask-image: url('../assets/icons/icon-rocket.svg');   mask-image: url('../assets/icons/icon-rocket.svg'); }
.ficon--game     { -webkit-mask-image: url('../assets/icons/icon-game.svg');     mask-image: url('../assets/icons/icon-game.svg'); }
.ficon--gear     { -webkit-mask-image: url('../assets/icons/icon-gear.svg');     mask-image: url('../assets/icons/icon-gear.svg'); }
.ficon--download { -webkit-mask-image: url('../assets/icons/icon-download.svg'); mask-image: url('../assets/icons/icon-download.svg'); }
.ficon--next     { -webkit-mask-image: url('../assets/icons/icon-next.svg');     mask-image: url('../assets/icons/icon-next.svg'); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 18px 24px;
  text-align: center;
  background: var(--bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.brand {
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  color: #fff;
  text-decoration: none;
}
.brand:hover { color: var(--orange); }

.hero {
  text-align: center;
  padding: 28px 24px 60px;
}
.logo-mark {
  width: 112px;
  height: 112px;
  margin: 8px auto 20px;
}
.hero h1 {
  font-size: clamp(2rem, 8vw, 2.85rem);
  margin-bottom: 6px;
}
.play-brighter {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}
.hero-accent {
  color: var(--orange);
  font-weight: 500;
  font-size: 1.15rem;
  margin-bottom: 16px;
}
.hero-desc {
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 34px;
}
.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--body);
  font-weight: 500;
  font-size: 1.02rem;
  padding: 15px 34px;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.2s ease, background 0.2s ease;
}
.btn .ficon { width: 20px; height: 20px; }
.btn-primary { background: var(--orange); color: #181818; }
.btn-secondary { background: var(--card); color: #fff; }
.btn:hover { transform: translateY(-2px); }
.btn-primary:hover { filter: brightness(1.05); }
.btn-secondary:hover { filter: brightness(1.4); }
.btn:active { transform: translateY(0); }
.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}
.btn[disabled]:hover {
  transform: none;
  filter: none;
}

.about {
  text-align: center;
  padding: 52px 24px;
}
.about h2 {
  color: var(--orange);
  font-size: clamp(1.5rem, 6vw, 2rem);
  margin-bottom: 24px;
}
.about p {
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 18px;
}

.features-wrap { padding: 20px 24px 44px; }
.features {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--orange);
}
.card-head h3 {
  color: var(--orange);
  font-size: 1.3rem;
}
.card p {
  color: var(--muted);
  font-size: 0.96rem;
}

.why {
  text-align: center;
  padding: 56px 24px 20px;
}
.why h2 {
  color: var(--orange);
  font-size: clamp(1.5rem, 6vw, 2rem);
  margin-bottom: 22px;
}
.why p {
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
}

.cta { padding: 44px 24px 20px; }
.cta-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 44px 28px;
  max-width: var(--maxw);
  margin: 0 auto;
  text-align: center;
}
.cta-card h2 {
  color: var(--orange);
  font-size: clamp(1.5rem, 6vw, 2rem);
  margin-bottom: 10px;
}
.cta-sub {
  font-weight: 500;
  color: #fff;
  margin-bottom: 22px;
}
.cta-card p {
  color: var(--muted);
  max-width: 460px;
  margin: 0 auto 16px;
}
.cta-card .btn { margin-top: 16px; }
.cta-link {
  display: block;
  margin-top: 20px;
  color: var(--orange);
  font-weight: 500;
  text-decoration: none;
}
.cta-link:hover { text-decoration: underline; }

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 48px;
  padding: 64px 24px 44px;
}
.footer-inner { max-width: 900px; margin: 0 auto; }
.footer-brand {
  font-size: clamp(1.75rem, 6vw, 2.25rem);
  margin-bottom: 14px;
}
.footer-tagline {
  color: var(--muted);
  max-width: 760px;
  margin-bottom: 44px;
}
.footer-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
}
.footer-col h2 {
  color: var(--orange);
  font-size: 1rem;
  margin-bottom: 14px;
}
.footer-col a,
.footer-btn {
  display: block;
  width: 100%;
  color: var(--muted);
  text-decoration: none;
  padding: 7px 0;
  background: none;
  border: 0;
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: color 0.15s ease;
}
.footer-col a:hover,
.footer-btn:hover { color: #fff; }
.footer-bottom {
  text-align: center;
  color: var(--muted-2);
  font-size: 0.9rem;
  margin-top: 56px;
}

@media (min-width: 640px) {
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 430px) {
  .features { grid-template-columns: 1fr; }
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 6px;
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

.reveal { opacity: 0; transform: translateY(14px); }
.reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.legal h1 {
  font-size: clamp(1.85rem, 6vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 10px;
  text-align: center;
}
.legal-date {
  color: var(--muted);
  margin-bottom: 36px;
  text-align: center;
}
.tldr {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin-bottom: 44px;
}
.tldr h2 {
  color: var(--orange);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.tldr p { color: var(--muted); margin-bottom: 12px; }
.tldr p:last-child { margin-bottom: 0; }
.legal section { margin-bottom: 36px; }
.legal h2 {
  color: var(--orange);
  font-size: clamp(1.2rem, 4vw, 1.5rem);
  font-weight: 700;
  margin-bottom: 16px;
  scroll-margin-top: 90px;
}
.legal p {
  color: var(--muted);
  margin-bottom: 14px;
}
.legal .clause {
  color: var(--orange);
  font-weight: 500;
  margin-right: 8px;
}
.legal ul {
  color: var(--muted);
  margin: 0 0 16px 0;
  padding-left: 22px;
}
.legal li { margin-bottom: 6px; }
.legal blockquote {
  border-left: 3px solid var(--orange);
  margin: 0 0 16px 0;
  padding: 6px 0 6px 16px;
  color: var(--text);
  font-style: italic;
}
.legal a {
  color: var(--orange);
  text-decoration: none;
}
.legal a:hover { text-decoration: underline; }

.notice {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 200;
  width: min(360px, calc(100% - 32px));
  background: var(--card);
  border-radius: var(--radius);
  padding: 20px 20px 18px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translate(-50%, 12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.notice.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.notice p {
  color: #fff;
  font-size: 0.95rem;
  margin: 4px 0 16px;
  padding-right: 20px;
}
.notice-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 50%;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}
.notice-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.notice-ok {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: #181818;
  border: 0;
  border-radius: 999px;
  padding: 10px 22px;
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.92rem;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.15s ease;
}
.notice-ok:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.about-page {
  max-width: 640px;
  margin: 0 auto;
  padding: 56px 24px 90px;
  text-align: center;
}
.about-page h1 {
  font-size: clamp(1.9rem, 7vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 10px;
}
.about-tagline {
  color: var(--orange);
  font-weight: 500;
  font-size: 1.15rem;
  margin-bottom: 28px;
}
.about-page p {
  color: var(--muted);
  margin-bottom: 16px;
}
.about-page section {
  margin-top: 56px;
}
.about-page h2 {
  color: var(--orange);
  font-size: clamp(1.3rem, 5vw, 1.7rem);
  font-weight: 700;
  margin-bottom: 18px;
}
.about-page h3 {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 34px 0 14px;
}
.about-lead {
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  margin: 22px 0;
}
.about-page .about-tagline:last-child {
  margin-top: 32px;
  margin-bottom: 0;
  font-size: 1.2rem;
}
.about-links {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.about-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s ease;
}
.about-links a:hover { color: var(--orange); }
