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

.page-casino__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  background-color: #f8f8f8;
  text-align: center;
  padding-bottom: 40px;
}

.page-casino__hero-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
  z-index: 2;
}

.page-casino__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-casino__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

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

.page-casino__hero-description {
  font-size: 1.3rem;
  color: #ffffff;
  margin-bottom: 30px;
  line-height: 1.6;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
  position: relative;
  z-index: 2;
}

.page-casino__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.page-casino__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}

.page-casino__btn--primary {
  background-color: #FFD700;
  color: #8B0000;
  border: 2px solid #FFD700;
}

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

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

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

.page-casino__btn--small {
  padding: 10px 20px;
  font-size: 0.95rem;
}

.page-casino__btn--large {
  padding: 18px 40px;
  font-size: 1.3rem;
}

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

.page-casino__section-title {
  font-size: 2.5rem;
  color: #8B0000;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.page-casino__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  margin: 10px auto 0;
  border-radius: 2px;
}

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

/* About Section */
.page-casino__about-section {
  background-color: #ffffff;
  padding: 60px 0;
}

/* Game Categories Section */
.page-casino__game-categories-section {
  background-color: #f0f0f0;
  padding: 60px 0;
}

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

.page-casino__game-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-casino__game-card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  border-bottom: 4px solid #FFD700;
}

.page-casino__game-card-title {
  font-size: 1.6rem;
  color: #8B0000;
  margin: 25px 15px 15px;
}

.page-casino__game-card-title a {
  color: inherit;
  text-decoration: none;
}

.page-casino__game-card-title a:hover {
  text-decoration: underline;
}

.page-casino__game-card-description {
  font-size: 0.95rem;
  color: #666666;
  padding: 0 20px 25px;
  line-height: 1.6;
}

/* Promotions Section */
.page-casino__promotions-section {
  background-color: #ffffff;
  padding: 60px 0;
}

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

.page-casino__promo-card {
  background-color: #fdfdfd;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.page-casino__promo-card-image {
  width: 100%;
  height: 200px; /* Consistent image height */
  object-fit: cover;
  display: block;
  border-bottom: 3px solid #8B0000;
}

.page-casino__promo-card-title {
  font-size: 1.5rem;
  color: #8B0000;
  margin: 20px 15px 10px;
}

.page-casino__promo-card-title a {
  color: inherit;
  text-decoration: none;
}

.page-casino__promo-card-title a:hover {
  text-decoration: underline;
}

.page-casino__promo-card-description {
  font-size: 0.9rem;
  color: #777777;
  padding: 0 20px 20px;
  line-height: 1.5;
}

.page-casino__full-promo-cta {
  text-align: center;
  margin-top: 50px;
}

/* Why Choose Section */
.page-casino__why-choose-section {
  background-color: #f0f0f0;
  padding: 60px 0;
}

.page-casino__benefits-list {
  list-style: none;
  padding: 0;
  margin: 50px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-casino__benefit-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07);
  text-align: center;
}

.page-casino__benefit-title {
  font-size: 1.4rem;
  color: #8B0000;
  margin-bottom: 15px;
}

.page-casino__benefit-description {
  font-size: 0.95rem;
  color: #666666;
  line-height: 1.6;
}

/* Getting Started Section */
.page-casino__getting-started-section {
  background-color: #ffffff;
  padding: 60px 0;
}

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

.page-casino__step-card {
  background-color: #fffaf0; /* Light gold tint */
  border: 1px solid #FFD700;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-casino__step-title {
  font-size: 1.5rem;
  color: #8B0000;
  margin-bottom: 15px;
}

.page-casino__step-description {
  font-size: 0.95rem;
  color: #666666;
  line-height: 1.6;
}

.page-casino__cta-bottom {
  text-align: center;
  margin-top: 50px;
}

/* Responsible Gaming Section */
.page-casino__responsible-gaming-section {
  background-color: #f0f0f0;
  padding: 60px 0;
}

/* FAQ Section */
.page-casino__faq-section {
  background-color: #ffffff;
  padding: 60px 0;
}

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

.page-casino__faq-item {
  border-bottom: 1px solid #eeeeee;
  padding: 20px 0;
}

.page-casino__faq-item:last-child {
  border-bottom: none;
}

.page-casino__faq-question {
  font-size: 1.25rem;
  color: #8B0000;
  margin-bottom: 10px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-casino__faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: bold;
  color: #FFD700;
  transition: transform 0.3s ease;
}

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

.page-casino__faq-answer {
  font-size: 1rem;
  color: #666666;
  line-height: 1.6;
  padding-top: 10px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding-top 0.4s ease-out;
}

.page-casino__faq-answer.active {
  max-height: 200px; /* Adjust as needed for content length */
  padding-top: 15px;
}

/* Final CTA Section */
.page-casino__cta-section {
  background-color: #8B0000;
  padding: 80px 20px;
  text-align: center;
}

.page-casino__cta-section .page-casino__section-title {
  color: #FFD700;
}

.page-casino__cta-section .page-casino__section-title::after {
  background-color: #ffffff;
}

.page-casino__cta-section .page-casino__section-text {
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-casino__hero-title {
    font-size: 3rem;
  }
  .page-casino__hero-description {
    font-size: 1.1rem;
  }
  .page-casino__section-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .page-casino__hero-section {
    padding-top: var(--header-offset, 120px);
    padding: 30px 15px;
  }
  .page-casino__hero-title {
    font-size: 2.2rem;
  }
  .page-casino__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  .page-casino__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-casino__btn {
    width: 100%;
    max-width: 300px;
  }
  .page-casino__container {
    padding: 30px 15px;
  }
  .page-casino__section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }
  .page-casino__section-text {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }
  .page-casino__game-grid, .page-casino__promo-cards, .page-casino__benefits-list, .page-casino__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-casino__game-card-image, .page-casino__promo-card-image {
    height: 200px;
  }
  .page-casino__game-card-title, .page-casino__promo-card-title {
    font-size: 1.4rem;
  }
  .page-casino__faq-question {
    font-size: 1.1rem;
  }
  /* Ensure all images within .page-casino are responsive and don't overflow */
  .page-casino img {
    max-width: 100%;
    height: auto;
  }
  .page-casino__hero-image {
    position: relative;
    height: auto;
    margin-top: 20px;
  }
  .page-casino__hero-image-wrapper {
    position: relative;
    height: auto;
    width: 100%;
    margin-top: 20px;
  }
}

@media (max-width: 480px) {
  .page-casino__hero-title {
    font-size: 1.8rem;
  }
  .page-casino__hero-description {
    font-size: 0.9rem;
  }
  .page-casino__btn {
    padding: 12px 25px;
    font-size: 0.95rem;
  }
  .page-casino__section-title {
    font-size: 1.6rem;
  }
  .page-casino__section-text {
    font-size: 0.85rem;
  }
  .page-casino__game-card-title, .page-casino__promo-card-title {
    font-size: 1.2rem;
  }
  .page-casino__faq-question {
    font-size: 1rem;
  }
}