/* ============================================================
   MAIZY RolePlay — main stylesheet
   Dark gaming style: bold uppercase display headings,
   one bright accent, rounded cards, glass header.
   ============================================================ */

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Montserrat';
  src: url('../assets/fonts/montserrat-800.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'TT Norms';
  src: url('../092018/fonts/TTNorms-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'TT Norms';
  src: url('../092018/fonts/TTNorms-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'TT Norms';
  src: url('../092018/fonts/TTNorms-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'TT Norms';
  src: url('../092018/fonts/TTNorms-ExtraBold.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #0b0e13;
  --bg-soft: #10141b;
  --panel: #141924;
  --panel-2: #1a2130;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f6fa;
  --muted: #9aa4b4;
  --muted-2: #6d7684;
  --accent: #ff8a1e;
  --accent-2: #ff6200;
  --grad: linear-gradient(135deg, #ffb02e 0%, #ff6200 100%);
  --green: #2ecc71;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow-accent: 0 12px 32px -8px rgba(255, 108, 0, 0.55);
  --header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'TT Norms', 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

[id] { scroll-margin-top: 110px; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography helpers ---------- */
.h-display {
  font-family: 'Montserrat', 'TT Norms', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: 0.01em;
}

.section-title {
  font-family: 'Montserrat', 'TT Norms', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.1;
  margin: 0 0 14px;
}
.section-title .accent { color: var(--accent); }
.section-sub {
  color: var(--muted);
  font-size: 17px;
  max-width: 640px;
  margin: 0 0 44px;
}
.section-head { text-align: center; }
.section-head .section-sub { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { flex: none; }

.btn--primary {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--shadow-accent);
  text-transform: uppercase;
  font-family: 'Montserrat', 'TT Norms', sans-serif;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.btn--primary:hover { box-shadow: 0 16px 38px -8px rgba(255, 108, 0, 0.7); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-strong);
  color: var(--text);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); }

.btn--light {
  background: #fff;
  color: #10141b;
}
.btn--light:hover { background: #e9edf3; }

.btn--vk {
  background: #0077ff;
  color: #fff;
}
.btn--vk:hover { background: #1a86ff; }

.btn--sm { padding: 11px 22px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 14px 0;
  transition: background 0.25s ease, padding 0.25s ease, box-shadow 0.25s ease;
}
.site-header.is-scrolled {
  padding: 8px 0;
  background: rgba(11, 14, 19, 0.82);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  background: rgba(16, 20, 27, 0.72);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 12px 10px 22px;
  backdrop-filter: blur(16px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.logo__img { width: 44px; height: 44px; object-fit: contain; }
.logo__name { line-height: 1.1; }
.logo__project {
  font-family: 'Montserrat', 'TT Norms', sans-serif;
  font-weight: 800;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.logo__genre {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 auto;
}
.nav a {
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  transition: color 0.2s ease, background 0.2s ease;
}
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.nav a.is-active { color: #fff; }

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }

.burger {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  position: relative;
}
.burger span,
.burger::before,
.burger::after {
  content: '';
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transform: translateX(-50%);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.burger::before { top: 15px; }
.burger span { top: 21px; }
.burger::after { top: 27px; }
.burger.is-open::before { transform: translateX(-50%) translateY(6px) rotate(45deg); }
.burger.is-open span { opacity: 0; }
.burger.is-open::after { transform: translateX(-50%) translateY(-6px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99;
  padding: 110px 24px 28px;
  background: rgba(11, 14, 19, 0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.mobile-nav.is-open { display: block; }
.mobile-nav a {
  display: block;
  padding: 16px 4px;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--header-h) + 40px) 0 90px;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(1100px 600px at 78% 30%, rgba(255, 122, 0, 0.18), transparent 60%),
    linear-gradient(90deg, rgba(11, 14, 19, 0.96) 0%, rgba(11, 14, 19, 0.82) 42%, rgba(11, 14, 19, 0.55) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(11, 14, 19, 0) 30%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 30px;
  align-items: center;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 26px;
}
.hero__tag .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(46, 204, 113, 0.9);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.hero__title {
  font-size: clamp(44px, 7vw, 84px);
  margin: 0 0 8px;
}
.hero__title .accent {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead {
  font-size: clamp(17px, 1.6vw, 21px);
  color: #cdd5e0;
  max-width: 560px;
  margin: 0 0 34px;
}

.hero__actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }

.hero__note {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}
.hero__note .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(46, 204, 113, 0.8);
}

.hero__stats {
  display: flex;
  gap: 14px;
  margin-top: 44px;
  flex-wrap: wrap;
}
.stat-chip {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 22px;
  background: rgba(16, 20, 27, 0.72);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(10px);
  min-width: 130px;
}
.stat-chip__value {
  font-family: 'Montserrat', 'TT Norms', sans-serif;
  font-weight: 800;
  font-size: 24px;
  line-height: 1.1;
}
.stat-chip__value .accent { color: var(--accent); }
.stat-chip__label { font-size: 12.5px; color: var(--muted); letter-spacing: 0.04em; }

.hero__render {
  position: relative;
  justify-self: end;
  align-self: end;
  width: min(460px, 100%);
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6));
  animation: floaty 5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.scroll-hint__mouse {
  width: 22px;
  height: 34px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  position: relative;
}
.scroll-hint__mouse::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--accent);
  animation: wheel 1.6s infinite;
}
@keyframes wheel {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; position: relative; }
.section--soft { background: var(--bg-soft); }

/* ---------- Monitoring ---------- */
.servers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}
.server-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 26px 28px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.server-card:hover {
  border-color: rgba(255, 138, 30, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
}
.server-card__status {
  width: 54px;
  height: 54px;
  flex: none;
  border-radius: 16px;
  background: rgba(46, 204, 113, 0.12);
  border: 1px solid rgba(46, 204, 113, 0.35);
  display: grid;
  place-items: center;
}
.server-card__status .dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 16px rgba(46, 204, 113, 0.9);
}
.server-card__body { flex: 1; min-width: 0; }
.server-card__name {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  font-family: 'Montserrat', 'TT Norms', sans-serif;
  font-weight: 800;
  font-size: 18px;
  text-transform: uppercase;
}
.server-card__online { color: var(--muted); font-family: 'TT Norms'; font-weight: 500; font-size: 14px; }
.server-card__online b { color: var(--text); }
.server-card__bar {
  margin: 12px 0 10px;
  height: 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.server-card__bar i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: var(--grad);
  transition: width 0.6s ease;
}
.server-card__ip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted-2);
  font-size: 14px;
}
.copy-ip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.copy-ip:hover { background: rgba(255, 255, 255, 0.1); }
.copy-ip.is-copied { border-color: rgba(46, 204, 113, 0.6); color: var(--green); }

/* ---------- Features ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  padding: 34px 30px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.feature-card:hover { transform: translateY(-6px); border-color: rgba(255, 138, 30, 0.45); }
.feature-card__num {
  font-family: 'Montserrat', 'TT Norms', sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
}
.feature-card__title {
  font-family: 'Montserrat', 'TT Norms', sans-serif;
  font-weight: 800;
  font-size: 20px;
  margin: 0 0 12px;
}
.feature-card__text { color: var(--muted); font-size: 15.5px; margin: 0; }

/* ---------- Steps ---------- */
.step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 84px;
}
.step:last-child { margin-bottom: 0; }
.step--flip .step__media { order: 2; }
.step__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45);
  aspect-ratio: 16 / 10.5;
  background: var(--panel-2);
}
.step__media img { width: 100%; height: 100%; object-fit: cover; }
.step__media--download {
  display: grid;
  place-items: center;
  background:
    radial-gradient(420px 260px at 70% 20%, rgba(255, 122, 0, 0.22), transparent 65%),
    linear-gradient(160deg, #1a2130, #10141b);
}
.step__badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(11, 14, 19, 0.8);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(8px);
  font-family: 'Montserrat', 'TT Norms', sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.step__content .step__num {
  display: inline-block;
  font-family: 'Montserrat', 'TT Norms', sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 12px;
}
.step__title {
  font-family: 'Montserrat', 'TT Norms', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(24px, 3vw, 34px);
  margin: 0 0 16px;
}
.step__text { color: var(--muted); font-size: 17px; max-width: 480px; }
.step__text p { margin: 0 0 14px; }
.step__content .btn { margin-top: 14px; }

.dl-art {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  padding: 30px;
}
.dl-art__icon {
  width: 96px;
  height: 96px;
  border-radius: 26px;
  background: var(--grad);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-accent);
}
.dl-art__name {
  font-family: 'Montserrat', 'TT Norms', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 20px;
}
.dl-art__hint { color: var(--muted); font-size: 14px; }

/* ---------- News ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--border);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.news-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 138, 30, 0.45);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
}
.news-card__media {
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  position: relative;
}
.news-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(11, 14, 19, 0.65), rgba(11, 14, 19, 0) 55%);
}
.news-card__date {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(11, 14, 19, 0.78);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(8px);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent);
}
.news-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.news-card__title {
  font-family: 'Montserrat', 'TT Norms', sans-serif;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.3;
  margin: 0 0 10px;
}
.news-card__text {
  color: var(--muted);
  font-size: 14.5px;
  margin: 0 0 18px;
  flex: 1;
}
.news-card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 700;
  font-size: 14.5px;
}
.news-card__more svg { transition: transform 0.2s ease; }
.news-card:hover .news-card__more svg { transform: translateX(4px); }

/* ---------- Community (VK) ---------- */
.vk-banner {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 44px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  background:
    radial-gradient(500px 240px at 85% 0%, rgba(0, 119, 255, 0.25), transparent 60%),
    radial-gradient(420px 260px at 8% 100%, rgba(255, 122, 0, 0.14), transparent 60%),
    var(--panel);
}
.vk-banner__info { display: flex; align-items: center; gap: 22px; }
.vk-banner__ava {
  width: 84px;
  height: 84px;
  border-radius: 22px;
  overflow: hidden;
  flex: none;
  border: 1px solid var(--border-strong);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
}
.vk-banner__ava img { width: 100%; height: 100%; object-fit: cover; }
.vk-banner__name {
  font-family: 'Montserrat', 'TT Norms', sans-serif;
  font-weight: 800;
  font-size: 22px;
  margin: 0 0 4px;
}
.vk-banner__meta { color: var(--muted); font-size: 15px; }

/* ---------- Page head (inner pages) ---------- */
.page-head {
  padding: calc(var(--header-h) + 70px) 0 30px;
  text-align: center;
}
.page-head .section-sub { margin-bottom: 0; }

/* ---------- Pay ---------- */
.pay-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 26px;
  align-items: start;
}
.pay-form {
  padding: 32px 30px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.pay-form__title {
  font-family: 'Montserrat', 'TT Norms', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 20px;
  margin: 0 0 22px;
}
.field { margin-bottom: 16px; }
.field__label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.input {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg-soft);
  color: var(--text);
  font-family: inherit;
  font-size: 15.5px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.input:focus {
  border-color: rgba(255, 138, 30, 0.7);
  box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.14);
}
.input::placeholder { color: var(--muted-2); }
select.input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%239aa4b4' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.field__error {
  display: none;
  color: #ff5d5d;
  font-size: 13px;
  margin-top: 6px;
}
.field.has-error .input { border-color: rgba(255, 93, 93, 0.7); }
.field.has-error .field__error { display: block; }
.pay-form .btn { margin-top: 8px; }
.pay-form__sum {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--muted);
  margin: -4px 0 16px;
}
.pay-form__sum b { color: var(--accent); }

.pay-info {
  padding: 32px 30px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  height: 100%;
}
.pay-info__title {
  font-family: 'Montserrat', 'TT Norms', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 20px;
  margin: 0 0 20px;
}
.pay-steps { list-style: none; margin: 0; padding: 0; }
.pay-steps li {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--border-strong);
  color: var(--muted);
  font-size: 15.5px;
}
.pay-steps li:last-child { border-bottom: 0; }
.pay-steps__num {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(255, 138, 30, 0.14);
  border: 1px solid rgba(255, 138, 30, 0.4);
  color: var(--accent);
  font-family: 'Montserrat', 'TT Norms', sans-serif;
  font-weight: 800;
  display: grid;
  place-items: center;
  font-size: 14px;
}

/* ---------- Shop ---------- */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.shop-card {
  padding: 28px 26px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.shop-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 138, 30, 0.45);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
}
.shop-card__icon {
  width: 92px;
  height: 92px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  background: var(--bg-soft);
  border: 1px solid var(--border-strong);
  margin-bottom: 18px;
}
.shop-card__name {
  font-family: 'Montserrat', 'TT Norms', sans-serif;
  font-weight: 800;
  font-size: 17px;
  margin: 0 0 6px;
}
.shop-card__desc { color: var(--muted); font-size: 14.5px; margin: 0 0 18px; flex: 1; }
.shop-card__price {
  font-family: 'Montserrat', 'TT Norms', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--accent);
  margin-bottom: 14px;
}
.shop-card__price small { font-size: 13px; color: var(--muted); font-family: 'TT Norms'; font-weight: 500; }

.pay-cta {
  margin-top: 60px;
  text-align: center;
  font-family: 'Montserrat', 'TT Norms', sans-serif;
  font-weight: 800;
  font-size: clamp(18px, 2.4vw, 26px);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: #080a0e;
  padding: 64px 0 34px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 46px;
}
.footer-about p { color: var(--muted); font-size: 14.5px; max-width: 320px; margin: 18px 0 0; }
.footer-title {
  font-family: 'Montserrat', 'TT Norms', sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 6px 0 18px;
}
.footer-col a {
  display: block;
  padding: 6px 0;
  color: var(--muted);
  font-size: 15px;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--accent); }
.footer-col a.logo { display: flex; }
.footer-col .footer-socials a { display: grid; }
.footer-socials { display: flex; gap: 12px; }
.social-btn {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--panel-2);
  border: 1px solid var(--border-strong);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.social-btn:hover { transform: translateY(-3px); border-color: rgba(255, 138, 30, 0.5); }
.social-btn--vk { background: rgba(0, 119, 255, 0.14); border-color: rgba(0, 119, 255, 0.45); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  color: var(--muted-2);
  font-size: 13.5px;
}
.footer-age {
  padding: 6px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  font-weight: 700;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__render { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .news-grid, .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .pay-layout { grid-template-columns: 1fr; }
}

@media (max-width: 992px) {
  .nav, .header-actions .btn--ghost { display: none; }
  .burger { display: block; margin-left: auto; }
  .header-inner { padding-left: 18px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__render { display: none; }
  .features { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: 26px; margin-bottom: 56px; }
  .step--flip .step__media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 68px 0; }
  .news-grid, .shop-grid { grid-template-columns: 1fr; }
  .header-actions .btn--primary { display: none; }
  .hero { min-height: auto; }
  .hero__stats { gap: 10px; }
  .stat-chip { min-width: 108px; padding: 12px 16px; }
  .server-card { flex-direction: column; align-items: flex-start; }
  .vk-banner { padding: 30px 24px; }
  .vk-banner__actions { width: 100%; }
  .vk-banner__actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
