:root {
  --accent: #3d8ef8;
  --accent2: #6c63ff;
  --accent-glow: rgba(61, 142, 248, 0.35);
  --accent-hover: #2563eb;
  --bg: #05060a;
  --text: #f0f4ff;
  --text2: #94a3b8;
  --border: rgba(148, 163, 184, 0.18);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

.mw-page {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  overflow-x: hidden;
  isolation: isolate;
}

.mw-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.mw-bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.38;
}

.mw-bg-glow--one {
  width: min(520px, 70vw);
  height: min(520px, 70vw);
  top: -12%;
  left: -8%;
  background: radial-gradient(circle, rgba(61, 142, 248, 0.45) 0%, transparent 70%);
  z-index: 3;
}

.mw-bg-glow--two {
  width: min(480px, 65vw);
  height: min(480px, 65vw);
  right: -10%;
  bottom: -8%;
  background: radial-gradient(circle, rgba(108, 99, 255, 0.38) 0%, transparent 72%);
  z-index: 3;
}

.mw-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 1;
  filter: blur(10px) saturate(1.12) brightness(0.82);
  transform: scale(1.08);
  z-index: 0;
  pointer-events: none;
}

.mw-bg-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 95% 85% at 50% 45%, #000 35%, transparent 92%);
}

.mw-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(5, 6, 10, 0.28) 0%, rgba(5, 6, 10, 0.14) 45%, rgba(5, 6, 10, 0.42) 100%),
    radial-gradient(ellipse 90% 75% at 50% 40%, transparent 0%, rgba(5, 6, 10, 0.22) 100%);
}

.mw-shell {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.mw-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px clamp(20px, 5vw, 56px);
  flex-shrink: 0;
}

.mw-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #fff;
  box-shadow: 0 0 20px var(--accent-glow);
  flex-shrink: 0;
}

.logo-text {
  font-size: clamp(1.2rem, 2.8vw, 1.65rem);
  font-weight: 800;
  background: linear-gradient(90deg, #fff, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

.mw-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(8px);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.mw-btn-outline:hover {
  background: rgba(61, 142, 248, 0.12);
  border-color: rgba(61, 142, 248, 0.45);
  color: #fff;
}

.mw-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px clamp(16px, 5vw, 56px) 20px;
}

.mw-hero {
  width: 100%;
  max-width: 760px;
  text-align: center;
}

.mw-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(61, 142, 248, 0.28);
  background: rgba(61, 142, 248, 0.1);
  color: #bfdbfe;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mw-headline {
  margin: 0;
  font-size: clamp(2.1rem, 5.8vw, 3.6rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
}

.mw-lead {
  margin: 20px auto 0;
  max-width: 620px;
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  line-height: 1.65;
  color: var(--text2);
}

.mw-cta-row {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

.mw-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 32px;
  border: none;
  color: #fff;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 14px 36px rgba(61, 142, 248, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.mw-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(61, 142, 248, 0.42);
  filter: brightness(1.05);
}

.mw-app-downloads {
  margin: 32px auto 0;
  max-width: 680px;
  width: 100%;
  text-align: center;
}

.mw-app-downloads-title {
  margin: 0 0 18px;
  font-size: 15px;
  font-weight: 700;
  color: #e2e8f0;
  letter-spacing: -0.01em;
}

.mw-app-downloads-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.mw-store-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: min(100%, 300px);
  flex: 1 1 280px;
  max-width: 320px;
  padding: 14px 16px 14px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 10, 18, 0.82);
  text-align: left;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 18px 40px rgba(0, 0, 0, 0.45);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease, border-color 0.22s ease;
}

.mw-store-btn-glow {
  position: absolute;
  inset: -40% auto -40% -30%;
  width: 55%;
  border-radius: 50%;
  filter: blur(28px);
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.mw-store-btn--android .mw-store-btn-glow {
  background: #3ddc84;
}

.mw-store-btn--tv .mw-store-btn-glow {
  background: #8b7dff;
}

.mw-store-btn--android {
  border-color: rgba(61, 220, 132, 0.28);
}

.mw-store-btn--tv {
  border-color: rgba(139, 125, 255, 0.28);
}

.mw-store-btn:hover,
.mw-store-btn:focus-visible {
  transform: translateY(-4px) scale(1.01);
  outline: none;
}

.mw-store-btn--android:hover,
.mw-store-btn--android:focus-visible {
  border-color: rgba(61, 220, 132, 0.55);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 0 0 1px rgba(61, 220, 132, 0.15),
    0 22px 48px rgba(61, 220, 132, 0.22);
}

.mw-store-btn--tv:hover,
.mw-store-btn--tv:focus-visible {
  border-color: rgba(139, 125, 255, 0.55);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 0 0 1px rgba(139, 125, 255, 0.15),
    0 22px 48px rgba(139, 125, 255, 0.22);
}

.mw-store-btn:hover .mw-store-btn-glow,
.mw-store-btn:focus-visible .mw-store-btn-glow {
  opacity: 0.85;
  transform: scale(1.08);
}

.mw-store-btn-icon {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.mw-store-btn--android .mw-store-btn-icon {
  background: linear-gradient(145deg, #3ddc84, #1faa62);
}

.mw-store-btn--tv .mw-store-btn-icon {
  background: linear-gradient(145deg, #8b7dff, #5b4fe8);
  color: #fff;
}

.mw-store-btn-icon img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: block;
}

.mw-store-btn-icon--tv svg {
  width: 30px;
  height: 30px;
}

.mw-store-btn-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  flex: 1;
}

.mw-store-btn-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
}

.mw-store-btn-name {
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  letter-spacing: -0.03em;
}

.mw-store-btn-sub {
  margin-top: 2px;
  font-size: 11px;
  font-weight: 500;
  color: #64748b;
}

.mw-store-btn-go {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.22s ease, background 0.22s ease;
}

.mw-store-btn--android .mw-store-btn-go {
  background: rgba(61, 220, 132, 0.16);
  border-color: rgba(61, 220, 132, 0.35);
  color: #86efac;
}

.mw-store-btn--tv .mw-store-btn-go {
  background: rgba(139, 125, 255, 0.16);
  border-color: rgba(139, 125, 255, 0.35);
  color: #c4b5fd;
}

.mw-store-btn:hover .mw-store-btn-go,
.mw-store-btn:focus-visible .mw-store-btn-go {
  transform: translateY(3px);
}

.mw-store-btn.is-unavailable {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
  transform: none !important;
  box-shadow: none !important;
}

.mw-footer {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 20px 24px;
  color: #64748b;
  font-size: 12px;
  font-weight: 500;
}

.mw-footer-dot {
  opacity: 0.5;
}

@media (max-width: 600px) {
  .mw-header {
    padding: 14px 16px;
  }

  .mw-main {
    padding: 12px 16px 28px;
    align-items: flex-start;
  }

  .mw-kicker {
    margin-bottom: 12px;
    padding: 6px 12px;
    font-size: 11px;
  }

  .mw-headline {
    font-size: clamp(1.65rem, 8vw, 2.2rem);
    line-height: 1.12;
  }

  .mw-lead {
    margin-top: 12px;
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .mw-cta-row {
    margin-top: 20px;
  }

  .mw-btn-primary {
    min-height: 48px;
    width: 100%;
    max-width: 320px;
    padding: 0 24px;
  }

  .mw-app-downloads {
    margin-top: 24px;
  }

  .mw-app-downloads-title {
    margin-bottom: 12px;
    font-size: 14px;
  }

  .mw-app-downloads-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .mw-store-btn {
    max-width: none;
    width: 100%;
    min-width: 0;
    flex: none;
    padding: 12px 12px 12px 12px;
    gap: 12px;
  }

  .mw-store-btn-icon {
    width: 46px;
    height: 46px;
  }

  .mw-store-btn-icon img {
    width: 36px;
    height: 36px;
  }

  .mw-store-btn-name {
    font-size: 1rem;
  }

  .mw-store-btn-go {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .mw-footer {
    padding: 12px 16px 20px;
  }
}

@media (max-height: 720px) and (max-width: 600px) {
  .mw-header {
    padding: 10px 14px;
  }

  .mw-kicker {
    margin-bottom: 8px;
  }

  .mw-headline {
    font-size: 1.55rem;
  }

  .mw-lead {
    margin-top: 8px;
    font-size: 0.9rem;
  }

  .mw-cta-row {
    margin-top: 14px;
  }

  .mw-app-downloads {
    margin-top: 16px;
  }

  .mw-app-downloads-title {
    margin-bottom: 8px;
    font-size: 13px;
  }

  .mw-store-btn {
    padding: 10px;
  }
}
