* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

body {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  /* হিডেন স্ক্রলবারের জন্য কোড */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* Internet Explorer 10+ */
}

/* Webkit ব্রাউজারের জন্য হিডেন স্ক্রলবার */
body::-webkit-scrollbar {
  display: none;
}


/* ================================================= */
/*     মূল ব্যাকগ্রাউন্ড ও স্ক্রলিং সমস্যার সমাধান      */
/* ================================================= */
html, body {
  height: 100%;
  font-family: 'Segoe UI', 'Roboto', sans-serif;
  overflow-y: auto; /* ভার্টিকাল স্ক্রলিং চালু করা হয়েছে */
  overflow-x: hidden; /* হরিজন্টাল স্ক্রল বন্ধ করা হয়েছে */
  background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
  background-attachment: fixed; /* স্ক্রল করার সময় ব্যাকগ্রাউন্ড স্থির থাকবে */
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
}

@keyframes gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

#tsparticles {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -1;
  top: 0;
  left: 0;
}

.container {
  /* মোবাইল ও ডেস্কটপ স্ক্রলিং এর জন্য লেআউট পরিবর্তন */
  padding: 10vh 40px; /* উপরে এবং নিচে স্পেস দেওয়া হয়েছে */
  text-align: center;
  margin: 0 auto; /* কন্টেইনারকে মাঝে আনা হয়েছে */
  background: rgba(15, 12, 41, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  color: white;
  max-width: 700px;
  width: 90%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
  border-radius: 15px;
}

.container:hover {
  box-shadow: 0 15px 35px rgba(106, 17, 203, 0.4);
  /* স্ক্রলিং লেআউটে স্কেল অ্যানিমেশন ভালো দেখায় না, তাই বাদ দেওয়া হলো */
}

.brand {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo {
  width: 150px;
  height: 150px;
  margin-bottom: 15px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #6a11cb;
  box-shadow: 0 0 20px rgba(106, 17, 203, 0.5);
  transition: all 0.3s ease;
}

.logo:hover {
  transform: rotate(5deg) scale(1.05);
  box-shadow: 0 0 30px rgba(37, 117, 252, 0.7);
}

.brand-name {
  font-size: 2.5rem;
  background: linear-gradient(90deg, #6a11cb, #2575fc, #6a11cb);
  background-size: 200% auto;
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  animation: shine 3s linear infinite;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

@keyframes shine {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.tagline {
  font-size: 1.2rem;
  color: #a1a1ff;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 2px;
}

#typing-text {
  font-size: 1.4rem;
  color: #e0e0ff;
  margin: 25px 0;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 300;
}

.description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #ccccff;
  margin: 25px 0;
  text-align: center;
}

.section-title {
  font-size: 1.6rem;
  margin: 30px 0 15px;
  color: white;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 3px;
  bottom: -8px;
  left: 25%;
  background: linear-gradient(90deg, transparent, #6a11cb, #2575fc, transparent);
  border-radius: 3px;
}

.link-item {
  margin: 15px 0;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.link-icon {
  margin-right: 10px;
  font-size: 1.3rem;
  color: #6a11cb;
}

a {
  color: #6a11cb;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
}

a:hover {
  color: #2575fc;
  text-shadow: 0 0 10px rgba(37, 117, 252, 0.5);
}

a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -3px;
  left: 0;
  background: linear-gradient(90deg, #6a11cb, #2575fc);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.social-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin: 30px 0;
}

.social-link {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(106, 17, 203, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  transition: all 0.3s ease;
  border: 1px solid rgba(106, 17, 203, 0.5);
}

.social-link:hover {
  transform: translateY(-5px);
  background: rgba(37, 117, 252, 0.3);
  box-shadow: 0 5px 15px rgba(37, 117, 252, 0.3);
  color: #6a11cb;
}

.copyright {
  margin-top: 30px;
  font-size: 0.9rem;
  color: #8888cc;
  cursor: pointer;
  transition: all 0.3s ease;
}

.copyright:hover {
  color: #6a11cb;
  text-shadow: 0 0 10px rgba(106, 17, 203, 0.5);
}

.mouse-follower {
  position: fixed;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(106, 17, 203, 0.3);
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease, background 0.3s ease;
  mix-blend-mode: screen;
  filter: blur(1px);
}

#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0f0c29;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  transition: opacity 0.5s ease;
}

.loader-content {
  text-align: center;
}

.loader-text {
  color: #6a11cb;
  font-size: 1.2rem;
  margin-top: 20px;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 600;
  background: linear-gradient(90deg, #6a11cb, #2575fc);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.loader-logo {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #6a11cb, #2575fc);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.dot-container {
  display: flex;
  margin-bottom: 10px;
}

.dot {
  width: 15px;
  height: 15px;
  margin: 0 8px;
  background: #6a11cb;
  border-radius: 50%;
  animation: bounce 1.2s infinite ease-in-out;
  box-shadow: 0 0 10px rgba(106, 17, 203, 0.5);
}

.dot:nth-child(2) {
  background: #2575fc;
  animation-delay: 0.2s;
}

.dot:nth-child(3) {
  background: #6a11cb;
  animation-delay: 0.4s;
}

@keyframes bounce {
  0%, 80%, 100% {
    transform: scale(0.5);
    opacity: 0.5;
  } 
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

.floating-elements {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -2;
}

.floating-element {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.15;
  animation: float 20s infinite linear;
}

@keyframes float {
  0% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(50vw, 30vh) rotate(90deg); }
  50% { transform: translate(80vw, 60vh) rotate(180deg); }
  75% { transform: translate(30vw, 80vh) rotate(270deg); }
  100% { transform: translate(0, 0) rotate(360deg); }
}

.download-section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 99998;
  backdrop-filter: blur(10px);
}

.download-box {
  background: rgba(15, 12, 41, 0.9);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 0 30px rgba(106, 17, 203, 0.5);
  border: 1px solid rgba(106, 17, 203, 0.5);
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
}

.download-title {
  font-size: 1.8rem;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #6a11cb, #2575fc);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.download-item, .watch-item {
  background: rgba(106, 17, 203, 0.2);
  padding: 15px;
  border-radius: 10px;
  margin: 15px 0;
  border: 1px solid rgba(106, 17, 203, 0.3);
  transition: all 0.3s ease;
}

.download-item:hover, .watch-item:hover {
  background: rgba(106, 17, 203, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(106, 17, 203, 0.3);
}

.download-item-title, .watch-item-title {
  font-size: 1.2rem;
  color: white;
  margin-bottom: 10px;
}

.download-btn, .watch-btn {
  background: linear-gradient(90deg, #6a11cb, #2575fc);
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  margin-top: 10px;
}

.download-btn:hover, .watch-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(37, 117, 252, 0.3);
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.close-btn:hover {
  color: #6a11cb;
  transform: rotate(90deg);
}

@media (max-width: 768px) {
  .container {
    padding: 10vh 20px;
    width: 95%;
  }
  .logo {
    width: 120px;
    height: 120px;
  }
  .brand-name {
    font-size: 2rem;
  }
  .tagline {
    font-size: 1rem;
  }
  #typing-text {
    font-size: 1.1rem;
    min-height: 50px;
  }
  .description, .link-item {
    font-size: 1rem;
  }
  .section-title {
    font-size: 1.3rem;
  }
  .social-link {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }
  .download-title {
    font-size: 1.5rem;
  }
}