/* =========================================================
   RVGAMES — главная (витрина).

   Пользуется теми же токенами цвета, что и auth.css, чтобы вход,
   документы и витрина смотрелись одним сайтом. Подключать ПОСЛЕ
   auth.css: здесь только то, чего там нет.
   ========================================================= */

.home { max-width: 1080px; }

/* ---------- верхняя панель ---------- */

.topnav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 34px;
}
.topnav .brand { margin: 0; font-size: 24px; }
.topnav nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.navlink {
  color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600;
  padding: 8px 12px; border-radius: 8px;
}
.navlink:hover { color: #fff; background: rgba(255, 255, 255, .06); }

/* ---------- герой ---------- */

.hero { text-align: center; margin: 8px 0 44px; }
.hero h1 {
  font-family: var(--display); letter-spacing: -.02em; line-height: .98;
  font-size: clamp(40px, 9vw, 82px); margin-bottom: 14px;
}
.hero h1 .rv { color: #fff; }
.hero h1 .rv em {
  font-style: normal; background: #ff2d55; color: #fff;
  border-radius: 12px; padding: 0 .18em; margin-left: .1em;
}
.hero p.lead {
  color: var(--muted); font-size: clamp(16px, 2.4vw, 20px);
  max-width: 640px; margin: 0 auto 26px; line-height: 1.5;
}
.hero .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .cta .btn { width: auto; padding: 14px 26px; }

/* ---------- секции ---------- */

.section { margin: 52px 0; }
.section > h2 {
  font-family: var(--display); font-size: clamp(22px, 4vw, 30px);
  text-align: center; margin-bottom: 6px;
}
.section > .subtitle {
  text-align: center; color: var(--muted); font-size: 15px; margin-bottom: 26px;
}

/* ---------- карточки-игры (продукты) ---------- */

.games { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }

.gamecard {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: 18px; padding: 26px;
  min-height: 200px; display: flex; flex-direction: column; justify-content: flex-end;
  text-decoration: none; color: inherit;
  transition: transform .12s, box-shadow .12s, border-color .12s;
}
.gamecard .kicker {
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 6px;
}
.gamecard h3 {
  font-family: var(--display); font-size: clamp(28px, 5vw, 40px);
  line-height: 1; letter-spacing: -.01em;
}
.gamecard p { color: var(--muted); font-size: 14.5px; margin-top: 10px; max-width: 40ch; }

/* доступная — RVGAMES */
.gamecard.live {
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(255, 107, 26, .28), transparent 55%),
    radial-gradient(120% 120% at 100% 100%, rgba(162, 89, 255, .30), transparent 58%),
    var(--panel-2);
}
.gamecard.live:hover { transform: translateY(-3px); border-color: var(--accent);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.gamecard.live h3 { color: #fff; }
.gamecard.live h3 em {
  font-style: normal; background: #ff2d55; color: #fff;
  border-radius: 8px; padding: 0 .16em; margin-left: .08em; font-size: .62em; vertical-align: .12em;
}

/* тёмная — БУНКЕР, скоро */
.gamecard.soon {
  background: linear-gradient(160deg, #0a0a0f 0%, #05050a 60%, #0b0710 100%);
  border-color: rgba(255, 255, 255, .07); color: #6f6a86; cursor: default;
}
.gamecard.soon h3 { color: #c9c4dd; letter-spacing: .04em; }
.gamecard.soon p { color: #575270; }
.gamecard.soon::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 80% at 80% 10%, rgba(120, 30, 30, .35), transparent 60%);
  pointer-events: none;
}

.badge {
  position: absolute; top: 16px; right: 16px;
  font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 11px; border-radius: 99px;
}
.badge.hot { background: var(--ok); color: #05230f; }
.badge.wait {
  background: rgba(255, 255, 255, .06); color: #b7b1d0;
  border: 1px solid rgba(255, 255, 255, .16);
}

/* ---------- тарифы ---------- */

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; align-items: stretch; }
.plan {
  position: relative; background: var(--panel); border: 1px solid var(--line);
  border-radius: 16px; padding: 24px 22px; display: flex; flex-direction: column;
}
.plan.best { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.plan .best-tag {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #2a1a04; font-size: 11px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; padding: 4px 12px; border-radius: 99px;
}
.plan h3 { font-family: var(--display); font-size: 22px; margin-bottom: 4px; }
.plan .price { font-family: var(--display); font-size: 40px; line-height: 1; margin: 10px 0 2px; color: #fff; }
.plan .price small { font-size: 18px; color: var(--muted); font-family: var(--body); font-weight: 600; }
.plan .term { color: var(--muted); font-size: 13.5px; }
.plan .tagline { color: var(--muted); font-size: 14px; margin: 14px 0 20px; flex: 1; }
.plan .btn { margin-top: auto; }
.plan .btn.soon { background: rgba(255, 255, 255, .06); color: var(--muted); box-shadow: none; cursor: not-allowed; }
.plan .btn.soon:hover { transform: none; }

.paynote { text-align: center; color: var(--muted); font-size: 13px; margin-top: 18px; line-height: 1.6; }

/* ---------- как это работает ---------- */

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.step {
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 22px;
}
.step .n {
  font-family: var(--display); font-size: 15px; color: #2a1a04;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.step h4 { font-size: 16px; margin-bottom: 6px; color: #fff; }
.step p { color: var(--muted); font-size: 14px; line-height: 1.5; }

/* ---------- реквизиты кратко ---------- */

.reqcard {
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  padding: 22px 24px; margin-top: 26px; font-size: 14px; color: var(--muted); line-height: 1.7;
}
.reqcard b { color: var(--text); }
.reqcard .warn { color: var(--accent-2); }

/* ---------- подвал ---------- */

.homefoot {
  margin-top: 46px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center;
  color: var(--muted); font-size: 13.5px;
}
.homefoot a { color: var(--muted); text-decoration: none; }
.homefoot a:hover { color: var(--accent); text-decoration: underline; }
.homefoot .copy { flex-basis: 100%; text-align: center; margin-top: 12px; font-size: 12.5px; opacity: .75; }
