/* Логотип «свои знают»: буква «о» заменена игровым элементом.
   Использование: <div class="lgo lgo-buzz"> … </div>, размер задаётся font-size. */
@font-face { font-family: "InterV"; src: url("../fonts/Inter-Variable.ttf") format("truetype"); font-weight: 100 900; font-display: block; }

.lgo { font-family: "InterV", system-ui, sans-serif; font-weight: 660; letter-spacing: -0.075em; line-height: .74; color: #fff; display: inline-block; }
.lgo span.w { display: block; white-space: nowrap; }
.lgo .w2 { color: #A47BFF; }
/* место под «о»: размер как у строчной буквы */
.lgo .o { position: relative; display: inline-block; width: .535em; height: .535em; margin: 0 -.042em 0 .057em; vertical-align: -.005em; }

/* ---------- A. КНОПКА ---------- */
.lgo-buzz .o svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; transform-origin: 50% 100%;
  filter: drop-shadow(0 .03em .06em rgba(200,245,58,.35)); animation: lgo-press 3.2s cubic-bezier(.3,1.4,.5,1) infinite; }
.lgo-buzz .o::before { content: ""; position: absolute; left: 8%; right: 8%; bottom: -6%; height: 16%; border-radius: 50%; background: rgba(0,0,0,.45); filter: blur(.02em); }
.lgo-buzz .o::after { content: ""; position: absolute; inset: -4%; border-radius: 50%; border: .03em solid #C8F53A; opacity: 0; animation: lgo-wave 3.2s ease-out infinite; }
@keyframes lgo-press { 0%, 62%, 100% { transform: none; } 66% { transform: scaleY(.84) scaleX(1.04); } 74% { transform: scaleY(1.03); } 80% { transform: none; } }
@keyframes lgo-wave { 0%, 64% { opacity: 0; transform: scale(.9); } 66% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.9); } }

/* ---------- B. ТАЙМЕР ---------- */
.lgo-timer .o svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.lgo-timer .o .bg { fill: none; stroke: rgba(164,123,255,.28); stroke-width: 23; }
.lgo-timer .o .arc { fill: none; stroke: #C8F53A; stroke-width: 23; stroke-linecap: round; stroke-dasharray: 100; animation: lgo-count 4s linear infinite; filter: drop-shadow(0 0 4px rgba(200,245,58,.6)); }
.lgo-timer .o .dot { fill: #C8F53A; transform-origin: 50px 50px; animation: lgo-blink 4s linear infinite; }
@keyframes lgo-count { 0% { stroke-dashoffset: 0; stroke: #C8F53A; } 70% { stroke: #C8F53A; } 86% { stroke: #FF6E96; } 92% { stroke-dashoffset: 100; stroke: #FF6E96; } 93% { stroke-dashoffset: 100; } 100% { stroke-dashoffset: 0; stroke: #C8F53A; } }
@keyframes lgo-blink { 0%, 90% { opacity: 0; transform: scale(.4); } 93% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.4); } }

/* ---------- C. МОДИФИКАТОР ---------- */
.lgo-orb .o i { position: absolute; inset: 0; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 35% 28%, #E3D2FF, #8A4DFF 45%, #3D0FA8 100%);
  box-shadow: inset -.035em -.05em .09em rgba(20,0,80,.6), 0 .05em .14em -.03em rgba(123,60,255,.8); }
.lgo-orb .o i::after { content: ""; position: absolute; top: -20%; bottom: -20%; width: 35%; left: -60%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); animation: lgo-shine 3.6s ease-in-out infinite; }
.lgo-orb .o svg { position: absolute; inset: 22%; width: 56%; height: 56%; color: #fff; filter: drop-shadow(0 .01em .02em rgba(0,0,0,.35)); animation: lgo-spin 7s linear infinite; }
@keyframes lgo-shine { 0%, 55% { left: -60%; } 85%, 100% { left: 130%; } }
@keyframes lgo-spin { to { transform: rotate(360deg); } }

.lgo.still *, .lgo.still *::before, .lgo.still *::after { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .lgo *, .lgo *::before, .lgo *::after { animation: none !important; } }
/* кадр для статичной картинки */
.lgo.still.lgo-timer .o .arc { stroke-dashoffset: 26; }
.lgo.still.lgo-timer .o .dot { opacity: 0; }
