:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #eeeae3;
  background: #10100f;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 28%, #a7813520 0, transparent 55%),
    repeating-linear-gradient(90deg, transparent 0, transparent calc(25% - 1px), #ffffff02 calc(25% - 1px), #ffffff02 25%);
}

.landing {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: 44px 20px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.channel {
  position: relative;
  width: min(100%, 460px);
  padding: 35px 39px 30px;
  text-align: center;
  border: 1px solid #d5b4772a;
  border-radius: 24px;
  background: linear-gradient(155deg, #24221df0, #151514 65%);
  box-shadow: 0 26px 90px #0005, inset 0 1px 0 #fff05;
  animation: enter 600ms ease-out both;
}
.channel::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 23%;
  right: 23%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #d4b171, transparent);
}

.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #b7a685;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 2.4px;
  white-space: nowrap;
}
.eyebrow span { height: 1px; width: 20px; background: #b7a68540; }
.portrait-frame {
  position: relative;
  width: 138px;
  height: 138px;
  margin: 29px auto 25px;
  padding: 6px;
  border-radius: 50%;
  border: 1px solid #d8b5748c;
  box-shadow: 0 0 0 7px #d8b57405;
}
.portrait {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 35%;
  filter: sepia(.18);
}
.telegram-badge {
  position: absolute;
  bottom: 3px;
  right: 0;
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 4px solid #201f1b;
  background: #2b9fd1;
}
.telegram-badge svg { width: 15px; height: 15px; fill: #fff; transform: translateX(1px); }

h1 {
  margin: 0;
  font-family: "Baskerville", "Times New Roman", serif;
  font-size: clamp(30px, 6.8vw, 43px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: .2px;
}
h1 span {
  display: block;
  margin-top: 9px;
  color: #d9b77a;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 6.1px;
  padding-left: 6.1px;
}
.subscribers {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 23px;
  color: #aca89f;
  font-size: 12px;
  line-height: 1.4;
}
.subscribers svg { width: 16px; height: 16px; }
.subscribers strong { color: #e8e3da; font-weight: 600; font-variant-numeric: tabular-nums; }
.description { margin: 23px 0 27px; color: #aaa69e; font-size: 14px; line-height: 1.7; }
.join-button {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 15px 18px;
  border: 1px solid #f1d9a7;
  border-radius: 10px;
  background: linear-gradient(110deg, #e7c992, #d6b16d);
  box-shadow: 0 5px 24px #d7b16a12;
  color: #232015;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}
.join-button .plane { width: 21px; height: 21px; fill: currentColor; flex-shrink: 0; }
.join-button .arrow { width: 18px; height: 18px; margin-left: auto; flex-shrink: 0; }
.join-button span { margin: 0 auto; }
.join-button:hover { transform: translateY(-2px); filter: brightness(1.07); box-shadow: 0 8px 27px #d7b16a26; }
.join-button:active { transform: translateY(0); }
.join-button:focus-visible { outline: 3px solid #fff3ce; outline-offset: 5px; }
.join-note { margin: 15px 0 0; color: #9a958a; font-size: 11px; }
.join-note span { padding: 0 7px; color: #b5a17d; }
footer { margin-top: 28px; color: #868176; font-size: 8px; letter-spacing: 1.8px; text-align: center; line-height: 1.8; }
footer span { padding: 0 8px; color: #8e7c5d; }
@keyframes enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 420px) {
  .landing { padding: 25px 18px; }
  .channel { padding: 30px 24px 26px; border-radius: 20px; }
  .eyebrow { font-size: 8px; letter-spacing: 1.9px; gap: 9px; }
  .portrait-frame { margin-top: 26px; }
  h1 { font-size: clamp(29px, 8.9vw, 37px); }
  h1 span { font-size: 11px; letter-spacing: 5px; }
  .join-button { padding: 15px 13px; gap: 8px; font-size: 13px; }
  footer { font-size: 7px; letter-spacing: 1.4px; }
}
@media (prefers-reduced-motion: reduce) {
  .channel { animation: none; }
  .join-button { transition: none; }
}
