/* بنر اصلی سایت */
.main-banner-container {
  width: 100%;
  margin: 0;
  position: relative;
  overflow: hidden;
  background: 
    linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(0, 255, 170, 0.1) 100%),
    radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(0, 255, 170, 0.2) 0%, transparent 50%),
    linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.main-banner-content {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
}

.banner-overlay {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.banner-text {
  text-align: center;
  color: white;
  padding: 2.5rem 3rem;
  max-width: 900px;
  width: 100%;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.banner-title {
  font-size: 4.5rem;
  font-weight: 900;
  margin: 0 0 1.5rem 0;
  background: linear-gradient(135deg, #00d4ff 0%, #00ffaa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.3em;
  filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.6));
  line-height: 1.2;
}

.banner-subtitle {
  font-size: 1.5rem;
  margin: 0 0 2rem 0;
  color: #00ffaa;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 600;
  text-shadow: 0 0 20px rgba(0, 255, 170, 0.5);
}

.banner-offer {
  font-size: 1.1rem;
  margin: 1.5rem 0 2rem 0;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.banner-button {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, #00d4ff 0%, #00ffaa 100%);
  color: #0f1419;
  border: none;
  border-radius: 50px;
  font-size: 1.3rem;
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 25px rgba(0, 212, 255, 0.5);
  margin-top: 0.5rem;
  position: relative;
  overflow: hidden;
}

.banner-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.banner-button:hover::before {
  left: 100%;
}

.banner-button:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 12px 40px rgba(0, 212, 255, 0.7);
}

.banner-button i {
  font-size: 1.4rem;
}

/* Responsive برای بنر اصلی */
@media (max-width: 1024px) {
  .main-banner-content {
    min-height: 300px;
    padding: 2.5rem 1rem;
  }
  
  .banner-title {
    font-size: 3.5rem;
    letter-spacing: 0.2em;
  }
  
  .banner-subtitle {
    font-size: 1.2rem;
    letter-spacing: 0.2em;
  }
  
  .banner-offer {
    font-size: 1rem;
  }
  
  .banner-button {
    padding: 0.9rem 2rem;
    font-size: 1.2rem;
  }
  
  .banner-text {
    padding: 2rem 2rem;
  }
}

@media (max-width: 768px) {
  .main-banner-content {
    min-height: 250px;
    padding: 2rem 0.75rem;
  }
  
  .banner-title {
    font-size: 2.5rem;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
  }
  
  .banner-subtitle {
    font-size: 0.95rem;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
  }
  
  .banner-offer {
    font-size: 0.9rem;
    margin: 1rem 0 1.5rem 0;
  }
  
  .banner-button {
    padding: 0.8rem 1.8rem;
    font-size: 1.1rem;
  }
  
  .banner-text {
    padding: 1.5rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .main-banner-content {
    min-height: 200px;
    padding: 1.5rem 0.5rem;
  }
  
  .banner-title {
    font-size: 1.8rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
  }
  
  .banner-subtitle {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
  }
  
  .banner-offer {
    font-size: 0.75rem;
    margin: 0.75rem 0 1rem 0;
  }
  
  .banner-button {
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
  }
  
  .banner-button i {
    font-size: 1.1rem;
  }
  
  .banner-text {
    padding: 1rem;
  }
}

/* حالت تاریک برای بنر اصلی */
[data-theme="dark"] .main-banner-container {
  background: linear-gradient(135deg, #0a0a0f 0%, #16213e 50%, #0f3460 100%);
}

[data-theme="dark"] .banner-overlay {
  background: rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .banner-text {
  background: rgba(0, 0, 0, 0.8);
}

.ad-banner-slider {
  width: 100%;
  height: 100%;
  position: relative;
}

.ad-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ad-slide.active {
  opacity: 1;
  z-index: 1;
}

.ad-slide a {
  display: block;
  width: 100%;
  height: 100%;
}

.ad-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* دکمه‌های ناوبری */
.ad-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.3s ease;
  opacity: 0;
}

.ad-banner-container:hover .ad-nav {
  opacity: 1;
}

.ad-nav:hover {
  background: rgba(0, 0, 0, 0.7);
}

.ad-prev {
  right: 10px;
}

.ad-next {
  left: 10px;
}

.ad-nav i {
  font-size: 14px;
}

/* نقاط اندیکاتور */
.ad-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}

.ad-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s ease;
}

.ad-dot.active {
  background: rgba(255, 255, 255, 0.9);
  width: 20px;
  border-radius: 4px;
}

/* Responsive */
@media (max-width: 768px) {
  .ad-banner-container {
    max-width: 100%;
    height: auto;
    aspect-ratio: 728 / 90;
    margin: 0.5rem 1rem;
  }
  
  .ad-nav {
    width: 25px;
    height: 25px;
  }
  
  .ad-nav i {
    font-size: 12px;
  }
  
  .ad-prev {
    right: 5px;
  }
  
  .ad-next {
    left: 5px;
  }
}

@media (max-width: 480px) {
  .ad-banner-container {
    margin: 0.5rem 0.5rem;
  }
}

/* حالت تاریک */
[data-theme="dark"] .ad-banner-container {
  background: #1a1a1a;
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .ad-nav {
  background: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .ad-nav:hover {
  background: rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .ad-dot {
  background: rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .ad-dot.active {
  background: rgba(0, 0, 0, 0.9);
}
