@font-face {
  font-family: "Bebas Neue";
  src: url("./assets/fonts/BebasNeue-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("./assets/fonts/DMSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("./assets/fonts/DMSans-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("./assets/fonts/DMSans-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("./assets/fonts/DMSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Mono";
  src: url("./assets/fonts/SpaceMono-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Mono";
  src: url("./assets/fonts/SpaceMono-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --g: #d4af37;
  --g-dim: rgba(212, 175, 55, 0.12);
  --bg: #07131b;
  --bg2: #0d1a24;
  --text: #f7f7f7;
  --muted: #aeb8c4;
  --border: rgba(212, 175, 55, 0.18);
  --red: #c8a64b;
  --gold: #d4af37;
  --gold-soft: #c8a64b;
  --green: #00b86b;
  --telegram: #1f6489;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
}

a {
  color: inherit;
}

.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.bg-grid {
  position: absolute;
  inset: 0;
}

.bg-radial {
  position: absolute;
  top: -200px;
  left: 50%;
  width: 900px;
  height: 500px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(42, 171, 238, 0.08) 0%, transparent 65%);
  animation: radialBreath 5s ease-in-out infinite;
}

.particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.particles span {
  position: absolute;
  left: var(--left);
  bottom: -5vh;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: var(--g);
  opacity: 0;
  animation: pRise var(--duration) linear var(--delay) infinite;
}

.ticker {
  position: relative;
  z-index: 10;
  overflow: hidden;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  background: rgba(7, 19, 27, 0.97);
}

.ticker::before,
.ticker::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 80px;
  pointer-events: none;
}

.ticker::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), transparent);
}

.ticker::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg), transparent);
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 44px;
  white-space: nowrap;
  color: var(--muted);
  font-family: "Space Mono", monospace;
  font-size: 12px;
  line-height: 1.5;
  animation: tickerScroll 28s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.ticker-track b {
  color: var(--muted);
  font-weight: 700;
}

.ticker-track em {
  font-style: normal;
  font-weight: 700;
}

.ticker-track i {
  color: rgba(212, 175, 55, 0.16);
  font-style: normal;
}

.up {
  color: var(--green);
}

.down {
  color: var(--gold-soft);
}

.nav {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 77px;
  padding: 16px 32px;
  border-bottom: 1px solid var(--border);
  background: rgba(7, 19, 27, 0.76);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-photo {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  overflow: hidden;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.28);
}

.brand-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-name {
  color: var(--text);
  font-family: "Bebas Neue", cursive;
  font-size: 22px;
  letter-spacing: 2px;
  line-height: 1;
}

.brand-name strong {
  color: var(--gold);
  font-weight: 400;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border: 1px solid rgba(0, 184, 107, 0.35);
  border-radius: 20px;
  background: rgba(0, 184, 107, 0.1);
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.4;
  text-transform: uppercase;
}

.live-badge span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 5px var(--green);
  animation: blink 1.4s ease-in-out infinite;
}

main {
  position: relative;
  z-index: 1;
}

.hero {
  position: relative;
  z-index: 1;
  display: flex;
  max-width: 760px;
  margin: 0 auto;
  padding: 52px 24px 36px;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-eyebrow {
  margin-bottom: 18px;
  color: var(--gold);
  font-family: "Space Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  line-height: 1.5;
  text-transform: uppercase;
  opacity: 0;
  animation: riseIn 0.6s ease 0.1s forwards;
}

.hero-title {
  position: relative;
  margin-bottom: 16px;
  color: var(--text);
  font-family: "Bebas Neue", cursive;
  font-size: clamp(52px, 13vw, 96px);
  font-weight: 400;
  letter-spacing: 3px;
  line-height: 0.95;
  opacity: 0;
  animation: riseIn 0.7s ease 0.25s forwards;
}

.hero-title span {
  color: var(--gold);
}

.hero-title::before,
.hero-title::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  color: var(--gold);
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  text-align: center;
  pointer-events: none;
}

.hero-title::before {
  clip-path: polygon(0 20%, 100% 20%, 100% 38%, 0 38%);
  animation: g1 8s steps(1) infinite;
}

.hero-title::after {
  color: var(--telegram);
  clip-path: polygon(0 62%, 100% 62%, 100% 80%, 0 80%);
  animation: g2 9s steps(1) infinite;
}

.hero-subtitle {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  opacity: 0;
  animation: riseIn 0.7s ease 0.4s forwards;
}

.hero-text {
  max-width: 500px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  opacity: 0;
  animation: riseIn 0.7s ease 0.52s forwards;
}

.hero-actions {
  display: flex;
  margin: 30px auto;
  flex-wrap: wrap;
  flex-direction: column;
  max-width: 350px;
  justify-content: center;
  gap: 14px;
  opacity: 0;
  animation: riseIn 0.7s ease 0.65s forwards;
}

.hero-actions p {
  color: var(--text) !important;
  font-size: 8px !important;
  line-height: 1.5;
  margin-top: 10px;
}

.btn {
  text-decoration: none;
}

.btn svg {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  fill: currentColor;
}

.btn-primary svg {
  fill: var(--telegram);
}

.btn-primary {
  position: relative;
  justify-content: center;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  padding: 20px 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--green) 0%, var(--green) 100%);
  box-shadow:
    0 0 0 3px rgba(0, 184, 107, 0.25),
    0 0 40px rgba(0, 184, 107, 0.5),
    0 6px 24px rgba(7, 19, 27, 0.55);
  color: var(--bg);
  font-family: "DM Sans", sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.3px;
  line-height: 1.5;
  transition: transform 0.18s, box-shadow 0.18s;
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(247, 247, 247, 0.18) 0%, transparent 55%);
  pointer-events: none;
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 55%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(247, 247, 247, 0.25), transparent);
  animation: shimmer 3.5s ease-in-out 2s infinite;
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.04);
  animation: none;
}

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

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 26px;
  border: 1.5px solid rgba(212, 175, 55, 0.45);
  border-radius: 12px;
  background: transparent;
  color: var(--gold);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  transition: background 0.18s, border-color 0.18s, transform 0.18s;
}

.btn-outline:hover {
  border-color: var(--gold);
  background: var(--g-dim);
  transform: translateY(-2px);
}

.stats {
  position: relative;
  z-index: 1;
  display: grid;
  width: 100%;
  max-width: 760px;
  margin: 0 auto 44px;
  padding: 0 24px;
  grid-template-columns: repeat(4, 1fr);
}

.stats article {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 12px;
  border: 1px solid var(--border);
  border-right: 0;
  background: linear-gradient(160deg, rgba(13, 26, 36, 0.88), rgba(7, 19, 27, 0.92));
  transition: background 0.2s;
}

.stats article:first-child {
  border-radius: 12px 0 0 12px;
}

.stats article:last-child {
  border-right: 1px solid var(--border);
  border-radius: 0 12px 12px 0;
}

.stats article::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.stats article:hover {
  background: rgba(212, 175, 55, 0.08);
}

.stats article:hover::before {
  width: 60%;
}

.stats strong {
  color: var(--gold);
  font-family: "Bebas Neue", cursive;
  font-size: 34px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 1;
  text-transform: uppercase;
}

.stats span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
}

.section-header {
  margin-bottom: 26px;
  text-align: center;
}

.section-header p {
  margin-bottom: 8px;
  color: var(--gold);
  font-family: "Space Mono", monospace;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 3px;
  line-height: 1.5;
  text-transform: uppercase;
}

.section-header h2 {
  color: var(--text);
  font-family: "Bebas Neue", cursive;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 2px;
  line-height: 1.5;
  text-transform: uppercase;
}

.features-section {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto 44px;
  padding: 0 24px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.feature {
  position: relative;
  display: flex;
  min-height: 178px;
  flex-direction: column;
  gap: 7px;
  overflow: hidden;
  padding: 20px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(13, 26, 36, 0.88), rgba(7, 19, 27, 0.9));
  cursor: default;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}

.feature::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 0;
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.1), transparent);
  transition: height 0.3s ease;
}

.feature:hover {
  border-color: rgba(212, 175, 55, 0.42);
  background: rgba(212, 175, 55, 0.06);
  transform: translateY(-4px);
}

.feature:hover::after {
  height: 60px;
}

.feature-icon {
  z-index: 1;
  display: flex;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 10px;
  background: var(--g-dim);
  font-size: 18px;
  line-height: 1;
}

.feature h3 {
  z-index: 1;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: 1.5;
}

.feature p {
  z-index: 1;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.testimonials {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow: hidden;
  margin-bottom: 44px;
}

.testimonials::before,
.testimonials::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 90px;
  pointer-events: none;
}

.testimonials::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), transparent);
}

.testimonials::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg), transparent);
}

.testi-mask {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 54px;
  overflow: hidden;
}

.testi-viewport {
  overflow: hidden;
  border-radius: 14px;
  touch-action: pan-y;
}

.testi-track {
  display: flex;
  transform: translateX(0);
  transition: transform 0.45s ease;
}

.testi-slide {
  display: grid;
  min-width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.testi-slide img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg2);
  box-shadow: 0 14px 34px rgba(7, 19, 27, 0.55);
}

.testi-control {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(212, 175, 55, 0.42);
  border-radius: 50%;
  background: rgba(7, 19, 27, 0.82);
  color: var(--gold);
  cursor: pointer;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-50%);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.testi-control:hover {
  border-color: rgba(212, 175, 55, 0.82);
  background: rgba(212, 175, 55, 0.14);
  transform: translateY(-50%) scale(1.06);
}

.testi-prev {
  left: 0;
}

.testi-next {
  right: 0;
}

.cta-section {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto 48px;
  padding: 0 24px;
  text-align: center;
}

.cta-box {
  position: relative;
  overflow: hidden;
  padding: 44px 36px;
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(13, 26, 36, 0.9), rgba(7, 19, 27, 0.94));
}

.cta-box::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12), transparent 70%);
  pointer-events: none;
}

.cta-box h2 {
  margin-bottom: 10px;
  color: var(--text);
  font-family: "Bebas Neue", cursive;
  font-size: clamp(30px, 7vw, 50px);
  font-weight: 400;
  letter-spacing: 2px;
  line-height: 1.5;
}

.cta-box p {
  max-width: 440px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.footer {
  position: relative;
  z-index: 1;
  padding: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer p {
  max-width: 640px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.video-container {
  position: relative;
  max-width: 350px;
  margin: 24px auto 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(7, 19, 27, 0.58);
  aspect-ratio: 9 / 16;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: flex;
  width: 72px;
  height: 72px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 184, 107, 0.55);
  border-radius: 50%;
  background: rgba(7, 19, 27, 0.76);
  box-shadow:
    0 0 0 8px rgba(0, 184, 107, 0.08),
    0 16px 36px rgba(7, 19, 27, 0.56);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.video-play-btn span {
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 22px solid var(--green);
}

.video-play-btn:hover {
  border-color: rgba(0, 184, 107, 0.85);
  background: rgba(0, 184, 107, 0.15);
  transform: translate(-50%, -50%) scale(1.05);
}

.video-container.is-playing .video-play-btn {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.9);
}

@keyframes radialBreath {
  0%,
  100% {
    opacity: 0.8;
  }

  50% {
    opacity: 1;
  }
}

@keyframes pRise {
  0% {
    transform: translateY(100vh) translateX(0);
    opacity: 0;
  }

  8% {
    opacity: 0.5;
  }

  92% {
    opacity: 0.2;
  }

  100% {
    transform: translateY(-5vh) translateX(var(--drift));
    opacity: 0;
  }
}

@keyframes tickerScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.35;
    transform: scale(0.6);
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes g1 {
  0%,
  93%,
  100% {
    transform: translate(0);
    opacity: 0;
  }

  94% {
    transform: translate(-3px, 1px);
    opacity: 0.5;
  }

  96% {
    transform: translate(3px, -1px);
    opacity: 0.3;
  }
}

@keyframes g2 {
  0%,
  90%,
  100% {
    transform: translate(0);
    opacity: 0;
  }

  91% {
    transform: translate(3px, 2px);
    opacity: 0.45;
  }

  93% {
    transform: translate(-3px, -2px);
    opacity: 0.25;
  }
}

@keyframes shimmer {
  0% {
    left: -120%;
  }

  55%,
  100% {
    left: 150%;
  }
}

@keyframes ctaPulse {
  0%,
  100% {
    box-shadow:
      0 0 0 3px rgba(0, 184, 107, 0.22),
      0 0 35px rgba(0, 184, 107, 0.4),
      0 6px 24px rgba(7, 19, 27, 0.55);
  }

  50% {
    box-shadow:
      0 0 0 6px rgba(0, 184, 107, 0.38),
      0 0 70px rgba(0, 184, 107, 0.7),
      0 6px 24px rgba(7, 19, 27, 0.55);
  }
}

@media (max-width: 640px) {
  .nav {
    min-height: 69px;
    padding: 12px 16px;
  }

  .hero {
    padding: 36px 16px 28px;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 16px;
  }

  .stats article:nth-child(2) {
    border-right: 1px solid var(--border);
    border-radius: 0 12px 0 0;
  }

  .stats article:first-child {
    border-radius: 12px 0 0 0;
  }

  .stats article:nth-child(3) {
    border-radius: 0 0 0 12px;
  }

  .stats article:last-child {
    border-right: 1px solid var(--border);
    border-radius: 0 0 12px 0;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .feature {
    min-height: 132px;
    padding: 16px 14px;
    border-radius: 12px;
  }

  .feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    font-size: 16px;
  }

  .feature h3 {
    font-size: 14px;
    line-height: 1.45;
  }

  .testimonials::before,
  .testimonials::after {
    width: 36px;
  }

  .testi-mask {
    padding: 0 42px;
  }

  .testi-slide {
    gap: 10px;
  }

  .testi-slide img {
    border-radius: 10px;
  }

  .testi-control {
    width: 34px;
    height: 34px;
    font-size: 28px;
  }

  .cta-box {
    padding: 28px 20px;
  }

  .btn-primary {
    padding: 17px 28px;
    font-size: 17px;
  }
}

@media (max-width: 420px) {
  .features-section {
    padding: 0 18px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .feature {
    min-height: 0;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
  }

  .feature h3 {
    margin: 0;
    font-size: 15px;
    line-height: 1.35;
  }

  .video-play-btn {
    width: 62px;
    height: 62px;
  }

  .video-play-btn span {
    border-top-width: 12px;
    border-bottom-width: 12px;
    border-left-width: 19px;
  }

  .testimonials::before,
  .testimonials::after {
    width: 22px;
  }

  .testi-mask {
    padding: 0 34px;
  }

  .testi-slide {
    gap: 8px;
  }

  .testi-control {
    width: 30px;
    height: 30px;
    font-size: 25px;
  }

  .btn-primary {
    padding: 16px 20px;
    font-size: 16px;
  }
}
