@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@500&display=swap');

body {
  margin: 0;
  font-family: 'Vazirmatn', sans-serif;
  background: url('./photo/image7') no-repeat center center fixed;
  background-size: cover;
  color: white;
  text-align: center;
  direction: rtl;
  overflow-x: hidden;
}

.fade-in {
  animation: fadeIn 1s ease-in-out both;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.overlay {
  background: rgba(0, 0, 0, 0.75);
  min-height: 100vh;
  padding: 30px 20px;
  backdrop-filter: blur(3px);
}

.logo-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.logo-title img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 15px white;
}

.logo-title h1 {
  font-size: 3em;
  animation: glow 2s infinite alternate;
  margin: 0;
}

@keyframes glow {
  0% { text-shadow: 0 0 10px red; }
  100% { text-shadow: 0 0 25px yellow; }
}

.description {
  font-size: 1.3em;
  margin-bottom: 30px;
  animation: fadeIn 1.5s ease both;
}

.btn-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.btn, .telegram-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid white;
  padding: 15px 30px;
  font-size: 1.2em;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn:hover, .telegram-btn:hover {
  background: crimson;
  transform: scale(1.1);
}

.ripple::after {
  content: '';
  position: absolute;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  transform: scale(0);
  animation: ripple 0.6s linear;
  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

.telegram-btn {
  background: #0088cc;
}

.telegram-btn:hover {
  background: #005f8f;
}

.telegram-section {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 100px;
  margin-top: 50px; /* بیشتر شده برای پایین‌تر آمدن */
  flex-wrap: wrap;
}

.banner {
  margin-top: 60px; /* بیشتر شده برای فاصله بیشتر از دکمه تلگرام */
  display: flex;
  justify-content: center;
}

.banner img {
  width: 90%;
  max-width: 600px;
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(255,255,255,0.5);
  animation: float 4s ease-in-out infinite;
  border: 2px solid white;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 600px) {
  .logo-title h1 {
    font-size: 2em;
  }

  .btn {
    padding: 10px 20px;
    font-size: 1em;
  }

  .btn-group {
    flex-direction: column;
    gap: 15px;
  }

  .telegram-section {
    margin-top: 100px;
    gap: 50px;
  }
}
