/* ============================================================
   Український Легіон — home page
   Tactical dark theme, electric-blue accent, gold highlight.
   ============================================================ */

:root {
  --bg: #070b12;
  --bg-2: #0a0f18;
  --panel: #0e141f;
  --panel-2: #111a27;
  --line: #1b2636;
  --line-soft: #14202f;
  --text: #d6dde8;
  --muted: #6b7787;
  --muted-2: #8a96a6;
  --blue: #2d8cff;
  --blue-bright: #4ea3ff;
  --blue-deep: #0b3a73;
  --gold: #f0a82a;
  --online: #34d36b;
  --danger: #e0533d;
  --radius: 10px;
  --wrap: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.legion {
  margin: 0;
  font-family: "Exo 2", system-ui, sans-serif;
  background:
    radial-gradient(
      1200px 600px at 75% -5%,
      rgba(45, 140, 255, 0.1),
      transparent 60%
    ),
    radial-gradient(
      900px 500px at 0% 30%,
      rgba(11, 58, 115, 0.18),
      transparent 55%
    ),
    var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.legion a {
  color: inherit;
  text-decoration: none;
}
.lg-wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}
.lg-muted {
  color: var(--muted);
}
.lg-accent {
  color: var(--blue-bright);
}

/* ---------- Buttons ---------- */
.lg-btn {
  --b: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.18s ease;
  white-space: nowrap;
}
.lg-btn--primary {
  background: linear-gradient(180deg, var(--blue-bright), var(--blue));
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(45, 140, 255, 0.7);
}
.lg-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -8px rgba(45, 140, 255, 0.9);
}
.lg-btn--dark {
  background: #11161f;
  color: var(--text);
  border-color: #20293a;
}
.lg-btn--dark:hover {
  border-color: var(--blue);
}
.lg-btn--outline {
  background: rgba(45, 140, 255, 0.06);
  color: var(--blue-bright);
  border-color: rgba(45, 140, 255, 0.45);
}
.lg-btn--outline:hover {
  background: rgba(45, 140, 255, 0.14);
}
.lg-btn--ghost {
  background: transparent;
  color: var(--muted-2);
  border-color: transparent;
}
.lg-btn--ghost:hover {
  color: #fff;
}
.lg-btn--lg {
  padding: 16px 34px;
  font-size: 17px;
}
.lg-arr {
  transition: transform 0.18s ease;
}
.lg-btn:hover .lg-arr {
  transform: translateX(4px);
}
.lg-dc {
  color: var(--blue-bright);
}

/* ---------- Brand ---------- */
.lg-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.lg-brand__mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  border: 1.5px solid var(--blue);
  border-radius: 7px;
  background: linear-gradient(
    180deg,
    rgba(45, 140, 255, 0.18),
    rgba(45, 140, 255, 0.02)
  );
  box-shadow: inset 0 0 14px rgba(45, 140, 255, 0.25);
}
.lg-brand__logo {
  height: 60px;
  width: auto;
  display: block;
  object-fit: contain;
}
footer .lg-brand__logo{
  height: 90px;
}
.lg-brand__text {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.14em;
  line-height: 1.25;
  color: #c7d2e0;
}

/* ---------- Header ---------- */
.lg-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 11, 18, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.lg-header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 74px;
}
.lg-header__auth {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lg-nav {
  display: flex;
  gap: 30px;
  flex: 1;
  justify-content: center;
}
.lg-nav a {
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.03em;
  color: var(--muted-2);
  position: relative;
  padding: 6px 0;
  transition: color 0.15s ease;
}
.lg-nav a:hover {
  color: var(--text);
}
.lg-nav a.is-active {
  color: var(--blue-bright);
}
.lg-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--blue);
}

/* nav dropdown */
.lg-dropdown {
  position: relative;
}
.lg-dropdown__trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 0;
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.03em;
  color: var(--muted-2);
  transition: color 0.15s ease;
}
.lg-dropdown__trigger:hover,
.lg-dropdown__trigger.is-active {
  color: var(--blue-bright);
}
.lg-dropdown__caret {
  width: 15px;
  height: 15px;
  transition: transform 0.18s ease;
}
.lg-dropdown.is-open .lg-dropdown__caret {
  transform: rotate(180deg);
}
.lg-dropdown__menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 180px;
  padding: 8px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transition: 0.16s ease;
  z-index: 60;
}
.lg-dropdown__menu::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px; /* hover bridge */
}
.lg-dropdown:hover .lg-dropdown__menu,
.lg-dropdown.is-open .lg-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.lg-dropdown__menu a {
  padding: 9px 12px;
  border-radius: 7px;
  font-size: 14.5px;
  color: var(--muted-2);
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
  transition: 0.14s ease;
}
.lg-dropdown__menu a:hover {
  background: var(--panel-2);
  color: var(--text);
}
.lg-dropdown__menu a.is-active {
  color: var(--blue-bright);
}

/* ---------- Hero ---------- */
.lg-hero {
  display: block;
  position: relative;
  /* full-bleed: break out of .lg-wrap padding to span the whole viewport */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-bottom: 40px;
  padding: 110px 0 120px;
  overflow: hidden;
  background:
    linear-gradient(
      90deg,
      rgba(7, 11, 18, 0.92) 0%,
      rgba(7, 11, 18, 0.6) 50%,
      rgba(7, 11, 18, 0.3) 100%
    ),
    url("../img/site/hero-banner.png") center/cover no-repeat;
}
.lg-hero__copy {
  position: relative;
  z-index: 1;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}
.lg-hero__copy > * {
  max-width: 620px;
}
.lg-hero__title {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.04;
  letter-spacing: 0.005em;
  margin: 0 0 22px;
  text-transform: none;
}
.lg-hero__title .lg-accent {
  display: inline-block;
}
.lg-hero__sub {
  color: var(--muted-2);
  font-size: 16px;
  margin: 0 0 30px;
}
.lg-hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.lg-hero__art {
  position: relative;
  min-height: 440px;
}
.lg-hero__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    60% 60% at 60% 45%,
    rgba(45, 140, 255, 0.28),
    transparent 70%
  );
  filter: blur(10px);
}
.lg-hero__soldier {
  position: absolute;
  inset: 0;
  background: url("../img/hero/soldier.png") center/contain no-repeat;
  /* graceful fallback shape if the image is missing */
  background-color: transparent;
}
.lg-hero__art::after {
  content: "";
  position: absolute;
  inset: 8% 4%;
  background:
    linear-gradient(
      115deg,
      transparent 60%,
      rgba(45, 140, 255, 0.1) 61% 62%,
      transparent 63%
    ),
    radial-gradient(
      closest-side at 62% 48%,
      rgba(20, 40, 70, 0.55),
      transparent
    );
  border-radius: 18px;
  z-index: -1;
}
.lg-hero__tag {
  position: absolute;
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.22em;
  color: #9fc6ff;
  padding-left: 26px;
}
.lg-hero__tag::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 18px;
  height: 1px;
  background: var(--blue);
  box-shadow: 0 0 6px var(--blue);
}
.lg-hero__tag--1 {
  left: 4%;
  top: 34%;
}
.lg-hero__tag--2 {
  right: 6%;
  top: 44%;
}

/* ---------- Section heads ---------- */
.lg-section {
  padding: 18px 0 30px;
}
.lg-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.lg-h2 {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 24px;
  letter-spacing: 0.01em;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.lg-tick {
  width: 10px;
  height: 22px;
  background: var(--blue);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(45, 140, 255, 0.6);
}
.lg-link {
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--blue-bright);
  letter-spacing: 0.02em;
}
.lg-link:hover {
  color: #fff;
}
.lg-link--sm {
  font-size: 18px;
}
.lg-tg-link {
  color: var(--blue-bright) !important;
}
.lg-tg-link:hover {
  color: #fff;
}

/* ---------- Servers ---------- */
.lg-servers {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lg-srv {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(180px, 1.2fr) 1fr 1fr 1fr 88px 34px;
  align-items: center;
  gap: 18px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: 0.18s ease;
}
.lg-srv:hover {
  border-color: #25405f;
  transform: translateY(-1px);
  box-shadow: 0 10px 30px -16px rgba(0, 0, 0, 0.8);
}
.lg-srv--gold {
  border-left-color: var(--gold);
}
.lg-srv__no {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--blue);
  opacity: 0.85;
}
.lg-srv--gold .lg-srv__no {
  color: var(--gold);
}
.lg-srv__name h3 {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 20px;
  margin: 0 0 3px;
  letter-spacing: 0.02em;
}
.lg-srv--gold .lg-srv__name h3 {
  color: var(--gold);
}
.lg-srv__ip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 8px;
  margin-left: -8px;
  font-size: 13px;
  color: var(--muted);
  font-family: "Rajdhani", sans-serif;
  background: none;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition:
    color 0.15s,
    border-color 0.15s,
    background 0.15s;
}
.lg-srv__ip:hover {
  color: #cfe0f4;
  border-color: #243349;
  background: #131c28;
}
.lg-srv__ip-ico {
  width: 14px;
  height: 14px;
  opacity: 0.7;
  flex-shrink: 0;
}
.lg-srv__ip.is-copied {
  color: var(--online);
  border-color: var(--online);
}
.lg-srv__ip.is-copied .lg-srv__ip-text::after {
  content: " — скопійовано";
  font-weight: 600;
}
.lg-srv__ip.is-copied .lg-srv__ip-ico {
  opacity: 0;
}
.lg-srv__cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.lg-srv__cap {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.lg-srv__val {
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #e6ecf4;
}
.lg-online {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--online);
}
.lg-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--online);
  box-shadow: 0 0 8px var(--online);
}
.lg-dot--off {
  background: #a83333;
  box-shadow: none;
}
.lg-srv__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.lg-gauge {
  --deg: 0deg;
  --ring: var(--blue);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  justify-self: center;
  background: conic-gradient(var(--ring) var(--deg), #17222f 0);
  position: relative;
}
.lg-gauge::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: var(--panel);
}
.lg-gauge span {
  position: relative;
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
}
.lg-btn--cell {
  background: #131c28;
  border: 1px solid #243349;
  color: var(--text);
  font-size: 14px;
  padding: 10px 14px;
  justify-content: center;
}
.lg-btn--cell:hover {
  border-color: var(--blue);
  color: #fff;
}
.lg-srv--gold .lg-btn--cell:hover {
  border-color: var(--gold);
}

/* ---------- Trio panels ---------- */
.lg-trio {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  gap: 16px;
  padding: 20px 0 34px;
}

/* Servers + Top donors, two columns */
.lg-homecols {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 22px;
  align-items: start;
  padding: 8px 0 34px;
}
.lg-homecols__main {
  min-width: 0;
}
.lg-homecols__aside {
  position: sticky;
  top: 90px;
}
.lg-homecols__aside .lg-section__head {
  margin-bottom: 14px;
}
.lg-donors--panel {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  gap: 4px;
}
.lg-donors--panel li {
  padding: 9px 0;
  border-bottom: 1px solid var(--line-soft);
}
.lg-donors--panel li:last-child {
  border-bottom: none;
}
/* Server cards inside the narrower column: drop the % gauge column. */
.lg-homecols .lg-srv {
  grid-template-columns: 48px minmax(140px, 1.3fr) 1fr 1fr 1fr;
  gap: 14px;
}
.lg-homecols .lg-srv .lg-gauge {
  display: none;
}
@media (max-width: 900px) {
  .lg-homecols {
    grid-template-columns: 1fr;
  }
  .lg-homecols__aside {
    position: static;
  }
}
.lg-panel {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
}
.lg-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.lg-panel__head h3 {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 18px;
  margin: 0;
}
.lg-panel__foot {
  margin-top: auto;
  padding-top: 14px;
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--blue-bright);
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.lg-panel__foot:hover {
  color: #fff;
}

.lg-donors {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  padding: 0 20px;
}
.lg-donors li {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
.lg-donors__rank {
  color: var(--muted);
  font-family: "Rajdhani", sans-serif;
}
.lg-donors__name {
  font-weight: 600;
}
.lg-crown {
  color: var(--gold);
}
.lg-donors__sum {
  color: var(--muted-2);
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
}
.lg-donors__empty {
  display: block !important;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  padding: 8px 0;
}

.lg-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  flex: 1;
}
.lg-stat {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 8px 4px;
}
.lg-stat__ico {
  display: grid;
  place-items: center;
  height: 26px;
  color: var(--blue-bright);
}
.lg-stat__ico svg {
  width: 26px;
  height: 26px;
  display: block;
}
.lg-stat__num {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 30px;
  color: #fff;
  line-height: 1;
  white-space: nowrap;
}
.lg-stat__num--wide {
  font-size: 27px;
}
.lg-stat__cap {
  font-size: 12px;
  color: var(--muted);
}

.lg-panel--online {
  position: relative;
  overflow: hidden;
}
.lg-online-num {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 56px;
  color: var(--blue-bright);
  line-height: 1;
}
.lg-online-cap {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}
.lg-spark {
  width: 100%;
  height: 64px;
  display: block;
  margin-top: auto;
}
.lg-spark--sm {
  height: 42px;
}

/* ---------- News ---------- */
.lg-news {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
}
.lg-news__feat {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  background: var(--panel);
}
.lg-news__feat-img {
  flex: 1;
  min-height: 190px;
  background:
    var(--cover) center/cover no-repeat,
    linear-gradient(135deg, #14202f, #0c1420);
}
.lg-news__feat-body {
  padding: 22px 24px 24px;
}
.lg-news__feat-body h3 {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 22px;
  margin: 10px 0 8px;
}
.lg-news__feat-body p {
  color: var(--muted-2);
  font-size: 14px;
  margin: 0 0 12px;
}
.lg-news__feat:hover h3 {
  color: var(--blue-bright);
}
.lg-tagchip {
  display: inline-block;
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: #bcd9ff;
  background: rgba(45, 140, 255, 0.16);
  border: 1px solid rgba(45, 140, 255, 0.4);
  padding: 4px 10px;
  border-radius: 4px;
}
.lg-news__date {
  font-size: 12px;
  color: var(--muted);
  font-family: "Rajdhani", sans-serif;
}

.lg-news__side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lg-news__row {
  display: grid;
  grid-template-columns: 96px 1fr 24px;
  align-items: center;
  gap: 14px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  flex: 1;
  transition: 0.16s ease;
}
.lg-news__row:hover {
  border-color: #25405f;
}
.lg-news__thumb {
  display: block;
  width: 96px;
  height: 64px;
  border-radius: 6px;
  background: #14202f center/cover no-repeat;
}
.lg-news__row-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.lg-news__row-title {
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.25;
}
.lg-news__row:hover .lg-news__row-title {
  color: var(--blue-bright);
}
.lg-news__go {
  color: var(--muted);
  text-align: right;
  transition: 0.16s;
}
.lg-news__row:hover .lg-news__go {
  color: var(--blue-bright);
  transform: translateX(3px);
}

/* ---------- Last donors ---------- */
.lg-lastdon {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.lg-lastdon__card {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.lg-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  border: 1px solid rgba(45, 140, 255, 0.5);
}
.lg-lastdon__info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.lg-lastdon__name {
  font-weight: 700;
  font-size: 14px;
}
.lg-lastdon__item {
  font-size: 12px;
  color: var(--muted);
}
.lg-lastdon__sum {
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  color: var(--blue-bright);
}
.lg-lastdon__ago {
  font-size: 11px;
  color: var(--muted);
}

/* ---------- CTA banner ---------- */
.lg-cta {
  position: relative;
  overflow: hidden;
  margin: 22px 0 48px;
  border: 1px solid rgba(45, 140, 255, 0.3);
  border-radius: 14px;
  background:
    radial-gradient(
      120% 140% at 50% 0%,
      rgba(45, 140, 255, 0.16),
      transparent 60%
    ),
    linear-gradient(180deg, #0c1726, #0a1018);
  background-image: url("../img/site/start-banner.png");
  background-size: cover;
  background-position: 50% 40%;
  padding: 44px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.lg-cta h2 {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 3vw, 40px);
  margin: 0;
  line-height: 1.08;
}
.lg-cta__lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: repeating-linear-gradient(
    90deg,
    transparent 0 38px,
    rgba(45, 140, 255, 0.06) 38px 39px
  );
  mask-image: linear-gradient(90deg, transparent, #000 60%, transparent);
}

/* ---------- Footer ---------- */
.lg-footer {
  border-top: 1px solid var(--line-soft);
  background: var(--bg-2);
  margin-top: 10px;
}
.lg-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr;
  gap: 28px;
  padding: 48px 24px 36px;
}
.lg-footer__brand .lg-muted {
  margin: 16px 0;
  font-size: 13px;
}
.lg-social {
  display: flex;
  gap: 10px;
}
.lg-social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #11161f;
  border: 1px solid #20293a;
  color: var(--muted-2);
  transition: 0.15s;
}
.lg-social a:hover {
  color: #fff;
  border-color: var(--blue);
}
.lg-footer__col h4,
.lg-footer__online h4 {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 15px;
  margin: 0 0 14px;
  color: #fff;
}
.lg-footer__col {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.lg-footer__col a {
  color: var(--muted-2);
  font-size: 14px;
}
.lg-footer__col a:hover {
  color: var(--blue-bright);
}
.lg-footer__num {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 40px;
  color: var(--blue-bright);
  line-height: 1;
}
.lg-footer__bar {
  border-top: 1px solid var(--line-soft);
}
.lg-footer__bar-inner {
  display: flex;
  justify-content: space-between;
  padding: 16px 24px;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 8px;
}
.lg-footer__legal a {
  color: var(--muted);
  margin-left: 18px;
}
.lg-footer__legal a:hover {
  color: var(--text);
}

/* ---------- Page-load reveal ---------- */
.lg-hero,
.lg-section,
.lg-trio,
.lg-cta {
  animation: lg-rise 0.6s ease both;
}
.lg-section {
  animation-delay: 0.05s;
}
.lg-trio {
  animation-delay: 0.1s;
}
@keyframes lg-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lg-hero,
  .lg-section,
  .lg-trio,
  .lg-cta {
    animation: none;
  }
}

/* ---------- Flash ---------- */
.lg-flash {
  margin: 22px 0;
  padding: 13px 18px;
  border-radius: 8px;
  font-size: 14px;
  border: 1px solid var(--line);
  background: var(--panel);
}
.lg-flash--success {
  border-color: rgba(52, 211, 107, 0.5);
  background: rgba(52, 211, 107, 0.08);
}
.lg-flash--error {
  border-color: rgba(224, 83, 61, 0.5);
  background: rgba(224, 83, 61, 0.08);
}

/* ---------- Auth pages ---------- */
.lg-auth {
  display: flex;
  justify-content: center;
  padding: 60px 0 80px;
}
.lg-auth__card {
  width: 100%;
  max-width: 420px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 36px 34px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}
.lg-auth__title {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 30px;
  margin: 0 0 6px;
}
.lg-auth__sub {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 26px;
}
.lg-auth__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.lg-auth__form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13px;
  color: var(--muted-2);
}
.lg-auth__form input {
  background: #0a0f17;
  border: 1px solid #1f2a3a;
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.15s ease;
}
.lg-auth__form input:focus {
  outline: none;
  border-color: var(--blue);
}
.lg-auth__submit {
  justify-content: center;
  margin-top: 6px;
}
.lg-auth__alt {
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  margin: 22px 0 0;
}
.lg-auth__alt a {
  color: var(--blue-bright);
}

/* ---------- Auth: wide card + rows ---------- */
.lg-auth__card--wide {
  max-width: 560px;
}
.lg-auth__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.lg-auth__hint {
  font-size: 12px;
  color: var(--muted);
}
.lg-auth__form input[type="file"] {
  background: #0a0f17;
  border: 1px dashed #243349;
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--muted-2);
  font-size: 13px;
}

/* ---------- Cabinet ---------- */
.lg-cab {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 18px;
  padding: 36px 0 60px;
  align-items: start;
}
.lg-cab__profile {
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  height: max-content;
}
.lg-cab__avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: #0a0f17 center/cover no-repeat;
  border: 2px solid var(--blue);
  box-shadow: 0 0 22px rgba(45, 140, 255, 0.35);
}
.lg-cab__name {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 22px;
  margin: 4px 0 0;
}
.lg-badge {
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  background: #17222f;
  color: var(--muted-2);
  border: 1px solid var(--line);
}
.lg-badge--owner {
  background: rgba(240, 168, 42, 0.16);
  color: var(--gold);
  border-color: rgba(240, 168, 42, 0.4);
}
.lg-badge--admin {
  background: rgba(45, 140, 255, 0.16);
  color: var(--blue-bright);
  border-color: rgba(45, 140, 255, 0.4);
}
.lg-badge--moderator {
  background: rgba(52, 211, 107, 0.14);
  color: var(--online);
  border-color: rgba(52, 211, 107, 0.35);
}
.lg-cab__balance {
  width: 100%;
  margin: 8px 0;
  padding: 14px;
  text-align: center;
  background: #0b121d;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.lg-cab__balance-cap {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
.lg-cab__balance-val {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--gold);
}
/* top-up */
.lg-cab__topup-toggle {
  width: 100%;
  justify-content: center;
}
.lg-cab__topup-toggle.is-open {
  background: #131c28;
  color: var(--text);
  border-color: #243349;
  box-shadow: none;
}
.lg-cab__topup[hidden] {
  display: none;
}
.lg-cab__topup {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0b121d;
}
.lg-cab__topup-presets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.lg-cab__preset {
  background: #131c28;
  border: 1px solid #243349;
  border-radius: 7px;
  color: var(--text);
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 9px 0;
  cursor: pointer;
  transition: 0.15s ease;
}
.lg-cab__preset:hover {
  border-color: var(--blue);
  color: #fff;
}
.lg-cab__topup-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--muted-2);
}
.lg-cab__topup-field input {
  background: #0a0f17;
  border: 1px solid #1f2a3a;
  border-radius: 8px;
  padding: 11px 13px;
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
}
.lg-cab__topup-field input:focus {
  outline: none;
  border-color: var(--blue);
}
.lg-cab__topup .lg-btn {
  justify-content: center;
}

/* payment method tabs (card / crypto) */
.lg-pay__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 4px;
  background: #0a0f17;
  border: 1px solid #1f2a3a;
  border-radius: 9px;
}
.lg-pay__tab {
  background: none;
  border: none;
  border-radius: 6px;
  color: var(--muted-2);
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 0;
  cursor: pointer;
  transition: 0.15s ease;
}
.lg-pay__tab.is-active {
  background: var(--blue);
  color: #fff;
}
.lg-pay__pane[hidden] {
  display: none;
}
.lg-pay__soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 22px 14px;
  color: var(--muted-2);
}
.lg-pay__soon svg {
  width: 30px;
  height: 30px;
  color: var(--muted);
}
.lg-pay__soon b {
  color: var(--text);
  font-size: 15px;
}
.lg-pay__soon span {
  font-size: 13px;
  line-height: 1.5;
}
.lg-pay__lead {
  font-size: 13px;
  color: var(--muted-2);
  margin: 0 0 12px;
  line-height: 1.5;
}
.lg-pay__addr {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.lg-pay__addr-cap {
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.lg-pay__addr-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #0a0f17;
  border: 1px solid #1f2a3a;
  border-radius: 8px;
  padding: 11px 13px;
  color: var(--text);
  font-family: "Rajdhani", sans-serif;
  font-size: 14px;
  cursor: pointer;
  transition: 0.15s ease;
  text-align: left;
}
.lg-pay__addr-copy:hover {
  border-color: var(--blue);
}
.lg-pay__addr-text {
  word-break: break-all;
}
.lg-pay__addr-copy svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.7;
}
.lg-pay__addr-copy.is-copied {
  border-color: var(--online);
  color: var(--online);
}
.lg-pay__addr-copy.is-copied .lg-pay__addr-text::after {
  content: " — скопійовано";
  font-weight: 600;
}
.lg-pay__steps {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: var(--muted-2);
  line-height: 1.5;
}
.lg-pay__paid {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.lg-pay__note {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}
.lg-pay__conv {
  margin: -6px 0 4px;
  font-size: 12px;
  color: var(--blue-bright);
}

/* current donation */
.lg-cab__donate {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0b121d;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lg-cab__donate-cap {
  font-size: 12px;
  color: var(--muted);
}
.lg-cab__donate-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lg-cab__donate-auth {
  font-size: 12px;
  color: var(--muted);
}
.lg-cab__donate-auth b {
  color: var(--muted-2);
}
.lg-cab__donate-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.lg-cab__donate-until {
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: var(--muted-2);
}

/* friends */
.lg-cab__friends {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0b121d;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lg-cab__friends-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.lg-cab__friends-cap {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.lg-cab__friends-count {
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-size: 13px;
  background: rgba(45, 140, 255, 0.16);
  color: var(--blue-bright);
  border-radius: 20px;
  padding: 1px 9px;
}
.lg-cab__reqs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line-soft);
}
.lg-cab__reqs-cap {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.06em;
}
.lg-cab__friends-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.lg-cab__friends-empty {
  font-size: 13px;
  margin: 2px 0;
}

.lg-friend {
  display: flex;
  align-items: center;
  gap: 9px;
}
.lg-friend__av {
  position: relative;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #0a0f17 center/cover no-repeat;
  border: 1px solid var(--line);
}
.lg-friend__dot {
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--muted);
  border: 2px solid #0b121d;
}
.lg-friend__dot.is-online {
  background: var(--online);
  box-shadow: 0 0 6px var(--online);
}
.lg-friend__name {
  flex: 1;
  font-size: 13.5px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lg-friend__acts {
  display: flex;
  gap: 4px;
}
.lg-friend form {
  display: inline-flex;
}
.lg-friend__btn {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  display: grid;
  place-items: center;
  background: #131c28;
  border: 1px solid #243349;
  color: var(--muted-2);
  transition: 0.15s ease;
}
.lg-friend__btn--ok:hover {
  background: rgba(52, 211, 107, 0.18);
  border-color: var(--online);
  color: var(--online);
}
.lg-friend__btn--no:hover {
  background: rgba(224, 83, 61, 0.18);
  border-color: var(--danger);
  color: #ff7a66;
}

.lg-cab__friend-add {
  display: flex;
  gap: 6px;
}
.lg-cab__friend-add input {
  flex: 1;
  min-width: 0;
  background: #0a0f17;
  border: 1px solid #1f2a3a;
  border-radius: 8px;
  padding: 9px 11px;
  color: var(--text);
  font-family: inherit;
  font-size: 13px;
}
.lg-cab__friend-add input:focus {
  outline: none;
  border-color: var(--blue);
}
.lg-cab__friend-add .lg-btn {
  flex: 0 0 auto;
  padding: 0 14px;
  font-size: 18px;
}

/* purchase history */
.lg-history {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.lg-history li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 2px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
}
.lg-history li:last-child {
  border-bottom: none;
}
.lg-history__name {
  font-weight: 600;
}
.lg-history__meta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lg-history__disc {
  color: var(--gold);
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-size: 12px;
}
.lg-history__price {
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  color: var(--blue-bright);
}
.lg-history__date {
  color: var(--muted);
  font-size: 12.5px;
}

.lg-cab__meta {
  list-style: none;
  margin: 6px 0;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lg-cab__meta li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 6px;
}
.lg-cab__meta span {
  color: var(--muted);
}
.lg-cab__meta b {
  color: var(--text);
  font-weight: 600;
  text-align: right;
}
.lg-cab__admin,
.lg-cab__logout {
  width: 100%;
  justify-content: center;
}
.lg-cab__logout {
  background: rgba(224, 83, 61, 0.12);
  color: #ff7a66;
  border: 1px solid rgba(224, 83, 61, 0.45);
}
.lg-cab__logout:hover {
  background: rgba(224, 83, 61, 0.22);
  color: #fff;
  border-color: var(--danger);
}

/* tabs */
.lg-cab__tabs {
  padding: 0;
  overflow: hidden;
}
.lg-tabs__nav {
  display: flex;
  border-bottom: 1px solid var(--line);
}
.lg-tabs__btn {
  flex: 1;
  background: none;
  border: none;
  cursor: pointer;
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--muted-2);
  padding: 16px 10px;
  position: relative;
  transition: color 0.15s ease;
}
.lg-tabs__btn:hover {
  color: var(--text);
}
.lg-tabs__btn.is-active {
  color: var(--blue-bright);
}
.lg-tabs__btn.is-active::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: -1px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--blue);
}
.lg-tabs__pane {
  display: none;
  padding: 24px 26px;
}
.lg-tabs__pane.is-active {
  display: block;
  animation: lg-fade 0.25s ease both;
}
@keyframes lg-fade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.lg-tabs__pane .lg-auth__form {
  gap: 16px;
  align-items: flex-start;
}
.lg-tabs__pane .lg-auth__form .lg-btn {
  align-self: flex-start;
  width: auto;
}
.lg-tabs__pane .lg-auth__form > .lg-auth__row,
.lg-tabs__pane .lg-auth__form > label {
  width: 100%;
}

/* info tab: cards */
.lg-cab__info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.lg-cab__card {
  background: #0b121d;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lg-cab__card .lg-cab__balance,
.lg-cab__card .lg-cab__donate {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
}
.lg-cab__history {
  margin-top: 14px;
}

/* daily rewards */
.lg-rewards {
  gap: 14px;
  margin-bottom: 14px;
}
.lg-rewards__head {
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  color: var(--blue-bright);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.lg-rewards__streak {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.lg-rewards__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lg-reward {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #0a0f17;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 16px;
  transition: 0.15s ease;
}
.lg-reward.is-reached {
  border-color: rgba(240, 168, 42, 0.4);
  background: rgba(240, 168, 42, 0.05);
}
.lg-reward__days {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #f7c873, #e8932e);
  color: #3a2400;
  box-shadow: 0 6px 16px -6px rgba(240, 168, 42, 0.6);
}
.lg-reward__days b {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 1;
}
.lg-reward__days small {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-top: 2px;
}
.lg-reward__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.lg-reward__title {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 19px;
  color: #e6ecf4;
}
.lg-reward__cap {
  font-size: 13px;
  color: var(--muted);
}
.lg-reward__check {
  color: var(--gold);
  font-size: 20px;
}

/* settings tab: blocks */
.lg-cab__setblock {
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line-soft);
}
.lg-cab__setblock:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.lg-btn--danger {
  background: linear-gradient(180deg, #e0533d, #b8331f);
  border: 1px solid #e0533d;
  color: #fff;
}
.lg-btn--danger:hover {
  background: linear-gradient(180deg, #ef6650, #c93f2a);
}
.lg-btn--steam {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 12px;
  background: linear-gradient(180deg, #1b9be0, #1066a8);
  border: 1px solid #1b9be0;
  color: #fff;
}
.lg-btn--steam:hover {
  background: linear-gradient(180deg, #29a9ef, #1373bd);
}
.lg-btn--steam svg {
  width: 20px;
  height: 20px;
}
.lg-cab__manual {
  margin-top: 14px;
}
.lg-cab__manual summary {
  cursor: pointer;
  color: var(--muted-2);
  font-size: 13px;
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
  user-select: none;
}
.lg-cab__manual summary:hover {
  color: var(--blue-bright);
}
.lg-cab__manual[open] summary {
  margin-bottom: 12px;
}
.lg-cab__seth3 {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 18px;
  margin: 0 0 16px;
}

@media (max-width: 860px) {
  .lg-cab {
    grid-template-columns: 1fr;
  }
  .lg-cab__info-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Shop page ---------- */
.lg-crumb {
  font-size: 13px;
  color: var(--muted);
  padding: 20px 0 0;
}
.lg-crumb a {
  color: var(--muted-2);
}
.lg-crumb a:hover {
  color: var(--blue-bright);
}
.lg-crumb span {
  color: var(--text);
}

.lg-shop-hero {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  margin: 14px 0 22px;
  padding: 46px 44px;
  min-height: 230px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(
      90deg,
      rgba(7, 11, 18, 0.94) 0%,
      rgba(7, 11, 18, 0.8) 35%,
      rgba(7, 11, 18, 0.4) 65%,
      rgba(7, 11, 18, 0.15) 100%
    ),
    url("../img/site/shop-banner.png") center/cover no-repeat,
    linear-gradient(120deg, #0c1726, #0a1018);
  border: 1px solid var(--line);
}
.lg-shop-hero__copy {
  position: relative;
  z-index: 2;
  max-width: 480px;
}
.lg-shop-hero__copy h1 {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: clamp(38px, 6vw, 64px);
  margin: 0;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6);
}
.lg-shop-hero__sub {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--blue-bright);
  margin: 2px 0 14px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
}
.lg-shop-hero__sub + p {
  font-size: 14px;
  max-width: 360px;
  color: #cdd6e2;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}
.lg-shop-hero__glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(
    55% 80% at 82% 50%,
    rgba(45, 140, 255, 0.16),
    transparent 60%
  );
}

/* toolbar */
.lg-shop-search {
  flex: 1;
  min-width: 240px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 14px;
}
.lg-shop-search svg {
  width: 18px;
  height: 18px;
  color: var(--muted);
  flex: 0 0 auto;
}
.lg-shop-search input {
  flex: 1;
  background: none;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  padding: 13px 0;
}
.lg-shop-search input:focus {
  outline: none;
}
.lg-shop-sort {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
}
.lg-shop-sort select {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
}

/* layout */
.lg-shop {
  display: grid;
  grid-template-columns: 248px 1fr;
  gap: 22px;
  align-items: start;
}
.lg-shop-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 90px;
}
.lg-shop-side h4 {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}
.lg-shop-cats,
.lg-shop-pay,
.lg-shop-cases {
  padding: 18px;
}
.lg-shop-cats nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.lg-shop-cats nav a,
.lg-shop-cats nav button {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--muted-2);
  font-size: 14.5px;
  transition: 0.15s ease;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.lg-shop-cats nav a:hover,
.lg-shop-cats nav button:hover {
  background: var(--panel-2);
  color: var(--text);
}
.lg-shop-cats nav a.is-active,
.lg-shop-cats nav button.is-active {
  background: rgba(45, 140, 255, 0.12);
  color: var(--blue-bright);
}
.lg-shop-cats__ico {
  display: grid;
  place-items: center;
}
.lg-shop-cats__ico svg {
  width: 18px;
  height: 18px;
}
.lg-shop-pay ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lg-shop-pay li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 14px;
  color: var(--muted-2);
}
.lg-shop-pay__tag {
  flex: 0 0 38px;
  width: 38px;
  height: 26px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-size: 9px;
  background: #131c28;
  border: 1px solid #243349;
  color: var(--muted-2);
}
.lg-shop-cases {
  display: block;
  background: linear-gradient(150deg, rgba(45, 140, 255, 0.12), var(--panel));
}
.lg-shop-cases h4 {
  color: var(--text);
  letter-spacing: 0.02em;
  text-transform: none;
  font-size: 16px;
  margin-bottom: 6px;
}
.lg-shop-cases p {
  font-size: 13px;
  margin: 0 0 12px;
}
.lg-shop-cases:hover .lg-link {
  color: #fff;
}

/* content */
.lg-shop-main {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.lg-shop-sec {
  margin-bottom: 14px;
  display: none;
}
.lg-shop-sec.is-active {
  display: block;
  animation: lg-fade 0.25s ease both;
}
.lg-shop-empty {
  padding: 60px 24px;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px dashed var(--line);
  border-radius: 12px;
  margin-bottom: 14px;
}

/* privilege cards */
.lg-priv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.lg-priv {
  --pa: var(--gold);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: 0.18s ease;
}
.lg-priv::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  pointer-events: none;
  background: radial-gradient(
    120% 60% at 50% 0%,
    color-mix(in srgb, var(--pa) 14%, transparent),
    transparent 70%
  );
}
.lg-priv:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--pa) 45%, var(--line));
}
.lg-priv--gold {
  --pa: var(--gold);
}
.lg-priv--violet {
  --pa: #a172ff;
}
.lg-priv--red {
  --pa: #e0533d;
}
.lg-priv__icon {
  color: var(--pa);
  margin-bottom: 8px;
}
.lg-priv__icon svg {
  width: 46px;
  height: 46px;
  filter: drop-shadow(
    0 4px 12px color-mix(in srgb, var(--pa) 50%, transparent)
  );
}
.lg-priv__name {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 30px;
  letter-spacing: 0.02em;
  color: var(--pa);
  margin: 0;
}
.lg-priv__days {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
}
.lg-priv__perks {
  list-style: none;
  margin: 0 0 22px;
  padding: 16px 0 0;
  width: 100%;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 0;
  text-align: left;
}
.lg-priv__perks li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 14px;
  color: var(--text);
  padding: 11px 2px;
  border-bottom: 1px solid var(--line-soft);
}
.lg-priv__perks li[hidden]{
  display: none;
}
.lg-priv__perks li:last-child {
  border-bottom: none;
}
.lg-priv__check {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: var(--pa);
  background: color-mix(in srgb, var(--pa) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--pa) 35%, transparent);
}
.lg-priv__check svg {
  width: 13px;
  height: 13px;
}
.lg-priv__more {
  align-self: flex-start;
  background: none;
  border: none;
  cursor: pointer;
  margin: 4px 0 2px;
  padding: 4px 0;
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: var(--pa);
  transition: opacity 0.15s ease;
}
.lg-priv__more:hover {
  opacity: 0.75;
}
.lg-priv__more-count {
  color: var(--muted);
}
.lg-priv__foot {
  margin-top: auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.lg-priv__price {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: #fff;
}

.lg-shop-cart {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 9px;
  cursor: pointer;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, var(--blue-bright), var(--blue));
  color: #fff;
  border: none;
  box-shadow: 0 6px 16px -6px rgba(45, 140, 255, 0.7);
  transition: 0.15s ease;
}
.lg-shop-cart svg {
  width: 20px;
  height: 20px;
}
.lg-shop-cart:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -6px rgba(45, 140, 255, 0.9);
}

/* case cards */
.lg-case-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.lg-case {
  --ct: var(--blue-bright);
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: 0.18s ease;
}
.lg-case::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    120% 55% at 50% 0%,
    color-mix(in srgb, var(--ct) 16%, transparent),
    transparent 70%
  );
}
.lg-case:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--ct) 45%, var(--line));
}
.lg-case--blue {
  --ct: var(--blue-bright);
}
.lg-case--green {
  --ct: var(--online);
}
.lg-case--violet {
  --ct: #a172ff;
}
.lg-case--gold {
  --ct: var(--gold);
}
.lg-case__tag {
  position: relative;
  align-self: center;
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ct);
  background: color-mix(in srgb, var(--ct) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--ct) 35%, transparent);
  border-radius: 20px;
  padding: 3px 12px;
}
.lg-case__art {
  position: relative;
  width: 96px;
  height: 96px;
  margin: 16px 0 12px;
  display: grid;
  place-items: center;
  color: var(--ct);
  border-radius: 16px;
  background: color-mix(in srgb, var(--ct) 8%, #0c1420);
}
.lg-case__art svg {
  width: 54px;
  height: 54px;
  filter: drop-shadow(
    0 6px 16px color-mix(in srgb, var(--ct) 45%, transparent)
  );
}
.lg-case__name {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 19px;
  margin: 0 0 4px;
}
.lg-case__drop {
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 16px;
}
.lg-case__foot {
  margin-top: auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.lg-case__price {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #fff;
}
.lg-case__btn {
  padding: 9px 16px;
  font-size: 14px;
}

/* product cards */
.lg-prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.lg-prod {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: 0.18s ease;
}
.lg-prod:hover {
  transform: translateY(-3px);
  border-color: #25405f;
}
.lg-prod__img {
  height: 150px;
  display: grid;
  place-items: center;
  color: var(--blue-bright);
  background:
    radial-gradient(
      closest-side at 50% 40%,
      rgba(45, 140, 255, 0.12),
      transparent
    ),
    #0c1420;
  border-bottom: 1px solid var(--line-soft);
}
.lg-prod__img svg {
  width: 64px;
  height: 64px;
  opacity: 0.85;
}
.lg-prod__body {
  padding: 14px 16px 4px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.lg-prod__name {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.25;
}
.lg-prod__cat {
  font-size: 12.5px;
  color: var(--muted);
}
.lg-prod__foot {
  margin-top: auto;
  padding: 12px 16px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.lg-prod__price {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: #fff;
}
.lg-prod__foot .lg-shop-cart {
  width: 38px;
  height: 38px;
}
.lg-prod__foot .lg-shop-cart svg {
  width: 17px;
  height: 17px;
}

/* price with sale */
.lg-price-old {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 0.78em;
  margin-right: 6px;
  font-weight: 500;
}
.lg-price-now {
  color: #fff;
}

/* buy modal */
.lg-buy {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
}
.lg-buy[hidden] {
  display: none;
}
.lg-buy__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 7, 12, 0.72);
  backdrop-filter: blur(3px);
}
.lg-buy__card {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 24px;
  box-shadow: 0 30px 70px -25px rgba(0, 0, 0, 0.85);
}
.lg-buy__card h3 {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 21px;
  margin: 0 0 12px;
}
.lg-buy__item {
  font-size: 15px;
  margin: 0 0 16px;
}
.lg-buy__item b {
  color: var(--blue-bright);
}
.lg-buy__discount {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted-2);
  background: #0a0f17;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 13px;
  margin-bottom: 16px;
  cursor: pointer;
}
.lg-buy__discount input {
  width: 17px;
  height: 17px;
  accent-color: var(--blue);
}
.lg-buy__discount b {
  color: var(--gold);
}
.lg-buy__actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

/* buy: auth method */
.lg-buy__auth {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  background: #0a0f17;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.lg-buy__auth[hidden] {
  display: none;
}
.lg-buy__auth-cap {
  font-size: 13px;
  color: var(--muted);
}
.lg-buy__auth-tabs {
  display: flex;
  gap: 16px;
}
.lg-buy__auth-tabs label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  cursor: pointer;
}
.lg-buy__auth-tabs input {
  accent-color: var(--blue);
}
.lg-buy__auth-pane[hidden] {
  display: none;
}
.lg-buy__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--muted-2);
  margin-bottom: 8px;
}
.lg-buy__field input {
  background: #11161f;
  border: 1px solid #1f2a3a;
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
}
.lg-buy__field input:focus {
  outline: none;
  border-color: var(--blue);
}
.lg-buy__hint {
  font-size: 12px;
  color: var(--muted);
}
.lg-buy__auth code {
  color: var(--blue-bright);
}

/* features strip */
.lg-shop-feats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 28px 0 44px;
  padding: 22px 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.lg-feat {
  display: flex;
  align-items: center;
  gap: 14px;
}
.lg-feat__ico {
  flex: 0 0 auto;
  color: var(--blue-bright);
}
.lg-feat__ico svg {
  width: 30px;
  height: 30px;
}
.lg-feat div {
  display: flex;
  flex-direction: column;
}
.lg-feat b {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 15px;
}
.lg-feat span {
  font-size: 12.5px;
  color: var(--muted);
}

@media (max-width: 980px) {
  .lg-shop {
    grid-template-columns: 1fr;
  }
  .lg-shop-side {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .lg-shop-side > * {
    flex: 1;
    min-width: 200px;
  }
  .lg-priv-grid {
    grid-template-columns: 1fr;
  }
  .lg-prod-grid,
  .lg-case-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .lg-shop-feats {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .lg-prod-grid,
  .lg-case-grid,
  .lg-shop-feats {
    grid-template-columns: 1fr;
  }
  .lg-shop-hero {
    padding: 30px 22px;
  }
}

/* ---------- Stats page ---------- */
.lg-stats-page {
  padding: 40px 0 60px;
}
.lg-statnote {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  padding: 16px 20px;
  border-radius: 12px;
  background:
    linear-gradient(
      100deg,
      rgba(240, 168, 42, 0.12),
      rgba(240, 168, 42, 0.03) 60%,
      transparent
    ),
    var(--panel);
  border: 1px solid rgba(240, 168, 42, 0.35);
}
.lg-statnote__ico {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: rgba(240, 168, 42, 0.14);
  border: 1px solid rgba(240, 168, 42, 0.4);
}
.lg-statnote__ico svg {
  width: 24px;
  height: 24px;
}
.lg-statnote__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.lg-statnote__text b {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #ffd98a;
}
.lg-statnote__text span {
  font-size: 13.5px;
  color: var(--muted-2);
}
.lg-statbl {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.lg-statbl__head,
.lg-statbl__row {
  display: grid;
  grid-template-columns: 64px minmax(180px, 1.4fr) 1fr 0.7fr 1fr;
  align-items: center;
  gap: 16px;
  padding: 14px 22px;
}
.lg-statbl__head {
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
}
.lg-statbl__row {
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.14s ease;
}
.lg-statbl__row:last-child {
  border-bottom: none;
}
.lg-statbl__row:hover {
  background: var(--panel-2);
}
.lg-statbl__rank {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--muted-2);
}
.lg-statbl__medal {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  font-size: 15px;
  color: #1a1100;
}
.lg-statbl__medal--1 {
  background: linear-gradient(160deg, #ffd76a, #e8932e);
}
.lg-statbl__medal--2 {
  background: linear-gradient(160deg, #d8e0ea, #9aa6b6);
}
.lg-statbl__medal--3 {
  background: linear-gradient(160deg, #e0a06a, #b06a36);
  color: #fff;
}
.lg-statbl__player {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lg-statbl__av {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex: 0 0 38px;
  background: #0a0f17 center/cover no-repeat;
  border: 1px solid var(--line);
}
.lg-statbl__name {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 16px;
}
.lg-statbl__hours {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
  color: var(--text);
}
.lg-statbl__hours svg {
  width: 17px;
  height: 17px;
  color: var(--blue-bright);
}
.lg-statbl__kdr {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 16px;
}
.lg-statbl__kdr.is-pos {
  color: var(--online);
}
.lg-statbl__kdr.is-neg {
  color: #ff7a66;
}

.lg-rankbadge {
  display: inline-block;
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: 20px;
  background: #17222f;
  color: var(--muted-2);
  border: 1px solid var(--line);
}
.lg-rankbadge--gold {
  background: rgba(240, 168, 42, 0.15);
  color: var(--gold);
  border-color: rgba(240, 168, 42, 0.4);
}
.lg-rankbadge--violet {
  background: rgba(161, 114, 255, 0.15);
  color: #b794ff;
  border-color: rgba(161, 114, 255, 0.4);
}
.lg-rankbadge--blue {
  background: rgba(45, 140, 255, 0.15);
  color: var(--blue-bright);
  border-color: rgba(45, 140, 255, 0.4);
}
.lg-rankbadge--green {
  background: rgba(52, 211, 107, 0.14);
  color: var(--online);
  border-color: rgba(52, 211, 107, 0.35);
}

/* my standing block */
.lg-mystat-title {
  margin: 30px 0 14px;
  font-size: 20px;
}
.lg-statbl--mine {
  border-color: rgba(45, 140, 255, 0.45);
  box-shadow:
    0 0 0 1px rgba(45, 140, 255, 0.12),
    0 14px 40px -22px rgba(45, 140, 255, 0.5);
}
.lg-statbl--mine .lg-statbl__row {
  background: rgba(45, 140, 255, 0.06);
}
.lg-statbl--mine .lg-statbl__row:hover {
  background: rgba(45, 140, 255, 0.1);
}
.lg-mystat-you {
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-bright);
  background: rgba(45, 140, 255, 0.16);
  border: 1px solid rgba(45, 140, 255, 0.4);
  border-radius: 12px;
  padding: 1px 8px;
  margin-left: 6px;
  vertical-align: middle;
}

.lg-pager {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}
.lg-pager a {
  min-width: 38px;
  text-align: center;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--muted-2);
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
}
.lg-pager a:hover {
  border-color: var(--blue);
  color: var(--text);
}
.lg-pager a.is-active {
  background: rgba(45, 140, 255, 0.14);
  color: var(--blue-bright);
  border-color: rgba(45, 140, 255, 0.4);
}

@media (max-width: 680px) {
  .lg-statbl__head,
  .lg-statbl__row {
    grid-template-columns: 44px 1.4fr auto;
  }
  .lg-statbl__head span:nth-child(3),
  .lg-statbl__head span:nth-child(4),
  .lg-statbl__hours,
  .lg-statbl__kdr {
    display: none;
  }
}

/* ---------- Forum ---------- */
.lg-forum {
  padding: 36px 0 60px;
}
.lg-forum__cats {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lg-fcat {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 18px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 22px;
  transition: 0.16s ease;
}
.lg-fcat:hover {
  border-color: #25405f;
  transform: translateY(-1px);
}
.lg-fcat__ico {
  width: 48px;
  height: 48px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: var(--blue-bright);
  background: rgba(45, 140, 255, 0.1);
}
.lg-fcat__ico svg {
  width: 24px;
  height: 24px;
}
.lg-fcat__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.lg-fcat__name {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 18px;
}
.lg-fcat__desc {
  font-size: 13.5px;
  color: var(--muted);
}
.lg-fcat__stats {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: right;
  font-size: 13px;
  color: var(--muted);
}
.lg-fcat__stats b {
  color: var(--text);
  font-family: "Rajdhani", sans-serif;
}

/* new topic */
.lg-newtopic {
  margin-bottom: 18px;
}
.lg-newtopic > summary {
  display: inline-flex;
  list-style: none;
}
.lg-newtopic > summary::-webkit-details-marker {
  display: none;
}
.lg-newtopic__form {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
}
.lg-newtopic__form input,
.lg-newtopic__form textarea,
.lg-reply textarea {
  background: #0a0f17;
  border: 1px solid #1f2a3a;
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  resize: vertical;
}
.lg-newtopic__form input:focus,
.lg-newtopic__form textarea:focus,
.lg-reply textarea:focus {
  outline: none;
  border-color: var(--blue);
}
.lg-newtopic__form .lg-btn {
  align-self: flex-start;
}

/* topics list */
.lg-topics {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.lg-topics__head,
.lg-topics__row {
  display: grid;
  grid-template-columns: 1fr 100px 100px 130px;
  align-items: center;
  gap: 14px;
  padding: 14px 22px;
}
.lg-topics__head {
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.lg-topics__row {
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.14s ease;
}
.lg-topics__row:last-child {
  border-bottom: none;
}
.lg-topics__row:hover {
  background: var(--panel-2);
}
.lg-topics__main {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.lg-topics__title {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 16px;
}
.lg-topics__row:hover .lg-topics__title {
  color: var(--blue-bright);
}
.lg-topics__author {
  font-size: 12.5px;
  color: var(--muted);
}
.lg-topics__num {
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
  color: var(--muted-2);
}
.lg-topics__last {
  font-size: 13px;
  color: var(--muted);
}
.lg-topics__empty {
  padding: 40px 22px;
  text-align: center;
  color: var(--muted);
}

/* posts */
.lg-posts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}
.lg-post {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 0;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.lg-post--op {
  border-color: rgba(45, 140, 255, 0.4);
}
.lg-post__side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 14px;
  background: var(--bg-2);
  border-right: 1px solid var(--line);
  text-align: center;
}
.lg-post__av {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #0a0f17 center/cover no-repeat;
  border: 1px solid var(--line);
}
.lg-post__author {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 15px;
}
.lg-post__userstats {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}
.lg-post__userstats span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
  font-size: 12.5px;
  color: var(--muted);
}
.lg-post__userstats svg {
  width: 13px;
  height: 13px;
  color: var(--blue-bright);
}

/* topic tools / closed */
.lg-topic-head {
  align-items: flex-start;
  flex-direction: column;
  gap: 24px;
}
.lg-topic-head .lg-h2 {
  align-items: center;
  flex: 1;
  min-width: 0;
}
.lg-topic-tools {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.lg-topic-closed {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: #ff7a66;
  background: rgba(224, 83, 61, 0.12);
  border: 1px solid rgba(224, 83, 61, 0.35);
  border-radius: 20px;
  padding: 3px 12px;
  margin-left: 10px;
  vertical-align: middle;
}
.lg-topic-closed svg {
  width: 13px;
  height: 13px;
}
.lg-topic-lock {
  display: inline-flex;
  vertical-align: middle;
  color: #ff7a66;
}
.lg-topic-lock svg {
  width: 14px;
  height: 14px;
}
.lg-post__main {
  padding: 18px 22px;
  min-width: 0;
}
.lg-post__date {
  font-size: 12.5px;
  color: var(--muted);
}
.lg-post__body {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.65;
  word-wrap: break-word;
}
.lg-post__body p {
  margin: 0;
}

/* reply */
.lg-reply {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
}
.lg-reply h3 {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 17px;
  margin: 0;
}
.lg-reply .lg-btn {
  align-self: flex-start;
}

/* forum stats */
.lg-forum__stats {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
}
.lg-forum__stats b {
  color: var(--blue-bright);
  font-family: "Rajdhani", sans-serif;
}

/* attach + rich body + gallery + likes */
.lg-attach {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
}
.lg-attach > span {
  font-size: 13px;
  color: var(--muted-2);
}
.lg-attach input[type="file"] {
  background: #0a0f17;
  border: 1px dashed #243349;
  border-radius: 8px;
  padding: 9px 12px;
  color: var(--muted-2);
  font-size: 13px;
}
.lg-rich img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
.lg-rich a {
  color: var(--blue-bright);
}
.lg-rich blockquote {
  border-left: 3px solid var(--line);
  margin: 8px 0;
  padding: 4px 0 4px 14px;
  color: var(--muted-2);
}
.lg-rich ul,
.lg-rich ol {
  padding-left: 22px;
}

.lg-post__gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.lg-post__gallery img {
  width: 120px;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  transition: 0.15s ease;
}
.lg-post__gallery a:hover img {
  border-color: var(--blue);
  transform: scale(1.02);
}

.lg-post__foot {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  gap: 10px;
}
.lg-post__foot form {
  display: inline-flex;
}
.lg-post__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}
.lg-post__act {
  background: none;
  border: none;
  cursor: pointer;
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: var(--muted-2);
  padding: 4px 8px;
  border-radius: 6px;
  transition: 0.14s ease;
}
.lg-post__act:hover {
  background: var(--panel-2);
  color: var(--text);
}
.lg-post__act--del:hover {
  color: #ff7a66;
}
.lg-post__edited {
  color: var(--muted);
  font-size: 12px;
}
.lg-post__edit {
  margin: 10px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lg-post__edit[hidden] {
  display: none;
}
.lg-post__edit-actions {
  display: flex;
  gap: 8px;
}
.lg-topic-pin {
  display: inline-flex;
  vertical-align: middle;
  color: var(--gold);
}
.lg-topic-pin svg {
  width: 16px;
  height: 16px;
}
.lg-like {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  background: #131c28;
  border: 1px solid #243349;
  border-radius: 20px;
  padding: 6px 14px;
  color: var(--muted-2);
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
  font-size: 14px;
  transition: 0.15s ease;
}
.lg-like svg {
  width: 16px;
  height: 16px;
}
.lg-like:hover {
  border-color: var(--blue);
  color: var(--text);
}
.lg-like.is-liked {
  background: rgba(45, 140, 255, 0.16);
  border-color: rgba(45, 140, 255, 0.5);
  color: var(--blue-bright);
}
.lg-like.is-static {
  cursor: default;
}

@media (max-width: 680px) {
  .lg-fcat {
    grid-template-columns: 44px 1fr;
  }
  .lg-fcat__stats {
    display: none;
  }
  .lg-topics__head,
  .lg-topics__row {
    grid-template-columns: 1fr 60px;
  }
  .lg-topics__head span:nth-child(3),
  .lg-topics__head span:nth-child(4),
  .lg-topics__row .lg-topics__num:last-of-type,
  .lg-topics__last {
    display: none;
  }
  .lg-post {
    grid-template-columns: 1fr;
  }
  .lg-post__side {
    flex-direction: row;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
}

/* ---------- Rules page ---------- */
.lg-rules {
  padding: 40px 0 60px;
  max-width: 880px;
  margin: 0 auto;
}
.lg-rules__hero {
  margin-bottom: 26px;
}
.lg-rules__hero h1 {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 4vw, 42px);
  margin: 0 0 10px;
}
.lg-rules__hero p {
  font-size: 15px;
  max-width: 640px;
}
.lg-rules__block {
  padding: 28px 30px;
  margin-bottom: 18px;
}
.lg-rules__h2 {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 23px;
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  line-height: 1.2;
}
.lg-rules__num {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 18px;
  color: #fff;
  background: linear-gradient(180deg, var(--blue-bright), var(--blue));
  box-shadow: 0 6px 18px -8px rgba(45, 140, 255, 0.8);
}
.lg-rules__intro {
  font-size: 14px;
  color: var(--muted-2);
  line-height: 1.7;
  border-left: 3px solid var(--blue);
  padding: 4px 0 4px 16px;
  margin: 0 0 22px;
  background: linear-gradient(90deg, rgba(45, 140, 255, 0.06), transparent);
}
.lg-rules__intro b {
  color: var(--blue-bright);
}
.lg-rules__h3 {
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
  margin: 24px 0 14px;
  padding: 8px 14px;
  border-radius: 8px;
  display: inline-block;
}
.lg-rules__h3--ok {
  color: var(--online);
  background: rgba(52, 211, 107, 0.1);
  border: 1px solid rgba(52, 211, 107, 0.3);
}
.lg-rules__h3--bad {
  color: #ff7a66;
  background: rgba(224, 83, 61, 0.1);
  border: 1px solid rgba(224, 83, 61, 0.35);
}
.lg-rules__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lg-rules__list li {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text);
  padding-left: 4px;
  position: relative;
}
.lg-rules__list b {
  color: var(--blue-bright);
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  margin-right: 4px;
}
.lg-rules__foot {
  font-size: 14px;
  margin-top: 8px;
}
.lg-rules__foot a {
  color: var(--blue-bright);
}

/* penalty pill */
.lg-rules__pen {
  display: inline-block;
  margin-top: 8px;
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: #ffb199;
  background: rgba(224, 83, 61, 0.1);
  border: 1px solid rgba(224, 83, 61, 0.32);
  border-radius: 6px;
  padding: 5px 11px;
  line-height: 1.5;
}
.lg-rules__pen::before {
  content: "Покарання: ";
  color: var(--danger);
  opacity: 0.9;
}
.lg-rules__pen--warn {
  color: var(--gold);
  background: rgba(240, 168, 42, 0.1);
  border-color: rgba(240, 168, 42, 0.35);
}
.lg-rules__pen--warn::before {
  content: "";
}

/* sub list */
.lg-rules__sub {
  list-style: none;
  margin: 8px 0 0;
  padding: 0 0 0 6px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.lg-rules__sub li {
  font-size: 14px;
  color: var(--muted-2);
}
.lg-rules__sub b {
  color: var(--blue-bright);
  margin-right: 4px;
}
.lg-rules__list small {
  display: block;
  margin-top: 5px;
  font-size: 12.5px;
  color: var(--muted);
}

/* highlight rows */
.lg-rules__hl {
  list-style: none;
  margin: 6px 0;
  padding: 12px 16px;
  border-radius: 8px;
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.03em;
  color: #ff7a66;
  background: rgba(224, 83, 61, 0.1);
  border: 1px solid rgba(224, 83, 61, 0.3);
  text-align: center;
}
.lg-rules__hl--blue {
  color: var(--text);
  background: rgba(45, 140, 255, 0.07);
  border-color: rgba(45, 140, 255, 0.3);
  text-align: left;
}
.lg-rules__hl--blue {
  font-family: "Exo 2", sans-serif;
  font-weight: 600;
  font-size: 14.5px;
}
.lg-rules__roles {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 10px 0;
  font-weight: 400;
}
.lg-c-t {
  color: var(--gold);
}
.lg-c-ct {
  color: var(--blue-bright);
}

/* note (consequences summary) */
.lg-rules__note {
  margin: 18px 0 0;
  padding: 13px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  color: #ff7a66;
  background: rgba(224, 83, 61, 0.1);
  border: 1px solid rgba(224, 83, 61, 0.3);
}
.lg-rules__note--soft {
  color: var(--muted-2);
  background: var(--bg-2);
  border-color: var(--line);
  font-weight: 500;
}

/* maps grid */
.lg-rules__maps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.lg-rules__map {
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
  font-size: 13px;
  background: #131c28;
  border: 1px solid #243349;
  border-radius: 6px;
  padding: 6px 12px;
  color: var(--blue-bright);
}

@media (max-width: 600px) {
  .lg-rules__block {
    padding: 22px 18px;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .lg-srv {
    grid-template-columns: 48px 1.2fr 1fr 1fr 80px 130px;
  }
  .lg-srv__cell:nth-child(5) {
    display: none;
  } /* hide status, keep online dot in name area on small */
  .lg-trio {
    grid-template-columns: 1fr 1fr;
  }
  .lg-panel--online {
    grid-column: span 2;
  }
  .lg-lastdon {
    grid-template-columns: repeat(3, 1fr);
  }
  .lg-footer__grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .lg-footer__brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 760px) {
  .lg-nav {
    display: none;
  }
  .lg-hero {
    padding: 64px 0 72px;
  }
  .lg-srv {
    grid-template-columns: 40px 1fr auto;
    row-gap: 12px;
  }
  .lg-srv__cell,
  .lg-gauge {
    grid-column: span 1;
  }
  .lg-news {
    grid-template-columns: 1fr;
  }
  .lg-lastdon {
    grid-template-columns: repeat(2, 1fr);
  }
  .lg-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- 404 page ---------- */
.lg-404 {
  position: relative;
  text-align: center;
  padding: 90px 20px 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}
.lg-404__glow {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 520px;
  height: 320px;
  background: radial-gradient(
    ellipse at center,
    rgba(45, 140, 255, 0.22),
    transparent 70%
  );
  filter: blur(20px);
  pointer-events: none;
}
.lg-404__code {
  position: relative;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: clamp(96px, 22vw, 220px);
  line-height: 0.9;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, #4aa0ff, #1f6fd6 60%, #0e141f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 60px rgba(45, 140, 255, 0.25);
}
.lg-404__title {
  position: relative;
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: clamp(22px, 4vw, 32px);
  margin: 6px 0 14px;
  letter-spacing: 0.01em;
}
.lg-404__sub {
  position: relative;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 30px;
}
.lg-404__actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ---------- Banlist page ---------- */
.lg-banlist-page {
  padding: 30px 0 70px;
}
.lg-statnote--ban .lg-statnote__ico {
  color: #ff7a66;
}
.lg-banbl {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--panel);
}
.lg-banbl__head,
.lg-banbl__row {
  display: grid;
  grid-template-columns: 1.6fr 0.7fr 1fr 1.1fr 1fr 1.8fr;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
}
.lg-banbl__head {
  background: var(--panel-2);
  border-bottom: 1px solid var(--line);
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.lg-banbl__row {
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
  transition: background 0.14s ease;
}
.lg-banbl__row:last-child {
  border-bottom: none;
}
.lg-banbl__row:hover {
  background: var(--panel-2);
}
.lg-banbl__player {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.lg-banbl__name {
  font-weight: 600;
  color: var(--text);
}
.lg-banbl__sid {
  font-family: "Rajdhani", sans-serif;
  font-size: 12px;
  color: var(--muted);
}
.lg-banbl__admin {
  color: var(--blue-bright);
  font-weight: 600;
}
.lg-banbl__when {
  font-family: "Rajdhani", sans-serif;
  color: var(--muted-2);
  font-size: 13px;
}
.lg-banbl__left {
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
  color: var(--text);
}
.lg-banbl__left.is-perm {
  color: #ff7a66;
}
.lg-banbl__reason {
  color: var(--muted-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lg-bantag {
  display: inline-flex;
  align-items: center;
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 4px 11px;
  border-radius: 20px;
  text-transform: uppercase;
}
.lg-bantag--red {
  color: #ff7a66;
  background: rgba(224, 83, 61, 0.14);
  border: 1px solid rgba(224, 83, 61, 0.4);
}
.lg-bantag--gold {
  color: var(--gold);
  background: rgba(240, 168, 42, 0.13);
  border: 1px solid rgba(240, 168, 42, 0.4);
}
.lg-bantag--violet {
  color: #b48bff;
  background: rgba(150, 110, 255, 0.14);
  border: 1px solid rgba(150, 110, 255, 0.4);
}
.lg-banbl__empty {
  padding: 40px 20px;
  text-align: center;
  color: var(--muted);
}

/* ---------- News page ---------- */
.lg-newspage {
  padding: 30px 0 70px;
}
.lg-tagchip--float {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
}

/* featured hero */
.lg-newshero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 26px;
  text-decoration: none;
  color: inherit;
  transition:
    border-color 0.18s ease,
    transform 0.18s ease;
}
.lg-newshero:hover {
  border-color: rgba(45, 140, 255, 0.5);
  transform: translateY(-2px);
}
.lg-newshero__img {
  background-image: var(--cover);
  background-size: cover;
  background-position: center;
  min-height: 320px;
}
.lg-newshero__body {
  padding: 34px 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}
.lg-newshero__body h2 {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.2;
  margin: 0;
}
.lg-newshero:hover .lg-newshero__body h2 {
  color: var(--blue-bright);
}
.lg-newshero__body p {
  color: var(--muted-2);
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}
.lg-newshero__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Rajdhani", sans-serif;
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}
.lg-newshero__read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  color: var(--blue-bright);
  font-weight: 600;
}
.lg-newshero__read svg {
  width: 16px;
  height: 16px;
}

/* grid cards */
.lg-newsgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.lg-newscard {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition:
    border-color 0.18s ease,
    transform 0.18s ease;
}
.lg-newscard:hover {
  border-color: rgba(45, 140, 255, 0.5);
  transform: translateY(-3px);
}
.lg-newscard__img {
  position: relative;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
}
.lg-newscard__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(14, 20, 31, 0.85));
}
.lg-newscard__body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.lg-newscard__body h3 {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.25;
  margin: 0;
}
.lg-newscard:hover .lg-newscard__body h3 {
  color: var(--blue-bright);
}
.lg-newscard__body p {
  color: var(--muted-2);
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
.lg-newscard__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: "Rajdhani", sans-serif;
  font-size: 12.5px;
  color: var(--muted);
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
}
.lg-newscard__more {
  color: var(--blue-bright);
  font-size: 16px;
  transition: transform 0.15s ease;
}
.lg-newscard:hover .lg-newscard__more {
  transform: translateX(3px);
}

/* single post */
.lg-newspost {
  max-width: 820px;
  margin: 0 auto;
  padding: 30px 0 70px;
}
.lg-newspost__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted-2);
  text-decoration: none;
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 22px;
  transition: color 0.15s ease;
}
.lg-newspost__back:hover {
  color: var(--blue-bright);
}
.lg-newspost__back svg {
  width: 18px;
  height: 18px;
}
.lg-newspost__cover {
  width: 100%;
  aspect-ratio: 21 / 9;
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  border: 1px solid var(--line);
  margin-bottom: 26px;
}
.lg-newspost__head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.lg-newspost__title {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 4.5vw, 40px);
  line-height: 1.15;
  margin: 0;
}
.lg-newspost__meta {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: "Rajdhani", sans-serif;
  font-size: 14px;
  color: var(--muted);
}
.lg-newspost__author {
  color: var(--blue-bright);
  font-weight: 600;
}
.lg-newspost__body {
  font-size: 16px;
  line-height: 1.8;
  color: #c8d2de;
}
.lg-newspost__body p {
  margin: 0 0 16px;
}
.lg-newspost__body h2,
.lg-newspost__body h3 {
  font-family: "Oswald", sans-serif;
  margin: 28px 0 12px;
}
.lg-newspost__body img {
  border-radius: 12px;
  margin: 12px 0;
}

@media (max-width: 900px) {
  .lg-newsgrid {
    grid-template-columns: repeat(2, 1fr);
  }
  .lg-newshero {
    grid-template-columns: 1fr;
  }
  .lg-newshero__img {
    min-height: 210px;
  }
}
@media (max-width: 560px) {
  .lg-newsgrid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 820px) {
  .lg-banbl__head {
    display: none;
  }
  .lg-banbl__row {
    grid-template-columns: 1fr 1fr;
    gap: 8px 14px;
  }
  .lg-banbl__reason {
    grid-column: 1 / -1;
    white-space: normal;
  }
}

/* ---------- Members directory ---------- */
.lg-members {
  padding: 30px 0 60px;
}
.lg-members__grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
}
.lg-member {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 12px;
  flex-wrap: wrap;
}
.lg-member[hidden] {
  display: none;
}
.lg-member__av {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #0a0f17 center/cover no-repeat;
  border: 1px solid var(--line);
  flex-shrink: 0;
}
.lg-member__body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  flex: 1;
}
.lg-member__name {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lg-member__body .lg-badge {
  align-self: flex-start;
}
.lg-member form {
  width: 100%;
}
.lg-member__btn {
  width: 100%;
  cursor: pointer;
  background: var(--blue);
  border: 1px solid var(--blue);
  color: #fff;
  border-radius: 8px;
  padding: 8px 10px;
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
  font-size: 13px;
  transition: 0.15s ease;
}
.lg-member__btn:hover {
  background: var(--blue-bright);
}
.lg-member__btn--ghost {
  display: block;
  text-align: center;
  text-decoration: none;
  background: #131c28;
  border-color: #243349;
  color: var(--muted-2);
}
.lg-member__you,
.lg-member__friend,
.lg-member__pending {
  width: 100%;
  text-align: center;
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
  font-size: 13px;
  padding: 7px 0;
  border-radius: 8px;
}
.lg-member__you {
  color: var(--muted);
  background: #0a0f17;
}
.lg-member__friend {
  color: var(--online);
  background: rgba(60, 200, 120, 0.1);
}
.lg-member__pending {
  color: var(--gold);
  background: rgba(240, 168, 42, 0.1);
}

.lg-members__search {
  position: relative;
  margin-top: 16px;
  max-width: 360px;
}
.lg-members__search svg {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  color: var(--muted);
}
.lg-members__search input {
  width: 100%;
  box-sizing: border-box;
  background: #0a0f17;
  border: 1px solid #1f2a3a;
  border-radius: 9px;
  padding: 11px 14px 11px 38px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
}
.lg-members__search input:focus {
  outline: none;
  border-color: var(--blue);
}
.lg-members__empty {
  margin: 14px 0 0;
  color: var(--muted);
}

/* ---------- Generic modal (balance top-up) ---------- */
.lg-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
}
.lg-modal[hidden] {
  display: none;
}
.lg-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 7, 12, 0.72);
  backdrop-filter: blur(3px);
}
.lg-modal__box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  animation: lg-rise 0.22s ease both;
}
.lg-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.lg-modal__title {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 19px;
  margin: 0;
}
.lg-modal__close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  padding: 4px;
  border-radius: 6px;
  transition: 0.15s ease;
}
.lg-modal__close:hover {
  color: var(--text);
  background: #131c28;
}
.lg-modal__close svg {
  width: 20px;
  height: 20px;
  display: block;
}
/* inside the modal the top-up panel needs no extra chrome */
.lg-modal__box .lg-cab__topup {
  padding: 0;
  border: none;
  background: none;
}
