/* ============================================================
   Fear Protection — страница «О проекте»
   ============================================================ */

.about-body {
  min-height: 100%;
  background: var(--bg);
}

.about-body .site-bg {
  display: block;
}

/* ---------- Шапка ---------- */
.about-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.about-back {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.16s ease, background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.about-back svg {
  width: 16px;
  height: 16px;
}

.about-back:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(var(--accent-rgb), 0.45);
  transform: translateX(-2px);
}

.about-topbar .topbar-brand {
  justify-self: center;
  margin: 0;
}

/* ---------- Страница ---------- */
.about-page {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 72px;
}

.about-hero {
  position: relative;
  padding: 52px 44px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 24px;
  background:
    radial-gradient(620px 320px at 8% -20%, rgba(var(--accent-rgb), 0.3), transparent 65%),
    radial-gradient(520px 300px at 100% 0%, rgba(56, 189, 248, 0.16), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0) 55%),
    var(--panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 40px 90px -60px rgba(0, 0, 0, 0.95);
  overflow: hidden;
}

.about-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.24), transparent 68%);
  pointer-events: none;
}

.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border: 1px solid rgba(var(--accent-rgb), 0.4);
  border-radius: 999px;
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.about-hero h1 {
  margin: 20px 0 0;
  font-size: clamp(28px, 4.2vw, 46px);
  line-height: 1.14;
  letter-spacing: -0.6px;
  background: linear-gradient(180deg, #ffffff, #aab4ca);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-lead {
  max-width: 660px;
  margin: 18px 0 0;
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.7;
}

.about-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.about-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.about-btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.about-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(var(--accent-rgb), 0.5);
}

/* ---------- Секции ---------- */
.about-section {
  margin-top: 56px;
}

.about-section-head {
  margin-bottom: 20px;
}

.about-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.about-section h2 {
  margin: 0;
  font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: -0.3px;
}

.about-section > p {
  max-width: 860px;
  margin: 0 0 14px;
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.75;
}

/* ---------- Возможности ---------- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.about-card {
  position: relative;
  padding: 22px 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0) 46%),
    var(--panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045), 0 24px 50px -42px rgba(0, 0, 0, 0.95);
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.about-card:hover {
  border-color: rgba(var(--accent-rgb), 0.42);
  transform: translateY(-3px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 30px 60px -40px rgba(var(--accent-rgb), 0.5);
}

.about-card-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  border-radius: 12px;
  background: rgba(var(--accent-rgb), 0.13);
  color: var(--accent-2);
}

.about-card-ico svg {
  width: 21px;
  height: 21px;
}

.about-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  letter-spacing: -0.1px;
}

.about-card p {
  margin: 0;
  color: var(--text-dim);
  font-size: 13.5px;
  line-height: 1.65;
}

/* ---------- Проекты ---------- */
.about-projects {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.about-project {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  background: var(--panel);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.about-project:hover {
  border-color: rgba(var(--accent-rgb), 0.45);
  background: var(--panel-hover);
  transform: translateY(-2px);
}

.about-project-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex: none;
  overflow: hidden;
  border-radius: 13px;
  background: linear-gradient(150deg, rgba(var(--accent-rgb), 0.9), rgba(56, 189, 248, 0.75));
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: 0 12px 26px -14px rgba(var(--accent-rgb), 0.9);
}

.about-project-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.about-project-mark-fear {
  background: #4d70ef;
}

.about-project-mark-yooma {
  background: #2b2465;
}

.about-project-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.about-project-body b {
  font-size: 15px;
}

.about-project-body span {
  color: var(--text-faint);
  font-size: 13px;
  line-height: 1.45;
}

.about-project-arrow {
  margin-left: auto;
  color: var(--text-faint);
  font-size: 18px;
  transition: color 0.18s ease, transform 0.18s ease;
}

.about-project:hover .about-project-arrow {
  color: var(--accent-2);
  transform: translateX(3px);
}

/* ---------- Соцсети ---------- */
.about-social-lead {
  margin: 0 0 20px;
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.7;
}

.about-socials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.about-social {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  background: var(--panel);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.about-social svg {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--accent-2);
}

.about-social.is-discord svg {
  color: #7289da;
}

.about-social.is-telegram svg {
  color: #29a9eb;
}

.about-social:hover {
  border-color: rgba(var(--accent-rgb), 0.45);
  background: var(--panel-hover);
  transform: translateY(-2px);
}

.about-social-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.about-social-body b {
  font-size: 14px;
}

.about-social-body span {
  color: var(--text-faint);
  font-size: 12.5px;
}

.about-social-arrow {
  margin-left: auto;
  color: var(--text-faint);
  font-size: 17px;
  transition: color 0.18s ease, transform 0.18s ease;
}

.about-social:hover .about-social-arrow {
  color: var(--accent-2);
  transform: translateX(3px);
}

/* ---------- Подвал ---------- */
.about-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-faint);
  font-size: 13px;
}

.about-footer a {
  color: var(--text-dim);
  text-decoration: none;
}

.about-footer a:hover {
  color: var(--accent-2);
}

/* ---------- Адаптив ---------- */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .about-page {
    width: calc(100% - 28px);
    padding: 30px 0 48px;
  }

  .about-hero {
    padding: 32px 22px;
    border-radius: 20px;
  }

  .about-lead {
    font-size: 14.5px;
  }

  .about-hero-actions .about-btn {
    flex: 1 1 160px;
  }

  .about-section {
    margin-top: 40px;
  }

  .about-grid,
  .about-projects,
  .about-socials {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-topbar .about-back span {
    display: none;
  }

  .about-back {
    padding: 8px;
  }

  .about-footer {
    width: calc(100% - 28px);
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-card,
  .about-project,
  .about-social,
  .about-back,
  .about-project-arrow,
  .about-social-arrow {
    transition: none;
  }
}
