:root {
  --bg: #06110a;
  --bg-deep: #020805;
  --ink: #e8ffe0;
  --muted: rgba(184, 255, 154, 0.72);
  --lime: #b8ff9a;
  --lime-hot: #d6ffc2;
  --line: rgba(184, 255, 154, 0.22);
  --glow: rgba(61, 220, 132, 0.45);
  --font-display: "Syne", "Arial Black", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  color: var(--ink);
  font-family: var(--font-body);
  background: var(--bg-deep);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    url("/assets/bg-neon.jpg") center 58% / cover no-repeat,
    #0a0c14;
}

.atmosphere__tint {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(2, 12, 6, 0.72) 0%, rgba(2, 12, 6, 0.28) 42%, rgba(4, 10, 8, 0.55) 100%),
    linear-gradient(180deg, rgba(2, 8, 5, 0.35) 0%, transparent 38%, rgba(2, 8, 5, 0.72) 100%),
    radial-gradient(ellipse 70% 55% at 18% 22%, rgba(48, 160, 90, 0.28), transparent 60%);
  mix-blend-mode: multiply;
  opacity: 0.92;
}

.atmosphere__wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 45% at 72% 40%, rgba(61, 220, 132, 0.14), transparent 65%),
    linear-gradient(90deg, rgba(2, 8, 5, 0.55) 0%, transparent 38%);
}

.atmosphere__glow {
  position: absolute;
  left: 28%;
  top: 12%;
  width: min(58vw, 680px);
  height: min(58vw, 680px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 255, 154, 0.18), rgba(61, 220, 132, 0.05) 48%, transparent 72%);
  filter: blur(14px);
  animation: glow-pulse 7s ease-in-out infinite;
}

.top,
.hero {
  position: relative;
  z-index: 1;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem clamp(1.25rem, 4vw, 3rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.brand__mark {
  width: 2.1rem;
  height: 2.1rem;
  object-fit: contain;
  filter: drop-shadow(0 0 10px var(--glow));
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.top__nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}

.top__nav a:hover {
  color: var(--lime-hot);
}

.top__download {
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--line);
  color: var(--lime) !important;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.top__download:hover {
  background: rgba(184, 255, 154, 0.08);
  border-color: rgba(184, 255, 154, 0.4);
}

.hero {
  min-height: calc(100vh - 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(1.5rem, 5vh, 3rem) clamp(1.25rem, 4vw, 3rem) 4rem;
  max-width: 920px;
}

.hero__online {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.5rem;
  padding: 0.45rem 0.95rem 0.45rem 0.7rem;
  font-size: 0.95rem;
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(6, 20, 12, 0.55);
  backdrop-filter: blur(10px);
}

.hero__online strong {
  color: var(--lime-hot);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.hero__online-max {
  color: rgba(184, 255, 154, 0.45);
}

.hero__online-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(184, 255, 154, 0.55);
  animation: online-pulse 1.8s ease-out infinite;
}

.hero__brand {
  margin: 0;
  line-height: 0;
}

.hero__logo {
  display: block;
  width: min(48vw, 300px);
  height: auto;
  filter: drop-shadow(0 0 34px rgba(61, 220, 132, 0.55));
  animation: logo-float 6s ease-in-out infinite;
}

.hero__lead {
  margin: 1.5rem 0 0;
  max-width: 30rem;
  font-size: clamp(1.1rem, 2.3vw, 1.35rem);
  line-height: 1.45;
  color: var(--muted);
  font-weight: 500;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.15rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.8rem 1.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.btn--primary {
  color: #041008;
  background: linear-gradient(135deg, #d8ffc4 0%, #8fe86a 55%, #5fd24a 100%);
  box-shadow: 0 0 0 1px rgba(184, 255, 154, 0.25), 0 10px 40px rgba(61, 220, 132, 0.25);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(184, 255, 154, 0.45), 0 14px 48px rgba(61, 220, 132, 0.4);
}

.btn--ghost {
  color: var(--lime);
  border-color: var(--line);
  background: rgba(8, 22, 14, 0.55);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  border-color: rgba(184, 255, 154, 0.45);
  background: rgba(184, 255, 154, 0.08);
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}

@keyframes logo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@keyframes online-pulse {
  0% { box-shadow: 0 0 0 0 rgba(184, 255, 154, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(184, 255, 154, 0); }
  100% { box-shadow: 0 0 0 0 rgba(184, 255, 154, 0); }
}

@media (max-width: 640px) {
  .brand__name { display: none; }
  .hero {
    min-height: calc(100vh - 4.5rem);
    align-items: stretch;
  }
  .hero__logo { width: min(72vw, 240px); }
  .hero__actions { flex-direction: column; }
  .btn { width: 100%; }
  .atmosphere {
    background-position: 62% 55%;
  }
}
