:root {
  --page-background: linear-gradient(15deg, #99d5d7 7.05%, #80bcff 89.67%);
  --surface-primary: rgba(255, 255, 255, 0.92);
  --surface-secondary: rgba(255, 255, 255, 0.58);
  --text-primary: #272727;
  --text-secondary: rgba(12, 13, 14, 0.58);
  --text-themed: #007aff;
  --border-soft: rgba(255, 255, 255, 0.68);
  --shadow-card: 0 24px 70px rgba(25, 70, 133, 0.18);
  --shadow-avatar: 0 18px 40px rgba(36, 64, 122, 0.18);
  --button-gradient:
    radial-gradient(136.12% 140.74% at 99.77% 99.04%, #8d28c8 0%, #7c42fa 20%, #007aff 80%, #609ceb 100%);
  --button-gradient-hover:
    radial-gradient(136.12% 140.74% at 99.77% 99.04%, #9b35d7 0%, #8152ff 22%, #1d86ff 78%, #6fa7ef 100%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: Roboto, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-primary);
  background:
    radial-gradient(circle at 15% 15%, rgba(255, 255, 255, 0.36), transparent 22%),
    radial-gradient(circle at 85% 20%, rgba(163, 93, 255, 0.18), transparent 20%),
    var(--page-background);
}

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

img {
  display: block;
  max-width: 100%;
}

.page {
  min-height: 100vh;
  display: grid;
  grid-template-rows: 68px 1fr;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--text-primary);
}

.brand__icon {
  flex: 0 0 auto;
  width: 43px;
  height: 43px;
}

.brand__wordmark {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.button {
  border: 0;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  font-size: 16px;
  line-height: 20px;
  font-weight: 600;
  text-align: center;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    opacity 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--small {
  min-height: 44px;
  padding: 0 16px;
  color: #fff;
  background: var(--button-gradient);
  box-shadow: 0 16px 30px rgba(43, 105, 216, 0.22);
}

.button--large {
  min-height: 56px;
  width: 100%;
  padding: 0 22px;
}

.button--primary {
  color: #fff;
  background: var(--button-gradient);
  box-shadow: 0 18px 36px rgba(43, 105, 216, 0.24);
}

.button--primary:hover,
.button--small:hover {
  background: var(--button-gradient-hover);
  box-shadow: 0 20px 38px rgba(43, 105, 216, 0.28);
}

.button--ghost {
  color: var(--text-themed);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.46);
  backdrop-filter: blur(12px);
}

.content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  overflow: hidden;
}

.content::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.52) 1px, transparent 1px),
    radial-gradient(rgba(255, 255, 255, 0.26) 1px, transparent 1px);
  background-position: 0 0, 18px 18px;
  background-size: 36px 36px;
  opacity: 0.4;
  pointer-events: none;
}

.glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(26px);
  opacity: 0.9;
  pointer-events: none;
}

.glow--blue {
  width: 320px;
  height: 320px;
  left: max(32px, calc(50% - 520px));
  top: clamp(80px, 24vh, 200px);
  background: rgba(90, 161, 255, 0.42);
}

.glow--violet {
  width: 280px;
  height: 280px;
  right: max(20px, calc(50% - 500px));
  bottom: clamp(32px, 16vh, 120px);
  background: rgba(156, 93, 255, 0.24);
}

.card {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  padding: 40px;
  border-radius: 32px;
  background: var(--surface-primary);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(22px);
}

.card__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  padding: 4px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.2)),
    radial-gradient(circle at 25% 25%, #fff, rgba(255, 255, 255, 0.25));
  box-shadow: var(--shadow-avatar);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.channel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.channel__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0, 122, 255, 0.08);
  color: #0968d8;
  font-size: 13px;
  line-height: 16px;
  font-weight: 600;
}

.channel__title {
  margin: 0;
  font-size: 30px;
  line-height: 34px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.channel__description {
  margin: 0;
  font-size: 17px;
  line-height: 22px;
  font-weight: 500;
  max-width: 300px;
}

.channel__proof {
  margin: 0;
  padding: 10px 14px;
  border-radius: 18px;
  background: var(--surface-secondary);
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 20px;
  font-weight: 500;
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
}

.notice {
  margin: 20px 0 0;
  text-align: center;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 19px;
}

.seo-text {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  margin: 16px auto 0;
  text-align: center;
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
}

@media (max-width: 640px) {
  .content {
    padding: 20px 14px;
  }

  .card {
    padding: 28px 22px 24px;
    border-radius: 28px;
  }

  .channel__title {
    font-size: 26px;
    line-height: 30px;
  }

  .channel__description {
    font-size: 16px;
    line-height: 21px;
  }

  .button--small {
    min-height: 40px;
    padding: 0 14px;
    font-size: 14px;
    line-height: 18px;
  }
}

@media (max-width: 520px) {
  .page {
    grid-template-rows: auto 1fr;
  }

  .header {
    padding: 12px 14px;
    align-items: flex-start;
    flex-direction: column;
  }

  .brand__wordmark svg {
    width: 62px;
    height: auto;
  }

  .button--small {
    width: 100%;
  }

  .avatar {
    width: 104px;
    height: 104px;
  }

  .button--large {
    min-height: 54px;
  }
}

@media (max-width: 360px) {
  .card {
    padding: 24px 18px 20px;
  }

  .channel__title {
    font-size: 23px;
    line-height: 27px;
  }

  .channel__proof {
    font-size: 14px;
    line-height: 18px;
  }
}
