@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('./fonts/inter-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Silkscreen';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./fonts/silkscreen-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Silkscreen';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./fonts/silkscreen-700.woff2') format('woff2');
}

@font-face {
  font-family: 'VT323';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./fonts/vt323-400.woff2') format('woff2');
}

:root {
  --bg-page: #050a1f;
  --win-top: #1d3588;
  --win-bot: #0a143c;
  --win-dark-top: #12215c;
  --win-dark-bot: #081031;
  --border-outer: #d8e2ff;
  --border-inner: #6d85c9;
  --shadow-hard: #030716;
  --text-main: #ffffff;
  --text-sub: #c6d6ff;
  --text-muted: #8ea6e6;
  --accent: #f5b971;
  --accent-bright: #fde047;
  --good: #4ade80;
  --cell-bg: rgba(5, 11, 34, 0.56);
  --cell-border: #3d569e;
  --btn-top: #2b4db8;
  --btn-bot: #192f78;
  --text-shadow: 0 2px 0 rgba(0, 0, 0, 0.72);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: radial-gradient(circle at 50% 0%, #10205c 0%, var(--bg-page) 62%);
  color: var(--text-main);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-bright);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.px-font {
  font-family: 'Silkscreen', monospace;
  text-shadow: var(--text-shadow);
}

.page-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 18px 16px 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* RPG Window Boxes */
.win-box {
  background: linear-gradient(180deg, var(--win-top) 0%, var(--win-bot) 100%);
  border: 2.5px solid var(--border-outer);
  border-radius: 8px;
  box-shadow:
    inset 0 0 0 2px var(--border-inner),
    0 4px 0 var(--shadow-hard),
    0 8px 20px rgba(0, 0, 0, 0.36);
  padding: 16px 18px;
}

.win-box-dark {
  background: linear-gradient(180deg, var(--win-dark-top) 0%, var(--win-dark-bot) 100%);
}

/* Top Navigation */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-main);
  text-decoration: none;
}

.nav-brand:hover {
  text-decoration: none;
  filter: brightness(1.08);
}

.nav-logo {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  border: 2px solid var(--border-outer);
  object-fit: cover;
  image-rendering: pixelated;
  box-shadow: 0 2px 0 var(--shadow-hard);
}

.nav-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.4px;
}

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

.nav-btn {
  font-family: 'Silkscreen', monospace;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-main);
  text-shadow: var(--text-shadow);
  background: linear-gradient(180deg, var(--btn-top) 0%, var(--btn-bot) 100%);
  border: 2px solid var(--border-outer);
  border-radius: 6px;
  padding: 6px 10px;
  box-shadow: 0 2px 0 var(--shadow-hard);
  text-decoration: none;
  transition: transform 0.08s ease, filter 0.12s ease;
}

.nav-btn:hover {
  filter: brightness(1.12);
  text-decoration: none;
}

.nav-btn.active {
  background: linear-gradient(180deg, #d97706 0%, #92400e 100%);
  border-color: #fef08a;
  color: #fffbeb;
}

/* Hero Card */
.hero-box {
  text-align: center;
  padding: 28px 20px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.hero-icon {
  width: 128px;
  height: 128px;
  border-radius: 26px;
  border: 3px solid var(--border-outer);
  box-shadow:
    0 5px 0 var(--shadow-hard),
    0 12px 28px rgba(0, 0, 0, 0.52);
  object-fit: cover;
  image-rendering: pixelated;
}

.hero-title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: var(--accent-bright);
  letter-spacing: 1px;
}

.hero-tagline {
  margin: 0;
  max-width: 560px;
  font-size: 15.5px;
  color: var(--text-sub);
  line-height: 1.55;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
}

.store-badge {
  font-family: 'Silkscreen', monospace;
  font-size: 11px;
  font-weight: 700;
  color: #fffbeb;
  text-shadow: var(--text-shadow);
  background: linear-gradient(180deg, #d97706 0%, #92400e 100%);
  border: 2px solid #fef08a;
  border-radius: 6px;
  padding: 10px 16px;
  box-shadow: 0 3px 0 var(--shadow-hard);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.3px;
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.feature-card {
  padding: 15px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.feature-card.feature-wide {
  grid-column: 1 / -1;
}

.feature-title {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.4px;
}

.feature-desc {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-sub);
  line-height: 1.5;
}

/* Content Pages (Support & Privacy) */
.content-box h1 {
  margin: 0 0 6px;
  font-size: 18px;
  color: var(--accent-bright);
}

.content-box .page-sub {
  margin: 0 0 14px;
  font-size: 13.5px;
  color: var(--text-sub);
}

.content-box h2 {
  margin: 18px 0 6px;
  font-size: 12px;
  color: var(--accent);
}

.content-box p,
.content-box li {
  font-size: 13.5px;
  color: var(--text-sub);
}

.content-box p {
  margin: 0 0 10px;
}

.content-box ul {
  margin: 0 0 12px;
  padding-left: 20px;
}

.content-box li {
  margin-bottom: 6px;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cell-bg);
  border: 1.5px solid var(--cell-border);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent-bright);
  margin: 4px 0 8px;
}

.faq-item {
  border-top: 1px solid var(--cell-border);
  padding: 12px 0;
}

.faq-item:first-of-type {
  border-top: none;
  padding-top: 4px;
}

.faq-q {
  margin: 0 0 4px;
  font-size: 11.5px;
  color: var(--accent);
}

.faq-a {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-sub);
}

/* Footer */
.site-footer {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  padding: 8px 0 4px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
}

.site-footer a {
  color: var(--text-sub);
}

@media (max-width: 620px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card.feature-wide {
    grid-column: auto;
  }

  .hero-icon {
    width: 112px;
    height: 112px;
  }

  .hero-title {
    font-size: 21px;
  }

  .hero-tagline {
    font-size: 14.5px;
  }
}
