:root {
  --ink: #3a3550;
  --ink-soft: #6b6580;
  --accent: #8b7fd6;
  --accent-soft: #a89ee8;
  --line: rgba(58, 53, 80, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: #fdfaf5;
  line-height: 1.65;
}

/* Мягкие размытые пятна-облака — та же эстетика, что в самом приложении */
.field {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: linear-gradient(160deg, #fdf8f0 0%, #fbeee9 45%, #eee8fb 100%);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
}

.blob--a { width: 380px; height: 380px; top: -120px; left: -100px; background: #ffd9c9; }
.blob--b { width: 320px; height: 320px; top: 10%; right: -120px; background: #d9c9ff; }
.blob--c { width: 420px; height: 420px; bottom: -160px; left: 15%; background: #c9e6ff; }
.blob--d { width: 280px; height: 280px; bottom: 5%; right: 10%; background: #ffe1f0; }

@media (prefers-reduced-motion: no-preference) {
  .blob--b { animation: drift 26s ease-in-out infinite; }
  @keyframes drift {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-18px, 22px); }
  }
}

.page {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  padding: 72px 24px 96px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 6px;
}

.brand img {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: block;
}

.brand-name {
  font-size: 20px;
  font-weight: 600;
}

.brand-by {
  font-size: 13px;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.brand-by:hover { color: var(--accent); border-color: var(--accent-soft); }

.lang-switch {
  display: flex;
  gap: 8px;
  margin: 28px 0 40px;
}

.lang-tab {
  border: 1px solid var(--line);
  background: transparent;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-family: inherit;
  color: var(--ink-soft);
  cursor: pointer;
}

.lang-tab.is-active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

[hidden] { display: none !important; }

.game-table {
  margin: 4px 0 8px;
  border-top: 1px solid var(--line);
}

.game-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.game-row .game-name {
  font-size: 15px;
  font-weight: 600;
}

.game-row .game-desc {
  margin: 0;
  font-size: 15px;
  color: var(--ink-soft);
}

@media (max-width: 480px) {
  .game-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--ink-soft);
  text-decoration: none;
  margin-bottom: 48px;
}

.mark svg { flex-shrink: 0; }

.mark:hover { color: var(--accent); }

h1 {
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: 0 0 10px;
}

.lede {
  font-size: 17px;
  color: var(--ink-soft);
  margin: 0 0 44px;
  max-width: 52ch;
}

h2 {
  font-size: 19px;
  font-weight: 600;
  margin: 40px 0 12px;
}

section + section {
  border-top: 1px solid var(--line);
  padding-top: 4px;
}

p { margin: 0 0 16px; font-size: 16px; }

a { color: var(--accent); text-decoration: none; border-bottom: 1px solid var(--accent-soft); }
a:hover { color: #6f63c9; }

.contact-card {
  margin-top: 48px;
  padding: 22px 24px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(6px);
}

.contact-card p { margin: 0; }

.contact-card .label {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0 0 6px;
}

.contact-card .email {
  font-size: 19px;
  font-weight: 600;
}

.foot {
  margin-top: 56px;
  font-size: 13px;
  color: var(--ink-soft);
}

@media (max-width: 480px) {
  .page { padding: 48px 20px 72px; }
  h1 { font-size: 28px; }
}
