/* ==========================================================================
   WOW-TOPS.SU — слой «вау»-оформления.
   Подключается третьим файлом, после styles.css и engine.css:
   дополняет базовую тему, ничего не удаляя и не переименовывая.
   Все рабочие классы движка (.scard, .sinfo, .sact, .fav, .vote, .side-card,
   .reveal, .is-stuck, .is-open, .is-active, .is-in) сохранены — новый слой
   только дополняет их и добавляет свои (.wt-*, .logo__wm, .stat__meter и т.д.).
   ========================================================================== */

/* ----------------------------- токены оформления -------------------------- */
:root {
  --brass:     #c9962a;
  --brass-2:   #ffd76a;
  --arcane:    #7ea6ff;
  --arcane-2:  #a98bff;
  --gold-hi:   #fff3c4;
  --ink-2:     #eef3fb;
  --muted:     #b6c2d6;
  --muted-2:   #9fabbf;
  --panel-3:   rgba(18, 28, 48, .58);

  --grad-gold:   linear-gradient(180deg, #ffe08a 0%, #f5c93c 42%, #d09a1c 100%);
  --grad-gold-h: linear-gradient(100deg, #8d6414 0%, #ffe9a8 38%, #fff6d8 50%, #f5c93c 64%, #8d6414 100%);
  --grad-steel:  linear-gradient(180deg, #2b3c5e 0%, #16233b 100%);
  --glow-gold:   0 0 0 1px rgba(245, 201, 60, .35), 0 18px 44px -22px rgba(245, 201, 60, .75);

  --r-sm: 11px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-back: cubic-bezier(.34, 1.56, .64, 1);
}

/* ------------------------- фон страницы: глубина и воздух ----------------- */
body {
  background-image:
    radial-gradient(46% 34% at 12% -4%, rgba(245, 201, 60, .10), transparent 68%),
    radial-gradient(52% 40% at 92% 4%, rgba(96, 128, 255, .13), transparent 70%),
    radial-gradient(70% 50% at 50% 108%, rgba(126, 166, 255, .07), transparent 72%);
}
body::before {
  content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .55;
  background-image: radial-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(80% 60% at 50% 20%, #000 0%, transparent 100%);
  mask-image: radial-gradient(80% 60% at 50% 20%, #000 0%, transparent 100%);
}
body > * { position: relative; z-index: 1; }
body > .top, body > .mnav, body > .modal, body > .flash-wrap, body > .wt-progress { z-index: 90; }
body > .mnav { z-index: 130; }
body > .modal { z-index: 150; }
body > .flash-wrap { z-index: 120; }

/* живая «аврора» на фоне: два пятна медленно дышат, страница не выглядит статичной */
body::after {
  content: ''; position: fixed; inset: -12% -6%; z-index: 0; pointer-events: none; opacity: .5;
  background:
    radial-gradient(32% 26% at 18% 34%, rgba(245, 201, 60, .10), transparent 70%),
    radial-gradient(30% 24% at 82% 62%, rgba(88, 122, 255, .12), transparent 72%);
  animation: wtAurora 34s ease-in-out infinite alternate;
}
@keyframes wtAurora {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to { transform: translate3d(2.5%, 2%, 0) scale(1.06); }
}

::selection { background: rgba(245, 201, 60, .32); color: #fff; }

/* тонкий золотой скроллбар */
html { scrollbar-width: thin; scrollbar-color: rgba(245, 201, 60, .45) rgba(8, 13, 24, .6); }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: rgba(8, 13, 24, .6); }
::-webkit-scrollbar-thumb {
  border-radius: 999px; border: 3px solid transparent; background-clip: padding-box;
  background-color: rgba(245, 201, 60, .38);
}
::-webkit-scrollbar-thumb:hover { background-color: rgba(245, 201, 60, .62); }

/* --------------------------- полоса прогресса чтения --------------------- */
.wt-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 200;
  background: linear-gradient(90deg, rgba(245, 201, 60, .0), var(--gold-2), #fff3c4);
  transform: scaleX(0); transform-origin: 0 50%;
  box-shadow: 0 0 14px rgba(245, 201, 60, .8);
}

/* --------------------------------- кнопки -------------------------------- */
.btn { border-radius: 13px; position: relative; isolation: isolate; }
.btn::before { content: ''; position: absolute; inset: 0; border-radius: inherit; opacity: 0; transition: opacity .25s var(--ease); z-index: -1; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn svg { transition: transform .3s var(--ease-back); }

.btn--gold {
  background: var(--grad-gold);
  color: #1d1503;
  border-color: rgba(255, 243, 196, .55);
  box-shadow: 0 1px 0 rgba(255, 243, 196, .7) inset, 0 -2px 0 rgba(120, 80, 8, .5) inset,
              0 16px 34px -16px rgba(245, 201, 60, .8);
  text-shadow: 0 1px 0 rgba(255, 255, 255, .35);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255, 243, 196, .8) inset, 0 -2px 0 rgba(120, 80, 8, .5) inset,
              0 22px 46px -18px rgba(245, 201, 60, .95), 0 0 34px -10px rgba(245, 201, 60, .7); }
.btn--gold:hover svg { transform: translateX(3px); }
.btn--gold::after {
  content: ''; position: absolute; top: -40%; bottom: -40%; width: 34%; left: -60%; transform: skewX(-22deg);
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .85), transparent);
  opacity: 0; border-radius: 40%;
}
.btn--gold:hover::after { animation: btnShine .8s var(--ease-out); }
@keyframes btnShine { 0% { left: -60%; opacity: 1; } 100% { left: 140%; opacity: 1; } }

.btn--outline {
  background: linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .025));
  border-color: rgba(255, 255, 255, .2);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .12) inset, 0 14px 30px -22px #000;
}
.btn--outline:hover {
  border-color: rgba(245, 201, 60, .7); color: var(--gold-hi);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .16) inset, 0 0 0 3px rgba(245, 201, 60, .1), 0 18px 36px -22px rgba(245, 201, 60, .55);
}
.btn--ghost { border-color: rgba(255, 255, 255, .14); }
.btn--ghost:hover { border-color: rgba(245, 201, 60, .6); background: rgba(245, 201, 60, .07); }
.btn--lg { padding: 17px 32px; font-size: 15px; border-radius: 13px; }
.btn--lg svg { width: 19px; height: 19px; }

/* --------------------------------- шапка --------------------------------- */
.top::after {
  content: ''; position: absolute; inset: auto 0 0; height: 1px; opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(245, 201, 60, .55), transparent); transition: opacity .3s var(--ease);
}
.top.is-stuck::after { opacity: 1; }
.top.is-stuck { background: linear-gradient(180deg, rgba(8, 13, 24, .92), rgba(8, 13, 24, .78)); backdrop-filter: blur(18px) saturate(150%); }
.top__row { height: 88px; gap: 12px; }

/* логотип: эмблема + графический текст */
.logo { gap: 12px; }
.logo__emblem {
  height: 50px; width: auto; flex: none; display: block;
  filter: drop-shadow(0 6px 16px rgba(245, 201, 60, .45)) drop-shadow(0 2px 4px rgba(0, 0, 0, .6));
  transition: transform .5s var(--ease-back), filter .4s var(--ease);
}
.logo:hover .logo__emblem { transform: scale(1.07) rotate(-3deg); filter: drop-shadow(0 8px 22px rgba(245, 201, 60, .7)); }
.logo__wm { display: flex; flex-direction: column; line-height: 1; }
.logo__wm b {
  font-family: var(--display); font-size: 24px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  display: flex; align-items: baseline; gap: 2px; color: #f4f7ff;
}
.logo__wm b i {
  font-style: normal;
  background-image:
    linear-gradient(100deg, rgba(255, 255, 255, 0) 34%, rgba(255, 255, 255, .85) 50%, rgba(255, 255, 255, 0) 66%),
    linear-gradient(180deg, #fff6d0 0%, #ffd75e 42%, #dfa41d 76%, #ffe79b 100%);
  background-size: 220% 100%, 100% 100%; background-position: -140% 0, 0 0; background-repeat: no-repeat;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: wtSheenGold 7s linear infinite;
  filter: drop-shadow(0 0 12px rgba(245, 201, 60, .35));
}
.logo__wm b s { text-decoration: none; font-size: 15px; letter-spacing: .12em; color: var(--muted-2); }
.logo__wm > span {
  margin-top: 4px; font-size: 9px; letter-spacing: .11em; text-transform: uppercase;
  color: #a7b3c8; white-space: nowrap;
}
@keyframes wtSheen { to { background-position: 220% 0; } }

/* меню-пилюля: ужимаем так, чтобы строка гарантированно влезала в 1280 без наезда на поиск */
.menu { gap: 2px; padding: 4px; box-shadow: 0 18px 40px -30px #000, inset 0 1px 0 rgba(255, 255, 255, .06); }
.menu a { flex: none; padding: 9px 10px; font-size: 11.5px; letter-spacing: .06em; }
.menu a::before {
  content: ''; position: absolute; inset: auto 9px 5px; height: 1.5px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-2), transparent);
  transform: scaleX(0); transform-origin: 50%; transition: transform .3s var(--ease-out);
}
.menu a:not(.is-active):hover::before { transform: scaleX(1); }
.menu a:hover { transform: translateY(-1px); }
.menu a.is-active { box-shadow: 0 10px 22px -12px rgba(245, 201, 60, .95), inset 0 1px 0 rgba(255, 255, 255, .55); }

.search input { width: 150px; padding: 12px 38px 12px 13px; font-size: 13px; background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .03)); }
.search input:focus { width: 196px; }
/* шапка влезает в 1280 при полном меню: ниже 1300px переходим на бургер,
   чтобы пункты меню никогда не наезжали на поиск и кнопки */
@media (min-width: 1300px) { .menu { display: flex; } .burger { display: none; } }
@media (max-width: 1299px) { .menu { display: none; } .burger { display: grid; } }
.search svg { transition: transform .3s var(--ease); }
.search:focus-within svg { transform: translateY(-50%) scale(1.12); color: var(--gold-2); }
.burger { transition: transform .25s var(--ease), border-color .25s var(--ease); }
.burger:hover { transform: translateY(-1px); border-color: rgba(245, 201, 60, .6); }

/* мобильное меню */
.mnav__panel {
  background: linear-gradient(180deg, #101a2e, #0a1120 60%);
  box-shadow: -30px 0 70px -30px #000;
}
.mnav a { position: relative; overflow: hidden; transition: color .2s var(--ease), background-color .2s var(--ease), padding-left .25s var(--ease); }
.mnav a::before {
  content: ''; position: absolute; left: 0; top: 50%; width: 3px; height: 0; transform: translateY(-50%);
  border-radius: 3px; background: linear-gradient(180deg, var(--gold-2), var(--gold-3)); transition: height .28s var(--ease);
}
.mnav a:hover { padding-left: 18px; background: linear-gradient(90deg, rgba(245, 201, 60, .1), transparent 70%); }
.mnav a:hover::before { height: 60%; }

/* ---------------------------------- герой -------------------------------- */
.hero {
  min-height: min(94vh, 900px); padding: 152px 0 96px;
  display: flex; align-items: center;
}
.hero__bg img { object-position: center 32%; filter: saturate(1.06) contrast(1.05) brightness(1.02); }
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(46% 46% at var(--gx, 74%) var(--gy, 34%), rgba(255, 214, 120, .14), transparent 72%);
  mix-blend-mode: screen;
}
/* затемнение лёгкое: читаемость держат градиенты по краям, а не «чёрная плёнка» */
.hero__shade {
  background:
    linear-gradient(94deg, rgba(7, 11, 21, .90) 0%, rgba(7, 11, 21, .66) 34%, rgba(7, 11, 21, .16) 58%, rgba(7, 11, 21, .30) 100%),
    linear-gradient(180deg, rgba(7, 11, 21, .74) 0%, rgba(7, 11, 21, .06) 26%, rgba(7, 11, 21, .10) 62%, var(--bg) 99%),
    radial-gradient(120% 108% at 50% 44%, transparent 60%, rgba(4, 7, 14, .55) 100%);
}
.hero__inner { grid-template-columns: 1.32fr .92fr; gap: clamp(28px, 4vw, 68px); }

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  padding: 11px 18px 11px 14px; border-radius: 999px;
  border: 1px solid rgba(245, 201, 60, .38);
  background: linear-gradient(180deg, rgba(245, 201, 60, .16), rgba(245, 201, 60, .04));
  backdrop-filter: blur(10px);
  font: 700 11.5px/1 var(--font); letter-spacing: .16em; text-transform: uppercase; color: #ffe6a0;
  box-shadow: 0 14px 30px -22px rgba(245, 201, 60, .8);
}
.hero__eyebrow b { color: var(--brass-2); font-weight: 700; }
.hero__eyebrow .wt-live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(62, 220, 129, .7); animation: wtPulse 2.2s infinite; }

.hero h1 {
  font-family: var(--display); font-weight: 700; letter-spacing: .005em; line-height: 1.02;
  font-size: clamp(33px, 5vw, 78px); text-transform: uppercase;
  text-shadow: 0 2px 0 rgba(0, 0, 0, .3), 0 20px 54px rgba(4, 8, 16, .85);
}
.hero h1 .gold {
  display: inline-block; padding-bottom: .05em;
  background-image:
    linear-gradient(100deg, rgba(255, 255, 255, 0) 32%, rgba(255, 255, 255, .9) 50%, rgba(255, 255, 255, 0) 68%),
    linear-gradient(180deg, #fff6d0 0%, #ffd75e 40%, #dfa41d 74%, #ffe79b 100%);
  background-size: 220% 100%, 100% 100%;
  background-position: -140% 0, 0 0;
  background-repeat: no-repeat;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: wtSheenGold 6.5s linear infinite;
  filter: drop-shadow(0 4px 22px rgba(245, 201, 60, .35));
}
@keyframes wtSheenGold { to { background-position: 240% 0, 0 0; } }
.hero h1 .wt-h1-small { display: block; font-size: .58em; letter-spacing: .02em; color: #eaf0fb; -webkit-text-fill-color: #eaf0fb; }
.hero__sub { margin-top: 22px; max-width: 560px; color: #e8eefb; font-size: clamp(15px, 1.35vw, 17.5px); line-height: 1.62; }
.hero__sub b { color: #fff; }
.hero__btns { margin-top: 34px; gap: 16px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; font-size: 12.5px; color: #c6d1e4; text-shadow: 0 1px 10px rgba(4, 8, 16, .8); }
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta svg { width: 15px; height: 15px; color: var(--gold-2); flex: none; }

.embers { opacity: .9; }
.embers::before, .embers::after { animation: wtEmber 22s linear infinite, wtEmberDrift 9s ease-in-out infinite alternate; }
.embers::after { animation-duration: 31s, 13s; }
@keyframes wtEmberDrift { from { transform: translate3d(-14px, 0, 0) } to { transform: translate3d(16px, 0, 0) } }
.hero::after {
  content: ''; position: absolute; inset: auto 0 0; height: 220px; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, transparent, var(--bg) 92%);
}
.wt-scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 4;
  display: grid; justify-items: center; gap: 7px; color: #b6c2d6;
  font: 700 10px/1 var(--font); letter-spacing: .3em; text-transform: uppercase;
}
.wt-scroll-cue i { display: block; width: 1px; height: 34px; background: linear-gradient(180deg, transparent, var(--gold-2)); animation: wtCue 2.1s ease-in-out infinite; }
@keyframes wtCue { 0%, 100% { opacity: .25; transform: scaleY(.55) } 50% { opacity: 1; transform: scaleY(1) } }
@keyframes wtPulse { 70% { box-shadow: 0 0 0 9px rgba(62, 220, 129, 0) } 100% { box-shadow: 0 0 0 0 rgba(62, 220, 129, 0) } }

/* статистика: HUD-панель с уголками */
.stats-card {
  position: relative; padding: 28px 26px 22px; border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(24, 36, 60, .80), rgba(12, 19, 34, .86)),
    radial-gradient(80% 60% at 100% 0%, rgba(245, 201, 60, .14), transparent 70%);
  border: 1px solid rgba(255, 255, 255, .13);
  backdrop-filter: blur(20px) saturate(130%);
  box-shadow: 0 40px 90px -45px #000, inset 0 1px 0 rgba(255, 255, 255, .1);
  overflow: hidden;
}
.stats-card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, var(--gold-2) 0 26px, transparent 26px) left top / 100% 2px no-repeat,
    linear-gradient(180deg, var(--gold-2) 0 26px, transparent 26px) left top / 2px 100% no-repeat,
    linear-gradient(270deg, var(--gold-2) 0 26px, transparent 26px) right bottom / 100% 2px no-repeat,
    linear-gradient(0deg, var(--gold-2) 0 26px, transparent 26px) right bottom / 2px 100% no-repeat;
  opacity: .8;
}
.stats-card__head { border-bottom-color: rgba(255, 255, 255, .13); }
.stats-card__head svg { filter: drop-shadow(0 0 12px rgba(245, 201, 60, .6)); }
.stats-card__head b { letter-spacing: .2em; font-size: 19px; }
.wt-live {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  font: 700 10px/1 var(--font); letter-spacing: .18em; color: var(--green);
}
.wt-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: wtPulse 2.2s infinite; }
.stat { padding: 16px 0; position: relative; }
.stat::after { content: ''; position: absolute; left: 0; bottom: -1px; width: 0; height: 1px; background: linear-gradient(90deg, var(--gold-2), transparent); transition: width .5s var(--ease-out); }
.stat:hover::after { width: 100%; }
.stat__ic { transition: transform .35s var(--ease-back), box-shadow .35s var(--ease); }
.stat:hover .stat__ic { transform: translateY(-2px) scale(1.06); box-shadow: inset 0 0 18px rgba(245, 201, 60, .2), 0 0 26px -6px rgba(245, 201, 60, .85); }
.stat__v { font-size: 31px; letter-spacing: .01em; background: linear-gradient(180deg, #fff, #b9c8e2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat:hover .stat__v { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; }
.stat__l { font-size: 14px; }

/* ------------------------- заголовки секций и фильтры ------------------- */
.section { padding: clamp(54px, 6.4vw, 96px) 0; }
.section--alt { background: linear-gradient(180deg, rgba(255, 255, 255, .022), transparent 70%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-title { letter-spacing: .015em; }
.sec-title::after { width: 74px; height: 3px; background: var(--grad-gold-h); background-size: 220% 100%; animation: wtSheen 5s linear infinite; }
.sec-title svg { filter: drop-shadow(0 0 14px rgba(245, 201, 60, .55)); }
.sec-count { color: var(--muted-2); }

.tabs {
  gap: 6px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line); backdrop-filter: blur(10px); overflow-x: auto;
}
.tab { border-color: transparent; background: transparent; padding: 10px 17px; }
.tab:hover { background: rgba(255, 255, 255, .06); transform: translateY(-1px); }
.tab.is-active { box-shadow: 0 10px 22px -12px rgba(245, 201, 60, .9), inset 0 1px 0 rgba(255, 255, 255, .5); animation: wtTab 3.4s ease-in-out infinite; }
@keyframes wtTab { 50% { box-shadow: 0 12px 26px -12px rgba(245, 201, 60, 1), inset 0 1px 0 rgba(255, 255, 255, .55), 0 0 22px -6px rgba(245, 201, 60, .75) } }

/* --------------------------------- карточки ------------------------------ */
/* только на широких экранах: ниже 1181px сайт сам переводит сетку в одну колонку */
@media (min-width: 1181px) { .layout { grid-template-columns: 1fr 372px; gap: 28px; } }
.slist { gap: 14px; }

.scard {
  grid-template-columns: auto 1fr auto auto; gap: 18px; padding: 16px 20px; min-height: 140px;
  border-radius: 18px; border-color: rgba(255, 255, 255, .12);
  background: linear-gradient(180deg, rgba(23, 35, 58, .96), rgba(14, 22, 39, .96));
  box-shadow: 0 24px 50px -34px #000;
  transition: transform .35s var(--ease-out), border-color .3s var(--ease), box-shadow .4s var(--ease);
}
.scard::before {
  content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .35s var(--ease);
  background:
    radial-gradient(60% 120% at 0% 50%, rgba(245, 201, 60, .16), transparent 62%),
    linear-gradient(90deg, var(--gold-2) 0 20px, transparent 20px) left top / 100% 2px no-repeat,
    linear-gradient(180deg, var(--gold-2) 0 20px, transparent 20px) left top / 2px 100% no-repeat,
    linear-gradient(270deg, var(--gold-2) 0 20px, transparent 20px) right bottom / 100% 2px no-repeat,
    linear-gradient(0deg, var(--gold-2) 0 20px, transparent 20px) right bottom / 2px 100% no-repeat;
}
.scard:hover::before { opacity: 1; }
.scard__bg img { filter: brightness(1.24) saturate(1.14); transition: transform 1.4s var(--ease-out), filter .5s var(--ease); }
.scard::after {
  background:
    linear-gradient(92deg, rgba(9, 15, 27, .96) 0%, rgba(9, 15, 27, .88) 34%, rgba(9, 15, 27, .52) 70%, rgba(9, 15, 27, .34) 100%),
    linear-gradient(180deg, rgba(9, 15, 27, .30), rgba(9, 15, 27, .05) 40%, rgba(9, 15, 27, .45));
}
.scard--top5 { border-color: rgba(245, 201, 60, .42); }
.scard--top5::after {
  background:
    linear-gradient(92deg, rgba(9, 15, 27, .97) 0%, rgba(11, 18, 32, .9) 38%, rgba(11, 18, 32, .55) 72%, rgba(11, 18, 32, .4) 100%),
    linear-gradient(180deg, rgba(9, 15, 27, .26), rgba(9, 15, 27, .06) 45%, rgba(9, 15, 27, .4));
}
.scard:hover { transform: translateY(-5px); border-color: rgba(245, 201, 60, .62);
  box-shadow: 0 40px 74px -40px #000, 0 0 0 1px rgba(245, 201, 60, .22), 0 0 60px -22px rgba(245, 201, 60, .65); }
.scard:hover .scard__bg img { transform: scale(1.07); filter: brightness(1.34) saturate(1.2); }
.scard--top5 { box-shadow: 0 34px 66px -40px #000, 0 0 52px -26px rgba(245, 201, 60, .5); }

/* лента места */
.scard__rel {
  padding: 7px 16px 7px 14px; font-size: 11px; letter-spacing: .14em; border-bottom-right-radius: 14px;
  background: var(--grad-gold); color: #1d1503;
  box-shadow: 0 10px 26px -12px rgba(245, 201, 60, .95), inset 0 1px 0 rgba(255, 243, 196, .7);
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}
.scard__rel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .75) 50%, transparent 70%); background-size: 260% 100%; animation: wtSheen 4.5s linear infinite; }

/* медаль места */
.srank {
  width: 58px; height: 58px; font-size: 26px; border-width: 1px;
  background: radial-gradient(70% 70% at 50% 28%, rgba(255, 255, 255, .14), rgba(255, 255, 255, .03));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 12px 26px -18px #000;
  transition: transform .35s var(--ease-back);
}
.scard:hover .srank { transform: scale(1.06); }
.srank::before {
  content: ''; position: absolute; inset: -4px; border-radius: 50%; z-index: -1; opacity: 0;
  background: conic-gradient(from 0deg, rgba(245, 201, 60, 0) 0deg, rgba(255, 233, 168, .95) 90deg, rgba(245, 201, 60, 0) 200deg, rgba(245, 201, 60, 0) 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
}
.scard--medal .srank::before { opacity: 1; animation: wtRing 5.5s linear infinite; }
@keyframes wtRing { to { transform: rotate(360deg); } }
.srank__crown { width: 20px; height: 20px; top: -13px; animation: wtCrown 3.4s ease-in-out infinite; }
@keyframes wtCrown { 50% { transform: translateX(-50%) translateY(-2px) rotate(-4deg); filter: drop-shadow(0 3px 10px rgba(245, 201, 60, 1)); } }
.srank.r1 { box-shadow: 0 0 34px rgba(245, 201, 60, .7), inset 0 1px 0 rgba(255, 255, 255, .6); }
.srank.r2 { background: linear-gradient(180deg, #f4f7fc, #93a1b5); color: #161d2b; }
.srank.r3 { background: linear-gradient(180deg, #f3c69c, #ac6f37); color: #24170a; }

/* внутренности карточки */
.slogo { width: 58px; height: 58px; border-radius: 15px; box-shadow: 0 12px 26px -16px #000; transition: transform .4s var(--ease-back); }
.scard:hover .slogo { transform: rotate(-3deg) scale(1.05); }
.slogo--letter { font-size: 27px; box-shadow: inset 0 0 20px rgba(245, 201, 60, .16), 0 12px 26px -18px #000; }
.sinfo__top { gap: 14px; }
.sinfo h3 { font-size: 23px; line-height: 1.15; }
.sinfo h3 a { transition: color .25s var(--ease); }
.exp { font-size: 11.5px; letter-spacing: .18em; color: #9dabc2; }
.sdesc { -webkit-line-clamp: 2; font-size: 13.5px; color: #ccd6e8; }
.stag { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .16); transition: all .25s var(--ease); }
.stag--gold { background: rgba(245, 201, 60, .1); }
.srealm { background: linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .03)); transition: all .25s var(--ease); }
.srealm:hover { border-color: rgba(245, 201, 60, .5); transform: translateY(-1px); }
.sonline .lbl { letter-spacing: .18em; }
.sonline .val { font-size: 27px; gap: 9px; text-shadow: 0 0 26px rgba(62, 220, 129, .28); }
.svotes { font-size: 12.5px; color: #b2bed2; }
.srating { color: var(--gold-2); }
.sact { gap: 11px; }
.fav { border-radius: 13px; }
.fav:hover { background: rgba(255, 107, 122, .1); transform: translateY(-2px) scale(1.04); box-shadow: 0 0 22px -8px rgba(255, 107, 122, .9); }
.vote { border-radius: 13px; }
.vote svg { transition: transform .3s var(--ease-back); }
.vote:hover svg { transform: translateY(-2px) rotate(-6deg); }
.vote:not(.is-done):not(.is-disabled):hover { transform: translateY(-2px); }
.scard .btn { padding: 12px 18px; font-size: 13px; }

.more-wrap { margin-top: 28px; gap: 14px; }

/* -------------------------------- сайдбар -------------------------------- */
.side-card {
  border-radius: 20px; padding: 22px; position: relative; overflow: hidden;
  background: linear-gradient(180deg, rgba(22, 34, 56, .72), rgba(13, 21, 37, .78));
  transition: border-color .3s var(--ease), transform .35s var(--ease-out), box-shadow .35s var(--ease);
}
.side-card:hover { border-color: rgba(255, 255, 255, .2); transform: translateY(-2px); box-shadow: 0 34px 64px -40px #000; }
.side-card__head { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.side-card__head b { letter-spacing: .16em; }
.newitem { border-bottom-color: rgba(255, 255, 255, .07); transition: transform .28s var(--ease-out), background-color .28s var(--ease); padding-inline: 8px; margin-inline: -8px; border-radius: 12px; }
.newitem:hover { transform: translateX(3px); background: linear-gradient(90deg, rgba(245, 201, 60, .1), transparent 80%); }
.newitem__art { border-radius: 13px; border: 1px solid rgba(255, 255, 255, .12); transition: transform .35s var(--ease-back); }
.newitem:hover .newitem__art { transform: scale(1.06); }
.newitem__on { font-size: 18px; }
.newsitem { padding-inline: 8px; margin-inline: -8px; border-radius: 12px; border-bottom-color: rgba(255, 255, 255, .07); transition: transform .28s var(--ease-out); }
.newsitem:hover { transform: translateX(3px); }
.voteitem a { transition: color .2s var(--ease); }
/* ------- живой контур CTA-карточки: крутим сам градиент, а не элемент ----
   (при повороте элемента рамка уезжала за края карточки и лезла в скролл) */
@property --wt-ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes wtCtaRing { to { --wt-ang: 360deg; } }
.side-card--cta {
  background: linear-gradient(158deg, rgba(245, 201, 60, .16), rgba(16, 26, 44, .92) 58%);
  position: relative;
}
.side-card--cta::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--wt-ang, 0deg), transparent 0%, rgba(255, 233, 168, .85) 18%, transparent 42%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: .55; animation: wtCtaRing 7s linear infinite;
}

/* -------------------------------- подвал --------------------------------- */
.foot { background: linear-gradient(180deg, #070c17, #050810); position: relative; padding-top: 54px; }
.foot::before { content: ''; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(245, 201, 60, .5), transparent); }
.foot__logo { display: flex; align-items: center; gap: 14px; }
.foot__tag { margin-top: 6px; color: #b3bfd4; letter-spacing: .24em; }
.foot h4 { position: relative; padding-bottom: 10px; }
.foot h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--gold-2), transparent); }
.foot a { transition: color .2s var(--ease), padding-left .25s var(--ease); display: inline-block; }
.foot li a:hover { color: var(--gold-2); padding-left: 5px; }
.foot__bottom { font-size: 12.5px; }
.foot__powered {
  background-image:
    linear-gradient(100deg, rgba(255, 255, 255, 0) 34%, rgba(255, 255, 255, .85) 50%, rgba(255, 255, 255, 0) 66%),
    linear-gradient(180deg, #fff6d0 0%, #ffd75e 45%, #dfa41d 80%, #ffe79b 100%);
  background-size: 220% 100%, 100% 100%; background-position: -140% 0, 0 0; background-repeat: no-repeat;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-weight: 800; letter-spacing: .08em; animation: wtSheenGold 7.5s linear infinite;
}

/* ------------------------------ анимации появления ---------------------- */
html.js .reveal { transform: translateY(26px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
html.js .reveal.is-in { transform: none; }
html.js .slist .scard { transition-delay: calc(var(--i, 0) * 55ms); }
html.js .side-card.reveal { transition-duration: .9s; }

/* ------------------------------- адаптив --------------------------------- */
@media (max-width: 1500px) { .hero h1 { font-size: clamp(28px, 4.2vw, 60px); } }
@media (max-width: 1180px) {
  .hero__inner { grid-template-columns: 1fr; }
  .stats-card { max-width: 520px; }
  .side { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero { min-height: auto; padding: 128px 0 78px; }
  .hero__bg img { object-position: 62% 26%; }
  .hero__shade {
    background:
      linear-gradient(180deg, rgba(7, 11, 21, .78) 0%, rgba(7, 11, 21, .34) 34%, rgba(7, 11, 21, .52) 66%, var(--bg) 99%),
      linear-gradient(96deg, rgba(7, 11, 21, .78) 0%, rgba(7, 11, 21, .3) 70%, rgba(7, 11, 21, .42) 100%);
  }
  .wt-scroll-cue { display: none; }
}
@media (max-width: 860px) {
  .logo__wm b { font-size: 21px; }
  .logo__emblem { height: 46px; }
  .scard { padding: 14px 16px; border-radius: 16px; }
  .srank { width: 50px; height: 50px; font-size: 22px; }
  .sinfo h3 { font-size: 20px; }
  .side { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .logo__wm > span { display: none; }
  .logo__emblem { height: 40px; }
  .hero__eyebrow { font-size: 10px; letter-spacing: .12em; }
  .stats-card { padding: 22px 18px 16px; border-radius: 18px; }
  .stat__v { font-size: 26px; }
  .scard { grid-template-columns: auto 1fr; }
  .sact { justify-content: flex-start; }
  .btn--lg { padding: 15px 22px; font-size: 13.5px; }
}

/* ------------------ жизнь интерфейса: движение и отклик ---------------- */
/* карточка статистики мягко «дышит» — HUD выглядит живым, а не наклейкой */
@keyframes wtFloat { 50% { transform: translateY(-6px); } }
html.js .stats-card { animation: wtFloat 9s ease-in-out infinite; }
@keyframes wtOrn {
  50% { filter: drop-shadow(0 0 22px rgba(245, 201, 60, .95)); transform: translateY(-2px) scale(1.08); }
}
.sec-title svg { animation: wtOrn 5.5s ease-in-out infinite; }

/* внутренние страницы: панели, таблица реалмов, блоки версий */
.panel { transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.panel:hover { border-color: rgba(245, 201, 60, .32); }
.rtable tbody tr { transition: background-color .22s var(--ease); }
.rtable tbody tr:hover { background: rgba(245, 201, 60, .05); }
.vcard { transition: transform .3s var(--ease-out), border-color .3s var(--ease), box-shadow .3s var(--ease); }
.vcard:hover {
  transform: translateY(-4px); border-color: rgba(245, 201, 60, .38);
  box-shadow: 0 30px 60px -34px #000, 0 0 32px -14px rgba(245, 201, 60, .38);
}
.crumbs a { transition: color .2s var(--ease); }
.crumbs a:hover { color: var(--gold-2); }
.pager a { transition: transform .25s var(--ease-back), border-color .25s var(--ease), color .25s var(--ease); }
.pager a:hover { transform: translateY(-2px); }

/* --------------------------- уважение к настройкам ОС ------------------- */
@media (prefers-reduced-motion: reduce) {
  .embers::before, .embers::after, .wt-scroll-cue i, .scard--top5, .srank__crown,
  .srank::before, .logo__wm b i, .sec-title::after, .tab.is-active, .scard__rel::after,
  .side-card--cta::before, .foot__powered, .hero h1 .gold, .wt-live i, .hero__eyebrow .wt-live-dot,
  .scard--top5 .scard__bg img, body::after, .stats-card, .sec-title svg {
    animation: none !important;
  }
  .btn--gold:hover::after { animation: none; opacity: 0; }
  html.js .reveal { opacity: 1; transform: none; }
  html.js .slist .scard { transition-delay: 0ms; }
  .hero__bg img { transform: none !important; }
}

/* ----------------------- добавки: логотип, футер, мелочи ----------------- */
.logo--mnav .logo__emblem { height: 44px; }
.logo--mnav .logo__wm b { font-size: 22px; }
.foot__logo { display: inline-flex; align-items: center; gap: 14px; }
.foot__logo .logo__emblem { height: 58px; }
.foot__logo .logo__wm b { font-size: 26px; }
.stats-card__foot {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line);
  font-size: 12px; line-height: 1.5; color: var(--muted-2);
}
.stat:hover .stat__v { -webkit-text-fill-color: transparent; }
.section--alt { background: linear-gradient(180deg, rgba(255, 255, 255, .025), rgba(255, 255, 255, .006) 65%, transparent); }
@media (max-width: 560px) { .foot__logo .logo__emblem { height: 46px; } .foot__logo .logo__wm b { font-size: 21px; } }

/* ------------- карточка: справа столбик «онлайн + действия» -------------- */
/* На широком экране название сервера получает всю среднюю колонку,
   а онлайн и кнопки встают друг под друга справа. До 861px работает
   раскладка движка из engine.css — она не перебивается. */
@media (min-width: 861px) {
  .scard {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    grid-template-areas: 'rank info side' 'rank info act';
    align-items: center; row-gap: 12px;
  }
  .scard > .srank { grid-area: rank; }
  .scard > .sinfo { grid-area: info; }
  .scard > .sonline { grid-area: side; }
  .scard > .sact { grid-area: act; justify-content: flex-end; }
  .scard .btn { padding: 11px 15px; font-size: 12.5px; }
  .scard .fav { width: 42px; height: 42px; }
  .scard .sact { gap: 9px; }
}

/* название сервера — до двух строк вместо жёсткой обрезки в одну */
.sinfo h3 { align-items: flex-start; }
.sinfo h3 a {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  white-space: normal; overflow: hidden; text-overflow: clip;
}
.sinfo h3 .vmark { margin-top: 3px; }

