/* Kirovenko Group — основной стиль. Анимации только transform/opacity. */
:root {
  --bg: #05060a;
  --bg2: #0a0c14;
  --card: #0e111b;
  --card2: #121626;
  --line: rgba(232, 184, 74, .18);
  --text: #ece6d6;
  --muted: #a8a195;
  --gold: #e8b84a;
  --gold-2: #ffd98a;
  --gold-3: #a8741c;
  --violet: #a46bff;
  --violet-2: #6d35d6;
  --green: #3ddc97;
  --green-2: #129e66;
  --navy: #0e1d42;
  --navy-2: #1d3b82;
  --danger: #ff5d6c;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .45);
  --wrap: 1200px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "DejaVu Serif", "Times New Roman", serif;
  --acc: var(--gold);
  --acc-glow: rgba(232, 184, 74, .35);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 var(--font); overflow-x: hidden; min-height: 100vh;
  display: flex; flex-direction: column;
}
main { flex: 1 0 auto; outline: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-2); text-decoration: none; }
a:hover { color: #fff; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; font-family: var(--serif); font-weight: 700; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.9rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--gold); color: #000; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.mt { margin-top: 24px; }
.note { margin-top: 18px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.kicker { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: var(--acc); margin: 0 0 .7em; font-weight: 600; }
.lead { font-size: 1.12rem; color: #d9d2c2; }

/* акценты */
.acc-gold { --acc: var(--gold); --acc-glow: rgba(232, 184, 74, .35); }
.acc-violet, .theme-violet { --acc: var(--violet); --acc-glow: rgba(164, 107, 255, .4); }
.acc-green, .theme-green { --acc: var(--green); --acc-glow: rgba(61, 220, 151, .35); }
.acc-blue { --acc: #6f9bff; --acc-glow: rgba(70, 120, 255, .35); }

/* кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 1px solid transparent;
  font: 600 .95rem/1.2 var(--font); cursor: pointer; text-align: center;
  transition: transform .2s ease, opacity .2s ease; position: relative; isolation: isolate;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 38px; padding: 7px 14px; font-size: .88rem; }
.btn-block { width: 100%; }
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold) 50%, var(--gold-3)); color: #1a1205; box-shadow: 0 0 22px rgba(232, 184, 74, .28); }
.btn-gold:hover { color: #000; }
.btn-ghost { background: rgba(255, 255, 255, .03); border-color: rgba(232, 184, 74, .45); color: var(--gold-2); }
.btn-ghost:hover { color: #fff; border-color: var(--gold-2); }
.btn-green, .btn-ghost.btn-green { border-color: rgba(61, 220, 151, .55); color: #8ff0c4; }
.btn-green:not(.btn-ghost) { background: linear-gradient(135deg, #5ff0b0, var(--green-2)); color: #03150d; border: 0; }
.btn-danger { background: transparent; border-color: rgba(255, 93, 108, .6); color: #ff9aa4; }
.btn-link-telegram { background: linear-gradient(135deg, #39b5f0, #1c7fc4); color: #fff; }
.btn-link-telegram::before { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: url("../img/icons/telegram.svg") center/contain no-repeat; mask: url("../img/icons/telegram.svg") center/contain no-repeat; }
.btn-link-funpay, .btn-link-playerok, .btn-link-site, .btn-link-other, .btn-link-docs { background: rgba(29, 59, 130, .35); border-color: rgba(111, 155, 255, .5); color: #cfe0ff; }
.btn-link-download { background: linear-gradient(135deg, #5ff0b0, var(--green-2)); color: #03150d; }

/* шапка */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(5, 6, 10, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.header-in { display: flex; align-items: center; gap: 18px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); flex: none; }
.brand img { width: 48px; height: 48px; filter: drop-shadow(0 0 10px rgba(232, 184, 74, .35)); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.15rem; background: linear-gradient(180deg, var(--gold-2), var(--gold) 60%, var(--gold-3)); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; }
.brand-sep { display: none; }
.brand-tag { color: var(--muted); font-size: .82rem; white-space: nowrap; }
.brand-tag::before { content: "• "; color: var(--gold); }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.main-nav a { display: block; white-space: nowrap; padding: 8px 10px; color: var(--text); border-radius: 8px; font-size: .95rem; position: relative; }
.main-nav a::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 3px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .25s ease; transform-origin: left; }
.main-nav a:hover::after, .main-nav a[aria-current]::after { transform: scaleX(1); }
.main-nav a[aria-current] { color: var(--gold-2); }
.nav-extra { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.dropdown { position: relative; }
.caret { width: 0; height: 0; border: 5px solid transparent; border-top-color: currentColor; margin-top: 5px; }
.dropdown-panel { position: absolute; right: 0; top: calc(100% + 10px); min-width: 220px; background: var(--card2); border: 1px solid var(--line); border-radius: 14px; padding: 8px; box-shadow: var(--shadow), 0 0 30px rgba(232, 184, 74, .12); animation: drop .18s ease; }
.dropdown-panel[hidden] { display: none; }
.dropdown-panel ul { list-style: none; margin: 0; padding: 0; }
.dropdown-panel a { display: block; padding: 9px 12px; border-radius: 9px; color: var(--text); border-left: 3px solid var(--acc); }
.dropdown-panel a:hover { background: rgba(255, 255, 255, .05); }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.burger { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: transparent; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { display: block; width: 20px; height: 2px; background: var(--gold-2); transition: transform .25s ease, opacity .2s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.neon-line { height: 1px; background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--violet) 55%, var(--green) 80%, transparent); opacity: .7; box-shadow: 0 0 12px rgba(232, 184, 74, .5); }

/* hero */
.hero { position: relative; overflow: hidden; padding: 64px 0 72px; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.glow-gold { width: 520px; height: 520px; right: 4%; top: -60px; background: radial-gradient(circle, rgba(232, 184, 74, .55), transparent 65%); animation: breathe 9s ease-in-out infinite; }
.glow-violet { width: 460px; height: 460px; left: -120px; bottom: -160px; background: radial-gradient(circle, rgba(140, 80, 255, .5), transparent 65%); animation: breathe 11s ease-in-out infinite reverse; }
.hline { position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(232, 184, 74, .55), transparent); }
.hline-1 { top: 6%; animation: slide 12s linear infinite; }
.hline-2 { top: 78%; background: linear-gradient(90deg, transparent, rgba(164, 107, 255, .55), transparent); animation: slide 15s linear infinite reverse; }
@keyframes breathe { 0%, 100% { opacity: .4; transform: scale(1); } 50% { opacity: .65; transform: scale(1.08); } }
@keyframes slide { from { transform: translateX(-60%); } to { transform: translateX(60%); } }
.hero-in { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero-title { font-size: clamp(2rem, 5vw, 3.4rem); background: linear-gradient(180deg, #fff3cf, var(--gold-2) 35%, var(--gold) 70%, var(--gold-3)); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: 0 0 40px rgba(232, 184, 74, .15); }
.hero-sub { font-size: clamp(1.05rem, 2.2vw, 1.35rem); color: #f1e6c8; font-weight: 600; }
.hero-lead { color: var(--muted); max-width: 60ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.center-actions { justify-content: center; }
.hero-art { position: relative; display: grid; place-items: center; }
.eagle-halo { position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(232, 184, 74, .35), rgba(232, 184, 74, 0) 65%); animation: breathe 7s ease-in-out infinite; }
.hero-eagle { position: relative; width: min(420px, 100%); filter: drop-shadow(0 0 24px rgba(232, 184, 74, .35)); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* эквалайзер */
.eq { display: flex; align-items: flex-end; justify-content: center; gap: 5px; height: 56px; margin-top: 10px; position: relative; }
.eq span { width: 7px; height: 100%; border-radius: 4px; background: linear-gradient(180deg, var(--gold-2), var(--violet) 70%, var(--violet-2)); transform-origin: bottom; transform: scaleY(.25); animation: eq 1.2s ease-in-out infinite; opacity: .9; box-shadow: 0 0 8px rgba(164, 107, 255, .5); }
.eq span:nth-child(2n) { animation-duration: .9s; }
.eq span:nth-child(3n) { animation-duration: 1.45s; }
.eq span:nth-child(4n+1) { animation-delay: -.3s; }
.eq span:nth-child(5n+2) { animation-delay: -.7s; }
.eq span:nth-child(7n+3) { animation-delay: -.5s; animation-duration: 1.05s; }
@keyframes eq { 0%, 100% { transform: scaleY(.2); } 50% { transform: scaleY(1); } }
.eq-big { height: 110px; gap: 6px; }
.eq-big span { width: 9px; background: linear-gradient(180deg, #e8d4ff, var(--violet) 50%, var(--violet-2)); }

/* секции */
.section { padding: 56px 0; }
.section-head { margin-bottom: 26px; }
.section-head h2 { margin: 0; }
.page-head { position: relative; overflow: hidden; padding: 56px 0 34px; border-bottom: 1px solid rgba(255, 255, 255, .05); }
.page-head::before { content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -260px; border-radius: 50%; background: radial-gradient(circle, var(--acc-glow), transparent 65%); pointer-events: none; }
.page-head h1 { background: linear-gradient(180deg, #fff6dc, var(--gold-2) 40%, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-head .wrap { position: relative; }
.page-head .prose { max-width: 75ch; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 10px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--gold-2); }
.link-more { font-weight: 600; }

/* сетки и карточки */
.grid { display: grid; gap: 20px; }
.dir-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); align-items: start; }
.plugin-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.team-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.news-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.card {
  position: relative; background: linear-gradient(180deg, var(--card2), var(--card));
  border: 1px solid rgba(255, 255, 255, .07); border-radius: var(--radius); padding: 22px;
  color: var(--text); min-width: 0; animation: rise .5s ease both;
}
.card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, var(--acc), transparent 45%, transparent 60%, var(--acc)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .35; transition: opacity .3s ease; pointer-events: none; }
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 32px var(--acc-glow); opacity: 0; transition: opacity .3s ease; pointer-events: none; }
a.card { transition: transform .3s ease; display: flex; flex-direction: column; }
a.card:hover { transform: translateY(-4px); color: var(--text); }
a.card:hover::before, a.card:hover::after, a.card:focus-visible::after { opacity: 1; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.grid > .card:nth-child(2) { animation-delay: .05s; }
.grid > .card:nth-child(3) { animation-delay: .1s; }
.grid > .card:nth-child(4) { animation-delay: .15s; }
.grid > .card:nth-child(n+5) { animation-delay: .2s; }

.dir-card { min-height: 190px; gap: 8px; }
.dir-title { font-family: var(--serif); font-size: 1.25rem; font-weight: 700; color: var(--acc); }
.dir-text { color: var(--muted); font-size: .95rem; flex: 1; }
.dir-more { color: var(--acc); font-weight: 600; font-size: .9rem; margin-top: auto; }
.dir-more span { display: inline-block; transition: transform .25s ease; }
a.card:hover .dir-more span { transform: translateX(4px); }
.dir-icon { width: 46px; height: 46px; border-radius: 12px; display: block; background: color-mix(in srgb, var(--acc) 14%, transparent); border: 1px solid color-mix(in srgb, var(--acc) 45%, transparent); position: relative; }
.dir-icon::after { content: ""; position: absolute; inset: 10px; background: var(--acc); -webkit-mask: var(--ico) center/contain no-repeat; mask: var(--ico) center/contain no-repeat; }
.dir-icon-games { --ico: url("../img/icons/gamepad.svg"); }
.dir-icon-informers { --ico: url("../img/icons/bell.svg"); }
.dir-icon-analyzers { --ico: url("../img/icons/chart.svg"); }
.dir-icon-plugins { --ico: url("../img/icons/puzzle.svg"); }
.dir-icon-shop { --ico: url("../img/icons/bag.svg"); }
.dir-icon-music { --ico: url("../img/icons/music.svg"); }
.dir-icon-vpn { --ico: url("../img/icons/shield.svg"); }
.dir-icon-team { --ico: url("../img/icons/users.svg"); }
.acc-blue.card { background: linear-gradient(180deg, #0f1c3d, #0a1228); border-color: rgba(70, 120, 255, .18); }

.card-head { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.card-head-text { min-width: 0; }
.card-logo { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; flex: none; background: #000; border: 1px solid rgba(255, 255, 255, .08); }
.card-logo-lg { width: 96px; height: 96px; border-radius: 20px; }
.card-logo-ph { display: grid; place-items: center; font: 700 1.6rem var(--serif); color: var(--acc); background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--acc) 30%, transparent), #07080d 70%); }
.card-title { font-family: var(--serif); font-size: 1.3rem; margin: 0 0 6px; color: #fff3d6; font-weight: 700; overflow-wrap: anywhere; }
.card-short { color: #d6cfbf; }
.card-sub { color: var(--acc); font-family: var(--font); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin: 18px 0 8px; }
.card-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 26px; margin: 6px 0; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2px solid var(--acc); border-bottom: 2px solid var(--acc); transform: rotate(-45deg); }
.howto { margin-top: 14px; border-top: 1px solid rgba(255, 255, 255, .07); padding-top: 10px; }
.howto summary { cursor: pointer; color: var(--acc); font-weight: 600; padding: 6px 0; }
.howto ol, .steps { padding-left: 22px; margin: 8px 0 0; }
.howto li, .steps li { margin: 4px 0; }

/* статусы */
.status { display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; font-weight: 600; padding: 3px 11px; border-radius: 999px; border: 1px solid; white-space: nowrap; }
.status .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status-ok { color: var(--green); border-color: rgba(61, 220, 151, .45); background: rgba(61, 220, 151, .08); }
.status-ok .dot { box-shadow: 0 0 8px var(--green); animation: pulse 2s ease-in-out infinite; }
.status-warn { color: #ffbf5a; border-color: rgba(255, 191, 90, .45); background: rgba(255, 191, 90, .08); }
.status-soon { color: #b597ff; border-color: rgba(181, 151, 255, .45); background: rgba(181, 151, 255, .08); }
.status-none { color: var(--muted); border-color: rgba(168, 161, 149, .35); }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }

/* плагины */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip { display: inline-flex; align-items: center; min-height: 38px; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); color: var(--text); font-size: .9rem; background: rgba(255, 255, 255, .02); transition: transform .2s ease; }
.chip:hover { transform: translateY(-1px); color: #fff; border-color: var(--gold); }
.chip.is-active { background: var(--gold); color: #140d02; border-color: var(--gold); font-weight: 600; }
.plugin-card { gap: 12px; }
.plugin-top { display: flex; gap: 12px; align-items: center; }
.plugin-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.plugin-meta .card-title { font-size: 1.12rem; margin: 0; }
.plugin-top .card-logo { width: 56px; height: 56px; }
.plugin-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; gap: 10px; }
.tag { font-size: .74rem; padding: 2px 9px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .15); color: var(--muted); }
.tag-funpay, .tag-playerok { color: #9fbcff; border-color: rgba(111, 155, 255, .5); }
.tag-security { color: var(--green); border-color: rgba(61, 220, 151, .5); }
.tag-analytics, .tag-automation { color: var(--gold-2); border-color: rgba(232, 184, 74, .5); }
.cat-funpay, .cat-playerok { --acc: #6f9bff; --acc-glow: rgba(70, 120, 255, .35); }
.cat-security { --acc: var(--green); --acc-glow: rgba(61, 220, 151, .35); }
.plugin-hero { display: flex; gap: 20px; align-items: center; }
.plugin-hero h1 { margin-bottom: .2em; }
.plugin-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.plugin-main h2 { margin-top: 1.4em; }
.plugin-main h2:first-child { margin-top: 0; }
.plugin-aside { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 12px; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 0 0 8px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.changelog { list-style: none; padding: 0; margin: 0; border-left: 2px solid rgba(232, 184, 74, .35); }
.changelog li { padding: 0 0 14px 18px; position: relative; }
.changelog li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.cl-head { margin: 0 0 4px; }
.cl-ver { font-weight: 700; color: var(--gold-2); margin-right: 8px; }
.changelog time { color: var(--muted); font-size: .9rem; }

/* команда */
.team-card { text-align: center; display: flex; flex-direction: column; align-items: center; }
.team-photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin-bottom: 14px; border: 2px solid rgba(232, 184, 74, .5); }
.team-photo-ph { display: grid; place-items: center; font: 700 2.6rem var(--serif); color: var(--gold); background: radial-gradient(circle, rgba(232, 184, 74, .2), #07080d 70%); }
.team-role { color: var(--gold); font-weight: 600; }
.team-card .card-actions { justify-content: center; }

/* о компании */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; align-items: start; }
.about-aside { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.about-aside img { filter: drop-shadow(0 0 18px rgba(232, 184, 74, .35)); }
.about-aside-title { margin: 0; color: var(--gold); font-weight: 700; }
.about-dirs { list-style: none; padding: 0; margin: 0 0 6px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.about-dirs a { display: inline-block; padding: 5px 12px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--acc) 50%, transparent); color: var(--acc); font-size: .9rem; }

/* магазин */
.shop-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.shop-grid .card { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.shop-grid .btn { margin-top: auto; }
.shop-main { box-shadow: 0 0 40px rgba(232, 184, 74, .12); }

/* музыка (фиолетовая тема) */
.theme-violet .page-head h1 { background: linear-gradient(180deg, #f4eaff, #c9a6ff 45%, var(--violet)); -webkit-background-clip: text; background-clip: text; }
.theme-violet .neon-line { background: linear-gradient(90deg, transparent, var(--violet) 30%, #e0c8ff 50%, var(--violet) 70%, transparent); box-shadow: 0 0 14px rgba(164, 107, 255, .6); }
.music-head-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: center; }
.theme-violet .kicker { color: var(--violet); }

/* VPN (зелёная тема) */
.theme-green .page-head h1 { background: linear-gradient(180deg, #e8fff4, #9af5cc 45%, var(--green)); -webkit-background-clip: text; background-clip: text; }
.theme-green .neon-line { background: linear-gradient(90deg, transparent, var(--green) 30%, #c8ffe6 50%, var(--green) 70%, transparent); box-shadow: 0 0 14px rgba(61, 220, 151, .55); }
.theme-green .kicker { color: var(--green); }
.vpn-head { min-height: 200px; }
.shield { position: absolute; right: 8%; top: 50%; width: 130px; height: 150px; transform: translateY(-50%); background: var(--green); opacity: .12; -webkit-mask: url("../img/icons/shield.svg") center/contain no-repeat; mask: url("../img/icons/shield.svg") center/contain no-repeat; }
.vpn-block { margin-bottom: 48px; }
.vpn-block-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 10px; }
.vpn-block-head h2 { margin: 0; }
.vpn-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); margin-top: 18px; }
.tariff-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.tariff { text-align: center; }
.tariff-name { font-weight: 700; margin: 0 0 4px; }
.tariff-price { font: 700 1.6rem var(--serif); color: var(--green); margin: 0; }
.chips-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips-list .chip { border-color: rgba(61, 220, 151, .4); }

/* новости */
.news-card { gap: 6px; }
.news-card time, .news-row time { color: var(--gold); font-size: .85rem; }
.news-title { font-family: var(--serif); font-size: 1.15rem; font-weight: 700; color: #fff3d6; }
.news-list { display: flex; flex-direction: column; gap: 16px; }
.news-row { flex-direction: row !important; gap: 16px; align-items: flex-start; }
.news-row img { width: 160px; border-radius: 10px; object-fit: cover; flex: none; }
.news-row-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.news-image { border-radius: var(--radius); margin-bottom: 20px; }

/* текст */
.prose { overflow-wrap: break-word; }
.prose h2, .prose h3, .prose h4 { color: var(--gold-2); margin-top: 1.2em; }
.prose ul, .prose ol { padding-left: 22px; }
.prose code { background: rgba(255, 255, 255, .07); padding: 1px 6px; border-radius: 6px; font-size: .92em; }
.prose a { text-decoration: underline; text-decoration-color: rgba(255, 217, 138, .4); text-underline-offset: 3px; }
.prose > :last-child { margin-bottom: 0; }

/* пустое состояние */
.empty { text-align: center; padding: 48px 20px; border: 1px dashed rgba(232, 184, 74, .3); border-radius: var(--radius); background: rgba(255, 255, 255, .015); }
.empty-icon { width: 64px; height: 64px; margin: 0 auto 14px; background: url("../img/eagle-gold-128.webp") center/contain no-repeat; opacity: .7; }
.empty-title { font: 700 1.2rem var(--serif); color: var(--gold-2); margin-bottom: 6px; }

/* формы */
.contacts-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0 0 16px; }
.contact-list li { display: flex; flex-direction: column; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.contact-list a { overflow-wrap: anywhere; }
.form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field > label, .field legend { font-weight: 600; font-size: .92rem; }
input[type=text], input[type=password], input[type=number], input[type=date], input[type=email], select, textarea {
  width: 100%; background: #07080e; color: var(--text); border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 10px; padding: 11px 13px; font: inherit; min-height: 44px;
}
input:focus, select:focus, textarea:focus { border-color: var(--gold); outline: 2px solid rgba(232, 184, 74, .35); outline-offset: 1px; }
textarea { resize: vertical; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 12px 16px; border-radius: 12px; margin-bottom: 16px; border: 1px solid; }
.alert ul { margin: 0; padding-left: 18px; }
.alert p { margin: 0 0 4px; }
.alert-ok { border-color: rgba(61, 220, 151, .5); background: rgba(61, 220, 151, .08); color: #b5f5d8; }
.alert-err { border-color: rgba(255, 93, 108, .5); background: rgba(255, 93, 108, .08); color: #ffc2c8; }

/* ошибка */
.error-page { padding: 72px 0; }
.error-eagle { margin: 0 auto 10px; filter: drop-shadow(0 0 20px rgba(232, 184, 74, .4)); animation: float 6s ease-in-out infinite; }
.error-code { font: 700 clamp(4rem, 14vw, 7rem)/1 var(--serif); margin: 0; background: linear-gradient(180deg, var(--gold-2), var(--gold-3)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* подвал */
.site-footer { margin-top: 40px; background: var(--bg2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; padding-top: 40px; padding-bottom: 28px; }
.footer-brand .brand { margin-bottom: 12px; }
.footer-brand .brand-text { flex-direction: column; }
.footer-title { color: var(--gold); font-weight: 700; margin-bottom: 10px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin: 6px 0; }
.footer-col a { color: var(--muted); }
.footer-col a:hover { color: var(--gold-2); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .06); padding-top: 16px; padding-bottom: 24px; color: var(--muted); font-size: .88rem; }

/* адаптив */
@media (max-width: 1400px) {
  .header-in { gap: 12px; }
  .main-nav ul { gap: 0; }
  .main-nav a { padding: 8px 7px; font-size: .92rem; }
  .main-nav a::after { left: 7px; right: 7px; }
}
@media (max-width: 1180px) {
  .main-nav a { padding: 8px 5px; font-size: .88rem; }
}
@media (max-width: 1140px) {
  /* backdrop-filter делает шапку контейнером для position:fixed — на мобильных отключаем */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(5, 6, 10, .97); }
  body.nav-open { overflow: hidden; }
  .burger { display: inline-flex; }
  .hide-mobile { display: none; }
  .main-nav { position: fixed; left: 0; right: 0; top: 73px; bottom: 0; background: #05060a; padding: 20px; overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: transform .25s ease, opacity .25s ease, visibility 0s .25s; margin: 0; }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; transition: transform .25s ease, opacity .25s ease; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { padding: 12px 10px; font-size: 1.05rem; border-bottom: 1px solid rgba(255, 255, 255, .05); }
  .main-nav a::after { display: none; }
  .nav-extra { display: block; margin-top: 18px; }
  .nav-extra-title { color: var(--gold); font-weight: 700; margin: 0 0 8px; }
  .nav-dirs { display: grid !important; grid-template-columns: 1fr 1fr; gap: 6px !important; margin-bottom: 18px !important; }
  .nav-dirs a { border: 1px solid color-mix(in srgb, var(--acc) 40%, transparent); border-radius: 10px; color: var(--acc); font-size: .95rem; }
  .nav-extra .btn { width: 100%; }
  .header-actions { margin-left: auto; }
  .hero-in { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-eagle { width: min(260px, 70vw); }
  .dir-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plugin-layout, .about-grid, .contacts-grid { grid-template-columns: 1fr; }
  .plugin-aside { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .header-in { gap: 10px; min-height: 64px; }
  .main-nav { top: 65px; }
  .brand img { width: 40px; height: 40px; }
  .brand-name { font-size: 1.02rem; }
  .brand-text { flex-direction: column; }
  .brand-tag { display: block; font-size: .74rem; }
  .header-actions .dropdown { display: none; }
  .hero { padding: 28px 0 48px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .dir-grid { grid-template-columns: 1fr; }
  .dir-card { min-height: 0; }
  .section { padding: 40px 0; }
  .page-head { padding: 36px 0 24px; }
  .card { padding: 18px; }
  .music-head-in { grid-template-columns: 1fr; }
  .eq-big { height: 70px; justify-content: flex-start; }
  .shield { width: 80px; height: 92px; right: 4%; top: 30px; transform: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .news-row { flex-direction: column !important; }
  .news-row img { width: 100%; }
  .plugin-hero { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .eq span { transform: scaleY(.6); }
}
