:root {
  --bg: #090a0e;
  --panel: #101117;
  --panel-soft: #14151d;
  --line: rgba(225, 218, 255, .14);
  --line-strong: rgba(194, 176, 255, .38);
  --text: #f6f4fa;
  --muted: #9a99a6;
  --quiet: #6f707b;
  --violet: #9876ff;
  --violet-soft: #c1b1ff;
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; overflow: hidden; }
body { margin: 0; background-color: var(--bg); background-image: linear-gradient(rgba(167,139,250,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(167,139,250,.12) 1px, transparent 1px); background-size: 72px 72px; background-position: 0 0, 0 0; color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; animation: grid-drift 18s linear infinite; }
body::before { content: ""; position: fixed; z-index: 0; inset: 0; pointer-events: none; background: radial-gradient(ellipse at center, transparent 34%, rgba(9,10,14,.2) 64%, rgba(9,10,14,.7) 88%, var(--bg) 100%), radial-gradient(circle at 78% 72%, rgba(112,72,225,.13), transparent 28%); }
body::after { content: ""; position: fixed; width: 500px; height: 500px; right: -260px; bottom: -260px; border-radius: 50%; background: rgba(112, 72, 225, .15); filter: blur(80px); pointer-events: none; }
a { color: inherit; text-decoration: none; }
::selection { color: #fff; background: rgba(139, 92, 246, .62); }
.about-page { position: relative; isolation: isolate; display: flex; flex-direction: column; width: min(100% - 96px, var(--max-width)); height: 100svh; min-height: 540px; margin: 0 auto; }
.heading-dot { color: var(--violet-soft); }
.about-main { position: relative; z-index: 1; }
.about-main { display: grid; flex: 1 1 auto; min-height: 0; align-items: center; }
.about-section { display: block; min-height: 0; padding: 32px 0; }
.about-copy { max-width: 760px; }
h1 { max-width: 760px; margin: 0 0 34px; color: var(--text); font-size: clamp(4.4rem, 11vw, 10rem); font-weight: 720; letter-spacing: -.09em; line-height: .86; }
h1 em { color: var(--violet-soft); font-style: normal; }
.about-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.action-button { position: relative; display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-width: 170px; overflow: hidden; padding: 13px 15px 13px 19px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--text); font-size: .72rem; font-weight: 750; letter-spacing: -.01em; box-shadow: 0 10px 26px rgba(0,0,0,.18); transition: transform .22s ease, gap .22s ease, background .22s ease, border-color .22s ease, box-shadow .22s ease; }
.action-button::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,.16) 48%, transparent 70%); transform: translateX(-125%); transition: transform .55s ease; }
.action-button span, .action-button { isolation: isolate; }
.action-button span { color: var(--violet-soft); font-size: 1.05rem; transition: transform .22s ease; }
.action-button:hover { transform: translateY(-4px); gap: 35px; border-color: var(--violet-soft); box-shadow: 0 16px 36px rgba(83,51,163,.24); }
.action-button:hover::before { transform: translateX(125%); }
.action-button:hover span { transform: translate(2px, -2px); }
.telegram-button { border-color: rgba(202,187,255,.62); background: linear-gradient(135deg, #8c62f2, #5b35b9); }
.telegram-button:hover { background: linear-gradient(135deg, #9d77ff, #6b43cb); }
.archive-button { color: var(--muted-strong); border-color: rgba(225,218,255,.26); background: rgba(255,255,255,.045); backdrop-filter: blur(8px); }
.archive-button:hover { background: rgba(255,255,255,.1); }
@media (max-width: 760px) {
  .about-page { width: min(100% - 34px, var(--max-width)); min-height: 540px; }
  .about-section { padding: 14px 0 10px; }
  h1 { margin-bottom: 24px; font-size: clamp(4rem, 20vw, 6.5rem); }
  .about-actions { align-items: stretch; flex-direction: column; max-width: 280px; gap: 9px; }
  .action-button { min-width: 0; width: 100%; padding: 12px 14px; font-size: .65rem; }
}
@media (max-height: 700px) and (min-width: 761px) {
  .about-section { padding: 16px 0; }
  h1 { font-size: clamp(3rem, 6.7vw, 5.4rem); margin-bottom: 18px; }
  .intro { font-size: .89rem; }
  .about-actions { margin-top: 21px; }
}
@keyframes grid-drift { from { background-position: 0 0, 0 0; } to { background-position: 144px 144px, 144px 144px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
