:root {
  --bg: #05070c;
  --card: rgba(16, 20, 28, 0.72);
  --line: rgba(255, 255, 255, 0.08);
  --text: #f2f4f8;
  --mute: #9aa6b8;
  --accent: #6ea8ff;
  --tg: #2aabee;
  --radius: 18px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html { height: 100%; }

body {
  min-height: 100%;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(80, 130, 220, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(40, 70, 120, 0.12), transparent 50%);
  z-index: 0;
}

.page {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  margin: 0 auto;
  padding: 28px 18px 40px;
}

/* Hero */
.hero {
  text-align: center;
  margin-bottom: 22px;
}

.hero-photo-wrap {
  position: relative;
  width: min(280px, 72vw);
  aspect-ratio: 1;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 0 0 8px rgba(255, 255, 255, 0.03),
    0 24px 60px rgba(0, 0, 0, 0.55);
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  filter: contrast(1.05) saturate(0.95);
}

.hero-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(5, 7, 12, 0.35) 100%);
  pointer-events: none;
}

.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.hero h1 {
  font-size: clamp(1.75rem, 6vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 6px;
}

.name-ru {
  font-size: 14px;
  color: var(--mute);
  font-weight: 500;
}

/* Cards */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px;
  margin-bottom: 12px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.about p {
  font-size: 15px;
  color: #c8d0dc;
  margin-bottom: 12px;
}

.about p:last-child { margin-bottom: 0; }

.accent-line {
  padding: 12px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(62, 120, 220, 0.16), rgba(62, 120, 220, 0.05));
  border: 1px solid rgba(110, 168, 255, 0.22);
  color: #e8eef8 !important;
  font-size: 14.5px !important;
  line-height: 1.45;
}

.accent-line strong {
  color: #fff;
  font-weight: 700;
}

.notice h2 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 8px;
}

.notice p {
  font-size: 14.5px;
  color: #c5cdd9;
  line-height: 1.6;
}

/* Links */
.links {
  margin: 18px 0 12px;
}

.links-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 10px;
  padding-left: 4px;
}

.link-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  margin-bottom: 10px;
  border-radius: 16px;
  background: rgba(20, 26, 36, 0.9);
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.link-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(42, 171, 238, 0.45);
  background: rgba(26, 34, 48, 0.95);
}

.link-btn:active { transform: scale(0.99); }

.link-btn .ico {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--tg);
  color: #fff;
}

.link-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.link-text strong {
  font-size: 15px;
  font-weight: 650;
}

.link-text small {
  font-size: 12.5px;
  color: var(--mute);
}

.chev {
  color: var(--mute);
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
}

/* Social row */
.social {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 20px 0 8px;
}

.soc {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: #dce4f0;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
}

.soc:hover {
  background: rgba(42, 171, 238, 0.2);
  transform: translateY(-2px);
}

.soc.vk:hover {
  background: rgba(0, 119, 255, 0.25);
}

/* Footer */
.foot {
  text-align: center;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--mute);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  align-items: center;
}

.foot .brand {
  font-weight: 700;
  color: #c5d0e0;
  letter-spacing: 0.04em;
}

.foot .sep { opacity: 0.4; }

@media (min-width: 520px) {
  .page { padding-top: 40px; }
  .hero-photo-wrap { width: 300px; }
}
