/* ============ Windlands design tokens (из лаунчера) ============ */
:root {
  --bg: #0a0a0c;
  --panel: rgba(17, 17, 22, 0.85);
  --panel-solid: #111116;
  --glass: rgba(10, 10, 12, 0.75);
  --gold: #c8aa6e;
  --red: #d13639;
  --green: #7ee787;
  --t1: #ffffff;
  --t2: #b9b9c4;
  --t3: #8a8a96;
  --t4: #6a6a76;
  --t5: #4c4c58;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.14);
  --line-gold: rgba(200, 170, 110, 0.14);
  --line-gold-mid: rgba(200, 170, 110, 0.35);
  --line-gold-strong: rgba(200, 170, 110, 0.55);
}

/* Unbounded — вариативный шрифт, сабсеты по алфавитам */
@font-face { font-family: 'Unbounded'; src: url('/fonts/Unbounded-cyrillic.woff2') format('woff2'); font-weight: 500 800; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Unbounded'; src: url('/fonts/Unbounded-cyrillic-ext.woff2') format('woff2'); font-weight: 500 800; font-display: swap;
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Unbounded'; src: url('/fonts/Unbounded-latin.woff2') format('woff2'); font-weight: 500 800; font-display: swap; }

@font-face { font-family: 'Manrope'; src: url('/fonts/Manrope-Regular.ttf'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('/fonts/Manrope-Medium.ttf'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('/fonts/Manrope-SemiBold.ttf'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('/fonts/Manrope-Bold.ttf'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('/fonts/Manrope-ExtraBold.ttf'); font-weight: 800; font-display: swap; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--t2);
  font-family: 'Manrope', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--t3); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--t1); }
h1, h2, h3 { margin: 0; }

.display { font-family: 'Unbounded', sans-serif; color: var(--t1); }

/* ============ Общие элементы ============ */
.hairline-top { height: 2px; background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold) 70%, transparent); }

.kicker { display: flex; align-items: center; gap: 12px; }
.kicker::before { content: ''; width: 36px; height: 1px; background: var(--gold); }
.kicker span { color: var(--gold); font-size: 13px; font-weight: 700; letter-spacing: 0.3em; }

.btn-red {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  height: 58px; padding: 0 40px; background: var(--red); border-radius: 6px;
  font-family: 'Unbounded', sans-serif; color: #fff; font-weight: 700; font-size: 15px; letter-spacing: 0.08em;
  transition: filter 0.2s;
}
.btn-red:hover { filter: brightness(1.15); color: #fff; }

.btn-gold-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  height: 58px; padding: 0 32px; border: 1px solid var(--line-gold-strong); border-radius: 6px;
  color: var(--gold); font-weight: 700; font-size: 14px; letter-spacing: 0.1em;
  transition: background 0.2s;
}
.btn-gold-ghost:hover { background: rgba(200, 170, 110, 0.1); color: var(--gold); }
.btn-gold-ghost.sm { height: 40px; padding: 0 18px; font-size: 12px; }

.card { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; }
.dot-sep { width: 3px; height: 3px; border-radius: 50%; background: var(--t5); }

/* ============ Header ============ */
.site-header {
  height: 68px; display: flex; align-items: center; gap: 32px; padding: 0 48px;
  border-bottom: 1px solid var(--line-gold); background: rgba(8, 8, 10, 0.6);
  position: sticky; top: 0; backdrop-filter: blur(10px); z-index: 50;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 32px; height: 32px; border-radius: 6px; }
.brand span { font-family: 'Unbounded', sans-serif; color: #fff; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; }
.brand span.small { font-size: 12px; }
.site-nav { display: flex; gap: 28px; flex: 1; justify-content: center; }
.site-nav a { font-family: 'Unbounded', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; }
.site-nav a.active { color: #fff; }

/* ============ Hero ============ */
.hero { position: relative; height: 680px; overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,8,10,0.95) 0%, rgba(8,8,10,0.6) 38%, rgba(8,8,10,0.05) 75%),
              linear-gradient(0deg, #0a0a0c 0%, rgba(8,8,10,0) 32%);
}
.hero-content { position: absolute; left: 96px; top: 120px; width: 640px; display: flex; flex-direction: column; gap: 26px; }
.hero-title { font-size: 62px; font-weight: 800; line-height: 1.05; }
.hero-desc { color: var(--t2); font-size: 16px; line-height: 1.8; max-width: 480px; text-wrap: pretty; margin: 0; }
.hero-actions { display: flex; gap: 14px; align-items: center; margin-top: 6px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 16px; align-items: center; color: var(--t4); font-size: 12px; font-weight: 600; }
.hero-meta a { font-size: 12px; font-weight: 700; }

/* ============ Секции ============ */
.section { padding: 0 96px 80px; scroll-margin-top: 80px; }
.section.first { padding-top: 72px; }
.section-head { display: flex; align-items: end; justify-content: space-between; margin-top: 16px; }
.section-title { font-size: 36px; font-weight: 800; }
.section-note { color: var(--t3); font-size: 13px; font-weight: 600; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
.grid-builds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 32px; }

.build-card {
  height: 280px; border-radius: 10px; position: relative; overflow: hidden;
  border: 1px solid var(--line); transition: transform 0.25s, border-color 0.25s;
}
.build-card:hover { transform: translateY(-5px); border-color: rgba(200, 170, 110, 0.5); }
.build-card.featured { border-color: rgba(200, 170, 110, 0.5); box-shadow: 0 0 0 1px rgba(200, 170, 110, 0.2); }
.build-card > img, .build-card .thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.build-card .thumb { background: repeating-linear-gradient(45deg, #141419 0 14px, #191921 14px 28px); }
.build-card .shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,8,10,0.92), transparent 60%); }
.build-card .meta { position: absolute; left: 22px; bottom: 18px; right: 16px; display: flex; flex-direction: column; gap: 4px; }
.build-card .meta .name { font-family: 'Unbounded', sans-serif; color: #fff; font-size: 18px; font-weight: 700; }
.build-card .meta .tag { color: var(--t2); font-size: 12px; font-weight: 600; }
.builds-hint { color: var(--t4); font-size: 13px; margin: 22px 0 0; }

.news-card { padding: 24px 26px; display: flex; flex-direction: column; gap: 10px; transition: transform 0.25s, border-color 0.25s; }
.news-card:hover { transform: translateY(-4px); border-color: rgba(200, 170, 110, 0.5); }
.news-card .date { color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: 0.16em; }
.news-card .title { font-family: 'Unbounded', sans-serif; color: #fff; font-size: 15px; font-weight: 700; line-height: 1.4; }
.news-card .teaser { color: var(--t3); font-size: 13px; line-height: 1.65; }

.rules-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 40px; margin-top: 32px; max-width: 1000px; }
.rule { display: flex; gap: 16px; align-items: baseline; }
.rule .num { font-family: 'Unbounded', sans-serif; color: var(--gold); font-size: 13px; font-weight: 700; }
.rule .text { color: var(--t2); font-size: 14px; line-height: 1.7; }
.rules-more { margin: 24px 0 0; }
.link-gold { color: var(--gold); font-size: 13px; font-weight: 700; border-bottom: 1px solid rgba(200, 170, 110, 0.4); padding-bottom: 1px; }
.link-gold:hover { color: #fff; }

/* ============ Footer ============ */
.site-footer { border-top: 1px solid var(--line-gold); padding: 32px 96px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.site-footer .copy { color: var(--t5); font-size: 12px; font-weight: 600; }
.site-footer .spacer { flex: 1; }
.site-footer .socials { display: flex; gap: 18px; }
.site-footer .socials a { font-size: 13px; font-weight: 700; }

/* ============ 404 ============ */
.nf-screen { min-height: calc(100vh - 70px); display: grid; place-items: center; padding: 40px 20px; }
.nf-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.nf-code { font-size: 96px; font-weight: 800; color: var(--gold); line-height: 1; }
.nf-text { color: var(--t3); font-size: 15px; line-height: 1.7; max-width: 420px; margin: 0; }

/* ============ Адаптив (в макете только десктоп — аккуратные добивки) ============ */
@media (max-width: 1280px) {
  .grid-builds { grid-template-columns: repeat(2, 1fr); }
  .hero-content { left: 64px; }
  .section { padding-left: 64px; padding-right: 64px; }
  .site-footer { padding-left: 64px; padding-right: 64px; }
}
@media (max-width: 900px) {
  .site-header { padding: 0 20px; gap: 16px; }
  .site-nav { gap: 16px; overflow-x: auto; }
  .hero { height: auto; min-height: 560px; }
  .hero-content { position: relative; left: 0; top: 0; width: auto; padding: 88px 24px 48px; }
  .hero-title { font-size: 40px; }
  .section { padding-left: 24px; padding-right: 24px; padding-bottom: 56px; }
  .section.first { padding-top: 48px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .grid-3, .grid-builds { grid-template-columns: 1fr; }
  .rules-grid { grid-template-columns: 1fr; }
  .site-footer { padding: 24px; }
  .btn-red { width: 100%; }
}
@media (max-width: 560px) {
  .site-nav { display: none; }
}
