* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body, html {
  height: 100%;
  overflow: hidden;
  font-family: 'Vazirmatn', sans-serif;
  background-color: #0d0208;
}

/* افکت پس‌زمینه زنده با تصویر کاراکتر */
.cyber-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('bg.jpg'); /* اسم عکس را دقیقاً bg.jpg بگذارید */
  background-size: cover;
  background-position: 35% center;
  background-repeat: no-repeat;
  z-index: 1;
  animation: backgroundPulse 8s ease-in-out infinite alternate;
}

/* لایه نئونی صورتی روی عکس جهت زنده کردن اتمسفر */
.cyber-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 0, 128, 0.05) 0%, rgba(0, 0, 0, 0.4) 100%);
  pointer-events: none;
}

/* موقعیت‌دهی محتوا در پایین سمت راست */
.container-cyber {
  position: absolute;
  bottom: 10%;
  right: 8%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

/* استایل درخشان متن DPDNS */
.brand-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 2px;
  margin-bottom: 15px;
  text-shadow: 0 0 10px #ff007f, 0 0 20px #ff007f, 0 0 40px #ff007f;
  animation: textGlow 2.5s ease-in-out infinite alternate;
}

/* استایل دکمه کوچک تلگرام مچ با رنگ عینک کاراکتر */
.tg-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: bold;
  color: #ffffff;
  background: rgba(255, 0, 128, 0.15);
  border: 2px solid #ff007f;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 8px rgba(255, 0, 128, 0.4);
}

.tg-button:hover {
  background: #ff007f;
  box-shadow: 0 0 15px #ff007f, 0 0 25px #ff007f;
  transform: translateY(-2px);
}

/* انیمیشن‌های پالس پس‌زمینه و درخشش متن */
@keyframes backgroundPulse {
  0% { transform: scale(1); filter: brightness(1) contrast(1); }
  100% { transform: scale(1.02); filter: brightness(1.1) contrast(1.05); }
}

@keyframes textGlow {
  0% { text-shadow: 0 0 10px #ff007f, 0 0 20px #ff007f; }
  100% { text-shadow: 0 0 15px #ff007f, 0 0 30px #ff007f, 0 0 50px #ff007f; }
}

/* بهینه‌سازی کامل برای نمایشگرهای اندروید و آیفون */
@media (max-width: 768px) {
  .cyber-bg {
    background-position: 38% center; /* زوم و هدر رفتن کادر رخ نمی‌دهد و کاراکتر دقیق دیده می‌شود */
  }
  .container-cyber {
    right: 0;
    left: 0;
    bottom: 8%;
    align-items: center;
    text-align: center;
    padding: 0 20px;
  }
  .brand-title {
    font-size: 2.5rem;
    margin-bottom: 12px;
  }
  .tg-button {
    padding: 8px 18px;
    font-size: 0.85rem;
  }
}