:root {
  color-scheme: dark;
  --bg: #070b1d;
  --panel: #10162c;
  --panel-light: #141d38;
  --cyan: #38e4ff;
  --purple: #9a69ff;
  --pink: #f254db;
  --green: #67f4c0;
  --text: #f5f7ff;
  --muted: #9aa8c7;
  --line: rgba(165, 190, 255, .13);
  --page-width: 1160px;
}

* { box-sizing: border-box; }

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  min-width: 320px;
  margin: 0;
  isolation: isolate;
  overflow-x: clip;
  background:
    radial-gradient(ellipse at 50% -25%, rgba(37, 71, 154, .22), transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: Tahoma, Arial, sans-serif;
  line-height: 1.7;
}

body::before {
  position: fixed;
  z-index: -2;
  inset: 0;
  background-image: linear-gradient(rgba(139, 165, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 165, 255, .025) 1px, transparent 1px);
  background-size: 58px 58px;
  content: "";
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
  pointer-events: none;
}

body::after {
  position: fixed;
  z-index: -1;
  inset: -10%;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(128,229,255,.55) 50%, transparent 100%),
    radial-gradient(2px 2px at 76% 32%, rgba(194,145,255,.5) 50%, transparent 100%),
    radial-gradient(1px 1px at 43% 74%, rgba(128,229,255,.45) 50%, transparent 100%),
    radial-gradient(1px 1px at 89% 83%, rgba(255,255,255,.45) 50%, transparent 100%);
  background-size: 390px 330px, 470px 410px, 530px 480px, 610px 560px;
  content: "";
  opacity: .35;
  pointer-events: none;
  animation: star-drift 55s linear infinite;
}

@keyframes star-drift {
  to { background-position: 390px 330px, -470px 410px, 530px -480px, -610px -560px; }
}

a { color: inherit; }
button { font: inherit; }

.scroll-progress {
  position: fixed;
  z-index: 1002;
  inset: 0 0 auto;
  height: 3px;
  background: rgba(255, 255, 255, .04);
}

.progress {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--purple), var(--pink));
  box-shadow: 0 0 14px rgba(56, 228, 255, .7);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .1s linear;
}

.ambient {
  position: fixed;
  z-index: -1;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  filter: blur(115px);
  opacity: .16;
  pointer-events: none;
  animation: ambient-drift 16s ease-in-out infinite alternate;
}

.ambient--cyan {
  top: 8%;
  left: -230px;
  background: #00c8ff;
}

.ambient--purple {
  top: 44%;
  right: -260px;
  background: #763aff;
  animation-delay: -7s;
}

.ambient-grid {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  left: 0;
  height: 900px;
  background: radial-gradient(ellipse at 50% 30%, rgba(25, 55, 119, .28), transparent 62%);
  pointer-events: none;
}

@keyframes ambient-drift {
  to { transform: translate3d(35px, -48px, 0) scale(1.12); }
}

.site-header {
  position: fixed;
  z-index: 1000;
  top: 14px;
  right: 50%;
  display: flex;
  width: min(calc(100% - 44px), 1260px);
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  padding: 9px 16px 9px 22px;
  border: 1px solid rgba(164, 190, 255, .13);
  border-radius: 20px;
  background: rgba(8, 13, 33, .77);
  box-shadow: 0 14px 44px rgba(0, 0, 0, .2);
  backdrop-filter: blur(22px);
  transform: translateX(50%);
}

.brand, .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 21px;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: -.5px;
}

.brand img {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(75, 223, 255, .35);
  border-radius: 13px;
  box-shadow: 0 0 22px rgba(0, 201, 255, .24);
  object-fit: cover;
}

.brand span span { color: var(--cyan); }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 34px);
}

.site-nav > a {
  color: #b6c1dc;
  font-size: 13px;
  text-decoration: none;
  transition: color .2s ease;
}

.site-nav > a:hover { color: var(--cyan); }

.site-nav .nav-rubika {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid rgba(56, 228, 255, .2);
  border-radius: 12px;
  background: rgba(56, 228, 255, .06);
  color: #e7fbff;
}

.nav-rubika img { width: 20px; height: 20px; border-radius: 50%; }
.menu-toggle { display: none; }

.hero {
  position: relative;
  display: grid;
  width: min(calc(100% - 48px), var(--page-width));
  min-height: min(790px, 100svh);
  align-items: center;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(30px, 6vw, 88px);
  margin: 0 auto;
  padding: 140px 0 76px;
}

.hero-copy { position: relative; z-index: 2; }

.eyebrow, .section-kicker {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.2px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  border: 1px solid rgba(56, 228, 255, .17);
  border-radius: 99px;
  background: rgba(56, 228, 255, .055);
  letter-spacing: .2px;
}

.eyebrow-dot, .live-dot, .chip-dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(103, 244, 192, .8);
}

.hero h1 {
  margin: 25px 0 16px;
  font-size: clamp(54px, 7.3vw, 96px);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -3.4px;
}

.hero h1 .hero-title-line1 {
  display: inline-block;
  color: transparent;
  background: linear-gradient(115deg, #ffffff 0%, #38e4ff 35%, #a18aff 70%, #f254db 100%);
  background-clip: text;
  -webkit-background-clip: text;
  background-size: 200% auto;
  animation: title-shimmer-smooth 6s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 25px rgba(56, 228, 255, 0.3));
}

.hero h1 .hero-title-line2 {
  display: inline-block;
  color: transparent;
  background: linear-gradient(115deg, #38e4ff 0%, #f254db 40%, #9a69ff 75%, #38e4ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  background-size: 220% auto;
  animation: title-shimmer-pulse 4.5s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 35px rgba(242, 84, 219, 0.45));
}

@keyframes title-shimmer-smooth {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

@keyframes title-shimmer-pulse {
  0% { background-position: 0% center; transform: scale(1); }
  50% { transform: scale(1.025); }
  100% { background-position: 200% center; transform: scale(1); }
}

.hero-description {
  max-width: 540px;
  margin: 0;
  color: #aeb9d2;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 2.1;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease, background .24s ease;
}

.button:hover { transform: translateY(-3px); }
.button:focus-visible, .site-nav a:focus-visible, .download-card:focus-visible, .menu-toggle:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.button--primary {
  border-color: rgba(255, 255, 255, .28);
  background: linear-gradient(105deg, #04bfe9, #6d51ee 72%, #a04ce6);
  box-shadow: 0 10px 32px rgba(48, 143, 255, .26), inset 0 1px rgba(255, 255, 255, .3);
}

.button--primary:hover { box-shadow: 0 14px 40px rgba(48, 143, 255, .4); }
.button--quiet { border-color: var(--line); background: rgba(255,255,255,.025); color: #d3ddf2; }
.button--quiet:hover { border-color: rgba(56,228,255,.38); background: rgba(56,228,255,.06); }

.hero-art {
  position: relative;
  display: grid;
  min-height: 440px;
  place-items: center;
  isolation: isolate;
}

.art-glow {
  position: absolute;
  z-index: -1;
  width: min(70vw, 380px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(51, 135, 255, .28), rgba(137, 55, 255, .1) 47%, transparent 72%);
  filter: blur(10px);
  animation: glow-breathe 4s ease-in-out infinite alternate;
}

@keyframes glow-breathe { to { opacity: .65; transform: scale(1.12); } }

.art-orbit {
  position: absolute;
  width: 370px;
  max-width: 85%;
  aspect-ratio: 1;
  border: 1px solid rgba(85, 206, 255, .2);
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(49, 194, 255, .06), inset 0 0 30px rgba(49, 194, 255, .04);
}

.art-orbit::before, .art-orbit::after {
  position: absolute;
  border: 1px solid rgba(170, 101, 255, .2);
  border-radius: 50%;
  content: "";
  inset: 12%;
}

.art-orbit::before { border-style: dashed; animation: orbit-spin 44s linear infinite reverse; }
.art-orbit::after { inset: 24%; border-color: rgba(55, 224, 255, .15); box-shadow: 0 0 16px rgba(55,224,255,.07); }
.art-orbit--outer { animation: orbit-spin 28s linear infinite; }
.art-orbit--inner { width: 300px; border-style: dotted; border-color: rgba(242,84,219,.19); opacity: .68; animation: orbit-spin 34s linear infinite reverse; }

@keyframes orbit-spin { to { transform: rotate(360deg); } }

.planet-track {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(100%, 440px);
  aspect-ratio: 1;
  border: 1px solid transparent;
  border-radius: 50%;
  translate: -50% -50%;
  animation: orbit-spin 19s linear infinite;
}

.planet-track--smart { width: min(100%, 540px); }
.planet-track--gamers { width: min(100%, 560px); animation-duration: 27s; animation-direction: reverse; }
.planet-track--gamers .planet-counter { animation-direction: normal; animation-duration: 27s; }

.planet-counter {
  position: absolute;
  top: 0;
  left: 50%;
  width: max-content;
  translate: -50% -50%;
  animation: orbit-spin 19s linear infinite reverse;
}

.floating-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 14px;
  border: 1px solid rgba(170, 194, 255, .22);
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(20, 33, 72, .96), rgba(13, 19, 47, .94));
  box-shadow: 0 12px 35px rgba(0,0,0,.32), 0 0 25px rgba(56,228,255,.11), inset 0 1px rgba(255,255,255,.12);
  color: #e8f4ff;
  font-size: 11px;
  white-space: nowrap;
  backdrop-filter: blur(14px);
}

.floating-chip::before {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(56,228,255,.11);
  border-radius: inherit;
  content: "";
  inset: -5px;
  animation: chip-halo 2.8s ease-in-out infinite;
}

@keyframes chip-halo {
  50% { opacity: .32; transform: scale(1.05); }
}

.floating-chip > span:not(.chip-dot) { color: var(--cyan); font-size: 18px; }
.chip-dot { width: 7px; height: 7px; }

.art-logo-card {
  position: relative;
  display: grid;
  width: clamp(205px, 23vw, 270px);
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(137, 199, 255, .3);
  border-radius: 34%;
  background: linear-gradient(145deg, rgba(29, 47, 105, .9), rgba(10, 14, 43, .95));
  box-shadow: 0 24px 100px rgba(0,0,0,.4), 0 0 65px rgba(20, 183, 255, .23), inset 0 1px rgba(255,255,255,.2);
  transform: rotate(-5deg);
  animation: logo-float 5s ease-in-out infinite;
  will-change: transform;
}

.art-logo-card::before {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: inherit;
  content: "";
  inset: 9px;
  pointer-events: none;
}

.art-logo-card img { width: 100%; height: 100%; object-fit: cover; }
@keyframes logo-float { 50% { transform: translateY(-12px) rotate(-2deg); } }

.art-spark { position: absolute; color: var(--cyan); text-shadow: 0 0 20px var(--cyan); }
.art-spark--one { top: 17%; left: 17%; font-size: 26px; }
.art-spark--two { right: 12%; bottom: 20%; color: var(--pink); font-size: 34px; text-shadow: 0 0 20px var(--pink); }
.art-spark--three { top: 27%; right: 16%; color: #fff; font-size: 48px; animation: sparkle 2.6s ease-in-out infinite; }
.art-spark--four { bottom: 23%; left: 18%; color: var(--purple); font-size: 30px; animation: sparkle 3.2s ease-in-out -1s infinite; }

@keyframes sparkle {
  50% { opacity: .35; transform: scale(.65) rotate(45deg); }
}

.scroll-cue {
  position: absolute;
  bottom: 27px;
  left: 50%;
  display: grid;
  width: 28px;
  height: 43px;
  place-items: start center;
  padding-top: 8px;
  border: 1px solid rgba(191, 207, 255, .25);
  border-radius: 99px;
  transform: translateX(-50%);
}

.scroll-cue span { width: 3px; height: 8px; border-radius: 4px; background: var(--cyan); animation: scroll-pulse 1.4s ease-in-out infinite; }
@keyframes scroll-pulse { to { transform: translateY(12px); opacity: 0; } }

.section {
  width: min(calc(100% - 48px), var(--page-width));
  margin: 0 auto;
  padding: 112px 0 20px;
}

.section-heading { position: relative; max-width: 760px; margin: 0 auto 43px; text-align: center; }
.section-heading h2 { margin: 10px 0 8px; font-size: clamp(27px, 4vw, 42px); line-height: 1.45; }
.section-heading p { margin: 0; color: var(--muted); font-size: 14px; line-height: 2; }
.features-section .section-heading h2 { color: transparent; background: linear-gradient(100deg, #fff, var(--cyan) 55%, #c39bff); background-clip: text; -webkit-background-clip: text; }

.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }

.feature-card {
  position: relative;
  min-height: 225px;
  overflow: hidden;
  padding: 24px 21px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(155deg, rgba(20, 29, 59, .87), rgba(12, 17, 40, .88));
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
  isolation: isolate;
}

.feature-card::before {
  position: absolute;
  z-index: 0;
  width: 75%;
  height: 180%;
  top: -40%;
  right: -120%;
  background: linear-gradient(90deg, transparent, rgba(56,228,255,.08), transparent);
  content: "";
  transform: rotate(22deg);
  transition: right .65s ease;
}

.feature-card:hover::before { right: 140%; }
.feature-card::after {
  position: absolute;
  z-index: 0;
  right: -40px;
  bottom: -62px;
  width: 140px;
  height: 140px;
  border: 1px solid rgba(108, 144, 255, .08);
  border-radius: 50%;
  box-shadow: 0 0 0 17px rgba(108,144,255,.025), 0 0 0 35px rgba(108,144,255,.02);
  content: "";
}

.feature-card:hover { transform: translateY(-7px) scale(1.015); border-color: rgba(56,228,255,.42); box-shadow: 0 22px 55px rgba(0,0,0,.27), 0 0 34px rgba(56,228,255,.09); }
.feature-icon { display: grid; width: 43px; height: 43px; place-items: center; margin-bottom: 19px; border: 1px solid currentColor; border-radius: 13px; font-size: 15px; font-weight: 900; font-variant-numeric: tabular-nums; letter-spacing: .3px; }
.feature-icon--cyan { color: var(--cyan); background: rgba(56,228,255,.08); }
.feature-icon--purple { color: #b194ff; background: rgba(154,105,255,.1); }
.feature-icon--pink { color: #ff83df; background: rgba(242,84,219,.09); }
.feature-icon--green { color: #70f4c1; background: rgba(103,244,192,.08); }
.feature-card h3 { position: relative; z-index: 1; margin: 0 0 9px; font-size: 14px; line-height: 1.8; }
.feature-card p { position: relative; z-index: 1; margin: 0; color: #aab8d2; font-size: 12px; line-height: 2; }
.feature-icon { position: relative; z-index: 1; animation: icon-glow 3.2s ease-in-out infinite; }
.feature-grid .feature-card:nth-child(2) .feature-icon { animation-delay: -.8s; }
.feature-grid .feature-card:nth-child(3) .feature-icon { animation-delay: -1.6s; }
.feature-grid .feature-card:nth-child(4) .feature-icon { animation-delay: -2.4s; }
@keyframes icon-glow {
  50% { box-shadow: 0 0 18px currentColor; }
}

.game-marquee {
  display: grid;
  gap: 12px;
  direction: ltr;
}

.game-marquee__row {
  overflow: hidden;
  border-radius: 17px;
  outline-offset: 4px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.game-marquee__row:focus-visible {
  outline: 2px solid var(--cyan);
}

.game-marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: game-marquee-left var(--marquee-duration) linear infinite;
}

.game-marquee__track--slow { --marquee-duration: 36s; }
.game-marquee__track--fast { --marquee-duration: 29s; animation-name: game-marquee-right; }
.game-marquee__track--medium { --marquee-duration: 33s; }

.game-marquee__row:hover .game-marquee__track,
.game-marquee__row:focus .game-marquee__track {
  animation-play-state: paused;
}

.game-marquee__group {
  display: flex;
  flex: none;
  gap: 12px;
  margin: 0;
  padding: 0 6px;
  list-style: none;
}

.game-marquee__group li {
  display: flex;
  width: 168px;
  min-width: 168px;
  height: 76px;
  align-items: center;
  gap: 10px;
  padding: 9px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(20, 29, 59, .92), rgba(12, 17, 40, .96));
  box-shadow: inset 0 1px rgba(255,255,255,.035);
  color: #e2eaff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
  transition: border-color .2s ease, background-color .2s ease;
}

.game-marquee__group li:hover {
  border-color: rgba(56, 228, 255, .45);
  background-color: rgba(56, 228, 255, .06);
}

.game-marquee__group img {
  width: 56px;
  height: 56px;
  flex: none;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  background: #10162c;
  object-fit: cover;
}

.game-marquee__group li span {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

@keyframes game-marquee-left {
  to { transform: translate3d(-50%, 0, 0); }
}

@keyframes game-marquee-right {
  from { transform: translate3d(-50%, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}

.guide-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: guide-step;
}

.guide-steps li {
  display: flex;
  min-height: 130px;
  flex-direction: column;
  gap: 7px;
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(20, 29, 59, .78), rgba(12, 17, 40, .82));
  counter-increment: guide-step;
}

.guide-steps li::before {
  color: var(--cyan);
  content: "۰" counter(guide-step, persian);
  font-size: 11px;
  font-weight: 900;
}

.guide-steps strong { font-size: 14px; }
.guide-steps li span, .guide-note { color: #aab8d2; font-size: 12px; line-height: 2; }
.guide-note { max-width: 820px; margin: 17px auto 0; text-align: center; }

.faq-list {
  display: grid;
  max-width: 920px;
  gap: 10px;
  margin: 0 auto;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(20, 29, 59, .78), rgba(12, 17, 40, .82));
}

.faq-item summary {
  position: relative;
  padding: 16px 19px;
  color: #e8efff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { position: absolute; left: 18px; color: var(--cyan); content: "+"; font-size: 19px; line-height: 1; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 0; padding: 0 19px 17px; color: #aab8d2; font-size: 12px; line-height: 2; }
.faq-item a, .privacy-card a { color: var(--cyan); }

.privacy-page-section { max-width: 920px; padding-top: 132px; padding-bottom: 80px; }
.privacy-page-section .section-heading { max-width: none; text-align: right; }
.privacy-page-section .section-heading h1 { margin: 10px 0; font-size: clamp(29px, 4vw, 42px); line-height: 1.5; }
.privacy-page-section .section-heading p { max-width: 760px; }
.privacy-content { display: grid; gap: 13px; }
.privacy-card { padding: 22px clamp(17px, 3vw, 27px); border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(145deg, rgba(20, 29, 59, .82), rgba(12, 17, 40, .88)); }
.privacy-card h2 { margin: 0 0 10px; color: #f0f5ff; font-size: 17px; }
.privacy-card p, .privacy-card li { color: #aab8d2; font-size: 12px; line-height: 2.1; }
.privacy-card p { margin: 7px 0; }
.privacy-card ul { margin: 8px 0; padding-right: 21px; }
.privacy-date { color: var(--muted); font-size: 11px; }

.ping-section { padding-top: 120px; }

.ping-panel {
  max-width: 960px;
  margin: 0 auto;
  padding: 27px clamp(16px, 4vw, 38px) 20px;
  border: 1px solid rgba(136, 164, 255, .17);
  border-radius: 23px;
  background: linear-gradient(145deg, rgba(17, 27, 60, .94), rgba(9, 14, 38, .96));
  box-shadow: 0 28px 90px rgba(0,0,0,.28), inset 0 1px rgba(255,255,255,.06);
}

.ping-panel-top, .ping-panel-top > div { display: flex; align-items: center; }
.ping-panel-top { justify-content: space-between; gap: 12px; color: #dce7ff; font-size: 13px; }
.demo-label { gap: 9px; }
.live-dot { width: 7px; height: 7px; animation: live-pulse 1.6s ease-in-out infinite; }
@keyframes live-pulse { 50% { opacity: .5; box-shadow: 0 0 3px var(--green); } }
.ping-unit, .metric-label { color: #8291b1; font-size: 11px; }
.ping-controls { display: flex; gap: 9px; margin: 23px 0 19px; }

.ping-mode {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 11px;
  background: rgba(255,255,255,.025);
  color: #aab8d2;
  font-size: 12px;
  cursor: pointer;
  transition: all .2s ease;
}

.ping-mode:hover { border-color: rgba(255,255,255,.25); color: #fff; }
.ping-mode.is-active[data-ping-mode="goodping"] { border-color: rgba(56,228,255,.48); background: rgba(56,228,255,.1); color: #e6fbff; }
.ping-mode.is-active[data-ping-mode="normal"] { border-color: rgba(173,137,255,.48); background: rgba(122,60,255,.12); color: #f0e9ff; }
.mode-dot { width: 8px; height: 8px; border-radius: 50%; }
.goodping-dot { background: var(--cyan); box-shadow: 0 0 9px var(--cyan); }
.normal-dot { background: #a176ff; box-shadow: 0 0 9px #a176ff; }
.chart-wrap { display: grid; grid-template-columns: 34px minmax(0,1fr); align-items: stretch; gap: 9px; }
.chart-y-labels { display: flex; flex-direction: column; justify-content: space-between; padding: 4px 0 5px; color: #7583a2; font-size: 10px; text-align: left; }
.ping-chart { width: 100%; height: auto; overflow: visible; }
.chart-grid line { stroke: rgba(174,194,255,.12); stroke-width: 1; stroke-dasharray: 3 7; }
.chart-area, .chart-line, .chart-point { transition: opacity .35s ease, filter .35s ease; }
.chart-area { opacity: .1; }
.chart-area.is-active { opacity: .8; }
.goodping-area { fill: url(#goodping-fill); }
.normal-area { fill: url(#normal-fill); }
.chart-line { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: .22; }
.chart-line.is-active { stroke-width: 4; opacity: 1; filter: drop-shadow(0 0 7px currentColor); }
.goodping-line { stroke: var(--cyan); color: var(--cyan); }
.normal-line { stroke: #a176ff; color: #a176ff; }
.chart-point { opacity: .15; stroke: #07102c; stroke-width: 3; }
.chart-point.is-active { opacity: 1; animation: endpoint-pulse 1.8s ease-in-out infinite; }
.goodping-point { fill: var(--cyan); color: var(--cyan); filter: drop-shadow(0 0 7px var(--cyan)); }
.normal-point { fill: #a176ff; color: #a176ff; filter: drop-shadow(0 0 7px #a176ff); }
@keyframes endpoint-pulse { 50% { filter: drop-shadow(0 0 13px currentColor); } }
.chart-x-labels { display: flex; justify-content: space-between; margin: 7px 0 0 43px; color: #7583a2; font-size: 10px; }
.ping-summary { display: flex; align-items: center; gap: 32px; margin-top: 21px; padding-top: 19px; border-top: 1px solid rgba(255,255,255,.07); }
.ping-metric { display: flex; flex-direction: column; gap: 6px; }
.ping-metric strong { color: #f5f8ff; font-size: 22px; font-variant-numeric: tabular-nums; }
.ping-metric strong small { margin-right: 4px; color: #8291b1; font-size: 10px; font-weight: normal; }
.ping-status { display: flex; align-items: center; gap: 8px; margin-right: auto; color: #b7c8e8; font-size: 11px; }
.status-spark { color: var(--cyan); font-size: 18px; }
.demo-disclaimer { margin: 18px 0 0; color: #7583a2; font-size: 10px; line-height: 1.9; }

.download-section { padding-top: 125px; }
.download-grid { display: grid; grid-template-columns: 1fr 1.15fr; align-items: stretch; gap: 20px; max-width: 780px; margin: 0 auto; }

.download-card {
  position: relative;
  display: flex;
  min-height: 257px;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  padding: 23px 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(155deg, rgba(19,28,58,.92), rgba(11,16,39,.96));
  text-decoration: none;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.download-card::after { position: absolute; top: -60px; left: -45px; width: 150px; height: 150px; border-radius: 50%; background: rgba(67, 151, 255, .08); filter: blur(15px); content: ""; }
.download-card:hover { transform: translateY(-5px); border-color: rgba(93,201,255,.35); box-shadow: 0 20px 50px rgba(0,0,0,.24); }
.download-card-icon { display: grid; width: 48px; height: 48px; place-items: center; margin-bottom: 18px; overflow: hidden; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; background: rgba(255,255,255,.96); }
.download-card-icon img { width: 100%; height: 100%; object-fit: cover; }
.download-card-label { color: #8695b5; font-size: 10px; }
.download-card strong { margin-top: 4px; font-size: 17px; }
.download-card-action { display: flex; align-items: center; gap: 9px; margin-top: auto; padding-top: 20px; color: #d8e6ff; font-size: 11px; font-weight: bold; }
.download-card-action b { color: var(--cyan); font-size: 18px; transition: transform .2s ease; }
.download-card:hover .download-card-action b { transform: translateX(-4px); }
.download-card--direct .download-card-action { color: var(--cyan); }
.download-card--telegram .download-card-icon { background: #fff; }

.download-card--myket {
  min-height: 292px;
  padding: 27px 25px;
  border-color: rgba(56,228,255,.34);
  background:
    radial-gradient(ellipse at 15% 0, rgba(0,210,255,.2), transparent 52%),
    linear-gradient(145deg, rgba(31,35,83,.98), rgba(18,17,53,.98));
  box-shadow: 0 18px 55px rgba(32,95,199,.16), inset 0 1px rgba(255,255,255,.1);
  transform: translateY(-12px);
}

.download-card--myket:hover { transform: translateY(-17px); border-color: rgba(56,228,255,.65); box-shadow: 0 25px 65px rgba(32,95,199,.25); }
.download-card--myket .download-card-icon { width: 58px; height: 58px; border-radius: 17px; box-shadow: 0 0 25px rgba(56,228,255,.15); }
.download-card--myket .download-card-label { color: #b9c9e8; }
.download-card--myket strong { font-size: 21px; }
.download-card--myket .download-card-action { color: var(--cyan); font-size: 12px; }
.featured-badge { position: absolute; top: 19px; left: 18px; padding: 6px 9px; border: 1px solid rgba(56,228,255,.24); border-radius: 99px; background: rgba(56,228,255,.09); color: #a9f5ff; font-size: 9px; font-weight: bold; }
.download-footnote { margin: 20px 0 0; color: #7f8eae; font-size: 11px; text-align: center; }
.download-footnote code { color: #bac6df; direction: ltr; unicode-bidi: isolate; }

.rubika-section { padding-top: 92px; }

.rubika-banner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 23px;
  overflow: hidden;
  padding: 28px clamp(20px, 4vw, 38px);
  border: 1px solid rgba(56,228,255,.19);
  border-radius: 22px;
  background: radial-gradient(ellipse at 8% 50%, rgba(0,212,255,.14), transparent 45%),
    linear-gradient(115deg, rgba(13,25,61,.96), rgba(22,13,58,.93));
  box-shadow: 0 20px 70px rgba(0,0,0,.2), inset 0 1px rgba(255,255,255,.05);
}

.rubika-banner::after { position: absolute; top: -110px; left: 20%; width: 220px; height: 220px; border: 1px solid rgba(56,228,255,.09); border-radius: 50%; box-shadow: 0 0 0 28px rgba(56,228,255,.025), 0 0 0 58px rgba(56,228,255,.018); content: ""; pointer-events: none; }
.rubika-banner-icon { position: relative; z-index: 1; display: grid; width: 66px; height: 66px; flex: none; place-items: center; overflow: hidden; border: 1px solid rgba(255,255,255,.2); border-radius: 19px; background: white; box-shadow: 0 0 30px rgba(56,228,255,.2); }
.rubika-banner-icon img { width: 100%; height: 100%; object-fit: cover; }
.rubika-banner-copy { position: relative; z-index: 1; flex: 1; }
.rubika-banner-copy .section-kicker { font-size: 9px; }
.rubika-banner-copy h2 { margin: 4px 0 5px; font-size: clamp(17px,2.4vw,23px); }
.rubika-banner-copy p { margin: 0; color: #a8b7d2; font-size: 12px; line-height: 1.9; }
.button--rubika { position: relative; z-index: 1; flex: none; border-color: rgba(56,228,255,.3); background: linear-gradient(100deg,rgba(0,212,255,.15),rgba(122,60,255,.18)); }
.button--rubika:hover { border-color: rgba(56,228,255,.65); box-shadow: 0 0 25px rgba(0,212,255,.13); }

.support-section { padding-top: 84px; padding-bottom: 100px; }

.support-card {
  display: grid;
  align-items: center;
  grid-template-columns: 102px 1fr auto;
  gap: 22px;
  padding: 23px 26px;
  border: 1px solid rgba(164,190,255,.13);
  border-radius: 20px;
  background: linear-gradient(105deg, rgba(17,24,51,.88), rgba(12,17,38,.85));
}

.support-image { width: 102px; height: 92px; overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: 15px; background: #f9edd8; }
.support-image img { width: 100%; height: 100%; object-fit: cover; }
.support-copy .section-kicker { font-size: 9px; }
.support-copy h2 { margin: 3px 0; font-size: 20px; }
.support-copy p { margin: 0; color: var(--muted); font-size: 12px; }
.button--support { border-color: rgba(56,228,255,.28); background: rgba(56,228,255,.07); }
.button--support:hover { background: rgba(56,228,255,.14); }
.button--support img { width: 20px; height: 20px; border-radius: 50%; }

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 34px 24px 28px;
  border-top: 1px solid rgba(164,190,255,.09);
  background: rgba(5,8,22,.55);
  text-align: center;
}

.footer-brand { gap: 8px; font-size: 17px; }
.footer-brand img { width: 29px; height: 29px; border-radius: 9px; }
.site-footer > p { margin: 7px 0 17px; color: #7f8eae; font-size: 11px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-bottom: 19px; }
.footer-links a { color: #9eacc9; font-size: 10px; text-decoration: none; }
.footer-links a:hover { color: var(--cyan); }
.site-footer > small { color: #63718e; font-size: 9px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.7,.2,1); }
.reveal.show { opacity: 1; transform: translateY(0); }
.feature-card.reveal.show:hover { transform: translateY(-7px) scale(1.015); }
.feature-grid .feature-card:nth-child(2) { transition-delay: .08s; }
.feature-grid .feature-card:nth-child(3) { transition-delay: .16s; }
.feature-grid .feature-card:nth-child(4) { transition-delay: .24s; }
.download-grid .download-card:nth-child(2) { transition-delay: .1s; }
.download-grid .download-card:nth-child(3) { transition-delay: .2s; }
.download-card--myket.reveal.show { transform: translateY(-12px); }
.download-card--myket.reveal.show:hover { transform: translateY(-17px); }

@media (max-width: 900px) {
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 0; padding-top: 125px; text-align: center; }
  .hero-copy { order: 1; }
  .hero h1 { font-size: clamp(52px, 8vw, 76px); }
  .hero-description { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-art { order: 0; width: 100%; min-height: 580px; }
  .art-orbit { width: 310px; }
  .art-orbit--inner { width: 250px; }
  .art-logo-card { width: 230px; }
  .planet-track--smart { width: min(100%, 510px); }
  .planet-track--gamers { width: min(100%, 520px); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .feature-card { min-height: 238px; }
  .download-grid { gap: 12px; }
  .download-card { padding: 20px 17px; }
}

@media (max-width: 680px) {
  html { scroll-padding-top: 78px; }
  .site-header { top: 9px; width: calc(100% - 24px); min-height: 58px; padding: 7px 11px 7px 15px; border-radius: 16px; }
  .brand { gap: 8px; font-size: 18px; }
  .brand img { width: 37px; height: 37px; border-radius: 11px; }
  .menu-toggle { display: flex; width: 40px; height: 40px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.04); cursor: pointer; }
  .menu-toggle span { width: 17px; height: 2px; border-radius: 2px; background: #e7f2ff; transition: transform .2s ease, opacity .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .site-nav { position: absolute; top: calc(100% + 8px); right: 0; left: 0; display: none; align-items: stretch; flex-direction: column; gap: 3px; padding: 10px; border: 1px solid var(--line); border-radius: 15px; background: rgba(8,13,33,.97); box-shadow: 0 18px 40px rgba(0,0,0,.35); }
  .site-nav.is-open { display: flex; }
  .site-nav > a { padding: 11px 12px; border-radius: 9px; }
  .site-nav .nav-rubika { justify-content: center; }
  .hero { width: min(calc(100% - 36px), var(--page-width)); min-height: auto; grid-template-columns: 1fr; gap: 3px; padding: 130px 0 65px; text-align: center; }
  .hero-copy { order: 1; }
  .hero-art { order: 0; width: 100vw; min-height: 340px; margin-right: calc((100% - 100vw) / 2); }
  .art-logo-card { width: 140px; border-radius: 30%; }
  .art-orbit { width: 245px; }
  .art-orbit--inner { width: 195px; }
  .planet-track--smart { width: 284px; }
  .planet-track--gamers { width: 282px; }
  .art-glow { width: 260px; }
  .floating-chip { gap: 4px; padding: 5px 6px; font-size: 5.8px; }
  .art-spark--one { top: 14%; left: 14%; font-size: 21px; }
  .art-spark--two { right: 10%; bottom: 16%; font-size: 26px; }
  .hero h1 { margin-top: 18px; font-size: clamp(49px, 12vw, 70px); letter-spacing: -2px; }
  .hero-description { margin: 0 auto; font-size: 14px; }
  .hero-actions { justify-content: center; margin-top: 23px; }
  .scroll-cue { display: none; }
  .section { width: calc(100% - 32px); padding-top: 84px; }
  .section-heading { margin-bottom: 27px; }
  .section-heading h2 { font-size: 28px; }
  .section-heading p { font-size: 12px; }
  .feature-grid { gap: 10px; }
  .game-marquee { gap: 9px; }
  .game-marquee__group { gap: 9px; padding-inline: 5px; }
  .game-marquee__group li { width: 150px; min-width: 150px; height: 68px; gap: 8px; padding: 7px; font-size: 10px; }
  .game-marquee__group img { width: 52px; height: 52px; border-radius: 11px; }
  .guide-steps { grid-template-columns: 1fr; gap: 9px; }
  .guide-steps li { min-height: auto; padding: 16px; }
  .guide-steps strong { font-size: 13px; }
  .guide-steps li span, .guide-note { font-size: 11px; }
  .faq-item summary { padding: 14px 15px; font-size: 12px; }
  .faq-item summary::after { left: 14px; }
  .faq-item p { padding: 0 15px 14px; font-size: 11px; }
  .privacy-page-section { padding-top: 105px; }
  .privacy-card { padding: 17px 15px; }
  .privacy-card h2 { font-size: 15px; }
  .privacy-card p, .privacy-card li { font-size: 11px; }
  .feature-card { min-height: 210px; padding: 17px 14px; border-radius: 15px; }
  .feature-card h3 { font-size: 13px; }
  .feature-card p { font-size: 10px; }
  .feature-icon { width: 38px; height: 38px; margin-bottom: 13px; border-radius: 11px; font-size: 20px; }
  .ping-panel { padding: 19px 13px 15px; border-radius: 17px; }
  .ping-panel-top { font-size: 11px; }
  .ping-unit, .metric-label { font-size: 9px; }
  .ping-controls { gap: 6px; margin: 18px 0 15px; }
  .ping-mode { flex: 1; justify-content: center; gap: 6px; padding: 9px 6px; font-size: 9px; }
  .chart-wrap { grid-template-columns: 26px minmax(0,1fr); gap: 6px; }
  .chart-y-labels, .chart-x-labels { font-size: 8px; }
  .chart-x-labels { margin-left: 32px; }
  .ping-summary { flex-wrap: wrap; gap: 14px 20px; }
  .ping-metric strong { font-size: 18px; }
  .ping-status { width: 100%; margin-right: 0; }
  .download-grid { grid-template-columns: 1fr 1fr; gap: 10px; align-items: stretch; max-width: 100%; }
  .download-card { min-height: 222px; padding: 17px 14px; border-radius: 16px; }
  .download-card--myket { grid-column: auto; grid-row: auto; min-height: 222px; padding: 19px 16px; transform: none; }
  .download-card--myket.reveal.show, .download-card--myket.reveal.show:hover { transform: none; }
  .download-card--myket .download-card-icon { width: 54px; height: 54px; }
  .download-card--myket strong { font-size: 19px; }
  .download-card strong { font-size: 14px; }
  .download-card-label { font-size: 9px; }
  .download-card-action { gap: 5px; font-size: 9px; }
  .featured-badge { top: 14px; left: 13px; }
  .rubika-section { padding-top: 64px; }
  .rubika-banner { flex-wrap: wrap; gap: 14px; padding: 21px 17px; border-radius: 18px; }
  .rubika-banner-icon { width: 52px; height: 52px; border-radius: 15px; }
  .rubika-banner-copy { flex-basis: calc(100% - 68px); }
  .rubika-banner-copy h2 { font-size: 17px; }
  .rubika-banner-copy p { font-size: 10px; }
  .button--rubika { width: 100%; }
  .support-section { padding-top: 63px; padding-bottom: 72px; }
  .support-card { grid-template-columns: 66px 1fr; gap: 13px; padding: 17px; border-radius: 17px; }
  .support-image { width: 66px; height: 66px; border-radius: 12px; }
  .support-copy h2 { font-size: 16px; }
  .support-copy p { font-size: 10px; line-height: 1.8; }
  .button--support { grid-column: 1 / -1; width: 100%; }
  .site-footer { padding-inline: 16px; }
  .footer-links { gap: 10px 15px; }
}

@media (max-width: 360px) {
  .hero-art { min-height: 300px; }
  .art-logo-card { width: 120px; }
  .art-orbit { width: 200px; }
  .art-orbit--inner { width: 165px; }
  .planet-track--smart { width: 238px; }
  .planet-track--gamers { width: 226px; }
  .planet-counter { top: -6px; }
  .floating-chip { gap: 3px; padding: 3px 4px; font-size: 5.5px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
}

@media (max-width: 680px) {
  body::after { animation: none; }
  .ambient { display: none; }
  .site-header { background: rgba(8,13,33,.96); backdrop-filter: none; }
  .progress { transition: none; }
  .planet-track {
    width: auto;
    aspect-ratio: auto;
    border: 0;
    border-radius: 0;
    translate: none;
  }
  .planet-track--smart {
    top: calc(50% - 100px);
    left: calc(50% - 90px);
  }
  .planet-track--gamers {
    top: calc(50% + 100px);
    left: calc(50% + 90px);
  }
  .planet-counter {
    position: static;
    top: auto;
    left: auto;
    translate: -50% -50%;
  }
  .floating-chip {
    gap: 9px;
    padding: 10px 15px;
    border: 1px solid rgba(123, 205, 255, .3);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(24, 42, 84, .98), rgba(13, 20, 50, .98));
    box-shadow: 0 10px 26px rgba(0,0,0,.32), 0 0 22px rgba(56,228,255,.13), inset 0 1px rgba(255,255,255,.16);
    font-size: 12px;
    backdrop-filter: none;
  }
  .floating-chip::before { animation: none; }
  .art-orbit,
  .planet-track,
  .planet-counter,
  .art-logo-card,
  .art-glow,
  .art-spark,
  .feature-icon,
  .live-dot,
  .chart-point.is-active {
    animation: none;
  }
  .art-glow { filter: none; }
  .planet-track,
  .planet-counter { animation: none; }
  .chart-line.is-active,
  .goodping-point,
  .normal-point { filter: none; }
  .reveal,
  .reveal.show {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .game-marquee__row {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
    scrollbar-color: var(--cyan) rgba(255,255,255,.08);
    scrollbar-width: thin;
  }

  .game-marquee__track {
    animation: none !important;
    transform: none !important;
  }

  .game-marquee__group[aria-hidden="true"] { display: none; }
}

@media (min-width: 681px) and (prefers-reduced-motion: reduce) {
  .planet-track {
    width: auto;
    aspect-ratio: auto;
    border: 0;
    border-radius: 0;
    translate: none;
  }

  .planet-track--smart {
    top: calc(50% - 100px);
    left: calc(50% - 90px);
  }

  .planet-track--gamers {
    top: calc(50% + 100px);
    left: calc(50% + 90px);
  }

  .planet-counter {
    position: static;
    top: auto;
    left: auto;
    translate: -50% -50%;
  }
}
