/* =====================================================================
   EMPIRE RUSSIA — тема «Синяя», в цветах форума (редизайн 2026)
   Подключается ПОСЛЕ style.css и animations.css и переопределяет их.
   Старый style.css не трогаем: на нём держатся окна входа, профиль, админка.
   Разделы: 1 токены · 2 база · 3 шапка · 4 кнопки · 5 первый экран · 6 сервера
            7 особенности · 8 как начать · 9 новости · 10 галерея и страницы · 11 подвал
            12 появление блоков · 13 адаптив
   ===================================================================== */

/* ---------- 1. ТОКЕНЫ ---------- */
:root {
    --er-bg: #081328;          /* основной фон */
    --er-bg-2: #0b1a36;        /* полоса серверов */
    --er-violet-bg: #0d1c3d;   /* раздел «Особенности» */
    --er-blue-bg: #0a1730;     /* раздел «Новости» */
    --er-foot: #060f22;        /* подвал */
    --er-panel: #1a2238;       /* карточки, таблица */
    --er-line: #242a49;
    --er-line-2: #2f3a63;

    --er-text: #e8edf8;
    --er-sub: #c4cde4;
    --er-muted: #9aa3bd;

    --er-accent: #0068f8;      /* единственный «громкий» цвет: главная кнопка */
    --er-accent-hi: #1a7dff;
    --er-lilac: #4da3ff;       /* слово RUSSIA, подписи */
    --er-link: #3aa0ff;
    --er-danger: #ff7a88;
    --er-ok: #4fdc9a;

    --er-light: #e9f0fb;       /* светлый раздел «Как начать» */
    --er-ink: #0b1a36;
    --er-ink-sub: #44557a;

    --er-display: 'Oswald', 'Arial Narrow', sans-serif;
    --er-body: 'Golos Text', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --er-mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
    --er-r: 6px;

    /* старые токены style.css — подстраиваем под новую палитру (модалки, админка, страницы новостей) */
    --bg-body: var(--er-bg);
    --bg-header: var(--er-bg);
    --bg-card: var(--er-panel);
    --bg-card-hi: #1c2748;
    --bg-elevated: #27315a;
    --bg-input: #0f1830;
    --line: var(--er-line);
    --primary: var(--er-accent);
    --primary-hi: var(--er-accent-hi);
    --primary-glow: rgba(0, 104, 248, .4);
    --accent: var(--er-link);
    --accent-soft: rgba(1, 144, 251, .12);
    --text-main: #fff;
    --text-sub: var(--er-muted);
    --text-muted: #6b7493;
    --font-family: var(--er-body);
}

/* ---------- 2. БАЗА ---------- */
body { background: var(--er-bg); font-family: var(--er-body); color: var(--er-text); text-rendering: optimizeLegibility; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
a { color: var(--er-link); }
a:hover { color: #c4ddfe; }
::selection { background: var(--er-accent); }
::-webkit-scrollbar-track { background: var(--er-bg); }
::-webkit-scrollbar-thumb { background: #365378; }
::-webkit-scrollbar-thumb:hover { background: var(--er-accent); }
.er-rel { position: relative; }
.er-mono { font-family: var(--er-mono); letter-spacing: .02em; }
.er-muted { color: var(--er-muted); }
.container { max-width: 1240px; padding: 0 32px; }

/* заголовки разделов */
.er-head { margin-bottom: 44px; }
.er-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.er-head--split { display: grid; grid-template-columns: 1fr 380px; align-items: end; gap: 40px; margin-bottom: 52px; }
.er-eyebrow { margin: 0 0 12px; font-family: var(--er-mono); font-size: 13px; letter-spacing: .02em; color: var(--er-lilac); }
.er-eyebrow--line { display: flex; align-items: center; gap: 12px; color: var(--er-muted); }
.er-eyebrow--line::before { content: ""; width: 28px; height: 2px; background: var(--er-accent); }
.er-eyebrow--dark { color: #4385dc; }
.er-eyebrow--blue { color: var(--er-link); }
.er-title { margin: 0; font-family: var(--er-display); font-weight: 600; font-size: clamp(34px, 4.2vw, 52px); line-height: 1; text-transform: uppercase; letter-spacing: .005em; color: var(--er-text); }
.er-title--md { font-size: clamp(28px, 3vw, 36px); }
.er-title--dark { color: var(--er-ink); }
.er-lead { margin: 0; font-size: 17px; line-height: 1.6; color: var(--er-sub); }
.er-lead--top { margin-top: 14px; }
.er-link { display: inline-flex; padding: 0; background: none; border: 0; font: 600 15px var(--er-body); color: var(--er-link); cursor: pointer; }
.er-link:hover { color: #fff; }

/* ---------- 3. ШАПКА ---------- */
.site-header { padding: 0; background: var(--er-bg); backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 1px solid #233a59; }
.site-header.is-scrolled { background: rgba(13, 23, 37, .96); box-shadow: 0 1px 0 #233a59; }
.header-inner { min-height: 76px; }
.brand-logo { gap: 12px; color: var(--er-text); }
.brand-logo img { height: 40px; filter: none; }
.brand-word { font-family: var(--er-display); font-weight: 700; font-size: 21px; letter-spacing: .08em; color: var(--er-text); white-space: nowrap; }
.brand-word i { font-style: normal; color: var(--er-lilac); }
.main-nav { gap: 2px; align-self: stretch; }
.nav-item { align-self: stretch; padding: 0 14px; border: 0; border-radius: 0; background: none; font-size: 15px; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--er-muted); }
.nav-item:hover { color: var(--er-text); background: none; box-shadow: none; }
.nav-item.active { color: var(--er-text); background: none; box-shadow: inset 0 -2px 0 var(--er-accent); }
.lang-switch { padding: 0; gap: 0; background: none; border: 0; font-family: var(--er-mono); }
.lang-btn { padding: 6px 7px; border-radius: 4px; font-size: 13px; font-weight: 400; color: var(--er-muted); }
.lang-btn.is-current { background: none; color: var(--er-text); font-weight: 600; }
.header-actions { gap: 14px; }
.header-actions .badge-age { display: none; }
.avatar-btn { border-radius: var(--er-r); background: var(--er-panel); border-color: var(--er-line); }
.burger { border-radius: var(--er-r); background: var(--er-panel); border-color: var(--er-line); }

/* ---------- 4. КНОПКИ ---------- */
/* старые кнопки (окна, страницы новостей, админка) — без градиентов и бликов */
.btn { border-radius: var(--er-r); text-transform: none; letter-spacing: 0; font-weight: 600; font-size: 15px; }
.btn:hover { transform: translateY(-1px); }
.btn--shimmer::before { display: none; }
.btn--download, .btn--primary { background: var(--er-accent); box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 8px 22px rgba(96, 163, 251, .3); }
.btn--download:hover, .btn--primary:hover { background: var(--er-accent-hi); box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 10px 26px rgba(96, 163, 251, .4); }
.btn--secondary, .btn--ghost { background: transparent; border: 1px solid var(--er-line-2); backdrop-filter: none; }
.btn--secondary:hover, .btn--ghost:hover { background: rgba(255, 255, 255, .05); border-color: #4c709e; }
.btn--cyan { background: var(--er-text); color: var(--er-bg); border: 0; }
.btn--cyan:hover { background: #fff; color: var(--er-bg); box-shadow: none; }
.btn--lg { padding: 16px 28px; font-size: 16px; }
.btn--sm { border-radius: var(--er-r); }

/* новые кнопки главной */
.er-btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; height: 48px; padding: 0 22px; border: 0; border-radius: var(--er-r); font: 600 15px var(--er-body); text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease; white-space: nowrap; }
.er-btn:hover { transform: translateY(-1px); }
.er-btn--lg { height: 60px; padding: 0 22px 0 28px; font-size: 17px; }
.er-btn--primary { background: var(--er-accent); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 8px 24px rgba(96, 163, 251, .35); }
.er-btn--primary:hover { background: var(--er-accent-hi); color: #fff; }
.er-btn--light { height: 44px; min-width: 120px; background: var(--er-text); color: var(--er-bg); }
.er-btn--light:hover { background: #fff; color: var(--er-bg); }
.er-btn__tag { padding: 4px 8px; border-radius: 3px; background: rgba(13, 23, 37, .3); font: 400 12px var(--er-mono); }
.er-play { display: inline-flex; align-items: center; gap: 10px; padding: 0; background: none; border: 0; font: 600 16px var(--er-body); color: var(--er-text); cursor: pointer; }
.er-play:hover { color: #fff; }
.er-play__icon { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(232, 238, 246, .45); border-radius: 50%; transition: background-color .15s ease; }
.er-play:hover .er-play__icon { background: rgba(255, 255, 255, .08); }
.er-play__icon svg { width: 14px; height: 14px; fill: currentColor; margin-left: 2px; }
.er-icon-btn { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; background: transparent; border: 1px solid var(--er-line-2); border-radius: 3px; color: var(--er-muted); cursor: pointer; }
.er-icon-btn:hover { color: #fff; border-color: #4c709e; }
.er-icon-btn svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; }

/* ---------- 5. ПЕРВЫЙ ЭКРАН ---------- */
.er-hero { position: relative; overflow: hidden; min-height: 740px; display: flex; align-items: center; padding: 72px 0 96px; }
.er-hero__bg { position: absolute; inset: 0; pointer-events: none; }
.er-hero__bg img { position: absolute; right: -4%; bottom: 0; width: 78%; max-width: 1240px; height: auto; opacity: .38; }
.er-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--er-bg) 26%, rgba(13, 23, 37, .55) 58%, rgba(13, 23, 37, .2) 100%), linear-gradient(0deg, var(--er-bg) 0, rgba(13, 23, 37, 0) 30%); }
.er-hero__grid { position: relative; display: grid; grid-template-columns: 1fr 1.12fr; gap: 56px; align-items: center; }
.er-hero__title { margin: 24px 0 0; font-family: var(--er-display); font-weight: 700; font-size: clamp(64px, 9.6vw, 140px); line-height: .86; letter-spacing: -.01em; text-transform: uppercase; color: var(--er-text); }
.er-hero__title span { color: var(--er-lilac); }
.er-hero__lead { max-width: 430px; margin: 30px 0 0; font-size: 20px; line-height: 1.6; color: #cad7e9; }
.er-hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 32px; margin-top: 40px; }
.er-stats { display: flex; max-width: 460px; margin: 52px 0 0; padding-top: 24px; border-top: 1px solid #304a6c; }
.er-stats > div { flex: 1; display: flex; flex-direction: column-reverse; padding: 0 20px; border-left: 1px solid #304a6c; }
.er-stats > div:first-child { padding-left: 0; border-left: 0; }
.er-stats dd { margin: 0; font-family: var(--er-display); font-weight: 600; font-size: 30px; line-height: 1; color: var(--er-text); }
.er-stats dt { margin-top: 6px; font-family: var(--er-mono); font-size: 12px; color: var(--er-muted); }

/* телефон с трейлером */
.er-phone-wrap { justify-self: end; width: 100%; max-width: 600px; }
.er-phone { display: block; width: 100%; aspect-ratio: 600 / 286; padding: 12px 16px; background: #060e19; border: 0; border-radius: 38px; box-shadow: 0 0 0 1.5px #304a6c, 0 0 0 7px #111d2d, 0 0 0 8.5px #304a6c, 0 40px 80px rgba(0, 0, 0, .55); transform: rotate(-3deg); cursor: pointer; transition: transform .3s ease; }
.er-phone:hover { transform: rotate(-2deg) translateY(-4px); }
.er-phone__screen { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; border-radius: 26px; background: #1b2b41; }
.er-phone__screen img { width: 100%; height: 100%; object-fit: cover; }
.er-phone__screen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(13, 23, 37, .6), rgba(13, 23, 37, 0) 55%); }
.er-phone__play { position: absolute; left: 50%; top: 50%; z-index: 1; display: grid; place-items: center; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; background: var(--er-accent); box-shadow: 0 10px 30px rgba(96, 163, 251, .5); }
.er-phone__play svg { width: 24px; height: 24px; fill: #fff; margin-left: 3px; }
.er-phone__label { position: absolute; left: 18px; bottom: 14px; z-index: 1; font: 600 13px var(--er-mono); color: #fff; }

/* ---------- 6. СЕРВЕРА ---------- */
.er-servers { padding: 64px 0 72px; background: var(--er-bg-2); border-top: 1px solid #1f344f; border-bottom: 1px solid #1f344f; }
.er-servers .er-head { margin-bottom: 28px; }
.er-servers .er-head p { margin: 0; font-size: 13px; }
.er-table { background: var(--er-panel); border: 1px solid var(--er-line); border-radius: 4px; }
.er-table__row { display: grid; grid-template-columns: 1.2fr 1.4fr .8fr 1.3fr auto; gap: 24px; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--er-line); }
.er-table__row:last-child { border-bottom: 0; }
.er-table__head { padding-top: 14px; padding-bottom: 14px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #90a8c7; }
.er-table__name { font-size: 17px; font-weight: 600; }
.er-table__count { display: block; margin-bottom: 8px; font-size: 14px; color: #90a8c7; }
.er-table__count b { color: var(--er-text); font-weight: 600; }
.er-table__addr { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #cad7e9; }
.er-table__act { min-width: 120px; text-align: right; }
.er-table__row--soon { color: #7f99ba; }
.er-bar { display: block; height: 4px; background: var(--er-line); border-radius: 2px; overflow: hidden; }
.er-bar__fill { display: block; width: 0; min-width: 3px; height: 100%; background: var(--er-accent); border-radius: 2px; transition: width 1s ease; }
/* статус: переиспользуем .live-badge — app.js сам меняет класс on/off и текст */
.er-table .live-badge { padding: 0; background: none; border: 0; box-shadow: none; font: 600 14px var(--er-body); letter-spacing: 0; text-transform: none; }
.er-table .live-badge.on { color: var(--er-ok); }
.er-table .live-badge.off { color: var(--er-danger); }
.er-table .live-badge::before { width: 7px; height: 7px; animation: none; }
.er-table .live-badge.on::before { animation: livePulse 2s infinite; }

/* ---------- 7. ОСОБЕННОСТИ ---------- */
.er-features { position: relative; overflow: hidden; padding: 120px 0 200px; background: var(--er-violet-bg); }
.er-features__deco { position: absolute; right: -8%; top: 0; width: 60%; max-width: 900px; opacity: .14; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 55%); mask-image: linear-gradient(90deg, transparent, #000 55%); }
.er-skyline { position: absolute; left: 0; bottom: 0; width: 100%; height: 200px; fill: #19304f; pointer-events: none; }
.er-feat { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.er-feat__item h3 { margin: 8px 0 10px; font: 600 21px/1.25 var(--er-body); letter-spacing: -.005em; color: var(--er-text); }
.er-feat__item p { margin: 0; font-size: 16px; line-height: 1.6; color: #b4c6dd; }
.er-feat__item .er-feat__tag { margin: 20px 0 0; font-size: 12px; color: var(--er-lilac); }
.er-feat__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: #20395a; transition: transform .3s ease; }
.er-feat__item:hover .er-feat__media { transform: translateY(-4px); }
.er-feat__media svg { display: block; width: 100%; height: 100%; }
.er-feat__media--car { display: flex; align-items: flex-end; justify-content: center; background: #26456e; }
.er-feat__media--car::before { content: ""; position: absolute; left: 12%; right: 12%; bottom: 13%; height: 16px; border-radius: 50%; background: rgba(9, 26, 49, .5); }
.er-feat__media--car img { position: relative; width: 94%; margin-bottom: 9%; transition: transform .4s ease; }
.er-feat__item:hover .er-feat__media--car img { transform: translateX(6px); }
.er-feat__media--city { background: #2e5b97; }
.er-feat__media--city img { position: absolute; left: -4%; bottom: -14%; width: 215%; max-width: none; }

/* ---------- 8. КАК НАЧАТЬ ---------- */
.er-start { position: relative; overflow: hidden; padding: 112px 0; background: linear-gradient(180deg, #ebf2fc, #e0ebf9); color: var(--er-ink); }
.er-start__mark { position: absolute; right: -20px; bottom: -120px; font-family: var(--er-display); font-weight: 700; font-size: 280px; line-height: 1; text-transform: uppercase; letter-spacing: -.01em; color: rgba(67, 133, 220, .06); white-space: nowrap; pointer-events: none; }
.er-start__grid { display: grid; grid-template-columns: 300px 1fr; }
.er-start__grid > div:first-child { padding: 8px 40px 8px 0; }
.er-start__lead { margin: 16px 0 0; font-size: 17px; line-height: 1.6; color: var(--er-ink-sub); }
.er-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.er-step { display: flex; flex-direction: column; padding: 32px 28px; background: #fff; border-radius: 4px; box-shadow: 0 1px 0 #cfdef1; }
.er-step__num { font: 700 56px/1 var(--er-display); color: #4385dc; }
.er-step h3 { margin: 18px 0 8px; font: 600 21px/1.25 var(--er-body); color: var(--er-ink); }
.er-step p { flex: 1; margin: 0 0 20px; font-size: 16px; line-height: 1.6; color: var(--er-ink-sub); }
.er-step .er-link { color: #3378d2; }
.er-step .er-link:hover { color: var(--er-ink); }
.er-step--dark { background: var(--er-ink); box-shadow: none; }
.er-step--dark .er-step__num { color: var(--er-lilac); }
.er-step--dark h3 { color: #eff6ff; }
.er-step--dark p { color: #b9cce5; }
.er-step--dark .er-link { color: #bfdafd; }
.er-step--dark .er-link:hover { color: #fff; }

/* ---------- 9. НОВОСТИ ---------- */
.er-news { position: relative; overflow: hidden; padding: 112px 0 120px; background: var(--er-blue-bg); }
.er-news__deco { position: absolute; left: 50%; top: -40px; width: 120%; max-width: none; transform: translateX(-50%); opacity: .12; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, #000 10%, transparent 55%); mask-image: linear-gradient(180deg, #000 10%, transparent 55%); }
.er-news__tools { display: flex; align-items: center; gap: 20px; }
.ctrl-btn { width: 40px; height: 40px; border-radius: 4px; background: transparent; border: 1px solid #2e5384; box-shadow: none; backdrop-filter: none; }
.ctrl-btn:hover { background: rgba(255, 255, 255, .06); border-color: #4d77ad; color: #fff; }
.news-carousel { gap: 24px; }

/* карточка новости (и на главной, и в разделе «Новости») */
.news-card { flex: 0 0 370px; background: none; border: 0; border-radius: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.news-card:hover { background: none; border: 0; box-shadow: none; transform: none; }
.news-card-thumb { height: 208px; border-radius: 4px; background: #17355c; }
.news-card-thumb img.is-fallback { opacity: .5; object-fit: contain; object-position: center bottom; }
.news-card:hover .news-card-thumb img { transform: scale(1.04); }
.news-card-body { padding: 16px 0 0; }
.news-card-date { font: 400 13px var(--er-mono); color: #91abce; }
.news-card-title { margin: 6px 0 8px; font: 600 21px/1.3 var(--er-body); color: var(--er-text); }
.news-card:hover .news-card-title { color: #c4ddfe; }
.news-card-snippet { font-size: 15px; line-height: 1.6; color: #b4c9e5; }
.news-card-link { font-weight: 600; font-size: 15px; color: var(--er-link); }
.news-tag { top: 12px; left: 12px; padding: 5px 9px; border-radius: 3px; font-size: 12px; font-weight: 600; text-transform: none; }
.news-tag[data-cat="update"] { background: var(--er-blue-bg); color: var(--er-text); }
.news-tag[data-cat="fix"] { background: var(--er-accent); color: #fff; }
.news-tag[data-cat="event"] { background: #1f8f62; color: #fff; }
.news-tag[data-cat="other"] { background: #3c5b84; color: #fff; }

/* ---------- 10. ГАЛЕРЕЯ И ВНУТРЕННИЕ СТРАНИЦЫ ---------- */
.er-gallery { padding: 112px 0; background: var(--er-bg); }
.gallery__item { border-radius: 4px; border-color: var(--er-line); }
.page-section { padding: 64px 0 96px; }
.section-eyebrow { font-family: var(--er-mono); font-size: 13px; font-weight: 400; letter-spacing: .02em; text-transform: none; color: var(--er-lilac); }
.section-title { font-family: var(--er-display); font-weight: 600; font-size: clamp(34px, 4vw, 52px); line-height: 1; background: none; -webkit-text-fill-color: currentColor; color: var(--er-text); }
.filters a, .pager a, .pager span { border-radius: 4px; text-transform: none; letter-spacing: 0; font-weight: 600; }
.filters a.is-active, .pager .is-current { background: var(--er-accent); border-color: var(--er-accent); }
.glass-panel, .card, .stat-card { background: var(--er-panel); border-color: var(--er-line); border-radius: var(--er-r); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
.article-title { font-family: var(--er-display); font-weight: 600; text-transform: uppercase; }
.article-cover { border-radius: 4px; }
.article-nav a { border-radius: 4px; }
.error-page__code { font-family: var(--er-display); background: none; -webkit-text-fill-color: var(--er-lilac); color: var(--er-lilac); }

/* окна входа/профиля/трейлера */
.modal { background: rgba(10, 18, 29, .86); }
.modal__card { background: var(--er-panel); border-color: var(--er-line); border-radius: 8px; }
.modal__title { font-family: var(--er-display); font-weight: 600; letter-spacing: .01em; }
.tabs { border-radius: var(--er-r); background: var(--er-bg); }
.tabs button { border-radius: 4px; text-transform: none; }
.tabs button.is-active { background: var(--er-accent); box-shadow: none; }
.form-control { border-radius: var(--er-r); }

/* нижняя панель на телефоне и боковое меню */
.mobile-bottom-nav { background: rgba(13, 23, 37, .97); border-top: 1px solid #233a59; }
.mobile-nav-link.active { color: var(--er-lilac); }
.mobile-nav-link.active svg { filter: none; }
.mobile-nav-link--cta { color: var(--er-accent-hi); }
.drawer { background: var(--er-bg-2); }
.drawer__langs a.is-current { background: var(--er-accent); border-color: var(--er-accent); }

/* ---------- 11. ПОДВАЛ ---------- */
.site-footer { background: var(--er-foot); backdrop-filter: none; border-top: 1px solid #233a59; padding: 56px 0 32px; }
.footer-brand img { height: 56px; }
.footer-brand p { color: var(--er-muted); font-size: 15px; }
.footer-title { font: 400 12px var(--er-mono); letter-spacing: .02em; text-transform: none; color: #7f97b7; margin-bottom: 14px; }
.footer-links { gap: 10px; }
.footer-links a { color: #cad7e9; font-size: 15px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { font: 400 12px var(--er-mono); color: #6c85a5; border-top-color: #1b2d44; }

/* ---------- 12. ПОЯВЛЕНИЕ БЛОКОВ (класс .reveal, логика в app.js) ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- 13. АДАПТИВ ---------- */
@media (max-width: 1240px) {
    .er-hero__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 1100px) {
    .er-table__row { grid-template-columns: 1fr 1fr; row-gap: 14px; }
    .er-table__head { display: none; }
    .er-table__act { text-align: left; }
    .er-feat { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
    .er-hero { min-height: 0; padding: 48px 0 64px; }
    .er-hero__grid { grid-template-columns: 1fr; }
    .er-phone-wrap { justify-self: center; max-width: 520px; }
    .er-hero__bg img { width: 130%; right: -30%; opacity: .25; }
    .er-head--split { grid-template-columns: 1fr; gap: 16px; }
    .er-start__grid { grid-template-columns: 1fr; }
    .er-start__grid > div:first-child { padding: 0 0 32px; }
    .er-steps { grid-template-columns: 1fr; }
    .brand-word { display: none; }
}
@media (max-width: 768px) {
    .container { padding: 0 16px; }
    .er-hero__title { font-size: 72px; }
    .er-hero__lead { font-size: 17px; }
    .er-hero__actions { gap: 20px; }
    .er-hero__actions .er-btn--lg { width: 100%; }
    .er-stats { margin-top: 36px; }
    .er-stats dd { font-size: 24px; }
    .er-phone { border-radius: 26px; padding: 8px 10px; }
    .er-phone__screen { border-radius: 18px; }
    .er-servers { padding: 48px 0 56px; }
    .er-features { padding: 72px 0 140px; }
    .er-start, .er-news, .er-gallery { padding: 72px 0; }
    .er-head { margin-bottom: 28px; }
    .er-feat { grid-template-columns: 1fr; gap: 32px; }
    .er-table__row { grid-template-columns: 1fr; padding: 16px; }
    .er-table__act .er-btn { width: 100%; }
    .er-start__mark { font-size: 160px; bottom: -60px; }
    .news-card { flex: 0 0 82vw; max-width: 340px; }
}
@media (hover: none) {
    .er-phone:hover { transform: rotate(-3deg); }
    .er-feat__item:hover .er-feat__media, .er-feat__item:hover .er-feat__media--car img { transform: none; }
}
