body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  direction: rtl;
  font-family: 'NazaninGame', Fallback, sans-serif;
  font-weight: normal;
  font-size: 36px;
  background: transparent !important;
  background-image: none !important;
}

.purple-bg {
  background-color: #a39b09 !important;
}

.purple-bg-lighten {
  background-color: #a39b09 !important;
}

.havij-bg {
  background-color: #a39b09 !important;
}

.justify-align {
  text-align: justify;
}

main {
  flex: 1 0 auto;
  padding: 15px 10px 0;
  text-align: center;
}
@media only screen and (min-width: 601px) {
  main {
    text-align: right;
  }
}

main .brand {
  display: flex;
  font-family: 'LalezarGame', Fallback, sans-serif;
  font-weight: normal;
  align-items: center;
  flex-direction: column;
}
@media only screen and (min-width: 601px) {
  main .brand {
    flex-direction: row;
  }
}
main .brand .icon {
  width: 128px;
  height: 128px;
  margin: 10px;
}
main .brand .title {
  margin: 0;
  font-size: 52px;
  font-weight: normal;
  text-shadow: 3px 3px 2px black;
  line-height: 60px;
}
main .brand .subtitle {
  margin: 0;
  font-size: 22px;
  font-weight: normal;
  line-height: 30px;
}

main .download-btns a {
  margin: 1px;
  display: inline-block;
  z-index: 999999;
}
main .download-btns a img {
  width: 190px;
  border-radius: 5px;
}

main .screenshot {
  text-align: center;
}

img {
  max-width: 100%;
}

.bold {
  font-weight: bold;
}

/* ویدیوی پس‌زمینه دوم مخصوص پایین سایت */
#background-video-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60vh;
  object-fit: cover;
  z-index: -1;
}

@font-face {
  font-family: 'NazaninGame';
  src: url('BNazanin.html');
  src: url('BNazanind41d.html#iefix') format('embedded-opentype'),
       url('BNazanin-2.html') format('woff2'),
       url('BNazanin-3.html') format('woff'),
       url('BNazanin.ttf')  format('truetype'),
       url('BNazanin-4.html#svgFontName') format('svg');
}

@font-face {
  font-family: 'LalezarGame';
  src: url('Lalezar.html');
  src: url('Lalezard41d.html#iefix') format('embedded-opentype'),
       url('Lalezar-2.html') format('woff2'),
       url('Lalezar-3.html') format('woff'),
       url('Lalezar.ttf')  format('truetype'),
       url('Lalezar-4.html#svgFontName') format('svg');
}
/* --- استایل برای عنوان تعداد کل دانلودها --- */
.total-downloads-heading {
    color: #00ffff;
    font-family: 'LalezarGame', sans-serif; /* اینجا فونت رو LalezarGame گذاشتم */
    font-size: 28px;
    margin-bottom: 10px;
    text-shadow: 0 0 10px #00ffff;
}
/* برای مخفی کردن متن قبل از شروع انیمیشن */
.animated-text {
    opacity: 0; /* کاملاً نامرئی */
    transform: translateX(-50px); /* کمی به سمت چپ جابجا شده */
    animation: fadeInFromLeft 4.5s ease-out forwards; /* نام انیمیشن، زمان، نوع انیمیشن، و نگه داشتن حالت نهایی */
}

/* تعریف انیمیشن */
@keyframes fadeInFromLeft {
    from {
        opacity: 0; /* شروع از نامرئی */
        transform: translateX(-50px); /* شروع از ۵۰ پیکسل چپ‌تر */
    }
    to {
        opacity: 1; /* رسیدن به کاملاً مرئی */
        transform: translateX(0); /* رسیدن به موقعیت اصلی */
    }
}

#download-counter-container h3.total-downloads-heading {
    min-height: 40px; /* یا هر ارتفاع مناسب دیگر بر اساس نیاز شما */
    display: flex; /* برای هم‌ترازی عمودی بهتر متن */
    align-items: center; /* برای هم‌ترازی عمودی بهتر متن */
    justify-content: center; /* برای هم‌ترازی افقی متن */
}