:root {
  --ink: #0d1117;
  --muted: #667085;
  --telegram: #2f80ed;
  --telegram-light: #4c91f5;
  --gold: #d9a11f;
}

* { box-sizing: border-box; }

html { color-scheme: light; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; text-decoration: none; }

.landing-shell {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(34px, 6vh, 72px) 22px 22px;
  background: #fff;
}

.community-card {
  width: min(100%, 720px);
  margin: auto;
  text-align: center;
}

.logo-wrap {
  width: clamp(116px, 17vw, 150px);
  height: clamp(116px, 17vw, 150px);
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: #07100d;
  box-shadow: 0 13px 34px rgba(13,17,23,.16);
}

.logo-wrap img {
  width: 100%;
  height: 100%;
  display: block;
}

.brand-name {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: clamp(30px, 5.4vw, 48px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.035em;
}

h1 {
  max-width: 650px;
  margin: 0 auto;
  color: #111;
  font-size: clamp(30px, 4.8vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.035em;
}

.lead {
  max-width: 650px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: clamp(18px, 2.7vw, 24px);
  font-weight: 400;
  line-height: 1.55;
}

.telegram-button {
  position: relative;
  overflow: hidden;
  width: min(100%, 640px);
  min-height: 84px;
  margin: 58px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 20px 30px;
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(135deg, var(--telegram), var(--telegram-light));
  box-shadow: 0 16px 34px rgba(47,128,237,.25);
  font-size: clamp(16px, 2.4vw, 21px);
  font-weight: 850;
  line-height: 1.25;
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}

.telegram-button::before {
  content: "";
  position: absolute;
  top: -75%;
  left: -34%;
  width: 19%;
  height: 250%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.68), transparent);
  animation: shine 4s ease-in-out infinite;
}

.telegram-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 20px 40px rgba(47,128,237,.32);
}

.telegram-button:active { transform: scale(.985); }

.button-icon {
  flex: 0 0 31px;
  width: 31px;
  height: 31px;
}

.button-icon svg { width: 100%; height: 100%; display: block; }

footer {
  margin-top: 34px;
  color: #98a2b3;
  font-size: 10px;
  text-align: center;
}

footer p { margin: 0; }

@keyframes shine {
  0%, 48% { left: -34%; opacity: 0; }
  58% { opacity: 1; }
  82%, 100% { left: 125%; opacity: 0; }
}

@media (max-width: 600px) {
  .landing-shell { justify-content: flex-start; padding: 48px 22px 18px; }
  .logo-wrap { width: 112px; height: 112px; margin-bottom: 22px; }
  .brand-name { margin-bottom: 16px; font-size: 34px; }
  h1 { font-size: 30px; line-height: 1.24; }
  .lead { margin-top: 24px; font-size: 18px; line-height: 1.5; }
  .telegram-button { min-height: 78px; margin-top: 46px; padding: 18px 22px; border-radius: 24px; font-size: 17px; }
  .button-icon { flex-basis: 28px; width: 28px; height: 28px; }
  footer { margin-top: 26px; }
}

@media (max-height: 700px) and (max-width: 600px) {
  .landing-shell { padding-top: 26px; }
  .logo-wrap { width: 88px; height: 88px; margin-bottom: 16px; }
  .brand-name { font-size: 29px; margin-bottom: 12px; }
  h1 { font-size: 25px; }
  .lead { margin-top: 17px; font-size: 16px; }
  .telegram-button { min-height: 68px; margin-top: 28px; font-size: 15px; }
  footer { margin-top: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .telegram-button::before { animation: none; }
  .telegram-button { transition: none; }
}
