/* ── WildLegacy — login screen redesign (glass) ──
   Used ONLY by index.html. register.html keeps css/auth.css.            */

:root {
  --accent:        #5B5BF0;
  --accent-2:      #8A7CFF;
  --glass:         rgba(18, 22, 38, .55);
  --glass-panel:   rgba(18, 22, 38, .78);   /* denser frosted tint for content overlay panels (mobile) */
  --glass-border:  rgba(255, 255, 255, .14);
  --glass-blur:    28px;
  /* Shared floating-glass depth: soft drop + crisp inner top-edge highlight */
  --glass-shadow:  0 24px 70px rgba(0, 0, 0, .30);
  --glass-inner:   inset 0 1px 0 rgba(255, 255, 255, .10);
  --text:          #fff;
  --muted:         rgba(255, 255, 255, .72);
  --radius-lg:     28px;
  --radius-md:     16px;
  --ease:          cubic-bezier(.4, 0, .2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { height: 100%; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: #090b18;
  overflow: hidden;
}

/* ── Layer 0 — scene (placeholder background) ──
   Replace the ONE `background:` line below with the real art when ready,
   e.g.  background: url('../img/scene.jpg') center / cover no-repeat;       */
.scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: url('../assets/backgrounds/login-scene.jpg?v=2') center / cover no-repeat;
  /* Fallback fill (shown until the image loads / if it fails) */
  background-color: #161b33;
}

/* ── Layer 1 — vignette (darkens BOTH side zones + bottom, leaves center bright) ── */
.vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(to right,
      rgba(7, 9, 18, .50) 0%, transparent 30%,
      transparent 70%, rgba(7, 9, 18, .50) 100%),
    linear-gradient(to bottom, transparent 56%, rgba(7, 9, 18, .55) 100%);
}

/* ── Layer 3 — login card (right) ── */
.login-card {
  position: fixed;
  z-index: 3;
  top: 50%;
  right: 6vw;
  transform: translateY(-50%);
  width: 460px;
  max-width: calc(100vw - 40px);
  padding: 48px 40px 40px;
  border-radius: var(--radius-lg);
  background: var(--glass);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(120%);
  backdrop-filter: blur(var(--glass-blur)) saturate(120%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow), var(--glass-inner);
  transition: opacity .35s ease, transform .35s ease, visibility .35s;
}

/* Hidden while an overlay panel is open */
.login-card.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-50%) scale(.97);
  pointer-events: none;
}

/* Logo — wordmark is the visual anchor. Readable text-shadow, NOT a neon glow */
.brand {
  text-align: center;
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 1.05;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .5);
}
.brand-wild { color: #fff; }
.brand-legacy {
  background: linear-gradient(135deg, #5B5BF0, #8A7CFF);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: .2px;
  color: rgba(255, 255, 255, .58);
}
.tagline-diamond {
  width: 5px;
  height: 5px;
  flex-shrink: 0;
  transform: rotate(45deg);
  background: linear-gradient(135deg, rgba(91, 91, 240, .6), rgba(138, 124, 255, .6));
  border-radius: 1px;
}

/* Feature pills — glass badges, not buttons */
.pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 28px 0 32px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .09);
  color: rgba(255, 255, 255, .60);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.pill-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--accent-2);
  opacity: .85;
}

/* Form */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.field { position: relative; }
.auth-input {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  border-radius: var(--radius-md);
  background: rgba(9, 12, 24, .42);
  border: 1px solid rgba(255, 255, 255, .09);
  color: var(--text);
  font-size: 15px;
  outline: none;
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.auth-input::placeholder { color: rgba(255, 255, 255, .42); }
.auth-input:focus {
  border-color: var(--accent-2);
  background: rgba(9, 12, 24, .55);
  box-shadow: 0 0 0 4px rgba(138, 124, 255, .16);
}
.field--password .auth-input { padding-right: 50px; }

/* Left icon inside inputs */
.field-icon {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--muted);
  pointer-events: none;
}
.field--icon .auth-input { padding-left: 44px; }

/* Password eye toggle */
.toggle-password {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color .2s, background .2s;
}
.toggle-password:hover { color: var(--text); background: rgba(255, 255, 255, .08); }
.toggle-password svg { width: 20px; height: 20px; }
.toggle-password .icon-eye-off { display: none; }
.toggle-password.revealed .icon-eye     { display: none; }
.toggle-password.revealed .icon-eye-off { display: block; }

/* Remember me / forgot password row */
.form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 2px;
  font-size: 13px;
}
.remember {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  color: var(--muted);
  user-select: none;
}
.remember input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.remember-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .22);
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.remember-box svg {
  width: 13px;
  height: 13px;
  color: #fff;
  opacity: 0;
  transform: scale(.6);
  transition: opacity .18s var(--ease), transform .18s var(--ease);
}
.remember input:checked + .remember-box {
  background: linear-gradient(135deg, #5B5BF0, #8A7CFF);
  border-color: transparent;
}
.remember input:checked + .remember-box svg { opacity: 1; transform: scale(1); }
.remember input:focus-visible + .remember-box {
  box-shadow: 0 0 0 3px rgba(138, 124, 255, .35);
}
.link-btn {
  border: none;
  background: none;
  padding: 0;
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.link-btn:hover { text-decoration: underline; }
.link-btn:disabled { opacity: .6; cursor: default; text-decoration: none; }

/* Error */
.error-msg {
  display: none;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(229, 62, 62, .18);
  border: 1px solid rgba(255, 120, 120, .45);
  color: #ffd9d9;
  font-size: 13px;
}
.error-msg.visible { display: block; }

/* CTA */
.auth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 56px;
  margin-top: 4px;
  border: none;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #5B5BF0, #8A7CFF);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  /* Soft accent bloom + inner top highlight (NOT a neon glow) */
  box-shadow:
    0 12px 30px rgba(91, 91, 240, .38),
    0 4px 14px rgba(138, 124, 255, .24),
    inset 0 1px 0 rgba(255, 255, 255, .22);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), opacity .2s var(--ease);
}
.auth-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 44px rgba(91, 91, 240, .50),
    0 8px 22px rgba(138, 124, 255, .36),
    inset 0 1px 0 rgba(255, 255, 255, .28);
}
.auth-btn:active { transform: translateY(0); }
.auth-btn:disabled { opacity: .7; cursor: not-allowed; transform: none; }
.btn-arrow {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform .2s var(--ease);
}
.auth-btn:hover .btn-arrow { transform: translateX(3px); }

/* Footer */
.auth-footer {
  margin-top: 26px;
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, .60);
}
.auth-footer a {
  color: var(--accent-2);
  font-weight: 600;
  text-decoration: none;
  transition: color .2s var(--ease);
}
.auth-footer a:hover { color: #a99dff; text-decoration: underline; }

/* ── Layer 3 (left) — side panel: pinned left, mirrors the login card.
   Content switches via the bottom nav (no close on desktop). Same glass.   */
.side-panel {
  position: fixed;
  z-index: 3;
  top: 50%;
  left: 6vw;                 /* mirrors the login card's right: 6vw */
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  width: 460px;              /* same width as the login card */
  max-width: calc(100vw - 40px);
  padding: 36px 34px;
  border-radius: var(--radius-lg);
  background: var(--glass);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(120%);
  backdrop-filter: blur(var(--glass-blur)) saturate(120%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow), var(--glass-inner);
}
/* content region — cross-fading sections stack here */
.side-content {
  position: relative;
  flex: 1;
}
.side-section {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s var(--ease), visibility .2s;
}
.side-section.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.section-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.5px;
  margin-bottom: 14px;
}
.section-body {
  flex: 1;
  min-height: 0;           /* allow the flex child to shrink so it can scroll */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  /* Thin translucent scrollbar — matches the dark glass side panel (rules, news, …) */
  scrollbar-width: thin;                                 /* Firefox */
  scrollbar-color: rgba(255, 255, 255, .25) transparent; /* Firefox: thumb / track */
}
.section-body::-webkit-scrollbar { width: 6px; }
.section-body::-webkit-scrollbar-track { background: transparent; }
.section-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, .25);
  border-radius: 3px;
}
.section-body::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, .4); }

/* News preview list (login "Новости" panel) — .section-body scrolls; "Еще" follows the cards */
.news-state { color: var(--muted); font-size: 14px; padding: 4px 0; }
.news-state--error { color: #ffb4b4; }
.news-list { display: flex; flex-direction: column; gap: 12px; padding-right: 4px; }
.news-more {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.news-more:hover {
  background: rgba(255, 255, 255, .10);
  border-color: rgba(255, 255, 255, .24);
  transform: translateY(-1px);
}
.news-card {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .08);
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.news-card:hover {
  background: rgba(255, 255, 255, .075);
  border-color: rgba(255, 255, 255, .15);
  transform: translateY(-1px);
}
.news-card-title { font-size: 15px; font-weight: 700; color: var(--text); line-height: 1.3; }
.news-card-date { margin-top: 4px; font-size: 12px; color: rgba(255, 255, 255, .5); }
.news-card-excerpt { margin-top: 8px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.news-card-more { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--accent-2); }
.news-card:hover .news-card-more { text-decoration: underline; }
/* Rules panel (login "Правила" section) — long-form doc inside the scrolling .section-body */
.rules-doc { padding-right: 6px; }
.rules-doc > p { margin: 0 0 12px; }
.rules-doc > p:first-child { margin-top: 0; }
.rules-doc h3 {
  margin: 22px 0 10px;
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.2px;
}
.rules-doc h3:first-of-type { margin-top: 4px; }
.rules-doc strong { color: var(--text); font-weight: 700; }
.rules-doc ul,
.rules-doc ol { margin: 0 0 12px; padding-left: 20px; }
.rules-doc li { margin-bottom: 6px; }
.rules-doc code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  padding: 1px 5px;
  border-radius: 5px;
  background: rgba(255, 255, 255, .08);
  color: var(--text);
}
.rules-doc blockquote {
  margin: 0 0 12px;
  padding: 10px 14px;
  border-left: 3px solid var(--accent-2);
  border-radius: 0 8px 8px 0;
  background: rgba(255, 255, 255, .04);
  font-size: 13px;
}
.rules-doc hr {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, .10);
  margin: 18px 0;
}
.rules-doc .rules-closing {
  font-style: italic;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 4px;
}

/* Close button — shown only as the mobile fullscreen overlay */
.side-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  color: var(--muted);
  cursor: pointer;
  transition: color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease);
}
.side-close:hover { color: var(--text); background: rgba(255, 255, 255, .12); transform: rotate(90deg); }
.side-close svg { width: 20px; height: 20px; }

/* ── Layer 5 — bottom navigation ── */
.bottom-nav {
  position: fixed;
  z-index: 5;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  align-items: stretch;
  gap: 10px;
  height: 84px;
  padding: 0 18px;
  border-radius: var(--radius-lg);
  background: var(--glass);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(120%);
  backdrop-filter: blur(var(--glass-blur)) saturate(120%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow), var(--glass-inner);
}
.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 84px;
  padding: 0 10px;
  border: none;
  border-radius: 18px;
  background: transparent;
  color: rgba(255, 255, 255, .64);
  cursor: pointer;
  transition: color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease);
}
.nav-item svg { width: 24px; height: 24px; }
.nav-item .nav-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2px;
  white-space: nowrap;
}
.nav-item:hover {
  color: var(--text);
  background: rgba(255, 255, 255, .07);
  transform: translateY(-2px);
}
.nav-item.active {
  color: var(--text);
  background: linear-gradient(135deg, rgba(91, 91, 240, .55), rgba(138, 124, 255, .55));
}

/* ── Toast (password-reset / network feedback) ── */
.toast {
  position: fixed;
  z-index: 20;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-12px);
  max-width: calc(100vw - 40px);
  padding: 13px 20px;
  border-radius: var(--radius-md);
  background: var(--glass);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(120%);
  backdrop-filter: blur(var(--glass-blur)) saturate(120%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow), var(--glass-inner);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.toast.visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.toast--info  { border-left: 3px solid var(--accent-2); }
.toast--warn  { border-left: 3px solid #f5b740; }
.toast--error { border-left: 3px solid #ef5e5e; }

/* ── Fallback: no backdrop-filter → lift glass opacity so text stays legible ── */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  :root        { --glass-panel: rgba(18, 22, 38, .95); }  /* content panels go near-opaque without blur */
  .login-card,
  .side-panel,
  .toast      { background: rgba(18, 24, 42, .82); }
  .bottom-nav { background: rgba(18, 24, 42, .82); }
}

/* ── Mobile (~380px) ── */
@media (max-width: 560px) {
  /* Calm portrait background on phones. Only THIS image downloads here —
     the desktop scene's background-image is overridden, so it isn't fetched
     (and its preload is gated by media). Fallback colour preserved (no flash). */
  .scene { background-image: url('../assets/backgrounds/login-scene-mobile.jpg?v=2'); }

  /* Card pinned between the safe-area top and the navbar; scrolls internally if
     it's taller than the band. Denser glass (mobile blur is weak) so the fields
     don't pick up scene detail. */
  .login-card {
    right: auto;
    left: 50%;
    top: calc(env(safe-area-inset-top) + 12px);
    bottom: calc(102px + env(safe-area-inset-bottom));   /* clears the navbar */
    transform: translateX(-50%);
    width: calc(100vw - 24px);
    max-width: 460px;
    padding: 24px 20px 22px;
    display: flex;
    flex-direction: column;
    justify-content: safe center;   /* centred when it fits; top stays reachable when it scrolls */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: rgba(16, 19, 33, .90);
  }
  .login-card.is-hidden { transform: translateX(-50%) scale(.97); }

  /* Tighten vertical rhythm so "Зарегистрироваться" never meets the navbar */
  .brand { font-size: 34px; }
  .tagline { margin-top: 10px; }
  .pills { justify-content: center; margin: 18px 0 20px; }
  .auth-form { gap: 12px; }
  .auth-footer { margin-top: 16px; }

  /* Opaque fields — the scene must not show through email / password */
  .auth-input {
    background: rgba(6, 9, 18, .72);
    border-color: rgba(255, 255, 255, .12);
  }

  .bottom-nav {
    height: 70px;
    gap: 2px;
    padding: 0 6px;
    width: calc(100vw - 20px);
    bottom: calc(22px + env(safe-area-inset-bottom));   /* keep clear of the home indicator */
    justify-content: space-between;
    border-radius: 22px;
  }
  .nav-item { min-width: 0; flex: 1; padding: 0 4px; }
  /* Hide labels when tight — keep a clean icon row, no horizontal scroll */
  .nav-item .nav-label { display: none; }
  .nav-item svg { width: 26px; height: 26px; }

  /* Two side panels can't coexist on a phone — the side panel becomes a
     fullscreen overlay opened by the nav, with a close button. Login is default. */
  .side-panel {
    z-index: 4;                /* above the centred login, below the nav (z5) */
    left: 0;
    top: 0;
    transform: none;
    width: 100%;
    max-width: 100%;
    height: 100%;
    border-radius: 0;
    /* Frosted content glass — same system as the login (border + inset inherited
       from the base rule), but a denser tint + reduced mobile blur so the calm
       scene blurs THROUGH while news/rules text still reads cleanly. */
    background: var(--glass-panel);
    -webkit-backdrop-filter: blur(18px) saturate(120%);
    backdrop-filter: blur(18px) saturate(120%);
    padding: 64px 22px 100px;  /* room for close (top) + bottom nav */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s var(--ease), visibility .25s;
  }
  .side-panel.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  /* Closed overlay must be fully inert: `.side-section.is-active` re-enables
     visibility/pointer-events on a CHILD, which overrides the panel's hidden
     state for hit-testing — an invisible fullscreen news layer was swallowing
     taps on the login form (and news links navigated). Child override wins,
     so the closed state has to be re-asserted on the sections themselves. */
  .side-panel:not(.open) .side-section {
    visibility: hidden;
    pointer-events: none;
  }
  /* Hide the login (already fully covered by the overlay) so the calm .scene is
     what frosts through the panel — purely visual; no nav/show() logic touched. */
  body:has(.side-panel.open) .login-card { opacity: 0; visibility: hidden; }
  .side-close { display: flex; }
}

/* Tight phones — stack remember/forgot so the row never overflows */
@media (max-width: 400px) {
  .form-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* ════════ SEO-лендинг «Об игре» + скролл страницы ═══════════════════════
   Страница теперь скроллится: hero (первый экран) сохраняет прежнюю
   геометрию логина — те же inset-значения, но position:absolute внутри
   100dvh-контейнера вместо fixed. Ниже hero — статическая секция .about
   (индексируемый текст). Сцена и виньетка остаются fixed: фон «стоит»,
   контент едет поверх. */
html { height: 100%; }
body { height: auto; min-height: 100%; overflow: hidden auto; }

.hero { position: relative; height: 100vh; height: 100dvh; }
.hero .login-card,
.hero .side-panel,
.hero .bottom-nav { position: absolute; }

.about {
  position: relative;
  z-index: 2;                      /* над виньеткой (z1) */
  padding: 72px 20px 84px;
}
.about-inner { max-width: 1060px; margin: 0 auto; }
.about-head { text-align: center; max-width: 740px; margin: 0 auto 40px; }
.about-head h1 {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -.8px;
  line-height: 1.12;
  color: var(--text);
}
.about-lead {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
}
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.about-card {
  padding: 26px 26px 24px;
  border-radius: var(--radius-lg);
  background: var(--glass);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(120%);
  backdrop-filter: blur(var(--glass-blur)) saturate(120%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow), var(--glass-inner);
}
.about-card h2 {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.3px;
  margin-bottom: 10px;
  color: var(--text);
}
.about-card p { font-size: 14.5px; line-height: 1.65; color: var(--muted); }
.about-cta { text-align: center; margin-top: 40px; }
.about-btn {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 15px 34px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 26px rgba(91, 91, 240, .40);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), filter .2s var(--ease);
}
.about-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(91, 91, 240, .52); filter: brightness(1.05); }
.about-links { margin-top: 18px; font-size: 14px; color: rgba(255, 255, 255, .55); }
.about-links a { color: #a99dff; font-weight: 600; text-decoration: none; }
.about-links a:hover { color: #b8adff; text-decoration: underline; }

@media (max-width: 760px) {
  .about { padding: 52px 14px 64px; }
  .about-head { margin-bottom: 28px; }
  .about-grid { grid-template-columns: 1fr; gap: 14px; }
  .about-card {
    background: rgba(16, 19, 33, .90);   /* плотнее — мобильный blur слабый (как login-card) */
  }
}
.about-more {
  max-width: 740px;
  margin: 34px auto 0;
  text-align: center;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}
