/* RELOAD23 — главная в структуре RELOAD23 (hero + Steam-вход + новости + проект + Discord) */

/* ---------- Hero ---------- */
.home-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 56px;
  background:
    radial-gradient(900px 420px at 82% 8%, rgba(102, 192, 244, 0.16), transparent 62%),
    radial-gradient(700px 380px at 8% 20%, rgba(124, 194, 66, 0.12), transparent 60%),
    linear-gradient(180deg, #1b2838 0%, #171a21 100%);
}
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%);
  pointer-events: none;
}
.home-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 48px;
  align-items: center;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steam-blue);
}
.hero-kicker .live-dot { width: 7px; height: 7px; }
.home-title {
  margin: 0 0 18px;
  max-width: 16ch;
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 4.4vw, 3.7rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: #fff;
}
.home-title .accent { color: var(--brand); }
.home-lead {
  margin: 0;
  max-width: 56ch;
  font-size: 1.06rem;
  line-height: 1.65;
  color: var(--text-dim);
}
.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.home-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.home-badges li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-size: var(--fs-xs);
  color: var(--text-dim);
}
.home-badges .live-dot { width: 6px; height: 6px; }

/* ---------- Join card ---------- */
.join-card {
  padding: 26px 26px 22px;
  border: 1px solid rgba(102, 192, 244, 0.2);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(102, 192, 244, 0.08), transparent 42%),
    linear-gradient(180deg, #1f2d3d 0%, #16202d 100%);
  box-shadow: var(--shadow-2), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.join-kicker {
  margin: 0 0 6px;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steam-blue);
}
.join-title {
  margin: 0 0 8px;
  font-size: 1.55rem;
  line-height: 1.2;
  color: #fff;
}
.join-text {
  margin: 0 0 18px;
  font-size: var(--fs-sm);
  line-height: 1.55;
  color: var(--muted);
}
.btn-steam {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 18px;
  border: 1px solid #2a475e;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #2a475e 0%, #1b2838 100%);
  color: #fff;
  font-weight: 600;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.btn-steam:hover { background: linear-gradient(180deg, #3a607d 0%, #223447 100%); border-color: var(--steam-blue); }
.btn-steam:active { transform: translateY(1px); }
.btn-block { width: 100%; }
.join-divider {
  height: 1px;
  margin: 20px 0 6px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
}
.join-stats { margin: 0; }
.join-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.join-stat:last-child { border-bottom: 0; }
.join-stat dt {
  font-size: var(--fs-sm);
  color: var(--muted);
}
.join-stat dd {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.join-stat dd small { font-size: var(--fs-xs); font-weight: 500; color: var(--muted); }
.join-stat dd.is-online { display: inline-flex; align-items: center; gap: 7px; color: var(--steam-green); }
.join-note {
  margin: 14px 0 0;
  font-size: var(--fs-xs);
  line-height: 1.5;
  color: var(--muted-2);
}

/* ---------- News ---------- */
.home-news { padding-top: 56px; }
.link-more {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--steam-blue);
  white-space: nowrap;
}
.link-more:hover { color: #bfe9ff; }
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.news-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  transition: transform var(--t-med) var(--ease), border-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.news-card:hover {
  transform: translateY(-3px);
  border-color: rgba(102, 192, 244, 0.4);
  box-shadow: var(--shadow-1);
}
.news-media {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-height: 104px;
  padding: 14px;
  background:
    radial-gradient(300px 160px at 80% 20%, rgba(102, 192, 244, 0.35), transparent 70%),
    linear-gradient(135deg, #223447 0%, #16202d 100%);
}
.news-card.accent-orange .news-media {
  background:
    radial-gradient(300px 160px at 80% 20%, rgba(124, 194, 66, 0.34), transparent 70%),
    linear-gradient(135deg, #3a2a1e 0%, #16202d 100%);
}
.news-card.accent-green .news-media {
  background:
    radial-gradient(300px 160px at 80% 20%, rgba(190, 238, 17, 0.22), transparent 70%),
    linear-gradient(135deg, #23331f 0%, #16202d 100%);
}
.news-tag { align-self: flex-start; }
.news-date {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.65);
  white-space: nowrap;
}
.news-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px 18px 18px;
}
.news-title {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
}
.news-title a { color: var(--text); }
.news-title a:hover { color: var(--steam-blue); }
.news-excerpt {
  margin: 0 0 14px;
  font-size: var(--fs-sm);
  line-height: 1.55;
  color: var(--muted);
}
.news-more {
  margin-top: auto;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--steam-blue);
}
.news-more:hover { color: #bfe9ff; }

/* ---------- Project / features ---------- */
.project-section {
  background: linear-gradient(180deg, #16202d 0%, #1b2838 100%);
  border-block: 1px solid var(--border);
}
.project-head { max-width: 780px; margin-bottom: 32px; }
.project-head .h2 { margin-bottom: 10px; }
.project-head .lead { margin: 0; color: var(--text-dim); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.feature-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 70%), var(--panel);
  transition: transform var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
}
.feature-card:hover { transform: translateY(-2px); border-color: rgba(102, 192, 244, 0.35); }
.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border: 1px solid rgba(102, 192, 244, 0.24);
  border-radius: 10px;
  background: rgba(102, 192, 244, 0.1);
  color: var(--steam-blue);
}
.feature-title { margin: 0 0 8px; font-size: 1.08rem; color: #fff; }
.feature-text { margin: 0 0 14px; font-size: var(--fs-sm); line-height: 1.6; color: var(--muted); }
.feature-link { font-size: var(--fs-sm); font-weight: 600; color: var(--steam-blue); }
.feature-link:hover { color: #bfe9ff; }

/* ---------- Discord ---------- */
.discord-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 36px;
  border: 1px solid rgba(102, 192, 244, 0.2);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 240px at 85% 20%, rgba(102, 192, 244, 0.16), transparent 70%),
    linear-gradient(135deg, #1f2d3d 0%, #16202d 100%);
}
.discord-band .h2 { margin-bottom: 8px; max-width: 22ch; }
.discord-band .lead { margin: 0; color: var(--muted); }
.discord-actions { display: flex; flex-wrap: wrap; gap: 12px; flex: 0 0 auto; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .home-hero { padding: 48px 0 44px; }
  .home-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .home-title { max-width: 20ch; }
  .join-card { max-width: 560px; }
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .feature-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .discord-band { flex-direction: column; align-items: flex-start; padding: 26px; }
  .discord-band .h2 { max-width: none; }
  .home-title { font-size: clamp(2.1rem, 8vw, 2.8rem); }
}
@media (max-width: 520px) {
  .home-hero { padding: 36px 0 34px; }
  .home-actions .btn { width: 100%; justify-content: center; }
  .join-card { padding: 20px 18px 16px; }
  .join-stat { padding: 9px 0; }
  .home-badges li { font-size: 11px; }
  .discord-actions { width: 100%; }
  .discord-actions .btn { flex: 1; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .news-card, .feature-card { transition: none; }
  .news-card:hover, .feature-card:hover { transform: none; }
}

.home-hero-copy {
  grid-column: 1 / -1;
  max-width: 880px;
}

/* ---------- Hero v2: полноэкранный фон, карточка игрока, статистика ---------- */
.home-hero {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: #0d1014;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.home-hero::before { display: none; }

.home-hero-bg {
  position: absolute;
  inset: 0;
  background: #0d1014 url("../img/hero-csgo.jpg") center 42% / cover no-repeat;
  filter: brightness(0.38) saturate(0.7) contrast(1.06);
  transform: scale(1.03);
}

.home-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 12, 16, 0.97) 0%, rgba(9, 12, 16, 0.9) 36%, rgba(9, 12, 16, 0.5) 66%, rgba(9, 12, 16, 0.62) 100%),
    linear-gradient(180deg, rgba(9, 12, 16, 0.35) 0%, rgba(9, 12, 16, 0.1) 45%, rgba(9, 12, 16, 0.9) 100%);
}

.home-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  align-items: end;
  gap: 48px;
  padding-top: clamp(76px, 9vw, 124px);
  padding-bottom: 48px;
}

.home-hero-main { max-width: 760px; }

.home-hero .hero-kicker {
  gap: 12px;
  margin: 0 0 22px;
  color: #9aa6b2;
  font-size: 11px;
  letter-spacing: 0.28em;
}

.hero-kicker-line {
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--brand);
}

.home-hero .home-title {
  margin: 0 0 22px;
  max-width: none;
  font-size: clamp(2.5rem, 4.8vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: #fff;
}

.home-hero .home-title .accent { color: #fff; }

.home-hero .home-lead {
  max-width: 56ch;
  margin: 0;
  color: #b4bac1;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.65;
}

.home-hero .home-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.home-hero-download {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 2px;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 12px 30px -12px rgba(124, 194, 66, 0.7);
}

.home-support-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #dcdedf;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}

.home-support-link span { transition: transform 250ms var(--ease); }
.home-support-link:hover { color: #fff; }
.home-support-link:hover span { transform: translateX(3px); }

.home-user-card {
  justify-self: end;
  align-self: end;
  width: 100%;
  max-width: 340px;
  padding: 0 0 4px 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.home-user-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.home-user-avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 3px;
  background: linear-gradient(145deg, #30442c, #1e2a1c);
  color: #d9f0c2;
  font-size: 15px;
  font-weight: 700;
}

img.home-user-avatar { object-fit: cover; }

.home-user-meta { min-width: 0; }

.home-user-label {
  display: block;
  margin: 0 0 4px;
  color: #7f8c99;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-user-nick {
  display: block;
  overflow: hidden;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-user-note {
  max-width: 270px;
  margin: 0;
  color: #8b929a;
  font-size: 12px;
  line-height: 1.5;
}

.home-user-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 14px;
}

.home-user-links a {
  color: var(--brand);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.home-user-links a:hover { color: var(--brand-hi); }

.home-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.home-stat {
  padding: 18px 24px 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.07);
}

.home-stat:first-child {
  padding-left: 0;
  border-left: 0;
}

.home-stat-label {
  display: block;
  margin-bottom: 8px;
  color: #7f8c99;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-stat-value {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
}

.home-stat-value.is-online {
  color: #b6d94c;
  font-size: 15px;
}

@media (max-width: 900px) {
  .home-hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 64px;
    padding-bottom: 32px;
  }

  .home-user-card {
    justify-self: start;
    max-width: 100%;
    padding-left: 0;
    border-left: 0;
  }

  .home-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-stat:nth-child(3) { padding-left: 0; border-left: 0; }
}

@media (max-width: 560px) {
  .home-stats { grid-template-columns: 1fr; }
  .home-stat { padding-left: 0; border-left: 0; }
  .home-stat + .home-stat { border-top: 1px solid rgba(255, 255, 255, 0.07); }
}

/* Hero без фонового фото: тот же функционал, фирменный градиент сайта. */
.home-hero {
  background:
    radial-gradient(900px 420px at 82% 8%, rgba(102, 192, 244, 0.14), transparent 62%),
    radial-gradient(700px 380px at 8% 20%, rgba(124, 194, 66, 0.12), transparent 60%),
    linear-gradient(180deg, #1b2838 0%, #171a21 100%);
}
.home-hero-bg,
.home-hero-shade { display: none; }
.home-hero::before { display: block; }

/* Полоса статистики отдельно от hero, как на референсе. */
.home-stats-section {
  background: #14171c;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.home-stats-section .home-stats {
  border-top: 0;
}

/* Больше воздуха между секциями главной. */
.home-news,
.project-section,
.discord-section {
  padding-top: 72px;
  padding-bottom: 72px;
}

/* ================= FINAL: hero 1-в-1 по структуре RELOAD23 ================= */
.home-hero {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: #0d1014;
  border: 0;
}
.home-hero::before { display: none; }

.home-hero-bg {
  position: absolute;
  inset: 0;
  background: #0d1014 url("../img/hero-csgo.jpg") center 42% / cover no-repeat;
  filter: brightness(0.36) saturate(0.72) contrast(1.05);
  transform: scale(1.02);
}

.home-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0d1014 0%, rgba(13, 16, 20, 0.88) 38%, rgba(13, 16, 20, 0.45) 100%);
}

.home-hero-overlay::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 160px;
  background: linear-gradient(180deg, transparent, #14171c);
}

.home-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: end;
  gap: 40px;
  padding-top: 128px;
  padding-bottom: 80px;
}

.home-hero-main { max-width: none; }

.home-hero .hero-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: #8b929a;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  line-height: 1;
  text-transform: uppercase;
}

.hero-kicker-line {
  display: inline-block;
  width: 32px;
  height: 1px;
  background: #7cc242;
}

.home-hero .home-title {
  margin: 24px 0 0;
  max-width: 15ch;
  font-size: 68px;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: #fff;
}

.home-hero .home-lead {
  margin: 24px 0 0;
  max-width: 52ch;
  color: #b4bac1;
  font-size: 17px;
  line-height: 28px;
}

.home-hero .home-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 36px;
}

.home-hero-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 2px;
  background: #7cc242;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 10px 30px -10px rgba(124, 194, 66, 0.8);
  transition: background 200ms ease;
}

.home-hero-download:hover { background: #9adf5a; color: #fff; }

.home-support-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #dcdedf;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
}

.home-support-link span { transition: transform 300ms ease; }
.home-support-link:hover { color: #fff; }
.home-support-link:hover span { transform: translateX(4px); }

.home-user-card {
  justify-self: end;
  align-self: end;
  width: 100%;
  max-width: 320px;
  padding: 0 0 0 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.home-user-title {
  margin: 0;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.home-user-text {
  margin: 8px 0 0;
  color: #8b929a;
  font-size: 13px;
  line-height: 24px;
}

.home-user-login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 10px 16px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 200ms ease;
}

.home-user-login:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }

.home-user-label {
  display: block;
  margin: 0 0 6px;
  color: #8b929a;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1;
  text-transform: uppercase;
}

.home-user-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.home-user-avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 2px;
  background: linear-gradient(145deg, #30442c, #1e2a1c);
  color: #d9f0c2;
  font-size: 15px;
  font-weight: 700;
}

img.home-user-avatar { object-fit: cover; }

.home-user-nick {
  overflow: hidden;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-user-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 14px;
}

.home-user-links a {
  color: #7cc242;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
}

.home-user-links a:hover { color: #9adf5a; }

.home-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.home-stat {
  min-width: 0;
  padding: 20px 0 20px 24px;
}

.home-stat:first-child { padding-left: 0; }
.home-stat + .home-stat { border-left: 1px solid rgba(255, 255, 255, 0.1); }

.home-stat-label {
  margin: 0;
  color: #7d858e;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
}

.home-stat-value {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0 0;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.home-stat-value.is-online { color: #b6d94c; }

.home-stat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b6d94c;
  box-shadow: 0 0 10px #b6d94c;
}

/* Цвета секций и ссылок как на референсе. */
.home-news { background: #14171c; padding: 64px 0 80px; }
.project-section {
  background: #101317;
  border-block: 1px solid rgba(255, 255, 255, 0.06);
  padding: 64px 0 80px;
}
.discord-section { background: #14171c; padding: 64px 0 80px; }

.home-news .link-more,
.home-news .news-more,
.home-news .news-title a:hover { color: #7cc242; }

.project-section .feature-link { color: #7cc242; }

@media (max-width: 1024px) {
  .home-hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 96px;
    padding-bottom: 56px;
  }

  .home-hero .home-title { font-size: 58px; }
  .home-user-card { justify-self: start; max-width: 100%; }
}

@media (max-width: 640px) {
  .home-hero-inner { padding-top: 64px; }

  .home-hero .home-title { font-size: 40px; }
  .home-hero .home-lead { font-size: 16px; line-height: 26px; }

  .home-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .home-stat { padding: 16px 0; }
  .home-stat:nth-child(even) { padding-left: 16px; border-left: 1px solid rgba(255, 255, 255, 0.1); }
  .home-stat:nth-child(3),
  .home-stat:nth-child(4) { border-top: 1px solid rgba(255, 255, 255, 0.1); }
}

/* Показываем фоновое изображение hero (перекрывает старое display:none). */
.home-hero-bg { display: block !important; }

/* Зелёные акценты hero в стиле остального сайта. */
.home-hero-download {
  background-color: #5f921f !important;
  background-image: linear-gradient(180deg, #8ccb52 0%, #5f921f 100%) !important;
  border: 1px solid #6fae35;
  color: #10200a !important;
  box-shadow: 0 10px 30px -10px rgba(124, 194, 66, 0.65) !important;
}

.home-hero-download:hover {
  color: #10200a !important;
  filter: brightness(1.1);
}

.hero-kicker-line { background: #7cc242 !important; }
.home-user-links a { color: #7cc242 !important; }
.home-user-links a:hover { color: #9adf5a !important; }

.home-news .link-more,
.home-news .news-more,
.home-news .news-title a:hover,
.project-section .feature-link {
  color: #7cc242 !important;
}

.home-stat-value.is-online { color: #b6d94c !important; }
.home-stat-dot {
  background: #b6d94c !important;
  box-shadow: 0 0 10px #b6d94c !important;
}

/* ================= Новости 1-в-1 по структуре RELOAD23 ================= */
.home-news-ref {
  background: #14171c;
  padding: 64px 0 80px;
}

.home-news-ref-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.home-news-ref-eyebrow {
  margin: 0;
  color: #7cc242;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1;
  text-transform: uppercase;
}

.home-news-ref-title {
  margin: 8px 0 0;
  color: #fff;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
}

.home-news-ref-all {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  padding-bottom: 4px;
  color: #dcdedf;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.home-news-ref-all span { transition: transform 300ms ease; }
.home-news-ref-all:hover { color: #fff; }
.home-news-ref-all:hover span { transform: translateX(4px); }

.home-news-ref-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 48px;
  margin-top: 32px;
}

.home-news-ref-feature {
  display: grid;
  gap: 20px;
  min-width: 0;
  text-decoration: none;
}

.home-news-ref-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 3px;
  background: #10141a;
}

.home-news-ref-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.home-news-ref-feature:hover .home-news-ref-media img { transform: scale(1.035); }

.home-news-ref-body { min-width: 0; }

.home-news-ref-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #8b929a;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.home-news-ref-meta--sm {
  font-size: 10px;
  letter-spacing: 0.12em;
}

.home-news-ref-tag { color: #7cc242; }

.home-news-ref-sep {
  width: 12px;
  height: 1px;
  background: currentColor;
  opacity: 0.3;
}

.home-news-ref-feature-title {
  margin: 12px 0 0;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  transition: color 200ms ease;
}

.home-news-ref-feature:hover .home-news-ref-feature-title { color: #9adf5a; }

.home-news-ref-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  margin: 12px 0 0;
  overflow: hidden;
  color: #a3aab2;
  font-size: 15px;
  line-height: 28px;
}

.home-news-ref-read {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.home-news-ref-read span { transition: transform 300ms ease; }
.home-news-ref-feature:hover .home-news-ref-read span { transform: translateX(4px); }

.home-news-ref-list { min-width: 0; }

.home-news-ref-item {
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  text-decoration: none;
}

.home-news-ref-item:first-child { padding-top: 0; }

.home-news-ref-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 2px;
  background: #10141a;
}

.home-news-ref-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 14px);
}

.home-news-ref-mark {
  position: absolute;
  left: 16px;
  bottom: 12px;
  color: rgba(255, 255, 255, 0.15);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.26em;
  line-height: 1;
  text-transform: uppercase;
}

.home-news-ref-mark span { color: rgba(124, 194, 66, 0.4); }

.home-news-ref-item-body { min-width: 0; }

.home-news-ref-item-body h4 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin: 6px 0 0;
  overflow: hidden;
  color: #e6e8ea;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  transition: color 200ms ease;
}

.home-news-ref-item:hover h4 { color: #9adf5a; }

.home-news-ref-item-body p {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  margin: 4px 0 0;
  overflow: hidden;
  color: #7d858e;
  font-size: 13px;
  line-height: 20px;
}

@media (max-width: 1024px) {
  .home-news-ref-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .home-news-ref { padding: 56px 0 64px; }
  .home-news-ref-title { font-size: 28px; }
  .home-news-ref-head { align-items: flex-start; }
  .home-news-ref-feature-title { font-size: 24px; }
  .home-news-ref-item { grid-template-columns: 112px minmax(0, 1fr); }
}

/* Мета-строка списка новостей не должна наследовать line-clamp описания. */
.home-news-ref-item-body .home-news-ref-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  overflow: visible;
  color: #8b929a;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  -webkit-line-clamp: initial;
  -webkit-box-orient: initial;
}

/* «В сети» того же размера, что и цифры статистики. */
.home-stat-value.is-online {
  font-size: 28px !important;
  line-height: 1;
}

/* ================= «О проекте» 1-в-1 по структуре RELOAD23 ================= */
.project-ref {
  background: #101317;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.project-ref-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
  gap: 80px;
  padding-top: 96px;
  padding-bottom: 96px;
}

.project-ref-eyebrow {
  margin: 0;
  color: #7cc242;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1;
  text-transform: uppercase;
}

.project-ref-title {
  margin: 16px 0 0;
  max-width: 16ch;
  color: #fff;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.project-ref-lead {
  margin: 20px 0 0;
  max-width: 44ch;
  color: #8b929a;
  font-size: 15px;
  line-height: 28px;
}

.project-ref-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 48px;
}

.project-ref-item {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
}

.project-ref-item h3 {
  margin: 0;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}

.project-ref-item p {
  margin: 8px 0 0;
  color: #8b929a;
  font-size: 14px;
  line-height: 24px;
}

@media (max-width: 1024px) {
  .project-ref-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .project-ref-title { font-size: 30px; }
}

@media (max-width: 640px) {
  .project-ref-grid { padding-top: 64px; padding-bottom: 64px; }
  .project-ref-features { grid-template-columns: 1fr; gap: 28px; }
}

/* ================= Discord-блок 1-в-1 по структуре RELOAD23 ================= */
.discord-ref { background: #14171c; }

.discord-ref-row {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 64px;
  padding-bottom: 64px;
}

.discord-ref-title {
  margin: 0;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
}

.discord-ref-text {
  margin: 8px 0 0;
  color: #8b929a;
  font-size: 15px;
  line-height: 1.5;
}

.discord-ref-btn {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 2px;
  background: #5865f2;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 200ms ease;
}

.discord-ref-btn:hover { background: #6d78f5; color: #fff; }
.discord-ref-btn svg { width: 16px; height: 16px; fill: currentColor; }

@media (min-width: 640px) {
  .discord-ref-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .discord-ref-title { font-size: 28px; }
}

/* Убираем щель перед футером на главной. */
body.page-home { background: #14171c; }
body.page-home .site-footer { margin-top: 0; }

/* Видео-фон hero, как на RELOAD23. */
.home-hero-bg {
  background: #0d1014;
  filter: none;
  transform: none;
  overflow: hidden;
}

.home-hero-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
