:root {
  --bg: #08080b;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.68);
  --telegram: #229ed9;
  --fanvue-a: #6f35ff;
  --fanvue-b: #ed3fa4;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 82% 18%, rgba(114, 57, 255, .13), transparent 34%),
    radial-gradient(circle at 10% 88%, rgba(34, 158, 217, .11), transparent 32%),
    var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.landing {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(320px, 52vw) 1fr;
  overflow: hidden;
}

.portrait {
  position: relative;
  min-height: 100svh;
  isolation: isolate;
  overflow: hidden;
  background: #17171c;
}

.portrait-link {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  transform: scale(1.025);
  animation: portrait-breathe 10s ease-in-out infinite alternate;
}

.portrait-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 58%, rgba(8, 8, 11, .64) 100%),
    linear-gradient(0deg, rgba(8, 8, 11, .42), transparent 38%);
  pointer-events: none;
}

.portrait-glow {
  position: absolute;
  width: 260px;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(75px);
  opacity: .2;
  pointer-events: none;
}

.portrait-glow-one { right: -120px; top: 12%; background: #8d4cff; }
.portrait-glow-two { left: -130px; bottom: -90px; background: #229ed9; }

.name-badge {
  position: absolute;
  left: clamp(20px, 3vw, 44px);
  bottom: clamp(20px, 4vw, 48px);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(7, 7, 10, .46);
  box-shadow: 0 12px 32px rgba(0,0,0,.25);
  backdrop-filter: blur(14px);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .03em;
}

.name-badge span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 5px rgba(255,255,255,.1);
}

.content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(100%, 620px);
  padding: clamp(40px, 7vw, 108px);
}

.eyebrow {
  margin-bottom: 18px;
  color: #c5a8ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(42px, 5.8vw, 78px);
  line-height: .97;
  letter-spacing: -.055em;
  text-wrap: balance;
}

h1 em {
  color: transparent;
  background: linear-gradient(100deg, #fff 2%, #c8afff 45%, #ff8fcc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  font-style: normal;
}

.intro {
  max-width: 440px;
  margin: 24px 0 30px;
  color: var(--muted);
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.55;
}

.actions {
  display: grid;
  gap: 13px;
  width: min(100%, 460px);
}

.social-button {
  position: relative;
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 12px 18px 12px 13px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 14px 38px rgba(0,0,0,.3);
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}

.social-button::before {
  content: "";
  position: absolute;
  inset: -80% -30%;
  background: linear-gradient(110deg, transparent 40%, rgba(255,255,255,.25), transparent 60%);
  transform: translateX(-65%);
  animation: button-shine 4.8s ease-in-out infinite;
  pointer-events: none;
}

.telegram-button {
  background: linear-gradient(135deg, #168dcc, var(--telegram));
  box-shadow: 0 14px 38px rgba(34,158,217,.2);
}

.fanvue-button {
  background: linear-gradient(135deg, var(--fanvue-a), var(--fanvue-b));
  box-shadow: 0 14px 38px rgba(185,66,223,.2);
}

.button-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
}

.button-icon svg { width: 25px; height: 25px; fill: #fff; }
.fanvue-mark { font-size: 22px; font-weight: 900; font-style: italic; }
.button-copy { display: flex; flex-direction: column; gap: 3px; }
.button-copy strong { font-size: 16px; letter-spacing: -.01em; }
.button-copy small { color: rgba(255,255,255,.72); font-size: 12px; }
.button-arrow { font-size: 23px; transition: transform .22s ease; }

.social-button:hover,
.social-button:focus-visible {
  transform: translateY(-3px) scale(1.01);
  filter: saturate(1.08) brightness(1.04);
}

.telegram-button:hover,
.telegram-button:focus-visible { box-shadow: 0 19px 44px rgba(34,158,217,.32); }
.fanvue-button:hover,
.fanvue-button:focus-visible { box-shadow: 0 19px 44px rgba(185,66,223,.31); }
.social-button:hover .button-arrow,
.social-button:focus-visible .button-arrow { transform: translateX(4px); }

.choice-note {
  width: min(100%, 460px);
  margin: 18px 0 0;
  color: rgba(255,255,255,.42);
  font-size: 11px;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: reveal .72s cubic-bezier(.2,.8,.2,1) forwards;
}

.reveal-delay-one { animation-delay: .12s; }
.reveal-delay-two { animation-delay: .22s; }
.reveal-delay-three { animation-delay: .32s; }

@keyframes reveal { to { opacity: 1; transform: translateY(0); } }
@keyframes portrait-breathe { to { transform: scale(1.065) translate3d(-.4%, -.5%, 0); } }
@keyframes button-shine {
  0%, 62% { transform: translateX(-65%); opacity: 0; }
  70% { opacity: .9; }
  86%, 100% { transform: translateX(65%); opacity: 0; }
}

@media (max-width: 760px) {
  .landing {
    display: block;
    min-height: 100svh;
    background: var(--bg);
  }

  .portrait {
    min-height: 59svh;
    height: 59svh;
  }

  .portrait img { object-position: center 29%; }

  .portrait-shade {
    background:
      linear-gradient(0deg, var(--bg) 0%, rgba(8,8,11,.74) 8%, transparent 42%),
      linear-gradient(90deg, rgba(8,8,11,.08), transparent 70%);
  }

  .name-badge { bottom: 34px; left: 18px; }

  .content {
    width: 100%;
    margin-top: -1px;
    padding: 4px 18px max(26px, env(safe-area-inset-bottom));
    background: var(--bg);
  }

  .eyebrow { margin-bottom: 10px; font-size: 10px; }
  h1 { font-size: clamp(39px, 12vw, 54px); }
  .intro { margin: 16px 0 22px; font-size: 15px; }
  .actions { gap: 11px; }
  .social-button { min-height: 68px; border-radius: 18px; }
  .choice-note { margin-top: 14px; }
}

@media (max-height: 720px) and (max-width: 760px) {
  .portrait { min-height: 52svh; height: 52svh; }
  .name-badge { bottom: 20px; }
  h1 { font-size: 38px; }
  .intro { margin: 12px 0 16px; }
  .social-button { min-height: 62px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
