:root {
  --bg-1: #0f172a;
  --bg-2: #111827;
  --card: rgba(255, 255, 255, 0.1);
  --card-border: rgba(255, 255, 255, 0.14);
  --text: #f8fafc;
  --muted: #cbd5e1;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top, rgba(59, 130, 246, 0.22), transparent 34%),
    linear-gradient(135deg, var(--bg-1), var(--bg-2));
  color: var(--text);
}

body {
  min-height: 100vh;
}

.page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.card {
  width: 100%;
  max-width: 760px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  padding: 36px 28px;
}

.logo-wrap {
  text-align: center;
  margin-bottom: 30px;
}

.logo-badge {
  width: 112px;
  height: 112px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #38bdf8, #2563eb);
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.35);
}

.logo-wrap h1 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.1;
}

.logo-wrap p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.messengers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.messenger-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 72px;
  padding: 16px 18px;
  border-radius: 18px;
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.messenger-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

.messenger-btn .icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.16);
  flex-shrink: 0;
}

.tg {
  background: linear-gradient(135deg, #2aabee, #229ed9);
}

.wa {
  background: linear-gradient(135deg, #25d366, #1da851);
}

.vk {
  background: linear-gradient(135deg, #2787f5, #1f6fd0);
}

.max {
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
}

.note {
  margin-top: 18px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

.note strong {
  color: #fff;
}

@media (max-width: 640px) {
  .card {
    padding: 28px 18px;
  }

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

  .messenger-btn {
    min-height: 64px;
    font-size: 17px;
  }
}
