/* pandacasino-vhod.run — концепция «Страница входа». Префикс vh- */

/* ---------- Шапка ---------- */
.vh-top {
  position: sticky; top: 0; z-index: 40;
  background: rgba(5, 7, 5, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
}
.vh-top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.vh-logo img { width: 132px; height: auto; }
.vh-top-act { display: flex; align-items: center; gap: 10px; }
.vh-help {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 12px; border-radius: 999px;
  color: var(--muted); font-weight: 700; font-size: 0.92rem;
  transition: color 160ms ease, background 160ms ease;
}
.vh-help .ico { width: 18px; height: 18px; color: var(--green); }
.vh-help:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }

/* ---------- Hero: форма входа ---------- */
.vh-hero {
  position: relative;
  padding: 56px 0 64px;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 50% at 50% 62%, rgba(0, 201, 130, 0.16), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 40%);
}
.vh-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 16px; padding: 6px 14px;
  border: 1px solid rgba(0, 201, 130, 0.35); border-radius: 999px;
  background: rgba(0, 201, 130, 0.08);
  color: #9ff5cf; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.02em;
}
.vh-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 4px rgba(0, 201, 130, 0.2);
  flex: 0 0 auto;
}
.vh-h1 {
  max-width: 900px; margin: 0 auto;
  font-size: clamp(1.75rem, 3.6vw, 2.9rem); line-height: 1.12; font-weight: 900; letter-spacing: -0.02em;
}
.vh-lead { max-width: 760px; margin: 16px auto 0; color: var(--muted); font-weight: 600; font-size: 1.04rem; }

.vh-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px) minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  margin-top: 40px;
  text-align: left;
}

.vh-facts { position: relative; display: grid; gap: 14px; justify-items: end; }
.vh-facts img { width: 190px; filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.5)); }
.vh-facts ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; width: 100%; max-width: 280px; }
.vh-facts li {
  display: flex; gap: 10px; align-items: center;
  padding: 10px 12px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.82rem; color: var(--muted);
}
.vh-facts li .ico { color: var(--gold); }
.vh-facts li b { display: block; color: var(--text); font-size: 0.9rem; }

.vh-card {
  position: relative;
  padding: 28px 26px 22px;
  border-radius: 20px;
  background: linear-gradient(180deg, #171a19, #0d0f0e);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 6px rgba(255, 255, 255, 0.02);
}
.vh-card::before {
  content: ""; position: absolute; inset: -1px -1px auto -1px; height: 4px;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(90deg, var(--green), var(--gold));
}
.vh-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.vh-card-ico {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: rgba(0, 201, 130, 0.14); color: var(--green);
}
.vh-card-title { margin: 0; font-weight: 900; font-size: 1.2rem; }
.vh-card-sub { margin: 2px 0 0; color: var(--muted); font-size: 0.85rem; font-weight: 600; }
.vh-field { display: grid; gap: 6px; margin-bottom: 14px; }
.vh-field span { font-size: 0.8rem; font-weight: 800; color: var(--muted); }
.vh-field input {
  width: 100%; min-height: 48px; padding: 0 14px;
  border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35); color: var(--text);
  opacity: 1; cursor: not-allowed;
}
.vh-field input::placeholder { color: rgba(185, 195, 189, 0.6); }
.vh-card-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 2px 0 18px; font-size: 0.86rem; }
.vh-card-row a { color: var(--gold-2); font-weight: 700; }
.vh-remember { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 600; }
.vh-remember input { width: 18px; height: 18px; accent-color: var(--green); margin: 0; }
.vh-card-btn { width: 100%; }
.vh-card-foot { margin: 14px 0 0; text-align: center; color: var(--muted); font-size: 0.9rem; }
.vh-card-foot a { color: var(--green); font-weight: 800; }
.vh-card-trust { display: flex; justify-content: center; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px dashed rgba(255, 255, 255, 0.1); }
.vh-card-trust span { font-size: 0.72rem; font-weight: 800; color: var(--muted); padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); }

.vh-status {
  max-width: 300px;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(0, 201, 130, 0.3);
  background: linear-gradient(180deg, rgba(0, 201, 130, 0.1), rgba(0, 201, 130, 0.02));
}
.vh-status-top { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 800; }
.vh-status-top b { color: var(--green); }
.vh-status-date { margin: 4px 0 12px 16px; color: var(--muted); font-size: 0.82rem; font-weight: 600; }
.vh-status ul { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 7px; }
.vh-status li { display: flex; justify-content: space-between; gap: 10px; font-size: 0.82rem; color: var(--muted); border-bottom: 1px solid rgba(255, 255, 255, 0.06); padding-bottom: 6px; }
.vh-status li span { white-space: nowrap; }
.vh-status li b { color: var(--green); text-align: right; }
.vh-status li b.warn { color: var(--gold); }
.vh-status .btn { width: 100%; }
.vh-status-note { margin: 10px 0 0; font-size: 0.78rem; color: var(--muted); }

/* ---------- Общие секции ---------- */
.vh-sec { padding: 64px 0; }
.vh-sec-alt { background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01)); border-block: 1px solid rgba(255, 255, 255, 0.05); }
.vh-head { max-width: 760px; margin-bottom: 26px; }
.vh-head h2 { margin: 0; font-size: clamp(1.45rem, 2.6vw, 2.1rem); line-height: 1.15; font-weight: 900; letter-spacing: -0.01em; }
.vh-head p { margin: 10px 0 0; color: var(--muted); font-weight: 600; }
.vh-head .vh-kicker { margin: 0 0 8px; color: var(--green); font-size: 0.78rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.08em; }
.vh-narrow { width: min(100% - 40px, 860px); }

/* ---------- Табы устройств ---------- */
.vh-tabs {
  display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 18px;
  border-radius: 14px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08);
}
.vh-tab {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 8px 18px; border: 0; border-radius: 10px;
  background: transparent; color: var(--muted); font-weight: 800; cursor: pointer;
}
.vh-tab .ico { width: 18px; height: 18px; }
.vh-tab.is-on { background: var(--text); color: #0b0d0c; }
.vh-tab:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.vh-pane {
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px;
  padding: 26px; border-radius: 18px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08);
}
.vh-pane[hidden] { display: none; }
.vh-pane h3 { margin: 0 0 14px; font-size: 1.2rem; font-weight: 900; }
.vh-steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 10px; }
.vh-steps li {
  counter-increment: s; position: relative; padding: 10px 12px 10px 52px;
  border-radius: 10px; background: rgba(0, 0, 0, 0.25); color: #e3ebe6; font-weight: 600;
}
.vh-steps li::before {
  content: counter(s); position: absolute; left: 12px; top: 9px;
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px;
  background: rgba(0, 201, 130, 0.16); color: var(--green); font-weight: 900; font-size: 0.9rem;
}
.vh-pane-side {
  align-self: start; padding: 20px; border-radius: 14px;
  background: linear-gradient(160deg, rgba(255, 182, 87, 0.12), rgba(255, 182, 87, 0.02));
  border: 1px solid rgba(255, 182, 87, 0.25);
}
.vh-pane-side .vh-pane-tag { margin: 0; color: var(--gold-2); font-weight: 900; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; }
.vh-pane-side p { margin: 6px 0 16px; color: #e3ebe6; }

/* ---------- Таблица ошибок ---------- */
.vh-errors { border-radius: 16px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.1); }
.vh-errors table { font-size: 0.94rem; }
.vh-errors th, .vh-errors td { white-space: normal; padding: 14px 18px; vertical-align: top; }
.vh-errors th { background: rgba(249, 65, 104, 0.08); color: #ffb3c3; }
.vh-errors th:nth-child(3) { color: #9ff5cf; background: rgba(0, 201, 130, 0.08); }
.vh-errors td:first-child { color: var(--text); font-weight: 800; }
.vh-errors td:first-child .ico { width: 16px; height: 16px; color: var(--rose); vertical-align: -3px; margin-right: 8px; }
.vh-errors td:last-child { color: #9ff5cf; }
.vh-errors tbody tr:hover { background: rgba(255, 255, 255, 0.03); }
.vh-under { margin: 16px 0 0; color: var(--muted); max-width: 820px; }

/* ---------- Таймлайн ---------- */
.vh-line { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; position: relative; }
.vh-line::before {
  content: ""; position: absolute; left: 10%; right: 10%; top: 22px; height: 2px;
  background: linear-gradient(90deg, var(--green), var(--gold));
}
.vh-line li { position: relative; text-align: center; padding: 0 4px; }
.vh-line-n {
  position: relative; z-index: 1; display: grid; place-items: center;
  width: 46px; height: 46px; margin: 0 auto 14px; border-radius: 50%;
  background: #0b0d0c; border: 2px solid var(--green); color: var(--green); font-weight: 900;
}
.vh-line li:last-child .vh-line-n { border-color: var(--gold); color: var(--gold); }
.vh-line b { display: block; font-size: 1.02rem; }
.vh-line p { margin: 6px 0 8px; color: var(--muted); font-size: 0.9rem; }
.vh-line small { display: inline-block; padding: 2px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); color: var(--gold-2); font-weight: 800; font-size: 0.74rem; }
.vh-note {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 30px; padding: 16px 18px;
  border-radius: 14px; border-left: 4px solid var(--gold); background: rgba(255, 182, 87, 0.07);
}
.vh-note .ico { color: var(--gold); margin-top: 2px; }
.vh-note p { margin: 0; color: #e3ebe6; }

/* ---------- Чек-лист ---------- */
.vh-check { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.vh-check li {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px;
  border-radius: 14px; background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.07);
}
.vh-check li > .ico {
  width: 28px; height: 28px; padding: 5px; border-radius: 8px; stroke-width: 3;
  background: var(--green); color: #00170f;
}
.vh-check b { display: block; margin-bottom: 2px; }
.vh-check span { color: var(--muted); font-size: 0.92rem; }

/* ---------- Бонус-полоса ---------- */
.vh-bonus { padding: 28px 0; }
.vh-bonus-in {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  padding: 18px 22px; border-radius: 16px;
  background: linear-gradient(90deg, rgba(255, 182, 87, 0.18), rgba(255, 182, 87, 0.05) 60%, rgba(0, 201, 130, 0.08));
  border: 1px solid rgba(255, 182, 87, 0.35);
}
.vh-bonus-main { display: flex; align-items: center; gap: 14px; flex: 1 1 280px; }
.vh-bonus-main > .ico { width: 40px; height: 40px; color: var(--gold); }
.vh-bonus-main h2 { margin: 0; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gold-2); font-weight: 900; }
.vh-bonus-main p { margin: 2px 0 0; font-weight: 700; }
.vh-bonus-main p b { font-size: 1.4rem; color: var(--gold-2); }
.vh-bonus-steps { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.vh-bonus-steps li { padding: 6px 12px; border-radius: 10px; background: rgba(0, 0, 0, 0.35); font-size: 0.82rem; color: var(--muted); font-weight: 600; }
.vh-bonus-steps b { color: var(--text); margin-right: 6px; }
.vh-bonus-fine { margin: 10px 4px 0; font-size: 0.8rem; color: var(--muted); }

/* ---------- Статья ---------- */
.vh-article { max-width: 860px; margin: 0 auto; }
.vh-article h2 { margin: 36px 0 12px; font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.2; font-weight: 900; scroll-margin-top: 80px; }
.vh-article > h2:first-child { margin-top: 0; font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.vh-article p, .vh-article li { color: #dbe4de; line-height: 1.7; }
.vh-article a { color: var(--green); font-weight: 700; }
.vh-article ul { padding-left: 20px; }
.vh-meta { margin: 0 0 20px; color: var(--muted) !important; font-size: 0.86rem; }
.vh-toc {
  padding: 18px 20px; border-radius: 14px; margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.09);
}
.vh-toc > p { margin: 0 0 10px; font-weight: 900; color: var(--gold-2) !important; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; }
.vh-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: t; columns: 2; column-gap: 28px; }
.vh-toc li { counter-increment: t; break-inside: avoid; padding: 3px 0; }
.vh-toc li::before { content: counter(t, decimal-leading-zero); color: var(--muted); font-weight: 800; font-size: 0.8rem; margin-right: 10px; }
.vh-toc a { color: var(--text) !important; font-weight: 700; border-bottom: 1px dashed rgba(255, 255, 255, 0.25); }
.vh-toc a:hover { color: var(--green) !important; border-color: var(--green); }
.vh-callout { padding: 14px 18px; border-radius: 12px; background: rgba(0, 201, 130, 0.08); border: 1px solid rgba(0, 201, 130, 0.25); margin: 18px 0; }
.vh-callout p { margin: 0; }
.vh-callout-warn { background: rgba(249, 65, 104, 0.07); border-color: rgba(249, 65, 104, 0.3); }
.vh-tbl { overflow-x: auto; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.1); margin: 16px 0; }
.vh-tbl th, .vh-tbl td { white-space: normal; }
.vh-pm { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 16px 0; }
.vh-pm > div { padding: 16px 18px; border-radius: 12px; }
.vh-pm-plus { background: rgba(0, 201, 130, 0.08); border: 1px solid rgba(0, 201, 130, 0.25); }
.vh-pm-minus { background: rgba(249, 65, 104, 0.07); border: 1px solid rgba(249, 65, 104, 0.25); }
.vh-pm-t { margin: 0 0 6px; font-weight: 900; }
.vh-pm ul { margin: 0; }

/* ---------- FAQ с поиском ---------- */
.vh-search {
  display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
  padding: 0 16px; min-height: 52px; border-radius: 14px;
  background: rgba(0, 0, 0, 0.4); border: 1px solid rgba(255, 255, 255, 0.14);
}
.vh-search:focus-within { border-color: var(--green); }
.vh-search .ico { color: var(--muted); }
.vh-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); min-height: 50px; }
.vh-faq { display: grid; gap: 8px; }
.vh-q { border-radius: 12px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); }
.vh-q[open] { border-color: rgba(0, 201, 130, 0.35); }
.vh-q summary {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 16px 18px; cursor: pointer; list-style: none; font-weight: 800;
}
.vh-q summary::-webkit-details-marker { display: none; }
.vh-q summary .ico { transition: transform 200ms ease; color: var(--green); }
.vh-q[open] summary .ico { transform: rotate(180deg); }
.vh-q p { margin: 0; padding: 0 18px 16px; color: #dbe4de; }
.vh-q a { color: var(--green); font-weight: 700; }
.vh-q mark { background: rgba(255, 182, 87, 0.35); color: inherit; border-radius: 3px; }
.vh-empty { margin: 14px 0 0; color: var(--muted); text-align: center; }

/* ---------- Футер ---------- */
.vh-foot { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 26px 0 30px; background: #030403; }
.vh-foot-in { display: grid; grid-template-columns: auto 1fr; gap: 14px 28px; align-items: center; }
.vh-foot-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 20px; }
.vh-foot-links a { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-weight: 700; font-size: 0.88rem; }
.vh-foot-links a:hover { color: var(--green); }
.vh-foot-links .ico { width: 16px; height: 16px; color: var(--green); }
.vh-foot-legal { grid-column: 1 / -1; margin: 0; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.06); color: rgba(185, 195, 189, 0.75); font-size: 0.78rem; }
.vh-foot-legal b { color: var(--gold-2); margin-right: 6px; }

/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
  .vh-stage { grid-template-columns: minmax(0, 420px) minmax(0, 300px); justify-content: center; }
  .vh-facts { display: none; }
}
@media (max-width: 860px) {
  .vh-pane { grid-template-columns: 1fr; }
  .vh-line { grid-template-columns: 1fr; gap: 0; }
  .vh-line::before { left: 22px; right: auto; top: 10px; bottom: 10px; width: 2px; height: auto; background: linear-gradient(180deg, var(--green), var(--gold)); }
  .vh-line li { display: grid; grid-template-columns: 46px 1fr; column-gap: 16px; text-align: left; padding: 0 0 20px; }
  .vh-line-n { grid-row: 1 / span 3; margin: 0; }
  .vh-line p { margin: 4px 0 6px; }
  .vh-line small { justify-self: start; }
  .vh-check { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { padding-bottom: 0; }
  .vh-hero { padding: 36px 0 44px; }
  .vh-stage { grid-template-columns: 1fr; gap: 18px; margin-top: 28px; }
  .vh-status { max-width: none; }
  .vh-card { padding: 24px 18px 18px; }
  .vh-sec { padding: 44px 0; }
  .vh-narrow { width: min(100% - 32px, 860px); }
  .vh-tabs { display: flex; width: 100%; }
  .vh-tab { flex: 1; justify-content: center; padding: 8px 6px; font-size: 0.88rem; }
  .vh-tab .ico { display: none; }
  .vh-pane { padding: 16px; }
  .vh-steps li { padding-left: 48px; font-size: 0.94rem; }
  .vh-errors { border: 0; overflow: visible; }
  .vh-errors table, .vh-errors tbody, .vh-errors tr, .vh-errors td { display: block; width: 100%; }
  .vh-errors thead { display: none; }
  .vh-errors tr { margin-bottom: 10px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.03); overflow: hidden; }
  .vh-errors td { border: 0; padding: 6px 14px; }
  .vh-errors td:first-child { padding-top: 12px; background: rgba(249, 65, 104, 0.07); padding-bottom: 10px; }
  .vh-errors td:not(:first-child)::before { content: attr(data-l) ": "; color: var(--muted); font-weight: 800; font-size: 0.78rem; text-transform: uppercase; }
  .vh-errors td:last-child { padding-bottom: 12px; }
  .vh-bonus-in { padding: 16px; }
  .vh-bonus-in .btn { width: 100%; }
  .vh-toc ol { columns: 1; }
  .vh-pm { grid-template-columns: 1fr; }
  .vh-foot-in { grid-template-columns: 1fr; }
  .vh-foot-links { justify-content: flex-start; flex-direction: column; }
  .vh-foot-links a { word-break: break-all; }
}
@media (max-width: 400px) {
  .vh-top-in { min-height: 58px; }
  .vh-logo img { width: 112px; }
  .vh-help { padding: 8px; }
  .vh-card-row { flex-wrap: wrap; }
}
