/* ====== ФОН ФИКСИРОВАН, МЕНЯЕТСЯ ТОЛЬКО АКЦЕНТ ====== */
:root{
  --bg:#151515;          /* новый фон */
  --panel:#262626;       /* панельки чуть светлее фона */
  --text:#e7e9ee;
  --muted:#9aa3b2;
  --border:#333333;      /* рамки под новый серый */
  --radius:18px;
  --accent:#f3f4f6;
  --accent-2:#e5e7eb;
  --nav-tab-size: 16px;
  --nav-tab-lh:   34px;
  --nav-tab-padx: 14px;

  /* сюда же переносим переменные из нижнего :root */
  --fg:#fff;
  --ring:#fff;
}
[data-theme="light"]{ --accent:#f3f4f6; --accent-2:#e5e7eb; }
[data-theme="legacy"]{ --accent:#f1c40f; --accent-2:#ffe082; }
[data-theme="pvp"]{ --accent:#ff3b3b; --accent-2:#ff8a80; }

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{ background:var(--bg); color:var(--text); font-family:system-ui,-apple-system,'Segoe UI',Roboto,Inter,Arial,sans-serif; line-height:1.6; min-height:100dvh; display:flex; flex-direction:column; }
a{color:inherit} img{max-width:100%;display:block} hr{border:none;border-top:1px solid var(--border);margin:16px 0}
.container{max-width:1200px;margin:0 auto;padding:0 16px}

/* Шапка с подсветкой и динамическим суффиксом */
.site-header{position:sticky;top:0;z-index:60; backdrop-filter:saturate(140%) blur(8px); background: color-mix(in oklab, var(--bg) 85%, transparent); border-bottom:1px solid var(--border);}
.site-header .nav{display:flex;align-items:center;height:64px;position:relative}
.site-header .nav::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:linear-gradient(90deg, transparent, var(--accent), transparent);opacity:.85;filter:drop-shadow(0 0 6px color-mix(in oklab, var(--accent) 40%, transparent));}
.menu{display:flex;gap:16px;align-items:center}
.menu a{padding:8px 12px;text-decoration:none;color:var(--muted);font-weight:600;border-radius:10px}
.menu a:hover{color:var(--text);background:color-mix(in oklab, var(--panel) 80%, transparent)}

/* Кнопки */
.btn{ display:inline-block;border:1px solid color-mix(in oklab, var(--accent), white 10%); padding:12px 16px;border-radius:12px;background:var(--accent);color:#111;text-decoration:none; font-weight:800;letter-spacing:.2px; box-shadow:0 10px 28px color-mix(in oklab, var(--accent) 25%, transparent);transition:.2s transform, .2s opacity, .2s filter;}
.btn:hover{transform:translateY(-2px);opacity:.95;filter:saturate(110%)}
.btn.ghost{background:transparent;color:var(--text);border-color:var(--border)}
.btn.ghost:hover{background:color-mix(in oklab, var(--panel) 70%, transparent)}

/* Герой: слева текст, справа объявления */
.hero{padding:72px 0;background: radial-gradient(600px 220px at 15% -20%, color-mix(in oklab, var(--accent) 12%, transparent) 0, transparent 60%), radial-gradient(600px 220px at 85% -20%, color-mix(in oklab, var(--accent-2) 16%, transparent) 0, transparent 60%);}
.grid-2{display:grid;grid-template-columns:1.15fr .85fr;gap:20px;align-items:center}
@media (max-width:1000px){ .grid-2{grid-template-columns:1fr;gap:16px} }
.hero h1{margin:0 0 10px;font-size:clamp(34px,5vw,54px);line-height:1.1}
.lead {
  color: var(--muted);
  font-size: 18px;
  margin: 0 0 12px;
  max-width: 600px;   /* < ширина блока */
  line-height: 1.5;   /* чуть удобнее читается */
  word-wrap: break-word; /* если вдруг очень длинное слово */
}

.lead1{
	color:#ffffff;
	font-size:18px;margin:0 0 12px
	}

/* Объявления */
.ann{display:grid;grid-template-columns:1fr;gap:12px}
.ann-card{display:grid;grid-template-columns:120px 1fr;gap:12px;align-items:center;text-decoration:none;background:var(--panel);border:1px solid var(--border);border-radius:16px;padding:10px;transition:.2s transform, .2s border-color, .2s box-shadow}
.ann-card:hover{transform:translateY(-2px);border-color:color-mix(in oklab, var(--accent), white 12%); box-shadow:0 10px 24px rgba(0,0,0,.25)}
.ann-card img{width:100%;height:80px;object-fit:cover;border-radius:12px}
.ann-title{margin:0;font-size:16px;font-weight:800}
.ann-desc{margin:2px 0 0;color:var(--muted);font-size:13px}

/* Центрированные кнопки под описанием */
.center-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:18px}
.center-actions .btn{min-width:160px;text-align:center}

/* Разделы */
.section{padding:56px 0}
.card{background:var(--panel);border:1px solid var(--border);border-radius:18px;padding:18px; box-shadow:0 12px 32px rgba(0,0,0,.20);}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
@media (max-width:900px){ .grid-3{grid-template-columns:1fr} }

/* Панель выбора сервера (в магазине всегда видна) */
.server-bar{position:sticky;top:64px;z-index:55;background: color-mix(in oklab, var(--bg) 88%, transparent); border-bottom:1px solid var(--border);}
.server-bar .wrap{display:flex;gap:10px;align-items:center;justify-content:center;padding:10px 16px}
.server-btn{padding:8px 14px;border-radius:999px;border:1px solid var(--border);background:var(--panel);text-decoration:none;font-weight:700; color:#fff; cursor: pointer;}
.server-btn:hover{border-color:color-mix(in oklab, var(--accent), white 10%)}
.server-btn.active{background:var(--accent); color:#111; border-color: color-mix(in oklab, var(--accent), white 10%)}

/* Магазин */
@media (max-width:1000px){ .shop{grid-template-columns:1fr} }
@media (max-width:900px){ .products{grid-template-columns:repeat(2,1fr)} }
@media (max-width:600px){ .products{grid-template-columns:1fr} }
.product{display:flex;flex-direction:column;gap:10px}
.product h3{margin:0;font-size:18px}
.price{font-weight:800}
.tag{font-size:12px;padding:4px 8px;border-radius:999px;background:color-mix(in oklab, var(--accent-2) 20%, transparent);border:1px solid var(--border);color:var(--text);display:inline-block}
.cart{position:sticky;top:120px;height:max-content}
.cart h3{margin:0 0 8px}
.cart-list{display:flex;flex-direction:column;gap:8px}
.cart-item{display:grid;grid-template-columns:1fr auto auto;gap:10px;align-items:center}
.qty{display:inline-flex;align-items:center;border:1px solid var(--border);border-radius:10px}
.qty button{background:transparent;border:none;padding:6px 10px;cursor:pointer;color:var(--text)}
.qty span{padding:0 8px}
.total{display:flex;justify-content:space-between;font-weight:800;margin-top:12px}
.small{font-size:13px;color:var(--muted)}
.site-footer{
	margin-top:auto;
	border-top:1px solid var(--border);
	padding:18px 0;
	color:var(--muted);
	position:relative;
	z-index:2;   /* поднимаем футер выше фона */
	}
	
/* === Дополнения для главной: кнопки ниже, IP-блок и один баннер-ротатор === */
.center-actions--spacious { margin-top: 28px; justify-content: center; }

.server-ip{ display:flex; gap:10px; align-items:center; justify-content:center; margin-top:18px; }
.server-ip input{ background:transparent; border:1px solid var(--border); padding:10px 12px; border-radius:999px; min-width:180px; text-align:center; color:var(--text); font-weight:700; }
.server-ip .btn{ padding:8px 12px; border-radius:10px; }

/* Ротатор-баннер (фейд) */
.hero-rotator{ position: relative; width:100%; max-width:520px; aspect-ratio:16/9; border-radius:var(--radius); overflow:hidden; background:var(--panel); border:1px solid var(--border); box-shadow:0 8px 24px rgba(0,0,0,.28); transition:box-shadow .2s ease; }
.hero-rotator:hover{ box-shadow:0 12px 32px rgba(0,0,0,.34); }
.rot-slide{ display:block; width:100%; height:100%; position:relative; color:inherit; }
.rot-slide img{ width:100%; height:100%; object-fit:cover; display:block; opacity:1; transition:opacity .42s ease; }
.hero-rotator.is-fading .rot-slide img{ opacity:.15; }
.rot-overlay{ position:absolute; inset:auto 12px 12px 12px; background:linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.55) 55%, rgba(0,0,0,.8) 100%); padding:18px 16px 14px; border-radius:14px; }
.rot-tag{ display:inline-block; font-size:12px; font-weight:700; padding:4px 8px; border-radius:999px; background:rgba(0,0,0,.5); color:#fff; margin-bottom:8px; }
.rot-overlay h4{ margin:0 0 6px; font-size:20px; font-weight:800; color:#fff; text-shadow:0 1px 2px rgba(0,0,0,.45); }
.rot-overlay p{ margin:0; font-size:13px; color:#e5e7eb; }
.rot-btn{ position:absolute; top:50%; transform:translateY(-50%); width:40px; height:40px; border-radius:999px; border:1px solid var(--border); background:rgba(0,0,0,.35); color:#fff; font-weight:900; font-size:18px; display:grid; place-items:center; cursor:pointer; }
.rot-btn:hover{ background:rgba(0,0,0,.48); }
.rot-prev{ left:8px; } .rot-next{ right:8px; }
.rot-dots{ position:absolute; left:0; right:0; bottom:10px; display:flex; gap:8px; justify-content:center; }
.rot-dots button{ width:9px; height:9px; border-radius:999px; border:none; background:rgba(255,255,255,.4); cursor:pointer; }
.rot-dots button.active{ width:26px; border-radius:12px; background:var(--accent); }

@media (max-width: 980px){
  .hero-rotator{ max-width: 100%; }
}


/* === IP badge — финальная версия: стабильный размер, без серой рамки, «змейка» всегда справа === */

/* === IP-плашка: с кастомным SVG, большее лого и белая обводка === */
.ip-line{
  display:flex; align-items:center; gap:16px; width:fit-content;
  padding:12px 16px;
  border-radius:16px;
  cursor:pointer;
  color:var(--text);
  margin-top:16px;

  /* градиент от белого к прозрачному */
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    linear-gradient(270deg, rgba(255,255,255, 1), rgba(255,255,255,0.1), rgba(255,255,255,0)) border-box;
  border:3px solid transparent;

  box-shadow:0 8px 22px rgba(0,0,0,.25);
  transition: transform .06s ease, box-shadow .18s ease, background .18s ease;
}
.ip-line:hover{
  background:
    linear-gradient(var(--panel), var(--panel)) padding-box,
    linear-gradient(270deg, rgba(255,255,255,1), rgba(255,255,255,0.3)) border-box;
  box-shadow:0 10px 26px rgba(0,0,0,.30);
}
.ip-line:active{ transform: translateY(1px); }

/* лого больше и читаемее */
.ip-ico{ display:inline-grid; place-items:center; }
.ip-logo {
  width: 30px;
  height: 30px;
  display: block;
  margin-top: 3px; /* сдвигает вниз на 2px */
}

/* текст копирования — размер как был */
.ip-meta{ display:flex; flex-direction:column; align-items:flex-start; }
.ip-host {
  font-weight: 800;
  letter-spacing: .2px;
  font-size: 20px;   /* <-- сделает больше */
}
.ip-sub {
  display: inline-block;
  min-width: 170px; /* подбирай под самый длинный вариант текста */
  text-align: left; /* можно center, если хочешь по центру */
  white-space: nowrap;
}

/* иконка копирования справа */
.ip-copy{ margin-left:8px; display:inline-grid; place-items:center; color:#cfd5df; opacity:.9; }

/* CTA: все три кнопки белые с чёрным текстом */
.cta-bottom .center-actions .btn,
.cta-bottom .center-actions .btn.ghost{
  background: var(--accent);
  color: #111;
  border-color: color-mix(in oklab, var(--accent), white 10%);
}

.promo-card{
  position: relative;
  width: 100%;
  max-width: 560px;
  border-radius: var(--radius);
  padding: 18px 16px 14px;
  background: linear-gradient(180deg, color-mix(in oklab, var(--panel) 92%, transparent), color-mix(in oklab, var(--panel) 98%, transparent));
  border: 1px solid var(--border);
  box-shadow: 0 10px 28px rgba(0,0,0,.28);
  display: flex; flex-direction: column; gap: 12px;
  min-height: 280px;
}

.promo-head h3{ margin:0; font-size:24px; font-weight:900; }
.promo-head p{ margin:4px 0 0; color:var(--muted); font-size:14px; }

.promo-list{
  margin: 0; padding: 0 0 0 18px; color:var(--text); 
  display: grid; gap: 6px; font-size:14px;
}
.promo-list li{ list-style: disc; opacity:.9; }

.promo-actions{
  margin-top: auto; display:flex; gap:10px; flex-wrap:wrap;
}
.promo-actions .btn{ min-width: 160px; }

/* ===== Login card (в правой колонке героя) ===== */
.login-card{
  border:3px solid transparent;
  border-radius: var(--radius);
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    linear-gradient(90deg, rgba(255,255,255, 1), rgba(255,255,255,0.1), rgba(255,255,255,0)) border-box;
  box-shadow:0 8px 22px rgba(0,0,0,.25);
  padding: 24px 20px 20px;     /* больше внутренние отступы */
  padding-bottom: 40px; /* добавляем места снизу */
  display:flex; flex-direction:column; gap:16px;
  margin-top: 20px; /* регулируй px под себя */
  min-height: 160px;           /* ^ растягиваем по вертикали */
  position: relative;          /* чтобы полоска могла позиционироваться */
  overflow: hidden;            /* чтобы градиент не вылезал */
}

/* Полоска-градиент сверху */
.login-card::before{
  content:"";
  position:absolute;
  top:0; left:0; right:0;
  height:6px;                   /* толщина полоски */
    background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    linear-gradient(90deg, rgba(255,255,255, 1), rgba(255,255,255,0.1), rgba(255,255,255,0)) border-box;
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
}

.login-title{ margin:0 0 6px; font-weight:900; font-size:22px; }

.login-form{ display:grid; gap:12px; }
.field{ display:grid; gap:6px; }
.field-label{ font-size:13px; color:var(--muted); }

.input-wrap{ position:relative; }
.input{
  width:100%; height:42px;
  background: #0c0d10;
  color:#fff;
  border:1px solid var(--border);
  border-radius: 12px;
  padding: 0 40px 0 12px;
  outline:none;
}
.input::placeholder{ color:#9aa3ad; }
.input:focus{ border-color: color-mix(in oklab, var(--accent), white 10%); box-shadow: 0 0 0 3px rgba(255,255,255,.03) inset; }

.eye{
  position:absolute; right:8px; top:50%; transform:translateY(-50%);
  width:28px; height:28px; display:grid; place-items:center;
  border-radius:8px; border:1px solid var(--border);
  background:#121418; color:#9aa3ad; cursor:pointer;
}

.login-submit{
  width:100%;
  justify-content:center;
  height:44px;
}

.login-sep{ text-align:center; color:var(--muted); font-size:18px;}
.login-sep span{ background:transparent; padding:0 6px; }

.login-social{ display:flex; gap:10px; flex-wrap:wrap;  justify-content:center; }
.soc{
  display:inline-flex; align-items:center; gap:8px;
  height:40px; padding:0 14px; border-radius:10px;
  border:1px solid var(--border); background:#0c0d10; color:#e6e9ee;
  cursor:pointer;
}
.soc svg{ display:block; }
.soc.tg{ background: linear-gradient(180deg, #1f2a33, #0e1419); }
.soc.dc{ background: linear-gradient(180deg, #222638, #10131c); }
.soc:hover{ filter:brightness(1.05); }

.soc.mc{
  background: linear-gradient(180deg, #2d2d2d, #0f0f0f);
}

/* вкладки/панели */
.panel{ display:none; }
.panel.is-visible{ display:block; }

/* активная кнопка вкладки — чёрная с белым текстом */
.center-actions .btn.active{
  background:#111; color:#fff; border-color:#111;
}

/* === Mini profile (после входа) === */
/* 1) Профиль — занять всю ширину внутренней области рамки */
.profile-card{
  border: none;
  background: #0e1116;
  box-shadow: 0 12px 30px rgba(0,0,0,.28);
  padding: 22px 24px 26px;    /* больше воздуха */
  border-radius: var(--radius);
}

.profile-inner{
  width: 100%;
  max-width: none;
  margin: 0;                 /* раньше было auto по центру */
  display: grid;
  row-gap: 18px;             /* больше расстояния между блоками */
}

/* 2) Шапка: аватар+ник левее и визуально выше */
.profile-head{
  display: grid;
  grid-template-columns: auto 1fr auto; /* [ава] [ник/подпись] [ссылка] */
  column-gap: 14px;
  align-items: start;        /* поднимаем вверх */
  margin-top: -6px;          /* лёгкий визуальный подъём шапки */
}
.profile-ava{
  width: 52px; height: 52px; border-radius: 12px;
  display: grid; place-items: center;
  background:#121418; border:1px solid var(--border);
  font: 900 16px/1 Inter; color:#fff;
}
.profile-id{ min-width: 0; }
.profile-id-row{ display:flex; align-items: baseline; gap: 14px; }
.profile-name{ font: 900 20px/1.1 Inter; margin:0; }
.profile-sub{ color: var(--muted); font-size: 13px; margin: 6px 0 0; }

/* ссылка «Сменить аккаунт» — тихая, справа от ника */
.swap{
  appearance: none; background: none; border: 0;
  padding: 2px 6px; margin: 0;
  font-size: 12px; color: var(--muted); text-decoration: underline; cursor: pointer;
  border-radius: 6px;
}
.swap:hover{ color:#fff; background: rgba(255,255,255,.06); }

/* Статы — каждый показатель в два ряда, строго по центру */
.profile-stats{
  display:grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 4px;           /* чуть ниже баланса */
}
.stat{
  background:#0c0d10; border:1px solid var(--border); border-radius:12px;
  padding: 14px 12px; text-align:center;
}
.stat b{ display:block; font: 900 18px/1 Inter; }
.stat span{ display:block; margin-top:4px; font-size:12px; color:var(--muted); }


/* 3) Блоки ниже — больше промежутков и ровная сетка */
.ecoin{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  background:#0c0d10; border:1px solid var(--border); border-radius:12px;
  padding: 12px 16px;
  margin-top: 6px;           /* отделяем от шапки */
}
.ecoin .amount{ font: 900 18px/1 Inter; }

/* 4) Кнопки — опускаем ниже и даём больше воздуха */
.profile-actions{
  display:grid; grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 8px;           /* ниже статов */
}
.profile-actions .btn{
  height: 44px; justify-content:center; border-radius: 12px; font-weight: 700;
}

/* На совсем узких экранах — перестроение */
@media (max-width: 640px){
  .profile-stats{ grid-template-columns: 1fr 1fr; }
  .profile-actions{ grid-template-columns: 1fr; }
}

/* === Вписываем профиль в рамку .login-card === */
.login-card .profile-card{
  background: transparent;   /* убираем внутреннюю плашку */
  border: 0;
  box-shadow: none;          /* убираем внутреннюю тень */
  padding: 0;                /* отступы берём у .login-card */
  border-radius: 0;
  width: 100%;
}

.login-card .profile-inner{
  width: 100%;
  max-width: none;           /* не ограничиваем ширину контента */
  margin: 0;                 /* без авто-центровки — центр даёт сама рамка */
  row-gap: 16px;             /* компактнее вертикальные интервалы */
}

/* шапка чуть приподнимем и плотнее слева */
.login-card .profile-head{
  margin-top: -2px;          /* визуально поднимаем ближе к верху рамки */
  column-gap: 12px;
}
.login-card .profile-ava{ margin-left: 2px; }

/* баланс/статы/кнопки — без дополнительных внешних отступов */
.login-card .ecoin{ margin-top: 6px; }
.login-card .profile-stats{ margin-top: 6px; }
.login-card .profile-actions{ margin-top: 10px; }

/* чтобы элементы тянулись на всю доступную ширину рамки */
.login-card .profile-stats{
  grid-template-columns: repeat(3, 1fr);
}
.login-card .profile-actions{
  grid-template-columns: repeat(2, 1fr);
}

/* опционально: если хочется ещё плотнее внутри рамки — чуть уменьшим паддинги рамки */
@media (min-width: 900px){
  .login-card{ padding: 20px 18px 32px; } /* было 24px 20px 40px */
}

/* login: ошибка никнейма */
.login-error{color:#ff8a80;font-size:13px;min-height:18px}
.input.is-invalid{ border-color:#ff8a80; box-shadow:0 0 0 3px rgba(255,0,0,.06) inset; }


/* ——— Вкладки в шапке: базовый текст, ховер-серый овал, активная — только белый текст ——— */
.site-header .tab{
  appearance:none;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #9aa3b2;            /* базовый серый */
  font-weight: 700;
  font-size: 15px;           /* подгони при желании */
  line-height: 36px;
  padding: 0 12px;
  border-radius: 14px;       /* чтобы на ховере был овал */
  cursor: pointer;
  transition: color .15s ease, background .15s ease;
}

/* ховер: только серая подложка + чуть светлее текст */
.site-header .tab:hover{
  background: rgba(255,255,255,.08);
  color: #e6ebf5;
}

/* АКТИВНАЯ: только белый текст, без любого фона/рамок/теней */
.site-header .tab.is-active{
  color: #ffffff !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* фокус клавиатурой — аккуратный контур */
.site-header .tab:focus-visible{
  outline: 2px solid rgba(255,255,255,.25);
  outline-offset: 2px;
}
/* чуть больше воздуха между элементами шапки */
.site-header .menu {
  display: flex;
  gap: 24px;           /* расстояние между пунктами меню — подстрой под вкус */
  margin-left: auto;   /* отталкиваемся от логотипа */
  margin-right: 22px;  /* отступ от ромбика/профиля */
}

.site-header .nav-right {
  display: flex;
  align-items: center;
  gap: 32px;           /* расстояние между ромбиком и кнопкой Профиль */
}

.nav-sep{
  width:8px; height:8px;
  transform: rotate(45deg);
  background:var(--accent);
  border-radius:2px;
  opacity:.95;
  flex:0 0 8px;               /* чтобы не сжимался */
}

/* мини-аватар в шапке */
.nav-ava{
  width:36px; height:36px;            /* было 28px */
  border-radius:10px;
  display:grid; place-items:center;
  background:#121418; border:1px solid var(--border);
  color:#fff; font:900 13px/1 Inter;
}

/* кнопка Войти в шапке */
/* кнопка Войти — в стиле белых кнопок сайта */
.nav-login{
  height:36px;
  padding:0 16px;
  border-radius:12px;
  border:1px solid transparent;
  background:#fff;
  color:#0e1116;
  font-weight:700;
  box-shadow:0 10px 24px rgba(0,0,0,.25);
  cursor:pointer;
  transition: transform .05s ease, background .2s ease, box-shadow .2s ease;
}
.nav-login:hover{ background:#f2f3f5; }
.nav-login:active{ transform: translateY(1px); }

/* маленькая плашка-код (если нужна для Minecraft) */
.rm-code{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  background:#121418;border:1px dashed #2a3242;border-radius:10px;padding:10px 12px;
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace
}

/* Всплывашка со списком серверов под табом "Наши сервера" */
.srv-popover{
  position: absolute;
  top: 100%; left: 0;
  margin-top: 8px;
  min-width: 220px;
  background: #0e1116;
  border: 1px solid #2a3242;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,.45);
  padding: 8px;
  display: none;
  z-index: 1000;
}
.srv-popover.on{ display: block; }

.srv-item{
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  color: #d9e0ed;
  cursor: pointer;
}
.srv-item:hover{ background: rgba(255,255,255,.06); }

.srv-item small{
  margin-left: auto;
  color:#9aa3b2;
  font-size: 12px;
}

/* контейнер для позиционирования всплывашки */
.site-header .tab-wrap{ position: relative; display:inline-block; }

/* обёртка для позиционирования поповера у аватарки */
.profile-head .ava-wrap{ position: relative; display:inline-block; }

/* сам поповер */
.profile-head .ava-pop{
  position:absolute; top: calc(100% + 8px); left: 0;
  min-width: 220px; padding: 8px;
  background:#0e1116; border:1px solid #2a3242; border-radius:12px;
  box-shadow:0 20px 50px rgba(0,0,0,.45);
  display:none; z-index:1000;
}
.profile-head .ava-pop.on{ display:block; }

/* элементы списка — как в поповере серверов */
.profile-head .ava-item{
  display:flex; align-items:center; gap:10px;
  padding:10px 12px; border-radius:10px;
  color:#d9e0ed; cursor:pointer;
}
.profile-head .ava-item:hover{ background:rgba(255,255,255,.06); }

/* стрелочка */
.profile-head .ava-pop::before{
  content: none !important; display: none !important; position:absolute; top:-6px; left:14px; width:12px; height:12px;
  background:#0e1116; border-left:1px solid #2a3242; border-top:1px solid #2a3242;
  transform: rotate(45deg);
}

/* поповер у аватарки в ВЕРХНЕЙ шапке */
.nav-ava-wrap{ position: relative; display:inline-block; }
.nav-user-pop{
  position: absolute; top: calc(100% + 8px); right: 0; /* под аватаркой справа */
  min-width: 220px; padding: 8px;
  background: #0e1116; border: 1px solid #2a3242; border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,.45);
  display: none; z-index: 1200;
}
.nav-user-pop.on{ display: block; }
.nav-user-item{
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 10px;
  color: #d9e0ed; cursor: pointer;
}
.nav-user-item:hover{ background: rgba(255,255,255,.06); }
.nav-user-pop::before{
  content: none !important; display: none !important; position:absolute; top:-6px; right:14px; width:12px; height:12px;
  background:#0e1116; border-left:1px solid #2a3242; border-top:1px solid #2a3242;
  transform: rotate(45deg);
}

.regGrid {
  display: grid;
  grid-template-columns: 220px 1fr 320px;
  gap: 16px;
}

.regCol { background: rgba(255,255,255,0.03); border-radius: 12px; padding: 14px; }
.regCol-title { font-weight: 700; margin-bottom: 10px; }

.botList { display: grid; gap: 8px; }
.botItem {
  display: flex; align-items: center; gap: 8px;
  width: 100%; padding: 10px 12px; border-radius: 10px;
  background: rgba(255,255,255,0.04); border: 1px solid transparent;
}
.botItem.is-active { border-color: rgba(255,255,255,0.14); background: rgba(255,255,255,0.06); }

.botActions { display: grid; gap: 8px; margin-top: 12px; }

.steps { margin: 0 0 12px 18px; padding: 0; }
.steps li { margin: 6px 0; }

/* адаптив */
@media (max-width: 1200px) {
  .regTop { grid-template-columns: 280px 1fr 340px; }
}
@media (max-width: 980px) {
  .regTop { grid-template-columns: 1fr; }
  .regBottom { grid-template-columns: 1fr; }
}

.profile-card { padding: 16px 18px; background: rgba(255,255,255,.02); border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.25) inset; }
.profile-title { margin: 0 0 12px; font-size: 18px; font-weight: 700; }
.profile-row { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.profile-ava { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: #222; font-weight: 700; }
.profile-meta .profile-nick { font-size: 15px; font-weight: 600; }
.profile-meta .profile-method { opacity: .7; font-size: 12px; margin-top: 2px; }
.profile-balance { display:flex; align-items:center; gap:8px; margin: 10px 0 16px; }
.ekoin-ico { width: 18px; height:18px; display:inline-block; background: url('/img/ekoin.svg') no-repeat center/contain; }
.ekoin-label { opacity: .75; }
.ekoin-value { font-weight: 700; }
.profile-actions { display:flex; gap:10px; }

/* === helpers === */
.hidden { display: none !important; }
.hidden,
.is-hidden {
  display: none !important;
}

/* === низ модалки — не прыгал при переключении === */
#reg-modal .regBottom{ padding-top:14px; }

/* контейнер-капсула (как было) */
#reg-nick-box .field{
  position: relative;              /* чтобы контур был над всем */
  z-index: 1;
  max-width: 520px;
  margin: 8px auto 0;
  height: 72px;
  border-radius: 16px;
  background: #0b0d12;
  border: 1.5px solid rgba(255,255,255,.22);
  display: flex; align-items: center; justify-content: center;
  transition: border-color .15s;
  box-shadow: none;                /* убираем подсветку "под полем" */
}

/* само поле */
#reg-nick{
  width: 100%; height: 100%;
  border: 0; background: transparent;
  color: #fff; text-align: center;
  font-size: 24px; line-height: 1;
  padding: 0 24px; outline: none;
}

/* БЕЛЫЙ КОНТУР ПОВЕРХ при фокусе */
#reg-nick-box .field:focus-within{
  border-color: #fff;              /* делаем рамку белой */
  outline: 2px solid #fff;         /* рисуем контур над элементом */
  outline-offset: 0;               /* без сдвига */
}





/* Магазин: сетка 4? */
.shop{
  display:block;
}

.products{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:18px;
}

@media (max-width:1200px){
  .products{ grid-template-columns:repeat(3, minmax(0, 1fr)); }
}
@media (max-width:860px){
  .products{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
}
@media (max-width:540px){
  .products{ grid-template-columns:1fr; }
}

.shop-item {
  position: relative;
  border-radius: 22px;
  overflow: hidden;

  /* почти прозрачное стекло поверх чёрного фона сайта */
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow:
    0 22px 55px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(15, 23, 42, 0.85);

  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);

  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

/* лёгкое свечение при ховере */
.shop-item::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
      circle at top,
      rgba(250, 204, 21, 0.38),
      transparent 60%
  );
  transition: opacity 0.18s ease;
}

.shop-item:hover {
  transform: translateY(-4px);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 1),
    0 0 0 1px rgba(250, 204, 21, 0.45);
  border-color: rgba(250, 204, 21, 0.45);
  background: rgba(0, 0, 0, 0.22);
}

.shop-item:hover::before {
  opacity: 1;
}

/* ВЕРХ: картинка прямо по краю карточки, без отступов */
.shop-item__thumb {
  width: 100%;
  aspect-ratio: 16 / 16;       /* или 16/9 — как тебе больше нравится */
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 16px;
  background: #020617;         /* на случай прозрачных картинок */
}

.shop-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;           /* заполняем блок, лишнее обрезаем */
  object-position: center;     /* обрезаем от центра */
  display: block;
}


.shop-item:hover .shop-item__thumb img {
  transform: scale(1.08);
}

/* НИЗ: текст и кнопка на стеклянном фоне */
.shop-item__body {
  padding: 12px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;

  /* лёгкий затемнённый градиент снизу, но всё ещё стекло */
  background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.05),
      rgba(0, 0, 0, 0.45)
  );
}

.shop-item__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.shop-item__period {
  font-size: 12px;
  color: var(--muted);
}

/* Плавающая кнопка корзины */
.cart-fab{
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 70px;
  height: 70px;
  border-radius: 999px;
  border: 1px solid #333;
  background: #000;              /* чЮрнаЯ кнопка */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: none;              /* без свечениЯ */
  z-index: 90;
}

.cart-fab__icon{
  font-size:22px;
}

.cart-fab__badge{
  position:absolute;
  top:4px;
  right:4px;
  min-width:18px;
  height:18px;
  border-radius:999px;
  background:var(--accent);
  color:#111827;
  font-size:11px;
  font-weight:700;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* Модалки корзины и товара */
.cart-modal,
.product-modal{
  position:fixed;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:80;
  opacity:0;
  pointer-events:none;
  transition:opacity .18s ease;
}

.cart-modal.is-open,
.product-modal.is-open{
  opacity:1;
  pointer-events:auto;
}

.cart-modal__body,
.product-modal__body{
  width:min(420px, 100% - 32px);
  max-height:80vh;
  overflow:auto;
  position:relative;
}

.cart-modal__header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:10px;
}

.cart-modal__close,
.product-modal__close{
  position:absolute;
  top:10px;
  right:12px;
  border:none;
  background:transparent;
  color:var(--muted);
  font-size:18px;
  cursor:pointer;
}

.cart-modal-backdrop,
.product-modal-backdrop{
  position:fixed;
  inset:0;
  background:rgba(15,23,42,.78);
  z-index:70;
  opacity:0;
  pointer-events:none;
  transition:opacity .18s ease;
}

.cart-modal-backdrop.is-open,
.product-modal-backdrop.is-open{
  opacity:1;
  pointer-events:auto;
}

/* Контент модалки товара */
.product-modal__header{
  margin-bottom:10px;
}
.product-modal__header h3{
  margin:0 0 4px;
}
.product-modal__tag{
  font-size:12px;
  color:var(--muted);
}

.product-modal__tags{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:6px;
}
.product-modal__footer{
  margin-top:12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

/* название по центру, крупнее */
.shop-item__title{
  margin: 0 0 6px;
  font-size: 20px;      /* было 15 */
  font-weight: 800;
  text-align: center;
}

/* строка снизу: текст слева, контрол справа */
.shop-item__bottom{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* левая половина (цена + срок) */
.shop-item__textblock{
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.shop-item__price{
  font-weight: 900;
  font-size: 18px;      /* чуть крупнее */
}

.shop-item__period{
  font-size: 12px;
  color: var(--muted);
}

/* кнопка "В корзину" в карточке */
.shop-item__add{
  margin-top: 0;
  width: 100%;                 /* занимает всю правую половину */
  min-height: 36px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
}

/* правая половина (общий контейнер) */
.shop-item__controls{
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

/* === Виджет новостей в hero === */

.news-widget {
  position: relative;
  display: flex;
  gap: 14px;
  padding: 16px;

  background: rgba(0, 0, 0, 0.18);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);

  /* фиксированная высота всего виджета */
  height: 350px;
}

.news-widget--wide {
  width: 100%;
}

/* Левая большая карточка — как "Арена" (картинка + стеклянный блок) */

.news-main {
  position: relative;
  flex: 3;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.04);

  /* растягиваем на высоту виджета */
  height: 100%;
  display: flex;
}

.news-main__image {
  flex: 1;
}

.news-main__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* стеклянный оверлей с текстом, как в блоке "Арена" */

.news-main__overlay {
  position: absolute;
  left: 24px;
  bottom: 24px;
  max-width: 60%;
  padding: 14px 18px;
  border-radius: 18px;

  background: rgba(0, 0, 0, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.news-main__title {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 800;
}

.news-main__subtitle {
  margin: 0 0 6px;
  font-size: 12px;
  color: var(--muted);
}

.news-main__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
}

.news-list {
  /* то, что выше было, оставляем */
  scrollbar-width: none;      /* Firefox */
  -ms-overflow-style: none;   /* старый Edge/IE */
}

.news-list::-webkit-scrollbar {
  width: 0;
  height: 0;
}

/* 3 карточки на всю высоту колонки */
.news-item {
  box-sizing: border-box;
  position: relative;
  overflow: hidden;

  flex: 0 0 auto;
  height: calc((100% - 2 * 8px) / 3);

  display: flex;
  align-items: stretch;
  padding: 0;
  border-radius: 18px;
  cursor: pointer;

  /* чуть более тёмное стекло под фон */
  background: rgba(0, 0, 0, 0);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.9);

  transition:
    background 0.16s ease,
    border-color 0.16s ease,
    transform 0.16s ease,
    box-shadow 0.16s ease;
}

.news-item__bg {
  position: absolute;
  inset: -4px;                    /* чуть вылезти за края, чтобы блюр не обрезался */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* сильнее размытие и затемнение */
  filter: blur(3px) brightness(0.18) saturate(0.9);
  transform: scale(1.08);         /* чтобы не было «пустоты» по краям после blur */

  z-index: 0;
  transition: filter 0.25s ease;
}

.news-item__content {
  position: relative;
  z-index: 1;

  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 14px;

  width: 100%;
  height: 100%;

  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.news-item__title {
  margin: 0 0 3px;
  font-size: 17px;      /* было 13 */
  font-weight: 800;
  color: #ffffff;
}

.news-item__subtitle {
  margin: 0;
  font-size: 12px;      /* было 11 */
  color: #e5e7eb;
}

/* Ховер — только для неактивных карточек */
.news-item:hover:not(.news-item--active) {
  box-sizing: border-box;
  border: 1px solid transparent;

  background:
    linear-gradient(rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.88)) padding-box,
    linear-gradient(
      90deg,
      rgba(250, 204, 21, 0.7),
      rgba(250, 204, 21, 0.18),
      rgba(250, 204, 21, 0)
    ) border-box;

  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.95);
  transform: translateY(-1px);
}

/* при ховере карточка ярче */
.news-item:hover .news-item__bg {
  filter: blur(3px) brightness(0.35) saturate(1);
}

/* активная новость ещё чуть ярче */
.news-item--active .news-item__bg {
  filter: blur(5px) brightness(0.45) saturate(1.05);
}

/* Активная новость (та, что сейчас показана слева) */
.news-item--active {
  box-sizing: border-box;
  border: 2px solid transparent;

  /* жирный жёлтый градиент по бордеру */
  background:
    linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)) padding-box,
    linear-gradient(
      90deg,
      rgba(250, 204, 21, 1),
      rgba(250, 204, 21, 0.25),
      rgba(250, 204, 21, 0)
    ) border-box;

  box-shadow: 0 20px 50px rgba(0, 0, 0, 1);
  transform: translateY(-1px);
}
/* убираем стандартную белую рамку фокуса у кнопок новостей */
.news-item,
.news-dot {
  outline: none;
}

.news-item:focus,
.news-item:focus-visible,
.news-dot:focus,
.news-dot:focus-visible {
  outline: none;
}

/* Вертикальные точки справа */

.news-dots {
  position: absolute;
  right: 14px;          /* СПРАВА */
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.news-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.news-dot--active {
  background: var(--accent);
  border-color: var(--accent);
}

/* Адаптив */

@media (max-width: 960px) {
  .news-widget {
    flex-direction: column;
    min-height: auto;
  }

  .news-main {
    height: 220px;
  }

  .news-main__overlay {
    max-width: 80%;
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .news-dots {
    right: 8px;
  }
}

.product-card__image {
  width: 100%;
  aspect-ratio: 16 / 10;   /* или 16/9, если больше нравится */
  border-radius: 20px;
  overflow: hidden;
}

/* сама картинка */
.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;        /* заполняет блок, обрезая лишнее */
  object-position: center;  /* центрируем обрезание по центру */
  display: block;
}

.news-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.news-header__title {
  font-size: 36px;
  font-weight: 900;
  text-align: center;
  letter-spacing: 0.04em;
}

.news-header__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.news-tab {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.16s ease,
    color 0.16s ease,
    border-color 0.16s ease,
    transform 0.16s ease,
    box-shadow 0.16s ease;
}

.news-tab:hover {
  border-color: color-mix(in oklab, var(--accent), white 15%);
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.6);
}

.news-tab--active {
  background: var(--accent);
  color: #111827;
  border-color: color-mix(in oklab, var(--accent), white 10%);
  box-shadow: 0 12px 30px rgba(250, 204, 21, 0.5);
}

/* Альтернативные карточки (Профиль / Топ-донаты) */

.news-alt {
  margin-top: 4px;
  padding: 20px 22px;
  border-radius: 24px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
}

/* Профиль */

.news-profile {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.news-profile__main {
  display: flex;
  gap: 14px;
  align-items: center;
}

.news-profile__avatar {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background:
    radial-gradient(circle at top, rgba(250, 204, 21, 0.8), transparent 65%),
    rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(250, 204, 21, 0.4);
}

.news-profile__name {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 4px;
}

.news-profile__hint {
  font-size: 13px;
  color: var(--muted);
}

.news-profile__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 900px) {
  .news-profile__grid {
    grid-template-columns: 1fr;
  }
}

.news-profile__card {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.news-profile__label {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 4px;
}

.news-profile__value {
  font-size: 16px;
  font-weight: 700;
}

/* Топ-донаты */

.news-top__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}

.news-top__row {
  display: grid;
  grid-template-columns: 20px 1fr auto;
  gap: 8px;
  align-items: baseline;
  padding: 6px 8px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(31, 41, 55, 0.9);
}

.news-top__place {
  font-weight: 800;
  color: var(--accent);
}

.news-top__name {
  font-weight: 600;
}

.news-top__sum {
  font-weight: 700;
}

.news-top__hint {
  font-size: 12px;
  color: var(--muted);
}

/* адаптив для шапки и новостного блока */

@media (max-width: 960px) {
  .news-header__title {
    font-size: 22px;
  }
}

.profile-card {
  margin-top: 16px;
  background: rgba(0, 0, 0, 0.18);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  padding: 20px 24px 24px;
  color: #fff;
}

.profile-card__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.profile-card__avatar {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.2), transparent 55%),
    radial-gradient(circle at 100% 100%, #facc15, #f97316);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
}

.profile-card__avatar span {
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.9);
}

.profile-card__info {
  flex: 1;
}

.profile-card__nick {
  font-size: 18px;
  font-weight: 800;
}

.profile-card__subtitle {
  font-size: 12px;
  color: var(--muted);
}

.profile-card__switch {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.8);
  color: #e5e7eb;
  cursor: pointer;
}

.profile-card__switch:hover {
  border-color: var(--accent);
  color: #fff;
}

.profile-card__balance-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding: 10px 16px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.9);
}

.profile-card__balance-label {
  font-size: 13px;
  color: var(--muted);
}

.profile-card__balance-value {
  font-size: 16px;
  font-weight: 700;
}

.profile-card__stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.profile-stat {
  padding: 10px 12px;
  border-radius: 16px;
  background: radial-gradient(circle at 0 0, rgba(250, 204, 21, 0.09), transparent 55%),
              rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.profile-stat__value {
  font-size: 16px;
  font-weight: 700;
}

.profile-stat__label {
  font-size: 11px;
  color: var(--muted);
}

/* нижняя сетка */

.profile-card__bottom-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.profile-info-tile {
  border-radius: 18px;
  padding: 12px 14px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.profile-info-tile__title {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}

.profile-info-tile__value {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.profile-info-tile__hint {
  font-size: 11px;
  color: rgba(148, 163, 184, 0.9);
}

/* Адаптив профиля */

@media (max-width: 960px) {
  .profile-card__stats-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .profile-card__bottom-grid {
    grid-template-columns: 1fr;
  }
}

/* === Топ донатов === */

.top-donates {
  margin-top: 16px;
  padding: 18px 20px 20px;
  background: rgba(0, 0, 0, 0.18);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  color: #fff;
}

.top-donates__top3 {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}

.top-donates__card {
  position: relative;
  border-radius: 20px;
  padding: 14px 16px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.92)) padding-box,
    radial-gradient(circle at 0 0, rgba(250, 204, 21, 0.7), transparent 55%) border-box;
  border: 1px solid transparent;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 1);
}

.top-donates__card--first {
  transform: scale(1.02);
}

.top-donates__place {
  font-size: 20px;
  font-weight: 800;
  color: #facc15;
  margin-bottom: 2px;
}

.top-donates__nick {
  font-size: 16px;
  font-weight: 700;
}

.top-donates__sum {
  font-size: 15px;
  font-weight: 700;
  margin-top: 4px;
}

.top-donates__note {
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
}

.top-donates__stream-label {
  font-size: 13px;
  margin-bottom: 8px;
  color: var(--muted);
}

/* горизонтальная лента последних донатов */

.top-donates__stream {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}

.top-donates__stream::-webkit-scrollbar {
  display: none;
}

.top-donates__stream:active {
  cursor: grabbing;
}

.top-donates__stream-item {
  flex: 0 0 auto;
  min-width: 180px;
  padding: 8px 12px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.4);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-donates__stream-nick {
  font-size: 13px;
}

.top-donates__stream-sum {
  font-size: 13px;
  font-weight: 700;
}

/* адаптив топа */

@media (max-width: 960px) {
  .top-donates__top3 {
    grid-template-columns: 1fr;
  }
}

/* --- Фикс виджета новостей, чтобы его не растягивало --- */

/* высота всей карточки новостей */
.hero-shop .news-widget {
  height: 450px; /* можно 340–360, если хочется выше */
}

/* основная большая новость слева */
.hero-shop .news-main {
  aspect-ratio: auto; /* сбрасываем старый 16:9 */
  height: 100%;
}

/* колонка мини-новостей справа */
.hero-shop .news-list {
  height: 100%;
  background-color: var(--bg-color);
}

/* картинка внутри большой новости — обрезаем по центру */
.hero-shop .news-main__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Топ-донаты: запрещаем выделение текста при перетаскивании */
.top-donates__stream,
.top-donates__stream * {
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

.brand {
  font-weight: 900;
  font-size: clamp(30px, 2.3vw, 18px);
  letter-spacing: .2px;
  color: var(--accent); /* <-- делаем жёлтой */
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 80px;   /* можно 44 / 48 — подгони по вкусу */
  width: auto;
}

/* Центрируем шапку секции "Товары" */
#shop .container {
  max-width: 1190px;      /* как у новостей */
  margin: 0 auto;
  font-size: 26px;
  /* ВАЖНО: не трогаем padding, пусть будут как у общего .container */
}

/* заголовок и подпись */
#shop h2,
#shop > .container > p.small {
  text-align: center;
}

/* кнопки фильтров по центру */
#shop .center-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}

#shop .shop {
  margin-top: 24px;
}

/* сетка товаров */
#shop .products {
  max-width: 1200px;   /* можешь поставить своЮ значение */
  margin: 0 auto;      /* центрируем сетку */
}

:root {
  /* общая высота блока новостей */
  --news-panel-height: 420px;

  /* высота одной мини-карточки */
  --news-mini-height: 121px;
  --news-mini-gap: 12px;
}

/* рамка, внутри которой и баннер, и мини-карточки */
.hero-shop .news-widget--wide {
  height: var(--news-panel-height);   /* фиксированная высота всего виджета */
}

/* большая карточка слева занимает всю высоту виджета */
.news-main {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  height: 100%;                       /* важно: вместо min-height */
  display: flex;
}

/* картинка тянется по высоте */
.news-main__image {
  flex: 1 1 auto;
}

.news-main__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* оверлей текста */
.news-main__overlay {
  position: absolute;
  left: 32px;
  bottom: 32px;
  max-width: 420px;
}

/* колонка справа */
.news-list {
  display: flex;
  flex-direction: column;
  gap: var(--news-mini-gap);
  height: 100%;                /* по высоте всего виджета */
  max-height: 420px;
  overflow-y: auto;            /* если больше 3 шт. — появляется скролл */
  overflow-x: hidden;
  padding-right: 4px;          /* чтобы скролл не налезал на контент */
}

/* одна мини-карточка */
.news-list > .news-item {
  flex: 0 0 var(--news-mini-height);  /* фикс высота, не растягивается */
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 16px 24px;
}

/* фон и контент, если есть */
.news-list > .news-item > .news-item__bg {
  position: absolute;
  inset: 0;
}

.news-list > .news-item > .news-item__content {
  position: relative;
  z-index: 1;
}

/* уменьшить зазор между "Новости проекта" и "Товары" */
.hero-shop {
  padding-bottom: 24px;    /* было 56 — подними/опусти по вкусу */
}

#shop.section,
#shop {
  padding-top: 16px;       /* было 56 — можно даже 0 */
  margin-top: 0;           /* на всякий случай, если где-то задали margin */
}

.cart-toast-container {
  position: fixed;
  right: 10px;
  bottom: 16px;
  display: flex;
  flex-direction: column-reverse;
  gap: 8px;
  align-items: flex-end;
  z-index: 200;
  pointer-events: none;   /* <--- ВАЖНО */
}
/* сами «пузырьки» уведомлений */
.cart-toast {
  position: relative;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(5, 16, 40, 0.96);
  font-size: 14px;
  white-space: nowrap;
  pointer-events: none;   /* на всякий случай */

  /* убираем любые тени / подсветки */
  box-shadow: none !important;
  filter: none !important;

  opacity: 0;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease;
}

.cart-toast--visible {
  opacity: 1;
  transform: translateY(0);
}

/* инлайн-контрол - 1 + в карточке */
.shop-item__qty-inline {
  display: inline-flex;
  align-items: center;
  gap: 16px;

  padding: 8px 22px;
  border-radius: 999px;

  background: #111;          /* почти чёрный фон как у "В корзине" */
  border: 1px solid #ffd84a;    /* жёлтая обводка */
  box-shadow: none;             /* убираем свечение */

  position: relative;
}

/* если вдруг свечение сделано псевдоэлементом */
.shop-item__qty-inline::before,
.shop-item__qty-inline::after {
  content: none !important;
}

/* кнопки - и + */
.shop-item__qty-btn {
  width: 12px;
  height: 18px;
  border-radius: 999px;

  border: none;
  background: transparent;
  color: #ffd84a;

  display: flex;
  align-items: center;
  justify-content: center;

  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}

/* ховер по кнопкам по желанию */
.shop-item__qty-btn:hover {
  transform: translateY(-1px);
}

/* цифра посередине */
.shop-item__qty-value {
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
}

/* === PRODUCT MODAL CLEAN OVERRIDE (без id) === */

/* Уважать .hidden у картинки/видео */
.js-pm-video.hidden {
  display: none !important;
}
.js-pm-image.hidden {
  display: none !important;
}

/* Правая колонка: список фич как аккуратная гармошка */
.product-modal-features__list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 260px;
  overflow-y: auto;
  padding-right: 4px;
}

/* Один пункт гармошки */
.feature-acc {
  background: transparent;
}

/* Кнопка строки (плашка) */
.feature-acc__header {
  width: 100%;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  cursor: pointer;
}

/* Текст фичи */
.feature-acc__title {
  flex: 1;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* --- АССОРДЕОН ФИЧ --- */

/* Плюс/минус справа */
.feature-acc__icon {
  margin-left: 12px;
  font-size: 16px;
}

/* Тело описания — по умолчанию спрятано */
.feature-acc__body {
  display: none;
  padding: 8px 18px 10px;
  font-size: 13px;
  line-height: 1.4;
}

/* Открытый пункт */
.feature-acc--open .feature-acc__header {
  border-color: #facc15;
  background: rgba(250, 204, 21, 0.06);
}

.feature-acc--open .feature-acc__body {
  display: block;
}

/* Белый текст у фич */
.feature-acc__title {
  color: #fff;
}

.feature-acc__body p {
  color: #fff;
  opacity: 0.85;
}

/* --- ОСНОВНОЙ ЛЕЙАУТ МОДАЛКИ --- */

.product-modal__body.card {
  width: min(860px, 100% - 32px);
  max-height: min(80vh, 720px);
  margin: 0 auto;
  overflow: auto; /* если экран низкий — скролл всего окна */
}

/* Внутри модалки всё колонкой:
   сверху контент (2 колонки), снизу футер */
.product-modal-inner {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  max-height: 560px; /* чуть повыше, чтобы описание влезало */
}

/* Две колонки: слева превью, справа фичи */
.product-modal-inner__body {
  flex: 1 1 auto;
  min-height: 0;

  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 20px;
  align-items: flex-start;
}

/* Чтобы текст не разъезжался */
.product-modal-main,
.product-modal-side {
  min-width: 0;
}

/* Чуть опускаем обе колонки, чтобы выровнять */
.product-modal-main,
.product-modal-side {
  padding-top: 4px;
}

/* Адаптив — на узких экранах одна колонка */
@media (max-width: 820px) {
  .product-modal-inner__body {
    grid-template-columns: 1fr;
  }
}

/* Правая колонка — флекс-колонка */
.product-modal-side {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* --- СПИСОК ФИЧ (СКРОЛЛ ТОЛЬКО ЗДЕСЬ) --- */

.product-modal-side .js-features-list {
  margin-top: 12px;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding-right: 4px;

  display: flex;
  flex-direction: column;
  gap: 6px; /* плотнее между плашками */
}

/* жёлтый скролл */
.product-modal-side .js-features-list {
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}

.product-modal-side .js-features-list::-webkit-scrollbar {
  width: 6px;
}

.product-modal-side .js-features-list::-webkit-scrollbar-track {
  background: transparent;
}

.product-modal-side .js-features-list::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 999px;
}

/* если где-то ещё используется этот список */
.product-modal-features__list {
  gap: 6px;
}

/* --- ПРЕВЬЮ (ИКОНКА/ВИДЕО ОДИНАКОВОГО РАЗМЕРА) --- */

.product-modal__thumb {
  position: relative;
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: #19427d;     /* тот самый синий прямоугольник */
  aspect-ratio: 16 / 9;    /* фиксируем пропорции */
  flex-shrink: 0;
}

/* И картинка, и видео заполняют контейнер */
.product-modal__thumb img,
.product-modal__thumb video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  display: block;
  object-fit: cover;
  margin: 0;
  padding: 0;
  border: none;
}

/* чуть опускаем превью, чтобы совпало по вертикали с фичами */
.product-modal-main {
  padding-top: 28px;
}

/* --- ФУТЕР: ЛИНИЯ + ЦЕНА + КНОПКА СПРАВА --- */

.product-modal-inner__footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);

  display: flex;
  justify-content: flex-end;
}

.product-modal-inner__footer-main {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Стоимость — чёрная капсула с жёлтой рамкой и текстом */
.product-modal__price {
  padding: 7px 18px;
  border-radius: 999px;

  background: #050509;
  border: 1px solid var(--accent);
  color: var(--accent);

  font-weight: 800;
  font-size: 15px;
  white-space: nowrap;
  opacity: 1;
}

/* кнопка "В корзину" рядом, не переносится */
.product-modal__controls .btn {
  white-space: nowrap;
}

/* --- УБИРАЕМ ТЕГИ В МОДАЛКЕ --- */

.product-modal__tag,
.product-modal__tags {
  display: none !important;
}

/* Жёстко ограничиваем высоту списка фич в модалке */
.product-modal-side .js-features-list {
  margin-top: 12px;
  flex: 1 1 auto;
  min-height: 0;

  max-height: 300px;       /* можно 240–300 по вкусу */
  overflow-y: auto;        /* скролл только у списка */

  padding-right: 4px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Капсула "В корзине" в модалке */
.cart-pill {
  padding: 12px 18px;
  border-radius: 999px;
  background: #050509;
  border: 1px solid var(--accent); /* жёлтая рамка */
  color: var(--accent);            /* жёлтый текст */
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .15s ease, transform .1s ease, box-shadow .15s ease;
}

.cart-pill:hover {
  background: rgba(250, 204, 21, 0.08);
}

.cart-pill:active {
  transform: translateY(1px);
}

/* Контейнер управления в футере модалки */
.product-modal__controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Капсула с - 1 + в стиле общей темы */
.product-modal__qty {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 6px 14px;
  border-radius: 999px;

  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Кнопки - и + */
.product-modal__qty-btn {
  min-width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--accent);

  font-weight: 800;
  font-size: 15px;
  line-height: 1;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;

  transition: background .15s ease, transform .1s ease, box-shadow .15s ease;
}

.product-modal__qty-btn:hover {
  background: rgba(250, 204, 21, 0.08);
}

.product-modal__qty-btn:active {
  transform: translateY(1px);
}

/* Число посередине */
.product-modal__qty-value {
  min-width: 20px;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
}

.product-modal__qty {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  padding: 6px 18px;
  border-radius: 999px;

  background: #050509;
  border: 1px solid var(--accent); /* жёлтая рамка */
}

/* - и + внутри капсулы: только жёлтый текст, без своих кружков */
.product-modal__qty-btn {
  border: none;
  background: transparent;
  color: var(--accent);

  font-weight: 800;
  font-size: 18px;
  line-height: 1;

  /* увеличенная зона клика вокруг символа */
  padding: 6px 12px;
  margin: -4px -6px; /* визуально текст остаётся компактным, а хитбокс больше */

  cursor: pointer;
  border-radius: 8px; /* чуть сглаживаем для hover */
  transition: background .15s ease, transform .1s ease;
}

.product-modal__qty-btn:hover {
  background: rgba(250, 204, 21, 0.08);
}

.product-modal__qty-btn:active {
  transform: translateY(1px);
}

/* число посередине */
.product-modal__qty-value {
  min-width: 24px;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
}

.shop-item__add--in-cart,
.shop-item__qty-inline,
.product-modal__price,
.product-modal__qty,
.cart-pill {
  background: #262626;     /* или #212121, если хочешь прЯм в тон фона */
}

/* ”он ‡Ђ мини-карточками справа */
.hero-shop .news-list {
    background-color: #151515; /* поставь сюда тот же цвет, что и у основного фона сайта */
    /* если нужно полностью убрать отдельную ЗплашкуИ, можно ещЮ: */
    border: none;
    box-shadow: none;
}

/* Џодложка блока новостей на странице "Ќовости проекта" */
.hero-shop .news-widget {
  background: var(--bg);      /* тот же цвет, что и у body (#151515) */
  border: none;               /* без отдельной рамки-плашки */
  box-shadow: none;           /* без отдельной тени под колонкой */
}

.news-tab {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #333;
  background: var(--panel);              /* чЮрные кнопки */
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.16s ease,
    color 0.16s ease,
    border-color 0.16s ease;
  box-shadow: none;              /* без свечениЯ */
}

.news-tab:hover {
  border-color: var(--accent);
  transform: translateY(0);      /* чтобы не подпрыгивала */
  box-shadow: none;
}

.news-tab--active {
  background: var(--accent);              /* активнаЯ тоже чЮрнаЯ */
  color: #111;          /* можно оставить жЮлтый текст */
  box-shadow: none;              /* полностью без свечениЯ */
}

/* контейнер всплывающих сообщений С поднЯть выше корзины */
.cart-toast-container {
  right: 24px;      /* можно оставить 10px, если хочешь ближе к краю */
  bottom: 110px;     /* было 16px С теперь заметно выше cart-fab */
}

/* сами "Љорзина пуста" С жЮлтые с чЮрным текстом */
.cart-toast {
  background: var(--accent);    /* жЮлтый */
  color: #111;                  /* чЮрный текст */
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.55); /* лЮгкаЯ тень, можно убрать */

  /* оставлЯем анимацию поЯвлениЯ */
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease;
}

.cart-toast.cart-toast--visible {
  opacity: 1;
  transform: translateY(0);
}

.shop-item,
.shop-item:hover {
  box-shadow: none !important;     /* убираем внешнюю тень */
}

/* если хочешь совсем плоский низ карточки (без внутренней псевдо-тени) С
   можно чуть упростить фон блока с ценой/кнопкой: */
.shop-item__body {
  background: #050505;              /* или rgba(0,0,0,0.9) по вкусу */
}

/* Ќиз карточки магазина С вместо чЮрного квадрата */
.shop-item__body {
  padding: 12px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;

  /* ровный тЮмно-серый фон под общую тему, без градиента */
  background: #111111 !important;
  border-top: 1px solid var(--accent);    /* жЮлтаЯ линиЯ */
}

/* === Џрофиль и топ-донаты в общей серой стилистике === */

/* сама большаЯ карточка */
.profile-card,
.top-donates {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: none;                /* убираем сильную внешнюю тень */
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* верхнЯЯ полоска баланса */
.profile-card__balance-row {
  background: #1a1a1a;
  border-radius: 18px;
  border: 1px solid var(--border);
}

/* маленькие статистики в профиле */
.profile-stat {
  background: #1a1a1a;
  border: 1px solid var(--border);
  box-shadow: none;
}

/* нижние плитки в профиле */
.profile-info-tile {
  background: #1a1a1a;
  border: 1px solid var(--border);
  box-shadow: none;
}

/* карточки топ-3 донатов */
.top-donates__card {
  background: #1a1a1a;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: none;
}

/* последнЯЯ лента донатов */
.top-donates__stream-item {
  background: #1a1a1a;
  border: 1px solid var(--border);
  box-shadow: none;
}

/* подписи и вторичный текст С общий muted-серый */
.profile-card__subtitle,
.profile-card__balance-label,
.profile-stat__label,
.profile-info-tile__hint,
.profile-info-tile__title,
.top-donates__note,
.top-donates__stream-item small,
.top-donates__stream-sum {
  color: var(--muted);
}

/* кнопка "Џрофиль" в шапке С жЮлтаЯ с чЮрным текстом */
.nav-login {
  height: 36px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid color-mix(in oklab, var(--accent), white 10%);
  background: var(--accent);   /* жЮлтый акцент */
  color: #111;                 /* чЮрный шрифт */
  font-weight: 700;
  box-shadow: none;            /* без свечениЯ */
  cursor: pointer;
  transition: transform .05s ease, background .2s ease, border-color .2s ease;
}

.nav-login:hover {
  background: color-mix(in oklab, var(--accent), white 10%);
}

.nav-login:active {
  transform: translateY(1px);
}

/* === FAQ / —асто задаваемые вопросы === */

.faq {
  margin: 32px auto 0;      /* центрируем и отступ сверху */
  max-width: 1200px;        /* как у .container */
  padding: 0 16px;          /* такие же боковые отступы */
}

.faq-title {
  margin: 0 0 16px;
  font-size: 40px;
  font-weight: 900;
  text-align: center;
  margin: 32px auto 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  padding: 12px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;

  background: transparent;
  border: 0;
  color: #f9fafb;
  font-weight: 600;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}

.faq-icon {
  font-size: 18px;
  opacity: .7;
  transition: transform .18s ease, opacity .18s ease;
}

.faq-a {
  display: none;
  padding: 0 16px 14px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

/* открытый пункт */
.faq-item.faq-item--open {
  border-color: var(--accent);
  background: rgba(250, 204, 21, 0.04);
}

.faq-item.faq-item--open .faq-a {
  display: block;
}

.faq-item.faq-item--open .faq-icon {
  transform: rotate(45deg); /* + ? ? */
  opacity: 1;
}
/* Header comes from Iridus, not the donated shop theme; styling is shared from Iridus. */
.site-header.ir-uh-header .container.nav{height:auto;min-height:69px;}
.site-header.ir-uh-header .nav-right{margin-left:auto;}
.site-header.ir-uh-header .menu{justify-content:flex-end;}
.site-header.ir-uh-header .logo .brand{font-family:system-ui,-apple-system,'Segoe UI',Roboto,Inter,Arial,sans-serif;}
.site-header.ir-uh-header .ir-uh-guest{font-family:system-ui,-apple-system,'Segoe UI',Roboto,Inter,Arial,sans-serif;}
