:root {
  --ink: #f7f2e7;
  --muted: #aaa69d;
  --gold: #f1bd52;
  --gold-light: #ffdc83;
  --night: #070705;
  --line: rgba(241, 189, 82, 0.2);
  --max-width: 760px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--night);
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(760px 560px at 50% 22%, rgba(184, 120, 24, 0.1), transparent 68%),
    linear-gradient(155deg, #070705 0%, #0d0c09 50%, #060604 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

img,
svg {
  display: block;
}

.pixel-fallback {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}

.site-shell {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  min-height: 100dvh;
  overflow: hidden;
  padding-top: 41px;
}

.ambient-grid {
  position: fixed;
  z-index: -3;
  inset: 0;
  pointer-events: none;
  opacity: 0.48;
  background-image:
    linear-gradient(rgba(255, 220, 131, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 220, 131, 0.024) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.74) 55%, transparent 96%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.74) 55%, transparent 96%);
}

.ambient-glow {
  position: fixed;
  z-index: -2;
  width: 480px;
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(24px);
}

.ambient-glow-left {
  top: 24%;
  left: -410px;
  background: rgba(240, 183, 74, 0.055);
  box-shadow: 0 0 0 70px rgba(240, 183, 74, 0.016);
}

.ambient-glow-right {
  right: -390px;
  bottom: -170px;
  background: rgba(240, 183, 74, 0.045);
  box-shadow: 0 0 0 86px rgba(240, 183, 74, 0.012);
}

.ticker {
  position: fixed;
  z-index: 30;
  inset: 0 0 auto;
  height: 41px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #171106;
  background: linear-gradient(90deg, #b97917, #f3c45e 34%, #ffdf87 50%, #e4ab3f 72%, #ad6f14);
  border-bottom: 1px solid rgba(255, 235, 177, 0.56);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.38);
}

.ticker-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  will-change: transform;
  animation: tickerMove 30s linear infinite;
}

.ticker-group {
  display: flex;
  flex-shrink: 0;
}

.ticker span {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 0 27px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ticker span::after {
  content: "◆";
  color: rgba(48, 30, 3, 0.68);
  font-size: 7px;
}

@keyframes tickerMove {
  from { transform: translateX(0); }
  to { transform: translateX(-25%); }
}

main {
  width: 100%;
}

.hero {
  width: min(calc(100% - 32px), var(--max-width));
  min-height: calc(100svh - 96px);
  min-height: calc(100dvh - 96px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  margin: 0 auto;
  padding: clamp(24px, 4.2vh, 42px) 0 38px;
  text-align: center;
}

.crown-stage {
  position: relative;
  width: clamp(165px, 18vw, 218px);
  aspect-ratio: 1;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  margin-bottom: 7px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 183, 74, 0.12) 0%, rgba(240, 183, 74, 0.04) 48%, transparent 72%);
}

.crown-stage::before {
  content: "";
  position: absolute;
  inset: 10%;
  pointer-events: none;
  border: 1px solid rgba(241, 189, 82, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 46px rgba(211, 139, 28, 0.07), inset 0 0 34px rgba(211, 139, 28, 0.025);
}

.crown-button {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 1;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  background: transparent;
  border: 0;
  border-radius: 46%;
  filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.48));
  transform-origin: 50% 78%;
  animation: crownFloat 4.6s ease-in-out infinite;
}

.crown-button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 58%, rgba(0, 0, 0, 0.94) 69%, transparent 83%);
  mask-image: radial-gradient(circle at 50% 50%, #000 58%, rgba(0, 0, 0, 0.94) 69%, transparent 83%);
}

.crown-button::after {
  content: "";
  position: absolute;
  right: 23%;
  bottom: 17%;
  left: 23%;
  height: 13px;
  pointer-events: none;
  background: rgba(230, 159, 47, 0.23);
  border-radius: 50%;
  filter: blur(13px);
}

.crown-shine {
  position: absolute;
  z-index: 3;
  top: 13%;
  left: 9%;
  width: 23%;
  height: 70%;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 246, 210, 0.28), transparent);
  filter: blur(4px);
  transform: translateX(-120%) rotate(15deg);
  animation: crownShine 5.2s ease-in-out infinite 1.3s;
}

.crown-button.is-celebrating {
  animation: crownCelebrate 820ms cubic-bezier(0.2, 0.8, 0.25, 1);
}

@keyframes crownFloat {
  0%, 100% { transform: translateY(0) rotate(-1.2deg); }
  50% { transform: translateY(-7px) rotate(1.2deg); }
}

@keyframes crownCelebrate {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
  20% { transform: translateY(-4px) rotate(-7deg) scale(1.025); }
  43% { transform: translateY(-8px) rotate(6deg) scale(1.045); }
  66% { transform: translateY(-4px) rotate(-3deg) scale(1.025); }
  82% { transform: translateY(-2px) rotate(1.5deg) scale(1.01); }
}

@keyframes crownShine {
  0%, 70%, 100% { opacity: 0; transform: translateX(-120%) rotate(15deg); }
  76% { opacity: 0.65; }
  90% { opacity: 0; transform: translateX(330%) rotate(15deg); }
}

.hero-copy {
  width: 100%;
}

h1 {
  max-width: 720px;
  margin: 0 auto;
  color: #fffdf7;
  font-size: clamp(45px, 5.3vw, 68px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.058em;
  text-wrap: balance;
}

h1 strong {
  display: inline-block;
  color: var(--gold-light);
  background: linear-gradient(115deg, #ae7015 0%, #ffdd82 36%, #f6c45e 63%, #a9690d 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 15px 38px rgba(182, 117, 20, 0.12);
}

.intro {
  max-width: 560px;
  margin: 15px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.52;
  text-wrap: balance;
}

.channels {
  width: 100%;
  max-width: 590px;
  display: grid;
  gap: 12px;
  margin: 27px auto 0;
}

.channel {
  position: relative;
  min-height: 78px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 43px;
  align-items: center;
  gap: 15px;
  overflow: visible;
  padding: 13px 14px;
  color: #fff;
  text-align: left;
  text-decoration: none;
  border-radius: 20px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.channel::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 1px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, 0.15) 45%, transparent 70%);
  border-radius: 19px;
  transform: translateX(-60%);
  transition: opacity 180ms ease, transform 450ms ease;
}

.channel > * {
  position: relative;
  z-index: 1;
}

.channel-whatsapp {
  background: linear-gradient(135deg, #209b4a 0%, #28b85b 55%, #1b8e42 100%);
  border: 1px solid rgba(151, 255, 190, 0.32);
  box-shadow: 0 19px 43px rgba(0, 0, 0, 0.33), 0 0 28px rgba(39, 183, 88, 0.09), inset 0 1px rgba(255, 255, 255, 0.1);
}

.channel-telegram {
  background: linear-gradient(135deg, rgba(18, 27, 33, 0.95), rgba(13, 16, 17, 0.96));
  border: 1px solid rgba(241, 189, 82, 0.26);
  box-shadow: 0 19px 43px rgba(0, 0, 0, 0.27), inset 0 1px rgba(255, 255, 255, 0.035);
}

.channel:hover {
  transform: translateY(-3px);
}

.channel:hover::before {
  opacity: 1;
  transform: translateX(60%);
}

.channel-whatsapp:hover {
  box-shadow: 0 23px 49px rgba(0, 0, 0, 0.37), 0 0 35px rgba(39, 183, 88, 0.15), inset 0 1px rgba(255, 255, 255, 0.12);
}

.channel-telegram:hover {
  background: linear-gradient(135deg, rgba(22, 34, 41, 0.98), rgba(15, 18, 19, 0.98));
  border-color: rgba(68, 176, 230, 0.48);
}

.channel:active {
  transform: translateY(-1px) scale(0.995);
}

.channel:focus-visible,
.crown-button:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 4px;
}

.channel-badge {
  position: absolute;
  top: -10px;
  right: 16px;
  padding: 5px 10px;
  color: #221605;
  background: linear-gradient(135deg, #ffdf84, #e2a73b);
  border: 1px solid rgba(255, 236, 181, 0.82);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.channel-icon,
.channel-arrow {
  display: grid;
  place-items: center;
}

.channel-icon {
  width: 52px;
  height: 52px;
  background: rgba(2, 7, 4, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 15px;
}

.channel-telegram .channel-icon {
  background: rgba(34, 158, 217, 0.11);
  border-color: rgba(70, 183, 237, 0.18);
}

.channel-icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.channel-copy strong {
  display: block;
  font-size: 19px;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.channel-arrow {
  width: 43px;
  height: 43px;
  background: rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
}

.channel-arrow svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 180ms ease;
}

.channel:hover .channel-arrow svg {
  transform: translate(2px, -2px);
}

.trust-line {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 17px;
  color: #807e78;
}

.trust-line span {
  position: relative;
  padding-left: 13px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.trust-line span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 8px rgba(241, 189, 82, 0.5);
}

.store-proof {
  width: 100%;
  max-width: 590px;
  margin: 24px auto 0;
  padding-top: 19px;
  border-top: 1px solid rgba(241, 189, 82, 0.12);
}

.store-proof-title {
  margin: 0 0 14px;
  color: #bbb6ac;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: 0.012em;
}

.store-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.store-logo {
  width: 48px;
  height: 48px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  padding: 4px;
  background: #fff;
  border: 1px solid rgba(255, 222, 136, 0.34);
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32), 0 0 16px rgba(241, 189, 82, 0.055);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.store-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

footer {
  width: min(calc(100% - 32px), 1180px);
  min-height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.27);
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  font-size: 10px;
  letter-spacing: 0.035em;
}

.footer-separator {
  color: rgba(241, 189, 82, 0.4);
}

@media (hover: hover) and (pointer: fine) {
  .crown-button:hover {
    animation-play-state: paused;
    transform: translateY(-6px) rotate(2.5deg) scale(1.025);
  }

  .store-logo:hover {
    border-color: rgba(255, 222, 136, 0.7);
    box-shadow: 0 13px 28px rgba(0, 0, 0, 0.38), 0 0 20px rgba(241, 189, 82, 0.12);
    transform: translateY(-3px);
  }
}

@media (max-width: 640px) {
  .site-shell {
    padding-top: 36px;
  }

  .ticker {
    height: 36px;
  }

  .ticker span {
    gap: 19px;
    padding: 0 20px;
    font-size: 8px;
  }

  .hero {
    width: min(calc(100% - 24px), var(--max-width));
    min-height: calc(100svh - 88px);
    min-height: calc(100dvh - 88px);
    padding: 16px 0 28px;
  }

  .crown-stage {
    width: 148px;
    margin-bottom: 2px;
  }

  h1 {
    font-size: clamp(37px, 10.7vw, 49px);
    line-height: 0.99;
  }

  .intro {
    max-width: 430px;
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.48;
  }

  .channels {
    gap: 11px;
    margin-top: 22px;
  }

  .channel {
    min-height: 68px;
    grid-template-columns: 44px minmax(0, 1fr) 38px;
    gap: 12px;
    padding: 11px 12px;
    border-radius: 18px;
  }

  .channel-icon {
    width: 44px;
    height: 44px;
    border-radius: 13px;
  }

  .channel-icon img {
    width: 30px;
    height: 30px;
  }

  .channel-copy strong {
    font-size: 16px;
  }

  .channel-arrow {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .channel-badge {
    top: -9px;
    right: 12px;
    font-size: 8px;
  }

  .trust-line {
    gap: 7px 13px;
    margin-top: 14px;
  }

  .trust-line span {
    padding-left: 11px;
    font-size: 7.5px;
  }

  .store-proof {
    margin-top: 20px;
    padding-top: 16px;
  }

  .store-proof-title {
    margin-bottom: 12px;
    font-size: 11px;
  }

  .store-logos {
    gap: 8px;
  }

  .store-logo {
    width: 42px;
    height: 42px;
    padding: 3px;
  }

  footer {
    width: min(calc(100% - 24px), 1180px);
    min-height: 52px;
    font-size: 9px;
  }
}

@media (max-width: 390px) {
  .hero {
    padding-top: 12px;
  }

  .crown-stage {
    width: 132px;
  }

  h1 {
    font-size: clamp(34px, 10.3vw, 42px);
  }

  .intro {
    max-width: 340px;
    font-size: 13px;
  }

  .channel {
    min-height: 64px;
    grid-template-columns: 41px minmax(0, 1fr) 35px;
    gap: 10px;
    padding: 10px;
  }

  .channel-icon {
    width: 41px;
    height: 41px;
  }

  .channel-icon img {
    width: 28px;
    height: 28px;
  }

  .channel-copy strong {
    font-size: 14.5px;
  }

  .channel-arrow {
    width: 35px;
    height: 35px;
  }

  .trust-line {
    gap: 7px 10px;
  }

  .trust-line span {
    font-size: 7px;
  }

  .store-logo {
    width: 40px;
    height: 40px;
  }
}

@media (max-height: 720px) {
  .hero {
    padding-top: 10px;
    padding-bottom: 20px;
  }

  .crown-stage {
    width: 126px;
  }

  h1 {
    font-size: clamp(34px, 7vh, 48px);
  }

  .intro {
    margin-top: 10px;
  }

  .channels {
    margin-top: 18px;
  }

  .trust-line {
    margin-top: 12px;
  }

  .store-proof {
    margin-top: 17px;
    padding-top: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track,
  .crown-button,
  .crown-shine,
  .crown-button.is-celebrating {
    animation: none !important;
  }

  .channel,
  .channel::before,
  .channel-arrow svg,
  .store-logo {
    transition: none;
  }
}
