:root {
  --bg: #02050a;
  --surface: #030914;
  --telegram: #229ed9;
  --telegram-deep: #0967eb;
  --telegram-bright: #2cc6ff;
  --gold: #f6c56b;
  --gold-soft: #ffe1a7;
  --text: #ffffff;
  --muted: #aab9cc;
  --font: "Outfit", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100svh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 100%, rgba(7, 91, 220, 0.32), transparent 34rem),
    radial-gradient(circle at 15% 15%, rgba(28, 173, 255, 0.08), transparent 24rem),
    #000000;
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

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

.capture-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
}

.capture-card {
  position: relative;
  isolation: isolate;
  width: min(100%, 620px);
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 65%, rgba(13, 111, 239, 0.22), transparent 38%),
    linear-gradient(to bottom, #000000 0%, #020711 48%, #031b3d 76%, #0755b8 100%);
  box-shadow: 0 0 100px rgba(4, 73, 174, 0.28);
}

.capture-card::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 32% -35% -24%;
  background: conic-gradient(from 110deg, transparent, rgba(25, 153, 255, 0.22), transparent 32%, rgba(246, 197, 107, 0.1), transparent 65%);
  filter: blur(42px);
  animation: aurora-spin 18s linear infinite;
}

.ambient-orb {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(54px);
  opacity: 0.42;
}

.ambient-orb-one {
  top: 18%;
  left: -22%;
  width: 240px;
  height: 240px;
  background: #087bdc;
  animation: orb-float-one 9s ease-in-out infinite alternate;
}

.ambient-orb-two {
  right: -30%;
  bottom: 8%;
  width: 280px;
  height: 280px;
  background: #073eac;
  animation: orb-float-two 11s ease-in-out infinite alternate;
}

.telegram-brand {
  position: relative;
  z-index: 10;
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(18px, 5vw, 30px) 10px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.98), rgba(0, 0, 0, 0.83));
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.telegram-mark {
  position: relative;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: linear-gradient(145deg, var(--telegram-bright), var(--telegram-deep));
  box-shadow: 0 0 0 7px rgba(35, 173, 244, 0.07), 0 12px 30px rgba(14, 143, 225, 0.34);
}

.telegram-mark::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(51, 193, 255, 0.25);
  border-radius: 50%;
  animation: logo-pulse 2.4s ease-out infinite;
}

.telegram-mark svg {
  width: 32px;
  height: 32px;
  fill: #ffffff;
}

.telegram-name {
  font-size: clamp(1.8rem, 7vw, 2.55rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
}

.access-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: #ceeaff;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.access-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #37d796;
  box-shadow: 0 0 0 4px rgba(55, 215, 150, 0.1), 0 0 12px rgba(55, 215, 150, 0.8);
}

.hero-media {
  position: relative;
  height: clamp(310px, 47svh, 470px);
  overflow: hidden;
  background: #03070c;
}

.hero-media::before,
.hero-media::after {
  content: "";
  position: absolute;
  z-index: 3;
  pointer-events: none;
}

.hero-media::before {
  inset: 0;
  background:
    linear-gradient(to right, rgba(0, 0, 0, 0.8), transparent 30%, transparent 69%, rgba(0, 0, 0, 0.76)),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.08), transparent 48%, #031933 96%, #052754 100%);
}

.hero-media::after {
  top: -45%;
  left: -28%;
  width: 24%;
  height: 190%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.15), transparent);
  filter: blur(10px);
  transform: rotate(18deg);
  animation: light-sweep 7s ease-in-out infinite;
}

.hero-media picture,
.hero-media picture::after,
.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-media picture {
  position: relative;
  z-index: 1;
}

.hero-media img {
  object-fit: cover;
  object-position: center 82%;
  filter: saturate(0.82) contrast(1.07) brightness(0.88);
  transform: scale(1.19);
  transform-origin: center 82%;
  animation: hero-breathe 9s ease-in-out infinite alternate;
}

.hero-grid {
  position: absolute;
  z-index: 2;
  inset: 0;
  background-image:
    linear-gradient(rgba(53, 172, 255, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 172, 255, 0.075) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.4;
  mask-image: linear-gradient(to bottom, transparent, #000 34%, #000 80%, transparent);
  transform: perspective(300px) rotateX(60deg) scale(1.45) translateY(20%);
  transform-origin: bottom;
}

.market-chart {
  position: absolute;
  z-index: 2;
  right: -6%;
  bottom: 6%;
  width: 112%;
  height: 68%;
  overflow: visible;
  opacity: 0.84;
  filter: drop-shadow(0 0 10px rgba(31, 181, 255, 0.52));
  pointer-events: none;
}

.chart-area {
  fill: url(#chart-fill);
}

.chart-stroke {
  fill: none;
  stroke: url(#chart-line);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: chart-draw 2.2s 0.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.chart-pulse {
  fill: var(--gold-soft);
  stroke: rgba(246, 197, 107, 0.3);
  stroke-width: 12;
  opacity: 0;
  animation: chart-point 1.8s 2.1s ease-out infinite;
}

#money-canvas {
  position: absolute;
  z-index: 4;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.money-asset {
  position: absolute;
  z-index: 5;
  pointer-events: none;
}

.money-asset img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.money-note {
  top: 19%;
  left: 3.5%;
  width: 78px;
  aspect-ratio: 2.37;
  overflow: hidden;
  border: 1px solid rgba(239, 240, 219, 0.34);
  border-radius: 3px;
  box-shadow: 0 13px 24px rgba(0, 0, 0, 0.5), 0 0 20px rgba(137, 183, 154, 0.13);
  transform: rotate(-12deg);
  animation: money-note-float 5.2s ease-in-out infinite;
}

.money-note img {
  filter: saturate(0.78) contrast(1.05) brightness(0.88);
}

.money-bitcoin {
  top: 10%;
  right: 4.5%;
  width: 58px;
  height: 58px;
  overflow: hidden;
  border-radius: 50%;
  filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 14px rgba(243, 186, 55, 0.22));
  transform: rotate(12deg);
  animation: money-bitcoin-float 6.1s 0.5s ease-in-out infinite;
}

.market-card {
  position: absolute;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: 210px;
  padding: 8px 11px 8px 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  background: linear-gradient(110deg, rgba(3, 16, 36, 0.86), rgba(7, 27, 53, 0.58));
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  pointer-events: none;
}

.market-card-analysis {
  top: 43%;
  left: 3.5%;
  animation: card-float-left 5.4s ease-in-out infinite;
}

.market-card-risk {
  right: 3.5%;
  bottom: 25%;
  animation: card-float-right 6s 0.7s ease-in-out infinite;
}

.market-card-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(145deg, #159cf1, #075bc4);
  box-shadow: 0 6px 18px rgba(14, 139, 232, 0.36);
}

.market-card-icon-gold {
  background: linear-gradient(145deg, #f1c266, #b97816);
  box-shadow: 0 6px 18px rgba(229, 167, 54, 0.28);
}

.market-card-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.market-card > span:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.market-card small {
  color: #85d8ff;
  font-size: 0.53rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.market-card-risk small {
  color: var(--gold-soft);
}

.market-card strong {
  overflow: hidden;
  margin-top: 1px;
  font-size: 0.7rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.official-tag {
  position: absolute;
  z-index: 7;
  right: 50%;
  bottom: 42px;
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: calc(100% - 36px);
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 12px;
  background: rgba(2, 12, 28, 0.78);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(12px);
  transform: translateX(50%);
}

.official-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--telegram-bright);
  box-shadow: 0 0 0 5px rgba(37, 183, 243, 0.12), 0 0 14px rgba(37, 183, 243, 0.58);
}

.official-tag div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.official-tag strong {
  font-size: 0.78rem;
  line-height: 1.1;
}

.official-tag div span {
  overflow: hidden;
  color: #b9d6ef;
  font-size: 0.61rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.market-tape {
  position: absolute;
  z-index: 8;
  right: 0;
  bottom: 0;
  left: 0;
  height: 27px;
  overflow: hidden;
  border-block: 1px solid rgba(67, 189, 255, 0.16);
  background: rgba(2, 14, 30, 0.78);
  backdrop-filter: blur(10px);
}

.market-tape-track {
  width: max-content;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 15px;
  padding-left: 15px;
  color: #bce9ff;
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  animation: tape-scroll 18s linear infinite;
}

.market-tape-track i {
  color: var(--gold);
  font-size: 0.4rem;
  font-style: normal;
}

.conversion-panel {
  position: relative;
  z-index: 9;
  padding: 15px clamp(18px, 6vw, 38px) max(17px, env(safe-area-inset-bottom));
  background:
    radial-gradient(circle at 50% 0, rgba(23, 142, 247, 0.24), transparent 45%),
    linear-gradient(to bottom, rgba(3, 25, 58, 0.94), rgba(6, 67, 146, 0.82));
  text-align: center;
}

.conversion-panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 50%;
  width: 72%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(83, 205, 255, 0.75), transparent);
  transform: translateX(-50%);
}

.value-pills {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-bottom: 9px;
}

.value-pills span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: #c9eaff;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.value-pills i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(246, 197, 107, 0.8);
}

.conversion-panel h1 {
  max-width: 520px;
  margin: 0 auto 14px;
  font-size: clamp(1.2rem, 5vw, 1.55rem);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.conversion-panel h1 span {
  color: #49d0ff;
  font-weight: 800;
  text-shadow: 0 0 22px rgba(35, 181, 255, 0.32);
}

.conversion-panel h1 span:last-child {
  color: var(--gold-soft);
  text-shadow: 0 0 22px rgba(246, 197, 107, 0.2);
}

.main-cta {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  overflow: hidden;
  padding: 13px 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: linear-gradient(100deg, #075ee5 0%, #119df4 46%, #0871ed 100%);
  background-size: 180% 100%;
  color: #ffffff;
  font-size: clamp(0.76rem, 3.25vw, 0.96rem);
  font-weight: 800;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  box-shadow:
    0 15px 30px rgba(0, 70, 201, 0.38),
    0 0 0 6px rgba(20, 143, 244, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
  animation: cta-gradient 4s ease-in-out infinite;
}

.main-cta::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -45%;
  left: -30%;
  width: 20%;
  height: 190%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  filter: blur(2px);
  transform: rotate(18deg);
  animation: cta-shine 3.8s ease-in-out infinite;
}

.cta-label {
  min-width: 0;
}

.cta-arrow {
  flex: 0 0 auto;
  font-size: 1.35em;
  line-height: 1;
  animation: arrow-nudge 1.6s ease-in-out infinite;
}

.main-cta:hover {
  filter: brightness(1.1);
  transform: translateY(-2px) scale(1.01);
  box-shadow:
    0 18px 34px rgba(0, 70, 201, 0.45),
    0 0 0 7px rgba(20, 143, 244, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.main-cta:focus-visible,
.store-links a:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}

.cta-trust {
  margin: 7px 0 0;
  color: rgba(230, 244, 255, 0.78);
  font-size: 0.64rem;
}

.cta-trust span {
  display: inline-grid;
  place-items: center;
  width: 13px;
  height: 13px;
  margin-right: 3px;
  border-radius: 50%;
  background: rgba(55, 215, 150, 0.14);
  color: #70efb9;
  font-size: 0.55rem;
}

.download-label {
  margin: 9px 0 7px;
  color: #e8f2ff;
  font-size: 0.68rem;
}

.store-links {
  display: flex;
  justify-content: center;
  gap: 9px;
}

.store-links a {
  width: min(43%, 154px);
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: linear-gradient(145deg, #ffffff, #e9f0f7);
  color: #111111;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.05;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
  transition: transform 180ms ease, filter 180ms ease;
}

.store-links a:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.store-links a > span:last-child {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  text-align: left;
}

.store-links small {
  font-size: 0.47rem;
  font-weight: 500;
}

.store-symbol {
  font-size: 1rem;
}

.play-symbol {
  color: #1aa7ec;
}

.risk-note {
  max-width: 470px;
  margin: 8px auto 0;
  color: rgba(235, 244, 255, 0.61);
  font-size: 0.55rem;
  line-height: 1.3;
}

@keyframes aurora-spin {
  to { transform: rotate(1turn); }
}

@keyframes orb-float-one {
  to { transform: translate(34px, 45px) scale(1.15); }
}

@keyframes orb-float-two {
  to { transform: translate(-30px, -36px) scale(0.9); }
}

@keyframes logo-pulse {
  0% { opacity: 0.7; transform: scale(0.82); }
  65%, 100% { opacity: 0; transform: scale(1.34); }
}

@keyframes hero-breathe {
  to { transform: scale(1.225); filter: saturate(0.9) contrast(1.08) brightness(0.92); }
}

@keyframes light-sweep {
  0%, 12% { left: -32%; opacity: 0; }
  28% { opacity: 1; }
  58%, 100% { left: 125%; opacity: 0; }
}

@keyframes chart-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes chart-point {
  0% { opacity: 0; stroke-width: 16; }
  20% { opacity: 1; }
  100% { opacity: 0; stroke-width: 2; }
}

@keyframes money-note-float {
  0%, 100% { transform: translateY(0) rotate(-12deg); }
  50% { transform: translateY(-12px) rotate(-7deg); }
}

@keyframes money-bitcoin-float {
  0%, 100% { transform: translateY(0) rotate(12deg); }
  50% { transform: translateY(13px) rotate(4deg); }
}

@keyframes card-float-left {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-1deg); }
  50% { transform: translate3d(5px, -8px, 0) rotate(1deg); }
}

@keyframes card-float-right {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(1deg); }
  50% { transform: translate3d(-5px, 8px, 0) rotate(-1deg); }
}

@keyframes tape-scroll {
  to { transform: translateX(-50%); }
}

@keyframes cta-gradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes cta-shine {
  0%, 18% { left: -30%; opacity: 0; }
  30% { opacity: 0.85; }
  58%, 100% { left: 120%; opacity: 0; }
}

@keyframes arrow-nudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}

@media (min-width: 621px) {
  .capture-page {
    padding-block: 24px;
  }

  .capture-card {
    min-height: auto;
    border: 0;
    border-radius: 28px;
  }
}

@media (max-width: 440px) {
  .access-badge {
    padding-inline: 8px;
    font-size: 0.52rem;
  }

  .market-card {
    max-width: 180px;
  }

  .market-card-analysis {
    left: -1%;
  }

  .market-card-risk {
    right: -1%;
  }
}

@media (max-width: 380px) {
  .telegram-brand {
    min-height: 74px;
    gap: 9px;
    padding: 10px 14px 8px;
  }

  .telegram-mark {
    width: 44px;
    height: 44px;
  }

  .telegram-mark svg {
    width: 27px;
    height: 27px;
  }

  .telegram-name {
    font-size: 1.75rem;
  }

  .access-badge {
    gap: 5px;
    padding: 6px 7px;
    font-size: 0.47rem;
    letter-spacing: 0.07em;
  }

  .hero-media {
    height: 285px;
  }

  .money-note {
    left: 3%;
    width: 68px;
  }

  .money-bitcoin {
    right: 3%;
    width: 49px;
    height: 49px;
  }

  .market-card {
    max-width: 164px;
    gap: 7px;
    padding: 6px 8px 6px 6px;
  }

  .market-card-icon {
    width: 28px;
    height: 28px;
  }

  .market-card small {
    font-size: 0.44rem;
  }

  .market-card strong {
    font-size: 0.6rem;
  }

  .market-card-analysis {
    top: 46%;
  }

  .market-card-risk {
    bottom: 28%;
  }

  .official-tag {
    bottom: 36px;
    padding: 7px 10px;
  }

  .conversion-panel {
    padding: 12px 14px max(14px, env(safe-area-inset-bottom));
  }

  .value-pills {
    margin-bottom: 7px;
  }

  .conversion-panel h1 {
    margin-bottom: 11px;
    font-size: 1.08rem;
    line-height: 1.23;
  }

  .main-cta {
    min-height: 50px;
    padding-inline: 14px;
    font-size: 0.7rem;
  }

  .cta-trust {
    margin-top: 6px;
    font-size: 0.59rem;
  }

  .download-label {
    margin-top: 7px;
    font-size: 0.61rem;
  }

  .store-links a {
    width: 46%;
    min-height: 37px;
    font-size: 0.68rem;
  }

  .risk-note {
    margin-top: 6px;
    font-size: 0.51rem;
  }
}

@media (max-width: 340px) {
  .access-badge {
    width: 28px;
    height: 28px;
    justify-content: center;
    padding: 0;
    overflow: hidden;
    color: transparent;
    font-size: 0;
  }

  .access-badge i {
    width: 8px;
    height: 8px;
  }

  .value-pills span {
    padding-inline: 7px;
    font-size: 0.54rem;
  }
}

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

  .chart-stroke {
    stroke-dashoffset: 0;
  }

}
