.ads-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-color: #f5f5f5;
}

.ads-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.text-block {
  max-width: 90%;
  margin-bottom: 20px;
}

.animated-title {
  font-size: 1.8em;
  font-weight: 700;
  margin: 0 0 15px;
  line-height: 1.2;
  background: linear-gradient(90deg, #08ccfc, #000000);
  -webkit-background-clip: text;
  color: transparent;
  animation: slide-in 2s ease-out;
  display: inline-block;
}

/* Стили для текста Google Ads */
.google-logo {
  font-size: 1.8em; /* Совпадает с animated-title */
  font-weight: 700;
  line-height: 1.2;
  display: inline-block;
  margin-left: 8px;
}

.google-logo .g {
  color: #4285f4; /* Синий */
}

.google-logo .o1 {
  color: #ea4335; /* Красный */
}

.google-logo .o2 {
  color: #fbbc05; /* Желтый */
}

.google-logo .l {
  color: #34a853; /* Зеленый */
}

.google-logo .e {
  color: #ea4335; /* Красный */
}

.subtitle {
  font-size: 1em;
  color: #333;
  margin-bottom: 15px;
}

.cta-button {
  padding: 10px 20px;
  font-size: 1em;
  background-color: #08ccfc;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #06a3d2;
}

.image-block {
  width: 100%;
  text-align: center;
}

.image-block img {
  max-width: 100%;
  height: auto;
}

/* Анимация для заголовка */
@keyframes slide-in {
  0% {
    opacity: 0;
    transform: translateY(-50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Стили для адаптивного дизайна */
@media (min-width: 768px) {
  .ads-content {
    flex-direction: row;
    text-align: left;
    max-width: 90%;
  }

  .text-block {
    max-width: 50%;
    margin-bottom: 0;
  }

  .animated-title {
    font-size: 2em;
    margin: 0 0 20px;
  }

  .google-logo {
    font-size: 2em;
  }

  .subtitle {
    font-size: 1.1em;
    margin-bottom: 20px;
  }

  .cta-button {
    padding: 12px 24px;
  }

  .image-block {
    max-width: 50%;
    text-align: right;
  }
}

@media (min-width: 1024px) {
  .ads-section {
    padding: 50px;
  }

  .ads-content {
    max-width: 1200px;
  }

  .animated-title {
    font-size: 2.5em;
  }

  .google-logo {
    font-size: 3.5em;
  }

  .subtitle {
    font-size: 1.2em;
  }
}

/* Загальні стилі для фішок і карт */
.casino-chip,
.casino-card {
  position: absolute;
  animation: fallingItems 7s infinite ease-in-out;
  opacity: 0;
  width: 120px;
  height: auto;
}

.chip-1 {
  top: -100px;
  left: 10%;
  animation-delay: 0s;
}

.card-1 {
  top: -100px;
  left: 50%;
  animation-delay: 2s;
}

.chip-2 {
  top: -100px;
  left: 80%;
  animation-delay: 4s;
}

.card-2 {
  top: -100px;
  left: 70%;
  animation-delay: 6s;
}

.chip-3 {
  top: -100px;
  left: 30%;
  animation-delay: 3s;
}

.chip-4 {
  top: -100px;
  left: 90%;
  animation-delay: 5s;
}

/* Анімація падіння */
@keyframes fallingItems {
  0% {
    transform: translateY(-100px) rotate(0deg);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateY(800px) rotate(360deg);
    opacity: 0;
  }
}

/* Адаптивні стилі для мобільних пристроїв */
@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-left,
  .hero-right {
    max-width: 100%;
  }

  .hero-left h1 {
    font-size: 2.5rem;
  }

  .hero-left p {
    font-size: 1.2rem;
  }

  .casino-btn {
    font-size: 1rem;
    padding: 10px 20px;
  }

  /* Зменшуємо розміри фішок та карт для мобільних */
  .casino-chip,
  .casino-card {
    width: 80px;
  }

  /* Обмежуємо фішки, щоб вони не виходили за межі екрану */
  .chip-1 {
    left: 5%;
  }

  .chip-2 {
    left: 40%;
  }

  .chip-3 {
    left: 65%;
  }

  .chip-4 {
    left: 70%;
  }
}
