.page-casino {
  color: #333333; /* Dark text for default white body background */
}

.page-casino__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Ensure hero section has a minimum height */
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  background-color: #1a1a1a; /* Dark background for hero */
}

.page-casino__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.6; /* Slightly dim the image to make text stand out */
}

.page-casino__hero-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
  color: #ffffff; /* Light text for dark hero background */
}

.page-casino__hero-content {
  position: relative;
  z-index: 3;
}

.page-casino__hero-title {
  font-size: 3.5em;
  font-weight: 700;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for main title */
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-casino__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  color: #f0f0f0;
}

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

.page-casino__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  min-width: 180px;
}

.page-casino__btn--primary {
  background-color: #FFD700; /* Gold button */
  color: #8B0000; /* Deep red text for contrast */
  border: 2px solid #FFD700;
}

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

.page-casino__btn--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
}

.page-casino__btn--secondary:hover {
  background-color: #FFD700;
  color: #8B0000; /* Deep red text */
  transform: translateY(-2px);
}

.page-casino__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
  min-width: 120px;
}

.page-casino__btn--large {
  padding: 18px 35px;
  font-size: 1.2em;
  min-width: 220px;
}

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

.page-casino__section-title {
  font-size: 2.8em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #8B0000; /* Deep red for section titles */
  position: relative;
  padding-bottom: 15px;
}

.page-casino__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700; /* Gold underline */
  border-radius: 2px;
}

.page-casino__section-subtitle {
  font-size: 1.2em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 60px auto;
  line-height: 1.6;
  color: #555555;
}

.page-casino__features-section,
.page-casino__game-types-section,
.page-casino__how-to-play-section,
.page-casino__faq-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.page-casino__features-section:nth-of-type(odd) {
  background-color: #ffffff;
}

.page-casino__features-grid,
.page-casino__game-categories-grid,
.page-casino__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-casino__feature-card,
.page-casino__category-card,
.page-casino__step-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-casino__feature-card:hover,
.page-casino__category-card:hover,
.page-casino__step-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.page-casino__feature-icon {
  width: 250px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 25px;
  border-radius: 8px;
}

.page-casino__feature-title,
.page-casino__category-title {
  font-size: 1.8em;
  font-weight: 700;
  margin-bottom: 15px;
  color: #8B0000; /* Deep red for feature/category titles */
}

.page-casino__feature-text,
.page-casino__category-description {
  font-size: 1em;
  line-height: 1.7;
  color: #666666;
  flex-grow: 1;
}

.page-casino__category-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
}

.page-casino__category-card .page-casino__btn {
  margin-top: 20px;
}

.page-casino__step-number {
  font-size: 1.8em;
  font-weight: 700;
  color: #FFD700; /* Gold for step numbers */
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 10px;
}

.page-casino__step-number::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: #8B0000; /* Deep red underline */
  border-radius: 2px;
}

.page-casino__step-description {
  font-size: 1em;
  line-height: 1.7;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-casino__cta-section {
  background: linear-gradient(135deg, #8B0000 0%, #a03030 100%); /* Red gradient background */
  padding: 100px 0;
  text-align: center;
  color: #ffffff;
}

.page-casino__cta-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.page-casino__cta-image {
  width: 450px;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  max-width: 100%;
}

.page-casino__cta-content {
  max-width: 600px;
  text-align: left;
}

.page-casino__cta-title {
  font-size: 3em;
  font-weight: 700;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for CTA title */
  line-height: 1.2;
}

.page-casino__cta-description {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-casino__cta-content .page-casino__btn {
  margin-top: 0;
}

.page-casino__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-casino__faq-item {
  background-color: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-casino__faq-question {
  font-size: 1.3em;
  font-weight: 600;
  color: #8B0000; /* Deep red for FAQ questions */
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
}

.page-casino__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  color: #FFD700;
  transition: transform 0.3s ease;
}

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

.page-casino__faq-answer {
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.page-casino__faq-answer.open {
  max-height: 200px; /* Adjust as needed */
  margin-top: 15px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-casino__hero-title {
    font-size: 3em;
  }
  .page-casino__cta-title {
    font-size: 2.5em;
  }
  .page-casino__hero-image,
  .page-casino__cta-image {
    width: 100%;
    max-width: 600px;
  }
}

@media (max-width: 768px) {
  .page-casino__hero-section {
    min-height: 500px;
    padding-top: var(--header-offset, 120px);
  }
  .page-casino__hero-title {
    font-size: 2.5em;
  }
  .page-casino__hero-description {
    font-size: 1.1em;
  }
  .page-casino__section-title {
    font-size: 2.2em;
  }
  .page-casino__section-subtitle {
    font-size: 1em;
    margin-bottom: 40px;
  }
  .page-casino__features-grid,
  .page-casino__game-categories-grid,
  .page-casino__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-casino__feature-card,
  .page-casino__category-card,
  .page-casino__step-card {
    padding: 25px;
  }
  .page-casino__feature-icon,
  .page-casino__category-image {
    width: 100%;
    height: auto;
    max-width: 300px; /* Ensures image is not too small but responsive */
    min-width: 200px;
    min-height: 200px;
  }
  .page-casino__cta-container {
    flex-direction: column;
    text-align: center;
  }
  .page-casino__cta-content {
    text-align: center;
  }
  .page-casino__cta-title {
    font-size: 2em;
  }
  .page-casino__cta-description {
    font-size: 1em;
  }
  .page-casino__hero-actions {
    flex-direction: column;
  }
  .page-casino__btn {
    width: 100%;
    max-width: 300px;
  }
  /* Ensure all images within .page-casino are responsive and not too small */
  .page-casino img {
    max-width: 100%;
    height: auto;
    object-fit: cover; /* Maintain aspect ratio */
    min-width: 200px;
    min-height: 200px;
  }
  .page-casino__hero-image {
    min-height: 250px;
  }
}

@media (max-width: 480px) {
  .page-casino__hero-title {
    font-size: 2em;
  }
  .page-casino__hero-description {
    font-size: 0.9em;
  }
  .page-casino__section-title {
    font-size: 1.8em;
  }
  .page-casino__cta-title {
    font-size: 1.8em;
  }
  .page-casino__btn {
    padding: 12px 20px;
    font-size: 1em;
  }
}