.page-casino-games {
  color: #333333;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-casino-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top spacing for fixed header */
.page-casino-games__intro-section {
  padding-top: 120px; /* Desktop padding to clear fixed header */
  padding-bottom: 40px;
  background-color: #f1f3f5; /* Light background for contrast */
  color: #333333;
}

.page-casino-games__main-title {
  font-size: 38px;
  font-weight: bold;
  color: #0A192F;
  text-align: center;
  margin-bottom: 25px;
  line-height: 1.2;
}

.page-casino-games__description {
  font-size: 17px;
  text-align: center;
  margin-bottom: 20px;
  color: #555555;
}

.page-casino-games__cta-button {
  display: block;
  width: fit-content;
  margin: 30px auto 0;
  padding: 15px 40px;
  background: linear-gradient(135deg, #FFD700, #FFA500); /* Gold gradient */
  color: #0A192F;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-casino-games__cta-button:hover {
  background: linear-gradient(135deg, #FFA500, #FFD700);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-casino-games__cta-button--small {
  padding: 12px 25px;
  font-size: 16px;
  margin-top: 20px;
}

.page-casino-games__section-title {
  font-size: 32px;
  font-weight: bold;
  color: #0A192F;
  text-align: center;
  margin-bottom: 40px;
  margin-top: 60px;
}

.page-casino-games__text-block {
  font-size: 16px;
  margin-bottom: 20px;
  color: #555555;
  text-align: justify;
}

.page-casino-games__game-types-section {
  padding: 60px 0;
  background-color: #ffffff; /* White background for contrast */
  color: #333333;
}

.page-casino-games__game-category {
  background: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino-games__game-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-casino-games__game-category-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 15px;
}

.page-casino-games__category-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-right: 20px;
  flex-shrink: 0;
}

.page-casino-games__category-title {
  font-size: 28px;
  font-weight: bold;
  color: #0A192F;
  margin: 0;
}

.page-casino-games__game-category-content p {
  margin-bottom: 15px;
  line-height: 1.7;
  color: #444444;
}

.page-casino-games__list {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
  color: #444444;
}

.page-casino-games__list li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.page-casino-games__promotions-section {
  padding: 60px 0;
  background-color: #0A192F; /* Dark background for contrast */
  color: #ffffff;
}

.page-casino-games__promotions-section .page-casino-games__section-title,
.page-casino-games__promotions-section .page-casino-games__text-block {
  color: #ffffff;
}

.page-casino-games__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-casino-games__promo-card {
  background: #1a2c4a;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino-games__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-casino-games__promo-image {
  width: 100%;
  max-width: 250px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-casino-games__promo-title {
  font-size: 22px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-casino-games__promo-description {
  font-size: 15px;
  color: #cccccc;
  margin-bottom: 20px;
}

.page-casino-games__blog-section {
  padding: 60px 0;
  background-color: #f1f3f5;
  color: #333333;
}

.page-casino-games__blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-casino-games__blog-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.page-casino-games__blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-casino-games__blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}

.page-casino-games__blog-title {
  font-size: 20px;
  font-weight: bold;
  color: #0A192F;
  margin: 20px 20px 10px;
  line-height: 1.3;
}

.page-casino-games__blog-link {
  text-decoration: none;
  color: #0A192F;
  transition: color 0.3s ease;
}

.page-casino-games__blog-link:hover {
  color: #FFD700;
  text-decoration: underline;
}

.page-casino-games__blog-excerpt {
  font-size: 15px;
  color: #666666;
  margin: 0 20px 15px;
  flex-grow: 1;
}

.page-casino-games__read-more {
  display: inline-block;
  margin: 0 20px 20px;
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-casino-games__read-more:hover {
  color: #0056b3;
  text-decoration: underline;
}

.page-casino-games__view-all-button-container {
  text-align: center;
  margin-top: 40px;
}

.page-casino-games__faq-section {
  padding: 60px 0;
  background-color: #ffffff;
  color: #333333;
}

.page-casino-games__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

.page-casino-games__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-casino-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 20px;
  opacity: 0;
}

.page-casino-games__faq-item.active .page-casino-games__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 8px 8px;
}

.page-casino-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-casino-games__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-casino-games__faq-question:active {
  background: #eeeeee;
}

.page-casino-games__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #333333;
}

.page-casino-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-casino-games__faq-item.active .page-casino-games__faq-toggle {
  color: #0A192F;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-casino-games__main-title {
    font-size: 34px;
  }
  .page-casino-games__section-title {
    font-size: 28px;
  }
  .page-casino-games__category-title {
    font-size: 24px;
  }
  .page-casino-games__promo-image {
    max-width: 200px;
  }
  .page-casino-games__blog-image {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .page-casino-games__intro-section {
    padding-top: 100px !important; /* Mobile padding to clear fixed header */
    padding-bottom: 30px;
  }
  .page-casino-games__container {
    padding: 0 15px;
  }
  .page-casino-games__main-title {
    font-size: 28px;
    margin-bottom: 20px;
  }
  .page-casino-games__description {
    font-size: 16px;
  }
  .page-casino-games__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    margin-top: 25px;
  }
  .page-casino-games__section-title {
    font-size: 26px;
    margin-bottom: 30px;
    margin-top: 40px;
  }
  .page-casino-games__text-block {
    font-size: 15px;
  }
  .page-casino-games__game-category {
    padding: 20px;
  }
  .page-casino-games__game-category-header {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-bottom: 10px;
  }
  .page-casino-games__category-icon {
    width: 60px;
    height: 60px;
    margin-right: 0;
    margin-bottom: 10px;
  }
  .page-casino-games__category-title {
    font-size: 22px;
    text-align: left;
    width: 100%;
  }
  .page-casino-games__promo-grid,
  .page-casino-games__blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-casino-games__promo-card {
    padding: 20px;
  }
  .page-casino-games__promo-image {
    max-width: 150px;
  }
  .page-casino-games__promo-title {
    font-size: 20px;
  }
  .page-casino-games__promo-description {
    font-size: 14px;
  }
  .page-casino-games__blog-image {
    height: 160px;
  }
  .page-casino-games__blog-title {
    font-size: 18px;
    margin: 15px 15px 8px;
  }
  .page-casino-games__blog-excerpt {
    font-size: 14px;
    margin: 0 15px 12px;
  }
  .page-casino-games__read-more {
    margin: 0 15px 15px;
  }
  .page-casino-games__faq-list {
    margin-top: 30px;
  }
  .page-casino-games__faq-question {
    padding: 15px;
  }
  .page-casino-games__faq-question h3 {
    font-size: 16px;
  }
  .page-casino-games__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }
  .page-casino-games__faq-item.active .page-casino-games__faq-answer {
    padding: 15px !important;
  }

  /* Ensure all images are responsive and prevent horizontal scroll */
  .page-casino-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-casino-games__section,
  .page-casino-games__card,
  .page-casino-games__container,
  .page-casino-games__game-category,
  .page-casino-games__promo-card,
  .page-casino-games__blog-card,
  .page-casino-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-casino-games__intro-section, 
  .page-casino-games__game-types-section, 
  .page-casino-games__promotions-section, 
  .page-casino-games__blog-section, 
  .page-casino-games__faq-section {
    padding-left: 0;
    padding-right: 0;
  }
}