:root {
  --bg: #090c12;
  --bg-2: #0f1520;
  --surface: rgba(20, 27, 40, 0.72);
  --surface-strong: #141c2b;
  --text: #f3f6fb;
  --muted: #9ca7ba;
  --line: rgba(195, 207, 226, 0.18);
  --accent: #22d3c5;
  --accent-soft: #14b8a61a;
  --accent-2: #fbbf24;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-sm: 0 10px 26px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 70px rgba(0, 0, 0, 0.48);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 680px at 100% -10%, #1e3b56 0%, transparent 60%),
    radial-gradient(980px 680px at -8% 110%, #35224f 0%, transparent 62%),
    linear-gradient(160deg, var(--bg) 0%, var(--bg-2) 100%);
  background-attachment: fixed;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(188, 201, 221, 0.04) 0,
    rgba(188, 201, 221, 0.04) 1px,
    transparent 1px,
    transparent 6px
  );
  opacity: 0.3;
}

body::after {
  content: "";
  position: fixed;
  inset: -25% -15%;
  pointer-events: none;
  background:
    radial-gradient(46% 42% at 18% 28%, rgba(34, 211, 197, 0.16), transparent 70%),
    radial-gradient(40% 38% at 82% 64%, rgba(251, 191, 36, 0.12), transparent 72%),
    radial-gradient(38% 34% at 52% 88%, rgba(148, 163, 184, 0.1), transparent 76%);
  animation: bgDrift 18s ease-in-out infinite alternate;
}

body:not(.lang-en) [data-lang="en"],
body.lang-ru [data-lang="en"],
body.lang-en [data-lang="ru"] {
  display: none;
}

[data-lang] {
  display: inline-block;
  will-change: opacity, transform, filter;
}

body.lang-transition-out:not(.lang-en) [data-lang="ru"],
body.lang-transition-out.lang-ru [data-lang="ru"],
body.lang-transition-out.lang-en [data-lang="en"] {
  opacity: 0;
  transform: translateY(4px) scale(0.995);
  filter: blur(2px);
  transition: 0.16s ease;
}

body.lang-transition-in:not(.lang-en) [data-lang="ru"],
body.lang-transition-in.lang-ru [data-lang="ru"],
body.lang-transition-in.lang-en [data-lang="en"] {
  animation: langSwapIn 0.24s ease;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.container {
  width: min(1160px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(9, 12, 18, 0.72);
  border-bottom: 1px solid rgba(197, 208, 226, 0.12);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: clamp(1.45rem, 1.9vw, 1.9rem);
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.brand-text {
  line-height: 1;
}

.brand:hover .brand-mark {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  padding: 0.25rem;
  border: 1px solid rgba(185, 199, 222, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.nav-links a {
  color: var(--muted);
  border-radius: 999px;
  padding: 0.48rem 0.82rem;
  font-size: 0.95rem;
  font-weight: 600;
  transition: 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
}

.lang-switch {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 0.48rem 0.72rem;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.lang-switch:hover {
  transform: translateY(-1px);
  border-color: rgba(34, 211, 197, 0.45);
}

.lang-switch.active {
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, #0d9488 100%);
  border-color: transparent;
}

body.lang-transition-out .lang-switch.active,
body.lang-transition-in .lang-switch.active {
  animation: activeLangPulse 0.26s ease;
}

.cta-small {
  border: 1px solid transparent;
  background: linear-gradient(180deg, #121722 0%, #0f121a 100%);
  color: #fff;
  border-radius: 999px;
  padding: 0.48rem 0.9rem;
  font-size: 0.84rem;
  font-weight: 700;
  transition: 0.24s ease;
  position: relative;
  overflow: hidden;
}

.cta-small:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(15, 18, 26, 0.28);
}

.cta-small::after {
  content: "";
  position: absolute;
  top: -120%;
  left: -40%;
  width: 40%;
  height: 320%;
  transform: rotate(18deg);
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transition: 0.5s ease;
}

.cta-small:hover::after {
  left: 130%;
}

.hero {
  padding: 5.5rem 0 3.2rem;
}

.ticker-section {
  padding: 0.4rem 0 2.2rem;
}

.release-ticker {
  overflow-x: auto;
  overflow-y: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow-sm);
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  touch-action: pan-x;
}

.release-ticker::-webkit-scrollbar {
  display: none;
}

.ticker-track {
  display: flex;
  width: max-content;
}

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

.release-ticker.is-user-scrolling .ticker-track {
  animation-play-state: paused;
}

@media (pointer: coarse) {
  .ticker-track {
    animation: tickerMove 88s linear infinite;
  }
}

.release-ticker.is-dragging {
  cursor: grabbing;
}

.ticker-item {
  min-width: clamp(210px, 24vw, 300px);
  padding: 0.62rem 0.82rem;
  border-right: 1px solid var(--line);
  display: grid !important;
  grid-template-columns: 44px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 0.7rem;
  text-decoration: none;
}

.ticker-cover {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--line);
  flex: 0 0 auto;
  display: block;
}

.ticker-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.12rem;
}

.ticker-item strong {
  display: block;
  font-family: "Syne", sans-serif;
  font-size: clamp(0.95rem, 1.2vw, 1.08rem);
  margin-bottom: 0.05rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ticker-item .muted {
  display: block;
  font-size: clamp(0.83rem, 1.05vw, 0.98rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

a.ticker-item:hover {
  background: rgba(255, 255, 255, 0.03);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.88fr;
  gap: 1.2rem;
  align-items: stretch;
}

h1,
h2,
h3 {
  margin: 0 0 0.9rem;
  line-height: 1.08;
}

h1 {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  letter-spacing: -0.035em;
  font-size: clamp(2.2rem, 5.7vw, 4.8rem);
  max-width: 14ch;
}

h2 {
  font-family: "Syne", sans-serif;
  font-size: clamp(1.45rem, 2.5vw, 2.2rem);
  letter-spacing: -0.02em;
  max-width: 20ch;
}

h3 {
  font-family: "Syne", sans-serif;
  letter-spacing: -0.015em;
}

.lead {
  color: var(--muted);
  max-width: 62ch;
  font-size: 1.05rem;
}

.hero-card {
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(34, 211, 197, 0.32) 0%, transparent 55%),
    radial-gradient(95% 95% at 0% 100%, rgba(251, 191, 36, 0.2) 0%, transparent 60%),
    linear-gradient(160deg, #131a2a 0%, #141c2c 48%, #1b2438 100%);
  color: #f6f6f8;
  border-radius: var(--radius-xl);
  padding: 1.35rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg))
    translateY(var(--ty, 0px)) scale(var(--sc, 1));
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.24s ease;
}

.hero-card p {
  color: rgba(255, 255, 255, 0.85);
}

.hero-kpi {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 0.95rem;
}

.kpi {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  padding: 0.72rem;
  animation: softPulse 4.6s ease-in-out infinite;
}

.kpi strong {
  display: block;
  font-family: "Syne", sans-serif;
  font-size: 1.22rem;
  line-height: 1.1;
  margin-bottom: 0.15rem;
}

.section {
  padding: 3.1rem 0;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.releases-grid {
  margin-top: 0.2rem;
}

.media-card {
  cursor: pointer;
}

.media-thumb {
  border-radius: 14px;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 90% at 10% 0%, rgba(34, 211, 197, 0.25), transparent 58%),
    radial-gradient(110% 100% at 90% 100%, rgba(251, 191, 36, 0.2), transparent 62%),
    linear-gradient(135deg, #121a2a, #1a2438);
  box-shadow: var(--shadow-sm);
  display: grid;
  place-items: center;
  font-family: "Syne", sans-serif;
  font-size: 1.25rem;
}

.media-thumb::after {
  content: "PLAY";
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  opacity: 0.82;
}

.release-cover {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  border: 1px solid var(--line);
  object-fit: cover;
  background: linear-gradient(135deg, #162136, #0c111b);
}

.release-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  margin: 0.65rem 0 0.45rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.release-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(34, 211, 197, 0.38);
  background: rgba(34, 211, 197, 0.12);
  color: #9ef9f0;
  padding: 0.14rem 0.52rem;
  border-radius: 999px;
  font-size: 0.73rem;
  font-weight: 700;
}

.release-links {
  margin-top: 0.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.release-links a {
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.74rem;
  color: var(--muted);
  padding: 0.25rem 0.52rem;
  transition: 0.2s ease;
}

.release-links a:hover {
  color: var(--text);
  border-color: rgba(34, 211, 197, 0.42);
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1rem;
}

.muted {
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.05rem;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg))
    translateY(var(--lift, 0px));
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 68%, rgba(151, 170, 202, 0.2) 100%);
  pointer-events: none;
}

.card:hover {
  --lift: -4px;
  border-color: rgba(15, 118, 110, 0.32);
  box-shadow: 0 18px 35px rgba(17, 19, 24, 0.12);
}

.card a {
  color: var(--accent);
  font-weight: 700;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.1rem;
}

.tag {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.25rem 0.58rem;
  font-size: 0.78rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
  animation: tagFloat 6s ease-in-out infinite;
}

.tag:nth-child(2n) {
  animation-delay: 0.8s;
}

.tag:nth-child(3n) {
  animation-delay: 1.4s;
}

.two-col {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 1rem;
}

.list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.list li {
  border-bottom: 1px solid var(--line);
  padding: 0.8rem 0;
  color: #c9d4e6;
}

.list li a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #d8e2f0;
}

.list li a::after {
  content: "->";
  color: var(--accent);
  font-size: 0.84em;
}

.list-card {
  padding: 1rem;
}

.form {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: var(--shadow-sm);
}

.form-grid {
  display: grid;
  gap: 0.72rem;
}

input,
textarea,
select,
button {
  font: inherit;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(188, 203, 226, 0.22);
  background: rgba(10, 15, 24, 0.8);
  color: var(--text);
  border-radius: 12px;
  padding: 0.66rem 0.76rem;
  outline: none;
  transition: 0.2s ease;
}

input::placeholder,
textarea::placeholder {
  color: #7f8ca3;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(34, 211, 197, 0.7);
  box-shadow: 0 0 0 4px rgba(34, 211, 197, 0.2);
}

button[type="submit"] {
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--accent) 0%, #0d9488 100%);
  color: #fff;
  border-radius: 999px;
  padding: 0.62rem 0.98rem;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

button[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(15, 118, 110, 0.35);
}

button[type="submit"]:disabled {
  opacity: 0.65;
  cursor: wait;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.timeline {
  border-left: 2px solid rgba(15, 118, 110, 0.22);
  margin-left: 0.4rem;
  padding-left: 1rem;
  position: relative;
}

.timeline::after {
  content: "";
  position: absolute;
  left: -2px;
  top: 0;
  width: 2px;
  height: var(--timeline-progress, 0%);
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-2) 100%);
  box-shadow: 0 0 16px rgba(34, 211, 197, 0.5);
}

.timeline-item {
  position: relative;
  padding: 0.22rem 0 1.1rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.43rem;
  top: 0.25rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  box-shadow: 0 0 0 6px var(--accent-soft);
}

.page-hero {
  padding: 4.25rem 0 2.1rem;
}

.site-footer {
  margin-top: 2.4rem;
  border-top: 1px solid rgba(191, 203, 224, 0.15);
  padding: 1.7rem 0 2.3rem;
  color: #9aa8bc;
}

.site-footer a:hover {
  color: var(--accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
}

.notice {
  font-size: 0.84rem;
  color: var(--muted);
}

.field-error {
  color: #fca5a5;
  font-size: 0.82rem;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(5, 7, 12, 0.82);
  backdrop-filter: blur(6px);
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lightbox.open {
  display: flex;
}

.lightbox-panel {
  width: min(960px, 100%);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #0d1320;
  overflow: hidden;
}

.lightbox-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0.8rem;
  border-bottom: 1px solid var(--line);
}

.lightbox-close {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-radius: 10px;
  width: 34px;
  height: 34px;
  cursor: pointer;
}

.lightbox-frame-wrap {
  aspect-ratio: 16 / 9;
}

.lightbox-frame {
  width: 100%;
  height: 100%;
  border: 0;
  background: #090d16;
}

.mobile-cta {
  position: fixed;
  z-index: 90;
  left: 0.7rem;
  right: 0.7rem;
  bottom: max(0.7rem, env(safe-area-inset-bottom));
  display: none;
  gap: 0.55rem;
}

.mobile-cta a {
  flex: 1;
  border-radius: 12px;
  padding: 0.68rem 0.82rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid var(--line);
}

.mobile-cta .tg {
  background: linear-gradient(135deg, #0d9488, var(--accent));
  color: #fff;
  border-color: transparent;
}

.mobile-cta .release {
  background: rgba(255, 255, 255, 0.06);
}

.empty-state {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.4rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow-sm);
}

.empty-state .orb {
  width: 82px;
  height: 82px;
  margin: 0 auto 0.8rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, rgba(34, 211, 197, 0.9), transparent 62%),
    radial-gradient(circle at 75% 75%, rgba(251, 191, 36, 0.85), transparent 64%),
    #11182a;
  box-shadow: inset 0 0 24px rgba(255, 255, 255, 0.12), 0 10px 26px rgba(0, 0, 0, 0.35);
  animation: floatOrb 3.8s ease-in-out infinite;
}

.empty-state p {
  max-width: 58ch;
  margin: 0.4rem auto 1rem;
}

.empty-actions {
  display: inline-flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.empty-actions a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 0.78rem;
  font-size: 0.86rem;
  font-weight: 700;
}

.empty-actions a.primary {
  background: linear-gradient(135deg, #0d9488, var(--accent));
  border-color: transparent;
  color: #fff;
}

.page-transition-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0;
  transition: opacity 0.28s ease;
}

.page-transition-layer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(140% 120% at 50% 0%, rgba(34, 211, 197, 0.18), transparent 58%),
    linear-gradient(160deg, #070a11 0%, #0e1420 100%);
  transform: scale(1.015);
  filter: blur(0px);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.page-transition-layer::after {
  content: "";
  position: absolute;
  inset: -10% -30%;
  background:
    linear-gradient(
      100deg,
      transparent 0%,
      rgba(255, 255, 255, 0.08) 30%,
      rgba(255, 255, 255, 0.02) 48%,
      transparent 72%
    );
  opacity: 0;
  transform: translateX(-35%);
  transition: transform 0.5s ease, opacity 0.24s ease;
}

.page-transition-label {
  display: none;
}

body.page-enter .page-transition-layer,
body.page-leave .page-transition-layer {
  opacity: 1;
}

body.page-enter .page-transition-layer::before,
body.page-leave .page-transition-layer::before {
  transform: scale(1);
  filter: blur(2px);
}

body.page-enter .page-transition-layer::after,
body.page-leave .page-transition-layer::after {
  opacity: 0.45;
  transform: translateX(22%);
}

.reveal {
  opacity: 0;
  transform: translateY(16px) scale(0.99);
  transition: 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.ambient-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.ambient-orb {
  position: absolute;
  width: clamp(180px, 18vw, 320px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  filter: blur(36px);
  opacity: 0.22;
  transform: translate3d(var(--ox, 0px), var(--oy, 0px), 0);
  transition: transform 0.5s ease;
}

.ambient-orb.a {
  left: 8%;
  top: 14%;
  background: radial-gradient(circle, rgba(34, 211, 197, 0.95), rgba(34, 211, 197, 0.08) 65%, transparent);
}

.ambient-orb.b {
  right: 10%;
  top: 38%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.85), rgba(251, 191, 36, 0.06) 68%, transparent);
}

.ambient-orb.c {
  left: 42%;
  bottom: 8%;
  background: radial-gradient(circle, rgba(125, 211, 252, 0.78), rgba(125, 211, 252, 0.05) 72%, transparent);
}

@keyframes bgDrift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(0, -14px, 0) scale(1.03);
  }
}

@keyframes softPulse {
  0%,
  100% {
    box-shadow: inset 0 0 0 0 rgba(255, 255, 255, 0.02);
  }
  50% {
    box-shadow: inset 0 0 24px 0 rgba(255, 255, 255, 0.07);
  }
}

@keyframes tagFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
}

@keyframes tickerMove {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes floatOrb {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-4px) scale(1.04);
  }
}

@keyframes langSwapIn {
  0% {
    opacity: 0;
    transform: translateY(-4px) scale(0.995);
    filter: blur(2px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes activeLangPulse {
  0% {
    transform: scale(1);
  }
  55% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}

@media (max-width: 1020px) {
  .hero-grid,
  .two-col,
  .product-grid,
  .cards,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    flex-wrap: wrap;
    padding: 0.75rem 0;
  }

  .hero {
    padding-top: 3.4rem;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(1160px, calc(100% - 1.35rem));
  }

  h1 {
    font-size: clamp(1.9rem, 11vw, 3rem);
  }

  .brand-text {
    font-size: 1.35rem;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
    border-radius: 9px;
  }

  .nav-links a {
    padding: 0.4rem 0.68rem;
    font-size: 0.9rem;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .controls .lang-switch:nth-child(1),
  .controls .lang-switch:nth-child(2),
  .controls .cta-small {
    display: none;
  }

  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 0.55rem);
    border-radius: 16px;
    padding: 0.6rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.35rem;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: 0.22s ease;
    box-shadow: var(--shadow-lg);
    background: #0e1524;
  }

  .nav-open .nav-links {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-links a {
    display: block;
    border-radius: 10px;
  }

  .mobile-cta {
    display: flex;
  }

  .hero,
  .page-hero,
  .site-footer {
    padding-bottom: 4.6rem;
  }

  .media-grid {
    grid-template-columns: 1fr;
  }

  .ticker-item {
    min-width: 64vw;
    grid-template-columns: 40px minmax(0, 1fr) !important;
    gap: 0.62rem;
  }

  .ticker-cover {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
  }

  .hero-card,
  .card,
  .form {
    border-radius: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }

  body::after {
    display: none;
  }
}
