:root {
  --bg: #050a12;
  --bg-elevated: #0b111b;
  --bg-card: #101820;
  --yellow: #ffd700;
  --yellow-hover: #ffe44d;
  --yellow-glow: rgba(255, 215, 0, 0.28);
  --cyan: #4fc3f7;
  --cyan-soft: rgba(79, 195, 247, 0.14);
  --text: #ffffff;
  --text-muted: #78909c;
  --text-soft: #a8b8c4;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 16px;
  --radius-pill: 999px;
  --banner-h: 44px;
  --header-h: 64px;
  --container: min(1120px, calc(100% - 24px));
  --font: "Manrope", "Segoe UI", sans-serif;
  --display: "Oswald", "Arial Narrow", sans-serif;
  --ease: 0.25s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(ellipse 70% 45% at 50% -15%, rgba(79, 195, 247, 0.12), transparent 55%),
    radial-gradient(ellipse 40% 30% at 85% 20%, rgba(255, 215, 0, 0.06), transparent 50%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
  color: inherit;
}

button {
  border: none;
  background: none;
  cursor: pointer;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: var(--container);
  max-width: 100%;
  margin-inline: auto;
}

/* Dev banner */
.dev-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--yellow);
  color: #111;
  box-shadow: 0 4px 20px var(--yellow-glow);
}

.dev-banner__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--banner-h);
  padding: 8px 0;
  text-align: center;
}

.dev-banner__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1;
  background: #111;
  color: var(--yellow);
}

.dev-banner__text {
  font-size: clamp(0.8rem, 2.6vw, 1rem);
  line-height: 1.3;
}

.dev-banner__text strong {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* Header */
.header {
  position: sticky;
  top: var(--banner-h);
  z-index: 40;
  margin-top: var(--banner-h);
  background: rgba(5, 10, 18, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--header-h);
  gap: 12px;
}

.nav {
  display: none;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}

.nav__link {
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-soft);
  transition: color var(--ease), background var(--ease);
  white-space: nowrap;
}

.nav__link:hover {
  color: var(--text);
}

.nav__link--btn {
  background: var(--yellow);
  color: #111;
}

.nav__link--btn:hover {
  background: var(--yellow-hover);
  color: #111;
}

.header__tools {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
}

.lang__btn {
  min-width: 40px;
  min-height: 32px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  transition: background var(--ease), color var(--ease);
}

.lang__btn.is-active {
  background: var(--yellow);
  color: #111;
}

.burger {
  width: 44px;
  height: 44px;
  display: grid;
  place-content: center;
  gap: 5px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform var(--ease), opacity var(--ease);
}

.burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
  opacity: 0;
}

.burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: grid;
  gap: 4px;
  padding: 8px 12px 16px;
  border-top: 1px solid var(--border);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav__link {
  padding: 14px 12px;
  border-radius: 12px;
  font-weight: 600;
  color: var(--text-soft);
  text-align: center;
}

.mobile-nav__link:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 8vw, 110px) 0 clamp(48px, 9vw, 100px);
  min-height: min(78vh, 700px);
  display: grid;
  align-items: center;
}

.hero__atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}

.hero__glow--yellow {
  width: min(420px, 70vw);
  height: min(420px, 70vw);
  top: 10%;
  right: -8%;
  background: var(--yellow-glow);
  animation: floatGlow 8s ease-in-out infinite alternate;
}

.hero__glow--cyan {
  width: min(380px, 60vw);
  height: min(380px, 60vw);
  bottom: 5%;
  left: -10%;
  background: rgba(79, 195, 247, 0.16);
  animation: floatGlow 10s ease-in-out infinite alternate-reverse;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  text-align: center;
  margin-inline: auto;
}

.hero__brand {
  margin-bottom: 14px;
  font-size: clamp(0.75rem, 2vw, 0.88rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}

.hero__title {
  font-family: var(--display);
  font-size: clamp(2.35rem, 11vw, 5.2rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  word-wrap: break-word;
  animation: fadeUp 0.7s ease both;
}

.hero__disclaimer {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  margin-bottom: 16px;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  font-size: clamp(0.82rem, 2.4vw, 1rem);
  font-weight: 500;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(79, 195, 247, 0.25);
}

.hero__disclaimer-dot {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 0 var(--yellow-glow);
  animation: pulse 1.8s ease-out infinite;
}

.hero__text {
  max-width: 36rem;
  margin: 0 auto 24px;
  font-size: clamp(0.95rem, 2.6vw, 1.15rem);
  line-height: 1.6;
  color: var(--text-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  transition: transform var(--ease), background var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.btn--primary {
  background: var(--yellow);
  color: #111;
  box-shadow: 0 10px 28px var(--yellow-glow);
}

.btn--primary:hover {
  background: var(--yellow-hover);
  transform: translateY(-1px);
}

.btn--primary:active {
  transform: translateY(0) scale(0.98);
}

.btn--ghost {
  border: 1px solid rgba(79, 195, 247, 0.35);
  color: var(--cyan);
  background: var(--cyan-soft);
}

.btn--ghost:hover {
  border-color: var(--cyan);
  background: rgba(79, 195, 247, 0.2);
}

/* Upcoming */
.upcoming {
  padding: clamp(40px, 8vw, 88px) 0;
}

.section-head {
  margin-bottom: clamp(20px, 4vw, 40px);
  max-width: 40rem;
  text-align: center;
  margin-inline: auto;
}

.section-head__title {
  margin-bottom: 10px;
  font-size: clamp(1.45rem, 5vw, 2.3rem);
  font-weight: 800;
  line-height: 1.15;
}

.section-head__text {
  font-size: clamp(0.92rem, 2.5vw, 1.02rem);
  line-height: 1.55;
  color: var(--text-muted);
}

.feature-grid {
  display: grid;
  gap: 12px;
}

.feature {
  position: relative;
  padding: clamp(18px, 3vw, 22px);
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}

.feature:hover {
  transform: translateY(-3px);
  border-color: rgba(79, 195, 247, 0.28);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

.feature__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 14px;
  color: var(--cyan);
  background: var(--cyan-soft);
}

.feature__title {
  margin-bottom: 8px;
  padding-right: 60px;
  font-size: clamp(1rem, 3vw, 1.12rem);
  font-weight: 750;
}

.feature__text {
  font-size: clamp(0.88rem, 2.4vw, 0.95rem);
  line-height: 1.55;
  color: var(--text-muted);
}

.feature__badge {
  position: absolute;
  top: 18px;
  right: 16px;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1a1400;
  background: var(--yellow);
}

/* Status */
.status {
  padding: 0 0 clamp(40px, 8vw, 80px);
}

.status-card {
  padding: clamp(18px, 4vw, 32px);
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(160deg, rgba(16, 24, 32, 0.95), rgba(11, 17, 27, 0.95));
  border: 1px solid var(--border);
}

.status-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.status-card__title {
  font-size: clamp(1.1rem, 3.5vw, 1.45rem);
  font-weight: 800;
}

.status-card__pill {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cyan);
  background: var(--cyan-soft);
}

.progress {
  height: 10px;
  margin-bottom: 12px;
  overflow: hidden;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
}

.progress__bar {
  width: var(--progress, 0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--yellow));
  transition: width 0.8s ease;
}

.status-card__meta {
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.status-card__meta strong {
  color: var(--text);
}

.status-card__note {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* Notify */
.notify {
  padding: 0 0 clamp(48px, 9vw, 96px);
}

.notify__inner {
  display: grid;
  gap: 20px;
  padding: clamp(20px, 4vw, 36px);
  border-radius: calc(var(--radius) + 6px);
  background:
    linear-gradient(135deg, rgba(255, 215, 0, 0.1), transparent 45%),
    linear-gradient(160deg, #121a24, #0b111b);
  border: 1px solid rgba(255, 215, 0, 0.18);
}

.notify__title {
  margin-bottom: 8px;
  font-size: clamp(1.2rem, 4vw, 1.8rem);
  font-weight: 800;
}

.notify__text {
  font-size: clamp(0.9rem, 2.5vw, 0.98rem);
  line-height: 1.55;
  color: var(--text-muted);
}

.notify-form {
  display: grid;
  gap: 12px;
}

.notify-form__input {
  width: 100%;
  min-height: 50px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 10, 18, 0.65);
  color: var(--text);
  outline: none;
  transition: border-color var(--ease), box-shadow var(--ease);
}

.notify-form__input::placeholder {
  color: var(--text-muted);
}

.notify-form__input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(79, 195, 247, 0.18);
}

.notify-form__input.is-invalid {
  border-color: #ff6b6b;
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 60;
  width: min(calc(100% - 24px), 420px);
  padding: 14px 16px;
  border-radius: 14px;
  background: #121a24;
  border: 1px solid rgba(79, 195, 247, 0.28);
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.4;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4);
  transform: translateX(-50%) translateY(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Modal */
.modal[hidden] {
  display: none;
}

.modal:not([hidden]) {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 16px;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 6, 12, 0.74);
  backdrop-filter: blur(4px);
}

.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: 28px 20px 20px;
  border-radius: 20px;
  background: linear-gradient(180deg, #141d28 0%, #0b111b 100%);
  border: 1px solid rgba(79, 195, 247, 0.2);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
  animation: fadeUp 0.28s ease;
}

.modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
}

.modal__close:hover {
  color: var(--text);
}

.modal__eyebrow {
  margin-bottom: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
}

.modal__title {
  margin-bottom: 10px;
  padding-right: 28px;
  font-size: clamp(1.2rem, 4vw, 1.4rem);
  font-weight: 800;
  line-height: 1.2;
}

.modal__text {
  margin-bottom: 18px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.modal__dialog .btn--primary {
  width: 100%;
}

/* Animations */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 var(--yellow-glow);
  }
  70% {
    box-shadow: 0 0 0 10px transparent;
  }
  100% {
    box-shadow: 0 0 0 0 transparent;
  }
}

@keyframes floatGlow {
  from {
    transform: translateY(0) scale(1);
  }
  to {
    transform: translateY(-18px) scale(1.06);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* 320 */
@media (max-width: 359px) {
  :root {
    --banner-h: 40px;
    --header-h: 58px;
    --container: min(1120px, calc(100% - 16px));
  }

  .dev-banner__icon {
    width: 18px;
    height: 18px;
    font-size: 0.75rem;
  }

  .hero__actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .lang__btn {
    min-width: 36px;
    min-height: 30px;
    padding: 0 8px;
  }

  .feature__title {
    padding-right: 54px;
  }
}

/* 360+ */
@media (min-width: 360px) {
  :root {
    --container: min(1120px, calc(100% - 28px));
  }
}

/* 390+ */
@media (min-width: 390px) {
  .btn {
    min-height: 52px;
    padding: 0 26px;
  }
}

/* 430+ */
@media (min-width: 430px) {
  :root {
    --container: min(1120px, calc(100% - 32px));
  }

  .feature-grid {
    gap: 14px;
  }
}

/* Tablet */
@media (min-width: 768px) {
  :root {
    --banner-h: 46px;
    --header-h: 70px;
    --container: min(1120px, calc(100% - 40px));
  }

  .burger {
    display: none;
  }

  .mobile-nav {
    display: none !important;
  }

  .nav {
    display: flex;
  }

  .header__tools {
    position: absolute;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .notify__inner {
    grid-template-columns: 1.15fr 1fr;
    align-items: center;
  }

  .notify-form {
    grid-template-columns: 1fr auto;
  }

  .section-head {
    text-align: center;
    margin-inline: auto;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  :root {
    --container: min(1120px, calc(100% - 48px));
  }

  .feature-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .feature__title {
    padding-right: 0;
    min-height: 2.6em;
  }

  .feature__badge {
    position: static;
    display: inline-flex;
    margin-top: 16px;
  }
}

@media (min-width: 1280px) {
  :root {
    --container: min(1180px, calc(100% - 56px));
  }
}

@media (min-width: 1440px) {
  :root {
    --container: min(1240px, calc(100% - 64px));
  }

  .hero {
    min-height: min(82vh, 760px);
  }
}
