/* ==========================================================================
   WoW TOP — рейтинг серверов World of Warcraft
   Стиль: тёмный геймерский портал. Тёмно-синяя база, золото, зелёный «онлайн».
   ========================================================================== */

:root {
  --bg:        #0b1220;
  --bg-2:      #101a2e;
  --panel:     rgba(20, 32, 54, .72);
  --panel-2:   rgba(255, 255, 255, .04);
  --panel-solid: #14203a;
  --ink:       #ffffff;
  --muted:     #a8b3c7;
  --muted-2:   #9aa4b6;
  --line:      rgba(255, 255, 255, .10);
  --line-2:    rgba(255, 255, 255, .18);

  --gold:      #f5c93c;
  --gold-2:    #ffd84d;
  --gold-3:    #c79a1e;
  --green:     #3edc81;
  --red:       #ff6b7a;

  --r:   14px;
  --r-lg: 20px;

  --shadow:    0 20px 50px -24px rgba(0, 0, 0, .85);
  --shadow-lg: 0 40px 90px -40px rgba(0, 0, 0, .95);

  --wrap: 1280px;
  --ease: cubic-bezier(.22, .61, .36, 1);

  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Oswald', 'Manrope', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); }

body {
  margin: 0; background: var(--bg); color: var(--ink); overflow-x: hidden;
  font: 400 16px/1.6 var(--font);
  background-image:
    radial-gradient(60% 40% at 15% 0%, rgba(245, 201, 60, .06), transparent 70%),
    radial-gradient(50% 40% at 90% 8%, rgba(80, 130, 255, .10), transparent 70%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font-family: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 600; line-height: 1.08; letter-spacing: .01em; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }

.up { text-transform: uppercase; letter-spacing: .12em; }

/* ------------------------------- кнопки --------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: 12px; border: 1px solid transparent;
  font: 700 14px/1 var(--font); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.btn svg { width: 17px; height: 17px; }
.btn--gold { background: linear-gradient(180deg, var(--gold-2), var(--gold-3)); color: #221a02; box-shadow: 0 14px 30px -14px rgba(245, 201, 60, .75); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -16px rgba(245, 201, 60, .9); }
.btn--outline { background: rgba(255,255,255,.04); border-color: var(--line-2); color: #fff; }
.btn--outline:hover { border-color: var(--gold); color: var(--gold-2); transform: translateY(-2px); }
.btn--ghost { background: transparent; border-color: var(--line-2); color: var(--muted); }
.btn--ghost:hover { color: #fff; border-color: var(--gold); }
.btn--sm { padding: 10px 16px; font-size: 12.5px; }
.btn--block { width: 100%; }

/* -------------------------------- шапка --------------------------------- */
.top {
  position: fixed; inset: 0 0 auto; z-index: 90;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease), backdrop-filter .3s var(--ease);
}
.top.is-stuck { background: rgba(9, 15, 27, .88); backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 1px 0 var(--line), 0 24px 50px -40px #000; }
.top__row { display: flex; align-items: center; gap: 24px; height: 92px; }

.logo { display: flex; align-items: center; gap: 12px; flex: none; }
.logo__img { height: 60px; width: auto; display: block; }
.logo__img--sm { height: 44px; }
.logo__img--lg { height: 112px; }
.foot__tag { margin-top: 12px; font-family: var(--display); font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: #cfd7e6; white-space: nowrap; }
@media (max-width: 760px) { .top__row { height: 78px; } .logo__img { height: 46px; } .logo__img--lg { height: 84px; } }
.logo__ic { width: 44px; height: 44px; flex: none; display: grid; place-items: center; filter: drop-shadow(0 8px 18px rgba(245, 201, 60, .35)); }
.logo__ic svg { width: 100%; height: 100%; }
.logo__txt { display: flex; flex-direction: column; line-height: 1; }
.logo__txt b { font-family: var(--display); font-size: 21px; font-weight: 600; letter-spacing: .06em; }
.logo__txt b i { font-style: normal; color: var(--gold); }
.logo__txt span { font-size: 9.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted-2); margin-top: 4px; }

.menu { display: flex; gap: 3px; margin-inline: auto; padding: 5px; border-radius: 999px;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line); backdrop-filter: blur(10px); }
.menu a { position: relative; padding: 11px 17px; border-radius: 999px; font: 600 12.5px/1 var(--font); text-transform: uppercase; letter-spacing: .09em; color: #c4ccdd; white-space: nowrap; transition: color .2s var(--ease), background-color .2s var(--ease), box-shadow .25s var(--ease); }
.menu a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.menu a.is-active { color: #221a02; background: linear-gradient(180deg, var(--gold-2), var(--gold-3)); box-shadow: 0 10px 22px -12px rgba(245, 201, 60, .9), inset 0 1px 0 rgba(255,255,255,.5); }

.top__right { display: flex; align-items: center; gap: 10px; flex: none; }
.top__right .btn { --pad: 12px 18px; font-size: 12.5px; }
.search { position: relative; }
.search input {
  width: 190px; padding: 12px 40px 12px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(255,255,255,.05); color: #fff; font-size: 13.5px; transition: border-color .2s var(--ease), width .25s var(--ease), box-shadow .2s var(--ease);
}
.search input::placeholder { color: var(--muted-2); }
.search input:focus { outline: none; border-color: rgba(245, 201, 60, .55); width: 232px; box-shadow: 0 0 0 3px rgba(245, 201, 60, .12); }
.search svg { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--muted-2); pointer-events: none; }
.btn--user svg { width: 16px; height: 16px; }

.burger { display: none; width: 44px; height: 44px; border-radius: 11px; border: 1px solid var(--line-2); background: var(--panel-solid); place-items: center; }
.burger span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; position: relative; }
.burger span::before, .burger span::after { content: ''; position: absolute; left: 0; width: 18px; height: 2px; background: #fff; border-radius: 2px; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }

.mnav { position: fixed; inset: 0; z-index: 130; opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); overflow: hidden; }
.mnav.is-open { opacity: 1; pointer-events: auto; }
.mnav__veil { position: absolute; inset: 0; background: rgba(5, 8, 15, .7); backdrop-filter: blur(3px); }
.mnav__panel { position: absolute; inset: 0 0 0 auto; width: min(340px, 86vw); background: var(--bg-2); border-left: 1px solid var(--line); padding: 22px; display: flex; flex-direction: column; gap: 6px; transform: translateX(102%); transition: transform .34s var(--ease); }
.mnav.is-open .mnav__panel { transform: none; }
.mnav__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.mnav__close { width: 42px; height: 42px; border-radius: 11px; border: 1px solid var(--line-2); background: var(--panel-solid); color: #fff; font-size: 18px; }
.mnav a { padding: 14px 12px; border-radius: 12px; font: 600 15px/1 var(--font); text-transform: uppercase; letter-spacing: .08em; border-bottom: 1px solid var(--line); }
.mnav a:hover { background: var(--panel-2); color: var(--gold-2); }
.mnav .search { margin-top: 12px; }
.mnav .search input { width: 100%; }

/* -------------------------------- герой --------------------------------- */
.hero { position: relative; min-height: 620px; display: flex; align-items: center; padding: 150px 0 70px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 26%; filter: saturate(.95) brightness(1) contrast(1.02); }
.hero__shade { position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(55% 45% at 40% 32%, rgba(245, 201, 60, .11), transparent 72%),
    linear-gradient(180deg, rgba(9,15,27,.86) 0%, rgba(9,15,27,.46) 40%, rgba(9,15,27,.68) 74%, var(--bg) 100%),
    linear-gradient(90deg, rgba(9,15,27,.88) 0%, rgba(9,15,27,.38) 48%, rgba(9,15,27,.52) 100%),
    radial-gradient(130% 120% at 50% 42%, transparent 52%, rgba(6,9,16,.62) 100%);
}
/* угольки, поднимающиеся в баннере — «вау»-деталь */
.embers { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.embers::before, .embers::after {
  content: ''; position: absolute; inset: -30% 0 0; opacity: .55; background-size: 100% 220px; background-repeat: repeat;
  background-image:
    radial-gradient(2px 2px at 12% 20%, rgba(245,201,60,.9), transparent 60%),
    radial-gradient(2px 2px at 30% 68%, rgba(245,201,60,.6), transparent 60%),
    radial-gradient(1.5px 1.5px at 47% 36%, rgba(255,224,138,.8), transparent 60%),
    radial-gradient(2px 2px at 63% 84%, rgba(245,201,60,.5), transparent 60%),
    radial-gradient(1.5px 1.5px at 79% 44%, rgba(255,224,138,.7), transparent 60%),
    radial-gradient(2px 2px at 90% 16%, rgba(245,201,60,.55), transparent 60%);
  animation: ember 18s linear infinite;
}
.embers::after { animation-duration: 27s; opacity: .35; }
@keyframes ember { from { transform: translateY(0); } to { transform: translateY(-220px); } }
.hero__inner { position: relative; z-index: 3; display: grid; grid-template-columns: 1.4fr .9fr; gap: clamp(26px, 4vw, 60px); align-items: center; }
.hero h1 { font-size: clamp(40px, 6vw, 82px); line-height: 1.02; text-transform: uppercase; text-shadow: 0 4px 26px rgba(6, 9, 16, .6); }
.hero h1 .gold { color: var(--gold); background: linear-gradient(100deg, #b8842a 0%, #ffe9a8 45%, #f5c93c 55%, #b8842a 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; text-shadow: none; animation: sheen 7s linear infinite; }
@keyframes sheen { to { background-position: 220% 0; } }
.hero__eyebrow b { color: var(--brass-2); font-weight: 700; }
.hero__sub { margin-top: 20px; max-width: 520px; color: #e4eaf6; font-size: clamp(15px, 1.4vw, 18px); text-shadow: 0 2px 14px rgba(6, 9, 16, .95), 0 1px 3px rgba(6, 9, 16, .85); }
.hero__btns { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; }

.stats-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; backdrop-filter: blur(16px); box-shadow: var(--shadow-lg); }
.stats-card__head { display: flex; align-items: center; gap: 11px; padding-bottom: 16px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.stats-card__head svg { width: 22px; height: 22px; color: var(--gold); }
.stats-card__head b { font-family: var(--display); font-size: 18px; letter-spacing: .16em; text-transform: uppercase; }
.stat { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.stat:last-child { border-bottom: 0; }
.stat__l { display: flex; align-items: center; gap: 13px; color: #cbd4e4; font-size: 14.5px; }
.stat__ic { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; flex: none; color: var(--gold-2);
  background: linear-gradient(180deg, rgba(245, 201, 60, .18), rgba(245, 201, 60, .05));
  border: 1px solid rgba(245, 201, 60, .42);
  box-shadow: inset 0 0 16px rgba(245, 201, 60, .12), 0 0 22px -8px rgba(245, 201, 60, .65); }
.stat__ic svg { width: 28px; height: 28px; }
.stat__v { font-family: var(--display); font-size: 28px; font-weight: 600; color: #fff; }

/* ------------------------------- секции --------------------------------- */
.section { padding: clamp(46px, 6vw, 86px) 0; }
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.sec-title { display: flex; align-items: center; gap: 12px; font-size: clamp(26px, 3.4vw, 40px); text-transform: uppercase; }
.sec-title svg { width: 30px; height: 30px; color: var(--gold); }
.sec-link { color: var(--gold-2); font: 700 13px/1 var(--font); text-transform: uppercase; letter-spacing: .1em; white-space: nowrap; }
.sec-link:hover { color: #fff; }

.tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.03); color: var(--muted); font: 600 12.5px/1 var(--font); text-transform: uppercase; letter-spacing: .07em; cursor: pointer; transition: all .2s var(--ease); }
.tab:hover { color: #fff; border-color: var(--line-2); }
.tab.is-active { background: linear-gradient(180deg, var(--gold-2), var(--gold-3)); color: #221a02; border-color: transparent; }

.layout { display: grid; grid-template-columns: 1fr 360px; gap: 26px; align-items: start; }

/* ---------------------------- карточки серверов ------------------------- */
.slist { display: grid; gap: 12px; }
.scard {
  position: relative; display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 16px;
  padding: 12px 16px; border-radius: var(--r); border: 1px solid var(--line); overflow: hidden; min-height: 86px;
  background: var(--panel-solid);
}
.scard__bg { position: absolute; inset: 0; z-index: 0; }
.scard__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; filter: brightness(1.38) saturate(1.16); }
.scard::after { content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(11,18,32,.93) 0%, rgba(11,18,32,.6) 45%, rgba(11,18,32,.22) 100%),
    linear-gradient(180deg, rgba(11,18,32,.06), rgba(11,18,32,.18)); }
.scard > .srank, .scard > .sinfo, .scard > .sonline, .scard > .sact { position: relative; z-index: 2; }
.scard.is-top { border-color: rgba(245, 201, 60, .45); }
.scard__rel { position: absolute; z-index: 3; top: 0; left: 0; background: linear-gradient(180deg, var(--gold-2), var(--gold-3)); color: #221a02; font: 700 10.5px/1 var(--font); text-transform: uppercase; letter-spacing: .1em; padding: 6px 14px; border-bottom-right-radius: 10px; }

.srank { position: relative; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-size: 22px; font-weight: 600; line-height: 1; background: rgba(255,255,255,.06); border: 1px solid var(--line-2); color: var(--muted); font-variant-numeric: tabular-nums; }
.srank__crown { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); width: 17px; height: 17px; color: #ffe9a8; filter: drop-shadow(0 2px 6px rgba(245,201,60,.85)); }
.sbar { margin-top: 11px; height: 6px; border-radius: 6px; background: rgba(255,255,255,.08); overflow: hidden; }
.sbar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--gold-3), var(--gold-2)); box-shadow: 0 0 12px rgba(245,201,60,.6); }
.srank.r1 { background: linear-gradient(180deg, #ffe9a8, #c1892c); color: #221a02; border-color: transparent; box-shadow: 0 0 28px rgba(245,201,60,.6); }
.srank.r2 { background: linear-gradient(180deg, #eef2f8, #9aa7b8); color: #1a2030; border-color: transparent; }
.srank.r3 { background: linear-gradient(180deg, #f0c39a, #b1773f); color: #221a02; border-color: transparent; }

.sinfo { min-width: 0; }
.sinfo h3 { font-size: 22px; text-transform: uppercase; letter-spacing: .04em; }
.sinfo .exp { font-size: 11.5px; text-transform: uppercase; letter-spacing: .16em; color: var(--muted-2); margin-top: 3px; }
.stags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 8px; }
.stag { padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 11px; font-weight: 700; letter-spacing: .05em; color: var(--muted); }
.stag--gold { border-color: rgba(245,201,60,.5); color: var(--gold-2); }

.sonline { text-align: right; }
.sonline .lbl { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted-2); }
.sonline .val { font-family: var(--display); font-size: 22px; font-weight: 600; display: flex; align-items: center; gap: 8px; justify-content: flex-end; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); flex: none; }
.svotes { font-size: 12px; color: var(--muted); margin-top: 4px; font-variant-numeric: tabular-nums; }
.stag--rel { background: linear-gradient(180deg, #ffe9a8, #c1892c); color: #221a02; border-color: transparent; }

.sact { display: flex; align-items: center; gap: 10px; }
.fav { width: 44px; height: 44px; border-radius: 11px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); color: var(--muted); display: grid; place-items: center; cursor: pointer; transition: all .2s var(--ease); }
.fav svg { width: 19px; height: 19px; }
.fav:hover { color: var(--red); border-color: var(--red); }
.fav.is-on { color: var(--red); border-color: var(--red); background: rgba(255,107,122,.1); }
.vote.is-done { background: rgba(62,220,129,.14); color: var(--green); border: 1px solid rgba(62,220,129,.5); cursor: default; }

.empty { padding: 40px; text-align: center; color: var(--muted); border: 1px dashed var(--line-2); border-radius: var(--r); }

/* ------------------------------- сайдбар -------------------------------- */
.side { display: grid; gap: 22px; }
.side-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; backdrop-filter: blur(12px); box-shadow: var(--shadow); }
.side-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.side-card__head b { font-family: var(--display); font-size: 17px; letter-spacing: .12em; text-transform: uppercase; }
.newitem { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.newitem:last-child { border-bottom: 0; }
.newitem__art { width: 52px; height: 52px; border-radius: 11px; overflow: hidden; background: var(--bg-2); }
.newitem__art img { width: 100%; height: 100%; object-fit: cover; }
.newitem b { display: block; font-family: var(--display); font-size: 16px; text-transform: uppercase; letter-spacing: .03em; }
.newitem span { font-size: 11.5px; color: var(--muted-2); text-transform: uppercase; letter-spacing: .08em; }
.newitem__on { text-align: right; font-family: var(--display); font-size: 17px; color: #fff; }
.newitem__on i { display: block; font-style: normal; font-size: 10px; letter-spacing: .14em; color: var(--muted-2); text-transform: uppercase; }
.newsitem { display: block; padding: 11px 0; border-bottom: 1px solid var(--line); }
.newsitem:last-child { border-bottom: 0; }
.newsitem p { font-size: 14px; color: var(--ink); line-height: 1.45; }
.newsitem:hover p { color: var(--gold-2); }
.newsitem time { display: block; font-size: 11.5px; color: var(--muted-2); margin-top: 5px; }

/* -------------------------------- подвал -------------------------------- */
.foot { border-top: 1px solid var(--line); background: #080d18; padding: 46px 0 28px; margin-top: 20px; }
.foot__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; }
.foot h4 { font-family: var(--display); font-size: 15px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot a, .foot li { color: var(--muted); font-size: 14px; }
.foot a:hover { color: var(--gold-2); }
.foot__note { margin-top: 16px; font-size: 13px; color: var(--muted-2); max-width: 340px; }
.foot__bottom { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 13px; color: var(--muted-2); }

/* -------------------------------- модалка ------------------------------- */
.modal { position: fixed; inset: 0; z-index: 150; display: none; align-items: center; justify-content: center; padding: 5vmin; background: rgba(5,8,15,.8); backdrop-filter: blur(8px); }
.modal.is-open { display: flex; }
.modal__box { width: min(480px, 100%); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-lg); }
.modal__box h3 { font-size: 24px; text-transform: uppercase; margin-bottom: 6px; }
.modal__box p { color: var(--muted); font-size: 14px; }
.modal__box form { margin-top: 18px; display: grid; gap: 12px; }
.modal__box input { padding: 13px 15px; border-radius: 11px; border: 1px solid var(--line-2); background: #0d1526; color: #fff; font-size: 15px; }
.modal__box input:focus { outline: none; border-color: var(--gold); }
.modal__msg { font-size: 13.5px; font-weight: 700; display: none; }
.modal__msg.is-ok { display: block; color: var(--green); }

/* ----------------------------- вау-эффекты ------------------------------- */
/* карточка сервера: подъём, свечение, зум арта */
.scard { transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .3s var(--ease); }
.scard:hover { transform: translateY(-3px); border-color: rgba(245, 201, 60, .55); box-shadow: 0 24px 54px -28px rgba(0, 0, 0, .92), 0 0 44px -18px rgba(245, 201, 60, .5); }
.scard__bg img { transition: transform 1.1s var(--ease); }
.scard:hover .scard__bg img { transform: scale(1.05); }
.scard.is-top { box-shadow: 0 24px 54px -30px rgba(0, 0, 0, .92), 0 0 48px -20px rgba(245, 201, 60, .45); animation: wtglow 4.5s ease-in-out infinite; }
@keyframes wtglow {
  0%, 100% { box-shadow: 0 24px 54px -30px rgba(0, 0, 0, .92), 0 0 40px -22px rgba(245, 201, 60, .4); }
  50% { box-shadow: 0 24px 54px -30px rgba(0, 0, 0, .92), 0 0 62px -14px rgba(245, 201, 60, .7); }
}

/* золотая кнопка: блик при наведении */
.btn--gold { position: relative; overflow: hidden; }
.btn--gold::after { content: ''; position: absolute; top: 0; bottom: 0; width: 42%; left: -70%; transform: skewX(-18deg);
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .6), transparent); transition: left .55s var(--ease); }
.btn--gold:hover::after { left: 140%; }

/* акцентная линия под заголовками секций */
.sec-title { position: relative; }
.sec-title::after { content: ''; position: absolute; left: 0; bottom: -12px; width: 46px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--gold-2), transparent); }
.side-card__head b { position: relative; }

/* ------------------------------ анимации -------------------------------- */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
html.js .reveal.is-in { opacity: 1; transform: none; }

/* ------------------------------- адаптив -------------------------------- */
@media (max-width: 1180px) {
  .menu { display: none; }
  .burger { display: grid; }
  .layout { grid-template-columns: 1fr; }
  .side { grid-template-columns: 1fr 1fr; }
  .hero__inner { grid-template-columns: 1fr; }
  .stats-card { max-width: 460px; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1000px) { .search { display: none; } }
@media (max-width: 860px) { .btn--user { display: none; } }
@media (max-width: 760px) {
  .top__right .btn { display: none; }
  .scard { grid-template-columns: auto 1fr; grid-template-areas: 'rank info' 'act act'; row-gap: 12px; }
  .srank { grid-area: rank; } .sinfo { grid-area: info; } .sact { grid-area: act; justify-content: flex-end; }
  .sonline { display: none; }
  .side { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; }
}
