.page-casino {
  color: #333333; /* Dark text for default light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensures content starts below fixed header */
}

.page-casino__hero-section {
  background-color: #f8f8f8;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  text-align: center;
  gap: 40px;
}

.page-casino__hero-content {
  max-width: 800px;
  margin-bottom: 20px;
}

.page-casino__hero-title {
  font-size: 3.2em;
  color: #8B0000; /* Deep Red for main title */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-casino__hero-description {
  font-size: 1.2em;
  color: #555555;
  margin-bottom: 30px;
}

.page-casino__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-casino__hero-btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  min-width: 200px;
  text-align: center;
}

.page-casino__hero-btn--primary {
  background-color: #FFD700; /* Gold */
  color: #8B0000; /* Deep Red */
  border: 2px solid #FFD700;
}

.page-casino__hero-btn--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-casino__hero-btn--secondary {
  background-color: #8B0000; /* Deep Red */
  color: #FFD700; /* Gold */
  border: 2px solid #8B0000;
}

.page-casino__hero-btn--secondary:hover {
  background-color: #6a0000;
  transform: translateY(-2px);
}

.page-casino__hero-image-container {
  max-width: 1000px;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.page-casino__hero-image {
  display: block;
  width: 100%;
  height: auto;
}

.page-casino__section-title {
  font-size: 2.5em;
  color: #8B0000;
  text-align: center;
  margin: 60px 0 20px;
  font-weight: bold;
}

.page-casino__section-description {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
}

.page-casino__games-overview-section,
.page-casino__featured-games-section,
.page-casino__promotions-section,
.page-casino__why-choose-section,
.page-casino__testimonials-section,
.page-casino__faq-section,
.page-casino__cta-section,
.page-casino__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-casino__game-categories-grid,
.page-casino__featured-games-grid,
.page-casino__promotions-grid,
.page-casino__features-grid,
.page-casino__testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-casino__game-card,
.page-casino__featured-game-item,
.page-casino__promo-card,
.page-casino__feature-item,
.page-casino__testimonial-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-casino__game-card:hover,
.page-casino__featured-game-item:hover,
.page-casino__promo-card:hover,
.page-casino__feature-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-casino__game-card-image,
.page-casino__featured-game-image,
.page-casino__promo-card-image,
.page-casino__feature-icon {
  width: 100%;
  max-width: 400px; /* Constrain image width within card */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block; /* Ensure no extra space below image */
  object-fit: cover;
  margin-left: auto;
  margin-right: auto;
}

/* Ensure all content area images are at least 200px */
.page-casino__game-card-image,
.page-casino__featured-game-image,
.page-casino__promo-card-image,
.page-casino__feature-icon,
.page-casino__content-area img {
  min-width: 200px;
  min-height: 200px;
}

.page-casino__game-card-title,
.page-casino__featured-game-title,
.page-casino__promo-card-title,
.page-casino__feature-title {
  font-size: 1.5em;
  color: #8B0000;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-casino__game-card-title a,
.page-casino__featured-game-title a,
.page-casino__promo-card-title a {
  color: #8B0000;
  text-decoration: none;
}

.page-casino__game-card-title a:hover,
.page-casino__featured-game-title a:hover,
.page-casino__promo-card-title a:hover {
  text-decoration: underline;
}

.page-casino__game-card-text,
.page-casino__featured-game-text,
.page-casino__promo-card-text,
.page-casino__feature-text {
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-casino__game-card-btn,
.page-casino__featured-game-btn,
.page-casino__promo-card-btn,
.page-casino__promotions-all-btn,
.page-casino__faq-all-btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  background-color: #FFD700; /* Gold */
  color: #8B0000; /* Deep Red */
  border: 2px solid #FFD700;
  margin-top: 15px;
}

.page-casino__game-card-btn:hover,
.page-casino__featured-game-btn:hover,
.page-casino__promo-card-btn:hover,
.page-casino__promotions-all-btn:hover,
.page-casino__faq-all-btn:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-casino__promotions-link,
.page-casino__faq-link {
  text-align: center;
  margin-top: 40px;
}

.page-casino__testimonial-card {
  background-color: #fcfcfc;
  border: 1px solid #eee;
  padding: 30px;
  font-style: italic;
  color: #555555;
  text-align: left;
}

.page-casino__testimonial-text {
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-casino__testimonial-author {
  font-weight: bold;
  color: #8B0000;
  font-size: 1em;
}

.page-casino__faq-accordion {
  margin-top: 40px;
}

.page-casino__faq-item {
  background-color: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-casino__faq-question {
  font-size: 1.3em;
  color: #8B0000;
  padding: 20px;
  margin: 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  transition: background-color 0.3s ease;
}

.page-casino__faq-question::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-casino__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-casino__faq-answer {
  font-size: 1em;
  color: #666666;
  padding: 0 20px 20px;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-casino__faq-question.active + .page-casino__faq-answer {
  max-height: 200px; /* Adjust as needed */
  padding: 0 20px 20px;
}

.page-casino__cta-section {
  background-color: #8B0000; /* Deep Red background */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  border-radius: 12px;
  margin-top: 60px;
}

.page-casino__cta-section .page-casino__section-title,
.page-casino__cta-section .page-casino__section-description {
  color: #ffffff;
}

.page-casino__cta-btn {
  display: inline-block;
  padding: 18px 35px;
  background-color: #FFD700; /* Gold */
  color: #8B0000; /* Deep Red */
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.3em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: 30px;
}

.page-casino__cta-btn:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-casino__content-subtitle {
  font-size: 2em;
  color: #8B0000;
  margin: 40px 0 15px;
  font-weight: bold;
}

.page-casino__content-area p {
  margin-bottom: 20px;
  color: #444444;
}

.page-casino__content-area a {
  color: #8B0000;
  text-decoration: underline;
}

.page-casino__content-area a:hover {
  color: #FFD700;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-casino__hero-title {
    font-size: 2.8em;
  }
  .page-casino__section-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-casino {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header height */
  }
  .page-casino__hero-section {
    padding: 40px 15px;
  }
  .page-casino__hero-title {
    font-size: 2.2em;
  }
  .page-casino__hero-description {
    font-size: 1em;
  }
  .page-casino__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-casino__hero-btn {
    width: 100%;
    max-width: 300px;
  }
  .page-casino__section-title {
    font-size: 1.8em;
    margin: 40px 0 15px;
  }
  .page-casino__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-casino__game-categories-grid,
  .page-casino__featured-games-grid,
  .page-casino__promotions-grid,
  .page-casino__features-grid,
  .page-casino__testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-casino__game-card,
  .page-casino__featured-game-item,
  .page-casino__promo-card,
  .page-casino__feature-item,
  .page-casino__testimonial-card {
    padding: 20px;
  }
  .page-casino__game-card-image,
  .page-casino__featured-game-image,
  .page-casino__promo-card-image,
  .page-casino__feature-icon,
  .page-casino__content-area img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px;
  }
  .page-casino__cta-section {
    padding: 60px 15px;
  }
  .page-casino__cta-btn {
    font-size: 1.1em;
    padding: 15px 25px;
  }
  .page-casino__content-subtitle {
    font-size: 1.6em;
  }
  /* Mobile content area images must not overflow */
  .page-casino__content-area img {
    max-width: 100%;
    height: auto;
  }
  .page-casino {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-casino__hero-title {
    font-size: 1.8em;
  }
  .page-casino__hero-description {
    font-size: 0.9em;
  }
  .page-casino__hero-btn {
    font-size: 1em;
    padding: 12px 20px;
  }
  .page-casino__section-title {
    font-size: 1.6em;
  }
  .page-casino__section-description {
    font-size: 0.85em;
  }
  .page-casino__game-card-title,
  .page-casino__featured-game-title,
  .page-casino__promo-card-title,
  .page-casino__feature-title {
    font-size: 1.3em;
  }
  .page-casino__game-card-text,
  .page-casino__featured-game-text,
  .page-casino__promo-card-text,
.page-casino__feature-text {
    font-size: 0.9em;
  }
  .page-casino__faq-question {
    font-size: 1.1em;
  }
  .page-casino__faq-answer {
    font-size: 0.9em;
  }
  .page-casino__cta-btn {
    font-size: 1em;
    padding: 12px 25px;
  }
  .page-casino__content-subtitle {
    font-size: 1.4em;
  }
}