:root {
  --bg: #07101d;
  --bg-2: #0b1730;
  --panel: rgba(12, 22, 42, 0.78);
  --panel-strong: rgba(10, 20, 36, 0.92);
  --line: rgba(132, 196, 255, 0.14);
  --line-strong: rgba(132, 196, 255, 0.28);
  --text: #f4f8ff;
  --muted: #8ca3c6;
  --cyan: #7fe7ff;
  --blue: #78a8ff;
  --pink: #f46cff;
  --green: #7df7c7;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
  --radius: 28px;
  --radius-sm: 20px;
  --shell: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(127, 231, 255, 0.09), transparent 28%),
    radial-gradient(circle at top right, rgba(244, 108, 255, 0.09), transparent 22%),
    linear-gradient(180deg, #060d18 0%, #0a1525 38%, #08111f 100%);
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

button,
input,
select,
textarea {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
  cursor: pointer;
}

.page-noise {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 24px 24px;
}

.shell {
  width: min(calc(100% - 32px), var(--shell));
  margin: 0 auto;
}

.glass-panel {
  background: linear-gradient(180deg, rgba(14, 26, 47, 0.88), rgba(10, 20, 36, 0.76));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.ripple {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  contain: paint;
}

.site-header,
.section,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1200;
  isolation: isolate;
  padding: 12px 0 0;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: calc(100% + 14px);
  background: linear-gradient(180deg, rgba(6, 13, 24, 0.96), rgba(6, 13, 24, 0.72), transparent);
  pointer-events: none;
  z-index: -1;
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(12, 24, 43, 0.94), rgba(10, 20, 36, 0.9));
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(20px);
}

.brand,
.desktop-nav,
.header-actions,
.lang-switch,
.hero-actions,
.hero-metrics,
.hud-row,
.footer-row,
.footer-links,
.support-actions {
  display: flex;
  gap: 14px;
}

.brand {
  position: relative;
  overflow: hidden;
  align-items: center;
  gap: 12px;
  padding-left: 6px;
  font-family: "Orbitron", sans-serif;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.brand::before {
  content: "";
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(15, 30, 54, 0.88), rgba(10, 20, 36, 0.96));
  border: 1px solid rgba(132, 196, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 10px 24px rgba(0, 0, 0, 0.18);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: -1;
}

.desktop-nav {
  align-items: center;
}

.header-actions {
  align-items: center;
}

.desktop-nav a,
.mobile-nav a,
.footer-links a {
  position: relative;
  overflow: hidden;
  color: var(--muted);
  transition: color 180ms ease, transform 180ms ease;
}

.header-github {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--text);
  background: linear-gradient(180deg, rgba(14, 26, 47, 0.96), rgba(10, 20, 36, 0.92));
  border: 1px solid rgba(132, 196, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 14px 28px rgba(0, 0, 0, 0.18);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.header-github:hover {
  transform: translateY(-1px);
  border-color: rgba(127, 231, 255, 0.26);
  background: linear-gradient(180deg, rgba(16, 31, 56, 0.98), rgba(10, 20, 36, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 20px 34px rgba(0, 0, 0, 0.24);
}

.header-github-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--cyan);
}

.mobile-github-link {
  color: var(--cyan);
  font-weight: 800;
}

.desktop-nav a:hover,
.mobile-nav a:hover,
.footer-links a:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.lang-switch {
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.auth-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.auth-user-avatar {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(127, 231, 255, 0.08);
  border: 1px solid rgba(127, 231, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.auth-user-avatar img,
.auth-user-avatar svg {
  width: 100%;
  height: 100%;
  display: block;
}

.auth-user-avatar img {
  object-fit: cover;
}

.auth-user-avatar svg {
  width: 24px;
  height: 24px;
}

.auth-user-avatar[hidden],
.auth-button[hidden] {
  display: none !important;
}

.auth-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 15px;
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  font-weight: 800;
  white-space: nowrap;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.auth-button:hover {
  transform: translateY(-1px);
  border-color: rgba(127, 231, 255, 0.26);
  background: linear-gradient(180deg, rgba(16, 31, 56, 0.98), rgba(10, 20, 36, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 16px 28px rgba(0, 0, 0, 0.2);
}

.auth-logout {
  color: var(--cyan);
}

.lang-btn,
.menu-button {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.lang-btn {
  min-width: 44px;
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
}

.lang-btn.active {
  color: var(--text);
  background: linear-gradient(135deg, rgba(127, 231, 255, 0.18), rgba(120, 168, 255, 0.18));
}

.menu-button {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(132, 196, 255, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 10px 24px rgba(0, 0, 0, 0.18);
  transition:
    transform 180ms ease,
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.menu-button span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  margin: 0;
  background: var(--text);
  border-radius: 999px;
  transform-origin: center center;
  transition:
    transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 180ms ease,
    width 240ms cubic-bezier(0.22, 1, 0.36, 1),
    background 180ms ease;
}

.menu-button span:first-child {
  transform: translate(-50%, calc(-50% - 4px));
}

.menu-button span:last-child {
  transform: translate(-50%, calc(-50% + 4px));
}

.menu-button:hover {
  transform: translateY(-1px);
  background: rgba(127, 231, 255, 0.08);
  border-color: rgba(127, 231, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 16px 28px rgba(0, 0, 0, 0.22);
}

.menu-button:active {
  transform: none;
}

.menu-button.is-open {
  background: linear-gradient(135deg, rgba(127, 231, 255, 0.14), rgba(120, 168, 255, 0.08));
  border-color: rgba(127, 231, 255, 0.28);
  box-shadow:
    0 0 0 1px rgba(127, 231, 255, 0.08),
    0 18px 32px rgba(8, 17, 31, 0.34);
}

.menu-button.is-open span:first-child {
  width: 20px;
  transform: translate(-50%, -50%) rotate(45deg);
}

.menu-button.is-open span:last-child {
  width: 20px;
  transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
  padding: 14px 16px 18px;
  border-radius: 24px;
  position: relative;
  z-index: 1201;
}

.mobile-nav[hidden] {
  display: none !important;
}

.mobile-nav:not([hidden]) {
  animation: mobile-nav-in 220ms cubic-bezier(0.22, 1, 0.36, 1);
  transform-origin: top center;
}

.hero-section {
  padding: 34px 0 24px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 28px;
  align-items: center;
}

.hero-copy {
  animation: float-soft 8s ease-in-out infinite;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
.brand-text {
  font-family: "Orbitron", sans-serif;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1 {
  max-width: 10.5ch;
  font-size: clamp(2.1rem, 4vw, 4.15rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1;
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
}

.hero-text,
.section-copy,
.feature-panel p,
.info-card p,
.release-note,
.release-summary,
.site-footer p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 58ch;
  margin-top: 18px;
}

.hero-actions {
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 18px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  letter-spacing: 0.02em;
  transition: box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: none;
}

.button:active {
  transform: none;
}

.button.primary {
  color: #07101d;
  background: linear-gradient(135deg, var(--cyan), #b4f5ff 42%, var(--blue));
  box-shadow: 0 18px 36px rgba(120, 168, 255, 0.24);
}

.button.ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

.hero-metrics {
  flex-wrap: wrap;
  margin-top: 28px;
}

.metric-card {
  min-width: 148px;
  padding: 16px 18px;
  border-radius: 22px;
}

.metric-card span,
.hud-item span,
.release-meta-chip span,
.panel-kicker {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.metric-card strong {
  display: block;
  margin-top: 6px;
}

.stage-shell {
  padding: 16px;
  border-radius: 34px;
}

.stage-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.stage-screen {
  position: relative;
  min-height: 560px;
  margin-top: 14px;
  padding: 28px;
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(8, 18, 35, 0.84), rgba(7, 16, 29, 0.98)),
    radial-gradient(circle at top right, rgba(244, 108, 255, 0.16), transparent 22%);
  border: 1px solid rgba(132, 196, 255, 0.14);
  isolation: isolate;
}

.stage-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(127, 231, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 231, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(255, 255, 255, 0.3), transparent 85%);
  opacity: 0.4;
  z-index: 0;
  animation: pulse-grid 10s linear infinite;
}

.screen-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(12px);
}

.orb-a {
  top: -44px;
  right: -20px;
  width: 210px;
  height: 210px;
  background: radial-gradient(circle, rgba(127, 231, 255, 0.22), transparent 70%);
  animation: float-orb-a 9s ease-in-out infinite;
}

.orb-b {
  left: -56px;
  bottom: -90px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(120, 168, 255, 0.18), transparent 70%);
  animation: float-orb-b 12s ease-in-out infinite;
}

.screen-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 500px;
}

.screen-chip {
  align-self: flex-start;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--cyan);
}

.screen-content h2 {
  max-width: 12ch;
  margin-top: auto;
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.screen-content p {
  max-width: 38ch;
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.68;
}

.screen-side-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.side-card {
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(16, 31, 56, 0.9), rgba(10, 22, 40, 0.72));
  border: 1px solid rgba(132, 196, 255, 0.12);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.side-kicker {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.side-card strong {
  display: block;
  margin-top: 8px;
  font-size: 0.95rem;
  line-height: 1.35;
}

.hud-row {
  flex-wrap: wrap;
  margin-top: 24px;
}

.hud-item {
  min-width: 108px;
  padding: 14px 16px;
  border-radius: 20px;
  animation: float-soft 10s ease-in-out infinite;
}

.hud-item strong {
  display: block;
  margin-top: 6px;
}


.section {
  padding: 52px 0;
}

.section-head {
  max-width: 760px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
  margin-top: 22px;
}

.feature-panel,
.info-card,
.credit-card,
.release-highlight,
.release-card,
.support-banner {
  border-radius: var(--radius);
}

.feature-panel,
.info-card,
.credit-card,
.release-highlight,
.support-banner {
  padding: 26px;
}

.feature-large {
  min-height: 100%;
}

.panel-kicker,
.panel-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
  padding: 0 12px;
  border-radius: 14px;
  background: rgba(127, 231, 255, 0.08);
  color: var(--cyan);
}

.feature-panel h3,
.info-card h3,
.credit-card h3 {
  margin-top: 18px;
  margin-bottom: 12px;
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.info-card {
  min-height: 100%;
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.feature-panel,
.credit-card,
.release-card,
.release-highlight,
.support-banner {
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.info-card:hover,
.feature-panel:hover,
.credit-card:hover,
.release-card:hover,
.release-highlight:hover,
.support-banner:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: 0 34px 84px rgba(0, 0, 0, 0.38);
}

.info-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(127, 231, 255, 0.2), rgba(120, 168, 255, 0.1));
  position: relative;
  overflow: hidden;
}

.info-icon::before,
.info-icon::after {
  content: "";
  position: absolute;
}

.icon-library::before {
  inset: 13px;
  border: 2px solid rgba(255, 255, 255, 0.78);
}

.icon-setup::before {
  inset: 13px;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
}

.icon-video::before {
  inset: 15px 14px 15px 20px;
  background: rgba(255, 255, 255, 0.82);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.icon-performance::before {
  left: 14px;
  bottom: 14px;
  width: 7px;
  height: 14px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    11px -7px 0 0 rgba(255, 255, 255, 0.78),
    22px -14px 0 0 rgba(255, 255, 255, 0.62);
}

.icon-performance::after {
  left: 12px;
  right: 12px;
  bottom: 12px;
  height: 2px;
  background: rgba(255, 255, 255, 0.26);
  border-radius: 999px;
}

.credits-panel {
  padding: 28px;
}

.credits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.credit-card {
  min-height: 100%;
}

.credit-link {
  display: inline-flex;
  align-items: center;
  margin-top: 16px;
  color: var(--cyan);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.credit-link:hover {
  color: #b4f5ff;
}

.release-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(320px, 0.86fr);
  gap: 20px;
  margin-top: 22px;
  align-items: start;
}

.release-highlight {
  min-height: 320px;
}

.release-list {
  display: grid;
  gap: 16px;
  align-content: start;
}

.release-top,
.release-actions,
.release-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}

.release-summary {
  margin-top: 14px;
}

.release-summary-rich {
  white-space: pre-line;
}

.release-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.release-meta-chip,
.release-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
}

.release-badge {
  color: var(--cyan);
  background: rgba(127, 231, 255, 0.1);
}

.release-meta-chip {
  background: rgba(255, 255, 255, 0.05);
}

.release-meta-chip strong {
  font-size: 0.95rem;
}

.release-actions {
  margin-top: 24px;
}

.release-card {
  padding: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  cursor: pointer;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
}

.release-card:hover,
.release-card:focus-visible,
.release-card.is-active {
  transform: translateY(-4px);
  border-color: rgba(127, 231, 255, 0.3);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.28);
  background: linear-gradient(180deg, rgba(18, 35, 63, 0.76), rgba(10, 21, 37, 0.86));
}

.release-card:focus-visible {
  outline: 2px solid rgba(127, 231, 255, 0.35);
  outline-offset: 2px;
}

.release-card-head h3,
.release-highlight h3 {
  margin-top: 10px;
}

.release-highlight h3 {
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}

.release-card-head strong {
  font-size: 1.35rem;
  line-height: 1;
}

.release-card .release-summary {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.release-card-empty {
  min-height: 180px;
  cursor: default;
  place-items: center;
  display: grid;
}

.release-card-empty:hover {
  transform: none;
  border-color: var(--line);
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.03);
}

.release-load-more {
  min-height: 52px;
  padding: 0 18px;
  border-radius: 18px;
  color: var(--cyan);
  background: rgba(127, 231, 255, 0.08);
  border: 1px solid rgba(127, 231, 255, 0.18);
  font-weight: 900;
  letter-spacing: 0.02em;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.release-load-more:hover {
  color: var(--text);
  border-color: rgba(127, 231, 255, 0.34);
  background: rgba(127, 231, 255, 0.12);
}

.release-list-more {
  width: 100%;
}

.release-notes-block {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(132, 196, 255, 0.1);
}

.release-notes-title {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.release-note-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.release-note-list li + li {
  margin-top: 8px;
}

.release-note {
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.7;
}

.support-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.support-page {
  min-height: 100vh;
  padding: 24px 0 40px;
}

.support-shell {
  display: grid;
  gap: 18px;
}

.support-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 28px;
}

.support-card {
  padding: clamp(22px, 4vw, 34px);
  border-radius: 28px;
}

.support-copy {
  max-width: 70ch;
}

.support-link-card {
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

.support-link-card code {
  display: block;
  margin-top: 10px;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.5;
  word-break: break-all;
}

.support-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.support-page-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.support-note {
  padding: 22px;
  border-radius: 24px;
}

.release-modal {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: grid;
  place-items: center;
  padding: 24px;
}

.release-modal[hidden] {
  display: none;
}

.release-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 7, 14, 0.74);
  backdrop-filter: blur(12px);
}

.release-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(1080px, 100%);
  max-height: min(88vh, 920px);
  padding: 24px;
  border-radius: 30px;
  overflow: auto;
}

.release-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.release-modal-close {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  font-size: 1.6rem;
  line-height: 1;
}

.release-modal-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1.12fr);
  gap: 18px;
}

.release-modal-list {
  display: grid;
  gap: 12px;
  align-content: start;
}

.modal-release-item {
  padding: 16px 18px;
  border-radius: 22px;
  text-align: left;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.modal-release-item:hover,
.modal-release-item.is-active {
  transform: translateY(-2px);
  border-color: rgba(127, 231, 255, 0.32);
  background: linear-gradient(180deg, rgba(18, 35, 63, 0.78), rgba(10, 21, 37, 0.9));
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.24);
}

.modal-release-top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.modal-release-top strong {
  font-size: 1.2rem;
}

.modal-release-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(127, 231, 255, 0.1);
  font-size: 0.78rem;
  font-weight: 700;
}

.modal-release-item p {
  margin-top: 8px;
  color: var(--text);
  font-weight: 700;
  line-height: 1.35;
}

.modal-release-date {
  display: inline-block;
  margin-top: 10px;
  color: var(--muted);
}

.release-modal-detail {
  min-height: 100%;
  padding: 24px;
  border-radius: 28px;
}

.release-modal-empty {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  color: var(--muted);
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 2300;
  display: grid;
  place-items: center;
  padding: 24px;
}

.auth-modal[hidden] {
  display: none;
}

.auth-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 7, 14, 0.78);
  backdrop-filter: blur(12px);
}

.auth-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(460px, 100%);
  padding: 24px;
  border-radius: 28px;
}

.auth-modal-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.auth-modal-head h2 {
  font-size: 2rem;
}

.auth-modal-head p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.5;
}

.auth-google {
  width: 100%;
}

.auth-form {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.auth-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.auth-form label[hidden] {
  display: none !important;
}

.auth-form input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  outline: none;
}

.auth-form input:focus {
  border-color: rgba(127, 231, 255, 0.36);
  box-shadow: 0 0 0 3px rgba(127, 231, 255, 0.08);
}

.auth-error {
  min-height: 22px;
  color: #ff9f7d;
  font-size: 0.92rem;
}

.auth-toggle {
  justify-self: start;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(127, 231, 255, 0.08);
  border: 1px solid rgba(127, 231, 255, 0.16);
  font-weight: 800;
}

.site-footer {
  padding: 0 0 36px;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 10px;
}

.footer-brand {
  max-width: 420px;
}

.footer-brand-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.footer-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 0 28px rgba(127, 231, 255, 0.2);
}

.footer-title {
  display: block;
  font-family: "Orbitron", sans-serif;
  font-size: 1.08rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-company {
  margin-top: 4px;
  color: var(--cyan);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-meta {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.footer-meta-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-meta-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(127, 231, 255, 0.55);
}

.footer-meta-caption {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links {
  flex-wrap: wrap;
}

.ripple-ink {
  position: absolute;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.08) 45%, rgba(255, 255, 255, 0) 72%);
  animation: ripple 420ms ease-out;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  will-change: transform, opacity;
}

.button.primary .ripple-ink {
  background: radial-gradient(circle, rgba(7, 16, 29, 0.18) 0%, rgba(7, 16, 29, 0.08) 45%, rgba(7, 16, 29, 0) 72%);
  opacity: 0.5;
}

.button > *,
.lang-btn > *,
.menu-button > * {
  position: relative;
  z-index: 1;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes ripple {
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(2.2);
  }
}

@keyframes float-soft {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes float-orb-a {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-10px, 12px, 0);
  }
}

@keyframes float-orb-b {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(12px, -10px, 0);
  }
}

@keyframes pulse-grid {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(18px);
  }
}

@keyframes mobile-nav-in {
  0% {
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .release-layout,
  .about-grid,
  .feature-cards,
  .credits-grid {
    grid-template-columns: 1fr;
  }

  .release-modal-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .site-header {
    padding-top: 8px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: flex;
  }

  .mobile-nav:not([hidden]) {
    display: flex;
  }

  .header-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    grid-template-areas:
      "brand burger"
      "lang lang"
      "auth auth";
    align-items: center;
    border-radius: 26px;
    padding: 12px;
    gap: 10px 12px;
  }

  .brand {
    grid-area: brand;
    min-width: 0;
    gap: 8px;
    padding-left: 0;
  }

  .brand-text {
    font-size: 1.28rem;
    letter-spacing: 0.04em;
  }

  .header-actions {
    display: contents;
  }

  .lang-switch {
    grid-area: lang;
    min-width: 0;
    justify-content: stretch;
    gap: 4px;
    padding: 5px;
  }

  .auth-actions {
    grid-area: auth;
    justify-content: stretch;
  }

  .auth-user-avatar {
    width: 40px;
    height: 40px;
  }

  .auth-button {
    flex: 1;
    min-height: 40px;
  }

  .header-github {
    display: none;
  }

  .lang-btn {
    flex: 1 1 0;
    min-width: 0;
    min-height: 42px;
    padding: 9px 10px;
  }

  .menu-button {
    grid-area: burger;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    justify-self: end;
  }

  .mobile-nav {
    margin-top: 8px;
    padding: 12px 14px;
    border-radius: 22px;
  }

  .mobile-nav a {
    display: block;
    padding: 8px 4px;
    font-size: 1.02rem;
  }

  .support-banner,
  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .support-topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .support-topbar .lang-switch {
    width: 100%;
  }

  .support-page-notes {
    grid-template-columns: 1fr;
  }

  .footer-meta-row {
    gap: 8px;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(calc(100% - 20px), var(--shell));
  }

  .header-bar {
    grid-template-columns: minmax(0, 1fr) 46px;
    border-radius: 22px;
    padding: 10px;
    gap: 10px;
  }

  .brand-text {
    font-size: 1.12rem;
  }

  .brand-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .brand::before {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .lang-switch {
    padding: 4px;
  }

  .lang-btn {
    min-height: 40px;
    font-size: 0.98rem;
  }

  .menu-button {
    width: 46px;
    height: 46px;
  }

  .mobile-nav {
    border-radius: 20px;
  }

  .stage-screen {
    min-height: 480px;
    padding: 20px;
  }

  .screen-side-panel {
    grid-template-columns: 1fr;
  }

  .hero-actions .button,
  .release-actions .button,
  .support-actions .button {
    width: fit-content;
    max-width: 100%;
    min-width: 0;
  }

  .feature-panel,
  .info-card,
  .credit-card,
  .release-highlight,
  .support-banner,
  .support-note {
    padding: 20px;
  }

  .support-page-actions .button {
    width: fit-content;
    max-width: 100%;
    min-width: 0;
  }

  .release-modal {
    padding: 12px;
  }

  .release-modal-dialog,
  .release-modal-detail {
    padding: 18px;
    border-radius: 24px;
  }

  .release-modal-head {
    align-items: center;
  }

  .release-modal-close {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
