:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #e7f6ff;
  color: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 45%),
    linear-gradient(160deg, #dff4ff 0%, #f9fdff 52%, #c9edff 100%);
  margin: 0;
  min-width: 320px;
}

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

.telegram-button {
  align-items: center;
  background: linear-gradient(135deg, #2eb3ee 0%, #168fd0 55%, #0879bc 100%);
  border-radius: 8px;
  box-shadow: 0 18px 34px rgba(19, 133, 199, 0.3);
  color: #ffffff;
  display: inline-flex;
  font-size: 1.08rem;
  font-weight: 850;
  justify-content: center;
  line-height: 1;
  min-height: 58px;
  padding: 0 30px;
  text-decoration: none;
  transition: box-shadow 160ms ease, transform 160ms ease, background 160ms ease;
  width: min(100%, 286px);
}

.telegram-button:hover {
  background: linear-gradient(135deg, #168acd, #0878be);
  box-shadow: 0 20px 38px rgba(19, 126, 191, 0.34);
  transform: translateY(-1px);
}

.telegram-button:focus-visible {
  outline: 3px solid rgba(42, 171, 238, 0.42);
  outline-offset: 4px;
}

.telegram-button:active {
  transform: translateY(0);
}

@media (max-width: 520px) {
  .telegram-button {
    width: 100%;
  }
}
