:root {
  --bg: #07060f;
  --card: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.22);
  --text: #f7f4ff;
  --dim: #c9c0e6;
  --accent: #8b5cf6;
  --glow: #d8b4fe;
  --glass: rgba(18, 14, 36, 0.42);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: "Segoe UI", "Noto Sans", sans-serif;
  color: var(--text);
  background: var(--bg);
}
.bg {
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(820px 420px at 18% -8%, rgba(192, 132, 252, 0.55), transparent 62%),
    radial-gradient(640px 380px at 88% 8%, rgba(56, 189, 248, 0.28), transparent 60%),
    radial-gradient(700px 460px at 70% 110%, rgba(139, 92, 246, 0.32), transparent 58%),
    radial-gradient(500px 300px at 10% 80%, rgba(125, 211, 252, 0.12), transparent 60%),
    #07060f;
}
.bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), transparent 18%, transparent 82%, rgba(255,255,255,0.03));
  pointer-events: none;
}
.top, main, footer { width: min(1040px, calc(100% - 32px)); margin: 0 auto; }
.top {
  position: relative; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 16px; padding: 12px 16px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.28), 0 12px 40px rgba(0,0,0,0.28);
  backdrop-filter: blur(18px) saturate(1.4);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: 0.04em; }
.nav-wrap { position: relative; z-index: 200; }
.menu-btn {
  appearance: none; cursor: pointer; color: inherit; font: inherit;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 16px; padding: 6px 10px 6px 6px;
}
.menu-btn .name { font-size: 15px; }
.burger { display: grid; gap: 4px; margin-left: 4px; }
.burger span { display: block; width: 16px; height: 2px; border-radius: 2px; background: #fff; }
.site-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 200;
  min-width: 210px; padding: 8px;
  border-radius: 16px;
  background: rgba(16, 12, 32, 0.88);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
  backdrop-filter: blur(16px);
}
.site-menu[hidden] { display: none; }
.site-menu a {
  display: block; padding: 10px 12px; border-radius: 12px;
  color: #fff; text-decoration: none; font-size: 14px;
}
.site-menu a:hover { background: rgba(255,255,255,0.08); }
.page-block {
  max-width: 860px; margin: 18px auto; padding: 18px 20px; border-radius: 20px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
}
.page-block h2 { margin: 0 0 8px; font-size: 20px; }
.page-block p { margin: 0; color: var(--dim); }
.mark {
  width: 36px; height: 36px; border-radius: 12px;
  display: grid; place-items: center; font-size: 13px;
  background: linear-gradient(160deg, #f5e9ff, #c084fc 40%, #6d28d9);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 0 22px rgba(192, 132, 252, 0.55);
}
.lang select {
  background: #1b1533;
  color: #fff;
  color-scheme: dark;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 14px;
  padding: 8px 12px;
  min-width: 180px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.16);
}
.lang select option,
.lang select optgroup {
  background: #1b1533;
  color: #f4f1ff;
}
.lang select option:checked {
  background: #6d28d9;
  color: #fff;
}
.hero { padding: 42px 0 18px; text-align: center; }
.kicker { color: var(--glow); letter-spacing: 0.16em; text-transform: uppercase; font-size: 12px; }
h1 {
  margin: 8px 0 12px;
  font-size: clamp(36px, 6vw, 68px);
  line-height: 1.02;
  background: linear-gradient(90deg, #fff, #e9d5ff 30%, #7dd3fc 62%, #c084fc);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 8px 24px rgba(192,132,252,0.25));
}
.lead { max-width: 720px; margin: 0 auto 22px; color: var(--dim); font-size: 18px; line-height: 1.5; }
.cta {
  display: flex; gap: 12px; justify-content: center; align-items: center; flex-wrap: wrap;
  width: 100%; margin-left: auto; margin-right: auto; text-align: center;
}
.btn {
  display: flex; gap: 10px; align-items: center; justify-content: center; text-align: center;
  text-decoration: none; color: white;
  flex: 0 1 240px; width: 240px; max-width: 270px; min-width: 200px; min-height: 56px;
  padding: 12px 16px; border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.32);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.28), rgba(255,255,255,0.05) 28%, transparent 29%),
    linear-gradient(160deg, rgba(139,92,246,0.82), rgba(49, 22, 110, 0.72));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.45), 0 12px 28px rgba(76, 29, 149, 0.35);
  backdrop-filter: blur(14px) saturate(1.3);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn.linux {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.28), rgba(255,255,255,0.05) 28%, transparent 29%),
    linear-gradient(160deg, rgba(56,189,248,0.72), rgba(30, 41, 89, 0.72));
}
.btn.android {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.28), rgba(255,255,255,0.05) 28%, transparent 29%),
    linear-gradient(160deg, rgba(52,211,153,0.72), rgba(6, 78, 59, 0.72));
}
.btn strong { font-size: 16px; font-weight: 700; }

.slogan {
  margin: 22px auto 0; max-width: 760px; text-align: center;
  font-size: 22px; font-weight: 650; letter-spacing: 0.01em;
  text-shadow: 0 0 18px rgba(192,132,252,0.25);
}
.story, .why {
  max-width: 860px; margin: 28px auto;
  padding: 22px 22px 8px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 18px 50px rgba(0,0,0,0.28);
  backdrop-filter: blur(16px) saturate(1.35);
}
.story { text-align: center; color: var(--dim); font-size: 16.5px; line-height: 1.6; }
.story p { margin: 0 0 18px; }
.story h2, .why h2 { margin: 0 0 16px; color: var(--text); }
.story h2 { font-size: 22px; }
.why h2 { text-align: center; font-size: 24px; }
.why .body { text-align: left; color: var(--dim); font-size: 15.5px; line-height: 1.6; }
.why .body p { margin: 0 0 14px; }
.why ul { margin: 0 0 16px; padding-left: 1.2em; }
.why li { margin: 0 0 12px; }
.closing { text-align: center; margin-top: 22px; }
.closing p { margin: 0 0 10px; color: var(--text); font-size: 17px; }
.cta-bottom { display: flex; justify-content: center; width: 100%; margin: 18px auto 22px; }
html[dir="rtl"] .why .body { text-align: right; }
.ico { font-size: 22px; width: 28px; text-align: center; }
.note { color: var(--dim); font-size: 13px; margin-top: 14px; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 28px 0; }
.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 18px;
  padding: 16px 16px 14px;
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
}
.card h2 { margin: 0 0 6px; font-size: 16px; }
.card p { margin: 0; color: var(--dim); font-size: 14px; line-height: 1.45; }
.soon {
  border: 1px dashed rgba(255,255,255,0.22);
  border-radius: 18px;
  padding: 16px 18px;
  margin-bottom: 28px;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(10px);
}
.soon h2 { margin: 0 0 6px; font-size: 16px; }
.soon p { margin: 0; color: var(--dim); }
footer {
  margin-bottom: 24px; padding: 16px 18px 14px; color: var(--dim); font-size: 13px;
  border-radius: 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
}
.legal-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  margin: 0 0 12px; padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.legal-link {
  appearance: none; background: none; border: 0; padding: 6px 4px;
  color: #fff; cursor: pointer; text-align: center;
  font: 600 13px/1.3 "Segoe UI", "Noto Sans", sans-serif;
  letter-spacing: 0.02em;
}
.legal-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.foot-contact { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; }
.foot-contact a { color: #fff; font-size: 12px; text-decoration: none; }
.foot-contact a:hover { text-decoration: underline; }
footer a { color: #e9d5ff; }
@media (max-width: 640px) {
  .legal-row { grid-template-columns: 1fr; }
  .legal-link { font-size: 14px; }
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
html[dir="rtl"] .btn { text-align: right; }
.modal[hidden] { display: none !important; }
.modal { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; padding: 24px 16px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(4, 3, 12, 0.55); backdrop-filter: blur(8px); }
.modal-card {
  position: relative; z-index: 1; width: min(820px, 100%); max-height: min(84vh, 880px); overflow: auto;
  background: linear-gradient(180deg, rgba(40, 28, 72, 0.72), rgba(12, 10, 24, 0.78));
  border: 1px solid rgba(255,255,255,0.22); border-radius: 24px;
  padding: 22px 22px 28px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.28), 0 24px 60px rgba(0,0,0,0.45);
  backdrop-filter: blur(22px) saturate(1.4);
}
.modal-card h2 { margin: 0 44px 14px 0; font-size: 20px; letter-spacing: 0.02em; }
.modal-x {
  position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.24); background: rgba(255,255,255,0.08); color: white;
  font-size: 22px; cursor: pointer; backdrop-filter: blur(8px);
}
.policy-langs { display: grid; gap: 18px; }
.policy-block {
  border: 1px solid rgba(255,255,255,0.14); border-radius: 16px; padding: 14px 16px;
  background: rgba(255,255,255,0.05); color: var(--dim); font-size: 14.5px; line-height: 1.55;
}
.policy-block h3 { margin: 0 0 8px; color: var(--glow); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; }
.policy-block h4 { margin: 16px 0 8px; color: var(--text); font-size: 14px; }
.policy-block p { margin: 0 0 10px; }
.policy-block ul, .policy-block ol { margin: 0 0 10px; padding-left: 1.2em; }
.policy-block li { margin: 0 0 6px; }
.impress-list { margin: 0; display: grid; gap: 8px; }
.impress-list div { display: grid; grid-template-columns: minmax(140px, 220px) 1fr; gap: 8px 16px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.impress-list dt { color: var(--glow); font-weight: 650; }
.impress-list dd { margin: 0; color: var(--text); }
.impress-kicker { margin: 0 0 12px; color: var(--text); letter-spacing: 0.04em; }
@media (max-width: 760px) {
  .grid { grid-template-columns: 1fr; }
  .top { align-items: flex-start; gap: 10px; }
  .btn { flex-basis: 100%; max-width: 320px; }
}
@media (max-width: 640px) {
  .impress-list div { grid-template-columns: 1fr; gap: 2px; }
}

div#CybotCookiebotDialog {
  width: min(520px, 92vw) !important;
  max-width: min(520px, 92vw) !important;
  max-height: calc(100vh - 32px) !important;
  top: auto !important;
  bottom: 16px !important;
  right: 16px !important;
  overflow: hidden !important;
  transform: none !important;
  scale: 1 !important;
}
div#CybotCookiebotDialogBody,
div#CybotCookiebotDialogBodyContent {
  max-height: calc(100vh - 210px) !important;
  overflow-y: auto !important;
}

.logo-break {
  margin: 8px auto 6px;
  width: min(560px, 88%);
  text-align: center;
}
.logo-break img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.28);
}

.home-link {
  color: #fff; text-decoration: none; font-weight: 650; letter-spacing: 0.04em;
  padding: 8px 12px; border-radius: 12px;
}
.home-link:hover { background: rgba(255,255,255,0.08); }
.subpage {
  max-width: 860px; margin: 36px auto 48px; padding: 28px 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 18px 50px rgba(0,0,0,0.28);
  backdrop-filter: blur(16px) saturate(1.35);
}
.subpage h1 {
  margin: 0 0 14px; font-size: clamp(28px, 4vw, 42px);
  background: linear-gradient(90deg, #fff, #e9d5ff 40%, #7dd3fc 70%, #c084fc);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.subpage p { margin: 0; color: var(--dim); font-size: 16.5px; line-height: 1.6; }

.mail-link {
  appearance: none; background: none; border: 0; padding: 0;
  color: #fff; font-size: 12px; cursor: pointer; text-align: right;
}
.mail-link:hover { text-decoration: underline; }
.mail-form { display: grid; gap: 12px; }
.mail-form label { display: grid; gap: 6px; color: var(--dim); font-size: 13px; }
.mail-form input, .mail-form select, .mail-form textarea {
  width: 100%; border-radius: 12px; border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06); color: #fff; padding: 10px 12px; font: inherit;
}
.mail-send {
  justify-self: start; cursor: pointer; border: 0; border-radius: 999px;
  padding: 12px 22px; color: #fff; font-weight: 700;
  background: linear-gradient(160deg, rgba(139,92,246,0.9), rgba(49,22,110,0.9));
}
.mail-note { min-height: 1.2em; margin: 0; color: #e9d5ff; }

.hp {
  position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0;
}

.ornaments {
  position: fixed; inset: 0; z-index: 4; pointer-events: none; overflow: hidden;
}
.flake, .tree-fall {
  position: absolute; top: -40px;
  animation: fall linear forwards;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,0.25));
  user-select: none;
}
.flake { color: #f8fafc; opacity: 0.85; }
.tree-fall { color: #16a34a; }
@keyframes fall {
  to { transform: translateY(110vh) rotate(360deg); }
}
.music-btn {
  appearance: none; cursor: pointer; color: #fff; font: 14px/1 sans-serif;
  width: 36px; height: 36px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25);
}
.music-btn[aria-pressed="true"] { background: rgba(192,132,252,0.28); }

.activator-list { display: grid; gap: 16px; margin: 36px auto 48px; max-width: 860px; }
.activator {
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start;
  gap: 18px; min-height: 168px; margin: 0;
}
.dl-json {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; color: #fff; font-weight: 700;
  padding: 12px 22px; border-radius: 999px;
  background: linear-gradient(160deg, rgba(139,92,246,0.95), rgba(49,22,110,0.92));
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 10px 24px rgba(0,0,0,0.28);
}
.dl-json:hover { filter: brightness(1.08); }

.dl-json.locked{opacity:.55;cursor:not-allowed;pointer-events:none;}

.promo-video {
  position: relative;
  max-width: 860px;
  margin: 8px auto 28px;
  padding: 0;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.16);
  background: linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0.03));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 18px 50px rgba(0,0,0,0.28);
}
.promo-video video {
  display: block;
  width: 100%;
  height: auto;
  background: #05030c;
  pointer-events: none;
}
.promo-video { pointer-events: none; cursor: default; }
.video-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  padding: 10px 16px;
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.01em;
  white-space: nowrap;
  background: rgba(10, 8, 22, 0.62);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(6px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 10px 28px rgba(0,0,0,0.35);
  pointer-events: none;
  cursor: default;
}

.about { max-width: 860px; margin: 36px auto 56px; }
.about h1 { margin: 0 0 16px; font-size: clamp(26px, 4vw, 36px); line-height: 1.2; }
.about-lead, .about-card p, .about-cta p { color: var(--dim); font-size: 16.5px; line-height: 1.6; }
.about-lead { margin: 0 0 22px; }
.about-card {
  margin: 0 0 16px; padding: 20px 22px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 18px 50px rgba(0,0,0,0.28);
  backdrop-filter: blur(16px) saturate(1.35);
}
.about-card h2 { margin: 0 0 10px; font-size: 20px; }
.about-card ul { margin: 8px 0 0; padding-left: 1.15em; }
.about-card li { margin: 0 0 12px; color: var(--dim); font-size: 16px; line-height: 1.55; }
.about-cta { text-align: center; margin-top: 22px; }
.about-cta p { margin: 0 0 16px; color: var(--text); font-size: 17px; }
.about-cta .btn { margin: 0 auto; }

.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 14px; }
.news-meta time { color: var(--dim); font-size: 14px; }
.news-tag {
  display: inline-flex; align-items: center;
  padding: 5px 12px; border-radius: 999px;
  color: #fff; font-size: 12px; font-weight: 650; letter-spacing: 0.02em;
  background: rgba(139, 92, 246, 0.35);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(6px);
}
.news-close { margin: 8px 0 0; color: var(--text); font-size: 16.5px; line-height: 1.6; font-style: italic; }

.foot-news { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 18px; margin-bottom: 12px; }
.soon-badge {
  display: inline-flex; align-items: center;
  padding: 5px 12px; border-radius: 999px;
  color: #fff; font-size: 13px; font-weight: 650;
  background: rgba(16, 185, 129, 0.28);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(6px);
}
