:root {
  color-scheme: dark;
  --bg1: #07111f;
  --bg2: #0d1f36;
  --text: #edf4ff;
  --muted: #b7c7df;
  --primary: #4e97ff;
  --primary-hover: #3c86ef;
  --button-text: #ffffff;
  --button-border: rgba(255, 255, 255, 0.12);
}

body[data-theme="light"] {
  color-scheme: light;
  --bg1: #eef5ff;
  --bg2: #dbe8ff;
  --text: #12233f;
  --muted: #50617e;
  --primary: #2d74db;
  --primary-hover: #195fc7;
  --button-text: #ffffff;
  --button-border: rgba(25, 95, 199, 0.18);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
  color: var(--text);
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(94, 154, 255, 0.18), transparent 28%),
    radial-gradient(circle at 80% 30%, rgba(82, 132, 255, 0.16), transparent 24%),
    linear-gradient(135deg, var(--bg1), var(--bg2));
  transition: background 220ms ease, color 220ms ease;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.stickers {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.sticker {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.18;
  filter: blur(0.2px);
  animation: floatUp linear infinite;
  user-select: none;
}

.sticker::before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.s1  { right: 6%;  bottom: -90px; width: 42px; height: 42px; animation-duration: 18s; animation-delay: 0s; }
.s2  { right: 18%; bottom: -110px; width: 54px; height: 54px; animation-duration: 23s; animation-delay: 3s; }
.s3  { right: 30%; bottom: -80px; width: 38px; height: 38px; animation-duration: 17s; animation-delay: 1s; }
.s4  { right: 42%; bottom: -120px; width: 58px; height: 58px; animation-duration: 22s; animation-delay: 6s; }
.s5  { right: 54%; bottom: -100px; width: 46px; height: 46px; animation-duration: 20s; animation-delay: 2s; }
.s6  { right: 66%; bottom: -90px; width: 40px; height: 40px; animation-duration: 16s; animation-delay: 5s; }
.s7  { right: 78%; bottom: -130px; width: 62px; height: 62px; animation-duration: 24s; animation-delay: 4s; }
.s8  { right: 88%; bottom: -85px; width: 36px; height: 36px; animation-duration: 15s; animation-delay: 7s; }
.s9  { right: 12%; bottom: -100px; width: 48px; height: 48px; animation-duration: 21s; animation-delay: 8s; }
.s10 { right: 72%; bottom: -120px; width: 52px; height: 52px; animation-duration: 19s; animation-delay: 9s; }

.s1::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7 18h6l4 3v-3h1a3 3 0 0 0 3-3V8a3 3 0 0 0-3-3H7a3 3 0 0 0-3 3v7a3 3 0 0 0 3 3z' fill='rgba(110,170,255,.85)'/%3E%3C/svg%3E");
}

.s2::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 21s-6.8-4.32-9.17-8.23C1.05 9.88 2.1 6 6.28 6c2.12 0 3.28 1.2 3.72 2 .44-.8 1.6-2 3.72-2C17.9 6 18.95 9.88 17.17 12.77 14.8 16.68 8 21 8 21h4z' fill='rgba(255,120,170,.85)'/%3E%3C/svg%3E");
}

.s3::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Crect x='4' y='5' width='16' height='12' rx='3' fill='rgba(114,226,195,.85)'/%3E%3Ccircle cx='9' cy='11' r='1.2' fill='%23fff'/%3E%3Ccircle cx='12' cy='11' r='1.2' fill='%23fff'/%3E%3Ccircle cx='15' cy='11' r='1.2' fill='%23fff'/%3E%3C/svg%3E");
}

.s4::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 2l2.7 5.48 6.05.88-4.38 4.27 1.03 6.03L12 15.83 6.6 18.66l1.03-6.03L3.25 8.36l6.05-.88L12 2z' fill='rgba(255,214,102,.88)'/%3E%3C/svg%3E");
}

.s5::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 3a8 8 0 1 0 8 8c0-.34-.02-.68-.06-1A6.5 6.5 0 0 1 13 3.06c-.33-.04-.66-.06-1-.06z' fill='rgba(175,160,255,.88)'/%3E%3C/svg%3E");
}

.s6::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 7.5A2.5 2.5 0 0 1 7.5 5h9A2.5 2.5 0 0 1 19 7.5v6A2.5 2.5 0 0 1 16.5 16H10l-4 3v-3H7.5A2.5 2.5 0 0 1 5 13.5v-6z' fill='rgba(100,194,255,.88)'/%3E%3C/svg%3E");
}

.s7::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 21s-7-4.35-9.4-8.4C.9 9.7 2.2 6 6.2 6c2.3 0 3.7 1.3 4.8 2.9C12.1 7.3 13.5 6 15.8 6c4 0 5.3 3.7 3.6 6.6C19 16.65 12 21 12 21z' fill='rgba(255,99,132,.78)'/%3E%3C/svg%3E");
}

.s8::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='8' fill='rgba(255,208,92,.85)'/%3E%3Ccircle cx='9' cy='10' r='1' fill='%23fff'/%3E%3Ccircle cx='15' cy='10' r='1' fill='%23fff'/%3E%3Cpath d='M8.5 14c1.2 1.2 5.8 1.2 7 0' stroke='%23fff' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
}

.s9::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Crect x='4' y='4' width='16' height='16' rx='4' fill='rgba(94,154,255,.82)'/%3E%3Cpath d='M8 12h8M12 8v8' stroke='%23fff' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E");
}

.s10::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 8.5A2.5 2.5 0 0 1 8.5 6h7A2.5 2.5 0 0 1 18 8.5v4A2.5 2.5 0 0 1 15.5 15H11l-3 2.5V15h-.5A2.5 2.5 0 0 1 6 12.5v-4z' fill='rgba(130,234,203,.85)'/%3E%3C/svg%3E");
}

@keyframes floatUp {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.18;
  }
  50% {
    transform: translateY(-50vh) translateX(18px) rotate(10deg);
    opacity: 0.24;
  }
  100% {
    transform: translateY(-115vh) translateX(-18px) rotate(-8deg);
    opacity: 0;
  }
}


.theme-wrap {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 3;
}

.theme-toggle {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-radius: 999px;
  padding: 9px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  backdrop-filter: blur(10px);
  font-family: inherit;
  transition: background 200ms ease, transform 160ms ease;
  font-size: 0.9rem;
}

body[data-theme="light"] .theme-toggle {
  border-color: rgba(25, 95, 199, 0.16);
  background: rgba(255, 255, 255, 0.32);
}

.theme-toggle:hover {
  transform: translateY(-1px);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}


.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.content {
  width: min(100%, 520px);
  text-align: center;
}

.logo-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

body[data-theme="light"] .logo-icon {
  background: rgba(255, 255, 255, 0.42);
}

.logo-icon svg {
  width: 40px;
  height: 40px;
}

h1 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 4vw, 2.8rem);
  line-height: 1.25;
  font-weight: 800;
  color: var(--text);
}

h1 a {
  color: var(--text);
  text-decoration: none;
}

.subtitle {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.9;
  font-weight: 400;
}

.downloads {
  display: grid;
  gap: 14px;
}

.download-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 60px;
  padding: 14px 18px;
  border-radius: 16px;
  text-decoration: none;
  color: var(--button-text);
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  border: 1px solid var(--button-border);
  transition: transform 160ms ease, filter 160ms ease;
}

.download-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
}

.btn-side {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: right;
}

.btn-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}

.btn-label {
  font-size: 1rem;
  font-weight: 700;
}

.btn-en {
  font-size: 0.95rem;
  opacity: 0.92;
  direction: ltr;
  font-weight: 500;
}

.footer {
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}
@media (max-width: 600px) {
  .theme-wrap {
    top: 12px;
    right: 12px;
  }

  .page {
    padding: 20px 18px;
  }

  .logo-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 12px;
  }

  .download-btn {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-en {
    padding-right: 34px;
  }
}