:root {
  color-scheme: dark;
  --bg: #050505;
  --surface: #0a0a0a;
  --text: #f6f6f4;
  --muted: #9b9b98;
  --line: #d8d8d4;
  --radius: 20px;
  --scroll-shift: 0px;
  --shine-x: -80%;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 300px; background: var(--bg); }
body {
  margin: 0;
  min-width: 300px;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 72% 21%, rgba(255,255,255,.035), transparent 24%),
    linear-gradient(180deg, #030303 0%, #080808 46%, #030303 100%);
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
[hidden] { display: none !important; }
.ambient { display: none; }

.page-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  min-height: 100dvh;
  margin: 0 auto;
  padding: max(28px, env(safe-area-inset-top)) 18px max(28px, env(safe-area-inset-bottom));
}
.profile {
  display: flex;
  justify-content: center;
  padding: 42px 0 46px;
  text-align: center;
}
.avatar-wrap { display: none; }
.sheet-eyebrow {
  margin: 0 0 18px;
  color: #a7a7a4;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .32em;
}
#profile-name, .sheet-wordmark {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: max-content;
  margin: 0;
  transform: rotate(-7deg) skewX(-10deg);
  transform-origin: left center;
  color: #fff;
  font-family: "Roboto Condensed", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(68px, 21vw, 96px);
  font-style: italic;
  font-weight: 900;
  line-height: .69;
  letter-spacing: -.085em;
  text-transform: uppercase;
  filter: drop-shadow(0 2px 0 rgba(255,255,255,.08));
}
#profile-name span:last-child, .sheet-wordmark span:last-child { white-space: nowrap; }
#profile-name {
  align-items: center;
  transform-origin: center;
  font-size: clamp(64px, 19vw, 88px);
  text-shadow:
    0 0 2px #fff,
    0 0 9px rgba(255,255,255,.78),
    0 0 22px rgba(174,220,255,.46),
    0 0 42px rgba(114,164,255,.23);
  animation: neon-breathe 3.2s ease-in-out infinite;
}

.primary-action { margin: 0 0 14px; }
.private-button {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 202px;
  overflow: hidden;
  padding: 28px 22px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  color: #fff;
  text-align: left;
  cursor: pointer;
  background: linear-gradient(145deg, rgba(20,20,20,.92) 0%, rgba(4,4,4,.94) 72%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.025);
  transition: transform .2s ease, background .2s ease;
}
.private-button:active { transform: scale(.985); }
.private-button:focus-visible, .social-link:focus-visible, .buy-button:focus-visible, .channel-button:focus-visible, .russia-stars__button:focus-visible, .sheet-close:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.private-button::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: -60% -35%;
  pointer-events: none;
  transform: translateX(var(--shine-x)) rotate(18deg);
  background: linear-gradient(90deg, transparent 43%, rgba(255,255,255,.16) 50%, transparent 57%);
  mix-blend-mode: screen;
  transition: transform .12s linear;
}
.private-button__pattern {
  position: absolute;
  z-index: 0;
  inset: -15px -28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  pointer-events: none;
  transform: translate3d(0, var(--scroll-shift), 0) rotate(-7deg) skewX(-11deg);
  transition: transform .12s linear;
}
.private-button__pattern i {
  flex: 0 0 34%;
  color: transparent;
  font-family: "Roboto Condensed", Impact, sans-serif;
  font-size: clamp(116px, 34vw, 154px);
  font-style: italic;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  -webkit-text-stroke: 1px rgba(255,255,255,.08);
  background: linear-gradient(110deg, rgba(255,255,255,.025) 22%, rgba(255,255,255,.28) 47%, rgba(255,255,255,.045) 66%);
  background-position: var(--shine-x) center;
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  opacity: .66;
  filter: drop-shadow(0 0 14px rgba(255,255,255,.06));
  transition: background-position .12s linear;
}
.private-button__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 144px;
  max-width: calc(100% - 68px);
}
.private-button__title { font-size: clamp(22px, 6vw, 27px); font-weight: 800; line-height: 1.02; letter-spacing: -.045em; }
.private-button__meta { margin-top: 15px; color: #999; font-size: 10px; font-weight: 500; }
.private-button__meta b { padding: 0 4px; font-size: 7px; }
.private-button__arrow {
  position: absolute;
  z-index: 3;
  right: 19px;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1.5px solid #fff;
  border-radius: 50%;
  background: rgba(0,0,0,.52);
}
.private-button__arrow svg { width: 23px; fill: none; stroke: currentColor; stroke-width: 1.6; }

.socials { display: grid; gap: 12px; }
.social-link {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: center;
  min-height: 75px;
  padding: 10px 14px 10px 12px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  background: #070707;
  transition: transform .2s ease, background .2s ease;
}
.social-link:active { transform: scale(.985); }
.social-link:hover { background: #101010; }
.social-link__icon { position: relative; display: grid; place-items: center; width: 49px; height: 49px; font-size: 29px; font-weight: 500; background: transparent; }
.social-link__icon::after { content: ""; position: absolute; top: 1px; right: -8px; width: 1px; height: 47px; background: #555; }
.social-link__icon svg { width: 31px; height: 31px; fill: currentColor; }
.social-link__icon--telegram, .social-link__icon--instagram { color: #fff; }
.social-link__icon--instagram svg { fill: none; stroke: currentColor; stroke-width: 1.65; }
.social-link__icon--instagram .fill { fill: currentColor; stroke: none; }
.social-link__text { display: flex; flex-direction: column; gap: 4px; padding-left: 10px; }
.social-link__text b { font-size: 15px; font-weight: 600; }
.social-link__text small { color: #8c8c89; font-size: 10px; }
.social-link__arrow { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid #5f5f5c; border-radius: 50%; color: #ddd; font-size: 16px; }
footer { display: flex; justify-content: center; align-items: center; gap: 7px; margin-top: 21px; color: #636360; font-size: 9px; }
.footer-lock { color: #a7a7a3; font-size: 8px; }

.sheet-backdrop { position: fixed; inset: 0; z-index: 10; background: rgba(0,0,0,.78); backdrop-filter: blur(8px); animation: fade-in .2s ease both; }
.purchase-sheet {
  position: fixed;
  z-index: 11;
  left: 50%;
  bottom: 0;
  width: min(100%, 460px);
  max-height: calc(100dvh - 18px);
  overflow-y: auto;
  padding: 14px 20px max(27px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  border: 1.5px solid var(--line);
  border-bottom: 0;
  border-radius: 27px 27px 0 0;
  color: var(--text);
  background: radial-gradient(circle at 88% 10%, rgba(255,255,255,.055), transparent 28%), #050505;
  box-shadow: 0 -24px 70px rgba(0,0,0,.62);
  animation: sheet-in .34s cubic-bezier(.2,.8,.2,1) both;
}
.sheet-handle { width: 42px; height: 4px; margin: 0 auto 22px; border-radius: 5px; background: #5b5b58; }
.sheet-close { position: absolute; right: 17px; top: 16px; width: 35px; height: 35px; border: 1px solid #777; border-radius: 50%; color: #fff; font-size: 23px; line-height: 1; cursor: pointer; background: #080808; }
.sheet-wordmark { margin: 22px 0 48px 5px; font-size: clamp(55px, 17vw, 76px); }
.sheet-eyebrow { margin-bottom: 11px; }
.purchase-sheet h2 { margin: 0; color: #fff; font-size: clamp(28px, 8vw, 38px); font-weight: 800; line-height: .98; letter-spacing: -.055em; }
.sheet-description { max-width: 350px; margin: 18px 0 25px; color: #91918e; font-size: 10px; font-weight: 600; line-height: 1.55; letter-spacing: .06em; }
.benefits { display: none; }
.price-card { display: flex; justify-content: space-between; align-items: center; min-height: 70px; padding: 17px 18px; margin-bottom: 14px; border: 1.5px solid var(--line); border-radius: 17px; background: #080808; }
.price-card span { color: #bbb; font-size: 11px; font-weight: 600; }
.price-card strong { color: #fff; font-size: 27px; letter-spacing: -.04em; }
.price-card i { font-style: normal; font-size: 21px; }
.buy-button, .channel-button { width: 100%; min-height: 64px; padding: 0 18px; border: 1.5px solid var(--line); border-radius: 17px; color: #fff; font-weight: 700; cursor: pointer; background: #080808; }
.buy-button { display: flex; justify-content: space-between; align-items: center; }
.buy-button:disabled { cursor: wait; opacity: .6; }
.buy-button__arrow, .channel-button > span:last-child { font-size: 23px; }
.channel-button { background: #f4f4f1; color: #050505; }
.russia-stars { margin-top: 14px; }
.russia-stars__button { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 64px; overflow: hidden; padding: 0 18px; border: 1.5px solid var(--line); border-radius: 17px; color: #fff; text-decoration: none; background: #080808; }
.russia-stars__label { position: relative; z-index: 2; font-size: 11px; font-weight: 700; letter-spacing: .03em; }
.russia-stars__arrow { position: relative; z-index: 2; font-size: 23px; }
.russia-stars__particles { display: none; }
.russia-stars__note { margin: 14px 8px 0; color: #777774; text-align: center; font-size: 9px; line-height: 1.5; }
.legal { margin: 18px auto 0; color: #686865; text-align: center; font-size: 8px; }
.legal a { color: #a7a7a3; }
.notice { min-height: 16px; margin: 12px 0 0; color: #aaa; text-align: center; font-size: 10px; }
.toast { position: fixed; z-index: 20; left: 50%; top: max(16px, env(safe-area-inset-top)); width: max-content; max-width: calc(100% - 32px); padding: 11px 15px; transform: translate(-50%, -120px); border: 1px solid #3e3e3b; border-radius: 12px; color: #eee; font-size: 11px; background: rgba(18,18,18,.95); backdrop-filter: blur(15px); transition: transform .3s ease; }
.toast.is-visible { transform: translate(-50%, 0); }

@keyframes fade-in { from { opacity: 0; } }
@keyframes sheet-in { from { transform: translate(-50%, 105%); } }
@keyframes neon-breathe {
  0%, 100% {
    opacity: .92;
    filter: drop-shadow(0 0 2px rgba(255,255,255,.7)) drop-shadow(0 0 10px rgba(168,216,255,.32));
  }
  48% {
    opacity: 1;
    filter: drop-shadow(0 0 6px rgba(255,255,255,.96)) drop-shadow(0 0 22px rgba(151,207,255,.66)) drop-shadow(0 0 42px rgba(117,149,255,.28));
  }
  52% {
    opacity: .96;
    filter: drop-shadow(0 0 3px rgba(255,255,255,.78)) drop-shadow(0 0 13px rgba(151,207,255,.4));
  }
}
@media (min-width: 700px) { .page-shell { padding-top: 42px; } .private-button:hover { transform: translateY(-2px); } }
@media (max-width: 360px) {
  .page-shell { padding-left: 14px; padding-right: 14px; }
  .profile { padding-top: 36px; padding-bottom: 40px; }
  #profile-name { font-size: 60px; }
  .private-button { min-height: 190px; padding-left: 18px; }
  .private-button__arrow { width: 43px; height: 43px; right: 15px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
