@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700;800&family=Oswald:wght@600;700&display=swap');

:root {
  --bg: #0a0a0a;
  --card: #141414;
  --card-border: #2a2a2a;
  --text: #f5f5f5;
  --muted: #9e9e9e;
  --accent: #c41e24;
  --accent-bright: #e53935;
  --accent-glow: #c41e2433;
  --max: 760px;
  --max-wide: 960px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  font-family: Manrope, system-ui, sans-serif;
  color: var(--text);
  line-height: 1.65;
  background: var(--bg);
}

/* Подложка / фон как в киоске и приложении */
.page-bg {
  min-height: 100vh;
  padding: 32px 16px 48px;
  background:
    radial-gradient(ellipse 90% 55% at 50% -5%, var(--accent-glow), transparent 55%),
    radial-gradient(circle at 100% 100%, #1a080a 0%, transparent 40%),
    var(--bg);
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
}

.wrap--wide {
  max-width: var(--max-wide);
}

.card {
  background: linear-gradient(180deg, #181818 0%, var(--card) 100%);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 28px 28px 32px;
  box-shadow:
    0 24px 48px #00000080,
    0 0 0 1px #ffffff06 inset;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--card-border);
}

.logo-block {
  text-decoration: none;
  color: inherit;
}

.logo-block:hover .logo {
  color: var(--accent-bright);
}

.header-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(180deg, var(--accent-bright) 0%, var(--accent) 100%);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 20px var(--accent-glow);
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 28px #c41e2455;
  text-decoration: none;
  color: #fff;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: #0f0f0f;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent-bright);
  text-decoration: none;
}

.logo {
  font-family: Oswald, sans-serif;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-shadow: 0 0 32px var(--accent-glow);
  line-height: 1;
}

.logo-sub {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

nav a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: #0f0f0f;
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

nav a:hover {
  border-color: var(--accent);
  color: var(--accent-bright);
  background: #1a0a0c;
}

nav a.active {
  border-color: var(--accent);
  background: #1a0a0c;
  color: var(--accent-bright);
}

.club-badge {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 24px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid #c41e2444;
  background: linear-gradient(135deg, #1a0a0c 0%, #120808 100%);
}

.club-badge-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent);
  display: grid;
  place-items: center;
  font-size: 18px;
}

.club-badge strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.club-badge span {
  font-size: 14px;
  color: var(--muted);
}

h1 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 17px;
  font-weight: 700;
  margin: 24px 0 10px;
  color: #ececec;
}

p,
li {
  margin-bottom: 10px;
  color: #d4d4d4;
  font-size: 15px;
}

ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

a {
  color: var(--accent-bright);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.muted {
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--card-border);
  font-size: 13px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: space-between;
}

.site-footer--legal {
  flex-direction: column;
  gap: 16px;
}

.footer-legal p {
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.footer-legal strong {
  color: #ddd;
}

.footer-copy {
  margin: 0;
  font-size: 12px;
  color: #666;
}

/* ——— Главная ——— */

.card--home {
  padding: 32px 32px 36px;
}

.hero {
  margin-bottom: 28px;
}

.hero-tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid #c41e2444;
  background: #1a0a0c;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-bright);
}

.hero h1 {
  font-family: Oswald, sans-serif;
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.hero-lead {
  max-width: 640px;
  font-size: 16px;
  color: #ccc;
  margin-bottom: 24px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.feature {
  padding: 20px 18px;
  border-radius: 16px;
  border: 1px solid var(--card-border);
  background: #0f0f0f;
}

.feature-icon {
  display: block;
  font-size: 28px;
  margin-bottom: 12px;
}

.feature h2 {
  font-size: 15px;
  margin: 0 0 8px;
}

.feature p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}

.docs-block {
  margin-bottom: 28px;
}

.docs-block h2 {
  margin-top: 0;
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.doc-link {
  display: block;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--card-border);
  background: #0f0f0f;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}

.doc-link:hover {
  border-color: var(--accent);
  background: #1a0a0c;
  text-decoration: none;
}

.doc-link strong {
  display: block;
  color: var(--text);
  font-size: 14px;
  margin-bottom: 4px;
}

.doc-link span {
  font-size: 13px;
  color: var(--muted);
}

.sms-note {
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid #2a2a2a;
  background: #0c0c0c;
  margin-bottom: 8px;
}

.sms-note h2 {
  margin-top: 0;
  font-size: 15px;
}

.sms-note p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 720px) {
  .features {
    grid-template-columns: 1fr;
  }

  .docs-grid {
    grid-template-columns: 1fr;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 560px) {
  .page-bg {
    padding: 16px 12px 32px;
  }

  .card {
    padding: 20px 18px 24px;
    border-radius: 16px;
  }

  .logo {
    font-size: 28px;
  }

  nav a {
    font-size: 12px;
    padding: 6px 10px;
  }

  .card--home {
    padding: 20px 18px 24px;
  }

  .header-actions nav {
    display: none;
  }

  .btn-primary {
    padding: 9px 18px;
    font-size: 13px;
  }
}
