* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  direction: rtl;
  font-family: 'Vazirmatn', sans-serif;
  color: #fff;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  background: linear-gradient(-45deg, #0d0d0d, #1e1e1e, #2c2c2c, #0d0d0d);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.content {
  position: relative;
  z-index: 1;
  padding: 2rem;
}

.logo-wrapper {
  margin-bottom: 20px;
}

.logo-wrapper img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  animation: fadeIn 2s ease forwards;
  pointer-events: none;
  -webkit-user-drag: none;
}

h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.description {
  font-size: 1.2rem;
  color: #ccc;
  max-width: 500px;
  margin: 0 auto 2rem;
  line-height: 2;
}

.icons {
  display: flex;
  justify-content: center;
  gap: 40px;
  font-size: 2.2rem;
}

.icons a {
  color: #888;
  transition: all 0.3s ease;
}

.icons a:hover {
  color: #1e90ff;
  transform: scale(1.3);
  filter: drop-shadow(0 0 5px #1e90ff);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ریسپانسیو برای تبلت‌ها (زیر 768px) */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  .description {
    font-size: 1rem;
    max-width: 90%;
  }

  .icons {
    font-size: 1.8rem;
    gap: 20px;
  }

  .logo-wrapper img {
    width: 80px;
    height: 80px;
  }

  .content {
    padding: 1.5rem;
  }
}

/* ریسپانسیو برای موبایل‌ها (زیر 480px) */
@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
  }

  .description {
    font-size: 0.9rem;
    max-width: 100%;
  }

  .icons {
    font-size: 1.5rem;
    gap: 15px;
  }

  .logo-wrapper img {
    width: 60px;
    height: 60px;
  }

  .content {
    padding: 1rem;
  }
}
