:root {
  color-scheme: dark;
  --bg: #050806;
  --panel: rgba(8, 16, 11, 0.92);
  --panel-border: rgba(187, 247, 208, 0.14);
  --text: #f6fff8;
  --muted: rgba(246, 255, 248, 0.62);
  --green: #7ee7a4;
  --green-strong: #18a957;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(155deg, #040806 0%, #08140f 48%, #040706 100%),
    var(--bg);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 32%),
    linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.05), transparent);
}

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

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 16px;
}

.profile-card {
  width: min(100%, 520px);
  padding: clamp(28px, 5vw, 38px);
  border: 1px solid var(--panel-border);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    var(--panel);
  box-shadow:
    0 22px 54px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.profile {
  display: grid;
  justify-items: center;
  text-align: center;
  margin-bottom: 32px;
}

.profile-image {
  width: 132px;
  height: 132px;
  margin-bottom: 20px;
  border-radius: 22px;
  border: 1px solid rgba(187, 247, 208, 0.18);
  object-fit: cover;
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.42),
    0 0 0 7px rgba(255, 255, 255, 0.025);
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  margin-bottom: 8px;
  font-size: clamp(1.65rem, 5vw, 1.95rem);
  font-weight: 650;
  line-height: 1.1;
}

h2 {
  margin-bottom: 18px;
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.25;
  text-align: center;
}

.profile p {
  color: var(--green);
  font-size: 1rem;
  font-weight: 500;
}

.telegram-section {
  margin-bottom: 30px;
}

.telegram-section h2 {
  color: var(--green);
}

.telegram-link {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(187, 247, 208, 0.22);
  border-radius: 18px;
  background: linear-gradient(135deg, #20bf63 0%, #159447 100%);
  box-shadow:
    0 16px 30px rgba(22, 163, 74, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  font-size: 1.05rem;
  font-weight: 650;
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}

.telegram-link:hover,
.telegram-link:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.03);
  box-shadow:
    0 18px 34px rgba(22, 163, 74, 0.23),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.divider {
  width: 100%;
  height: 1px;
  margin-bottom: 30px;
  background: linear-gradient(90deg, transparent, rgba(126, 231, 164, 0.24), transparent);
}

.bookmakers {
  display: grid;
  gap: 12px;
}

.bookmakers a {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(74, 222, 128, 0.14);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(34, 197, 94, 0.055), rgba(34, 197, 94, 0.025)),
    rgba(255, 255, 255, 0.028);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
  color: var(--green);
  font-size: 1.05rem;
  font-weight: 650;
  text-align: center;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.bookmakers a:hover,
.bookmakers a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(134, 239, 172, 0.34);
  background:
    linear-gradient(180deg, rgba(34, 197, 94, 0.1), rgba(34, 197, 94, 0.04)),
    rgba(255, 255, 255, 0.04);
}

footer {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

footer p {
  color: rgba(246, 255, 248, 0.36);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

@media (max-width: 420px) {
  .page {
    padding: 24px 12px;
  }

  .profile-card {
    border-radius: 24px;
  }

  .profile-image {
    width: 120px;
    height: 120px;
  }
}
