.page-casino {
  color: #ffffff; /* Light text for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-casino__section-title {
  font-size: 2.8em;
  color: #FFD700; /* Gold accent for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-casino__section-intro {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.8);
}

.page-casino__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 1em;
  cursor: pointer;
  border: none;
}

.page-casino__btn--primary {
  background-color: #FFD700; /* Gold accent */
  color: #1A202C; /* Dark text for gold background */
}

.page-casino__btn--primary:hover {
  background-color: #e6c200;
}

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

.page-casino__btn--secondary:hover {
  background-color: #FFD700;
  color: #1A202C;
}

.page-casino__btn--small {
  padding: 8px 15px;
  font-size: 0.9em;
}

.page-casino__btn--link {
  background: none;
  border: none;
  color: #FFD700;
  text-decoration: underline;
  padding: 0;
  margin-top: 10px;
}

.page-casino__btn--link:hover {
  color: #e6c200;
}

/* Hero Section */
.page-casino__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  background-color: #1A202C;
}

.page-casino__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6); /* Darken image for text readability */
  z-index: 1;
}

.page-casino__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text */
  border-radius: 10px;
}

.page-casino__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.page-casino__hero-description {
  font-size: 1.3em;
  color: #ffffff;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Game Categories Section */
.page-casino__game-categories {
  padding: 80px 0;
  background-color: #2D3748;
}

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

.page-casino__category-card {
  background-color: #1A202C;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-casino__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-casino__card-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-casino__card-title a {
  color: #FFD700;
  text-decoration: none;
}

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

.page-casino__card-text {
  color: rgba(255, 255, 255, 0.7);
  padding: 0 20px;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Why Choose Section */
.page-casino__why-choose {
  padding: 80px 0;
  background-color: #1A202C;
}

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

.page-casino__feature-item {
  background-color: #2D3748;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-casino__feature-icon {
  width: 250px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-casino__feature-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-casino__feature-text {
  color: rgba(255, 255, 255, 0.7);
}

/* Responsible Gaming Section */
.page-casino__responsible-gaming {
  padding: 60px 0;
  background-color: #2D3748;
  text-align: center;
}

/* FAQ Section */
.page-casino__faq {
  padding: 80px 0;
  background-color: #1A202C;
}

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

.page-casino__faq-item {
  background-color: #2D3748;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-casino__faq-question {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-casino__faq-answer {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1em;
}

/* CTA Section */
.page-casino__cta-section {
  padding: 80px 0;
  background-color: #2D3748;
  text-align: center;
}

.page-casino__cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

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

@media (max-width: 768px) {
  .page-casino__hero-section {
    min-height: 500px;
  }
  .page-casino__hero-title {
    font-size: 2.5em;
  }
  .page-casino__hero-description {
    font-size: 1.1em;
  }
  .page-casino__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-casino__btn {
    width: 80%;
    max-width: 300px;
  }
  .page-casino__section-title {
    font-size: 1.8em;
  }
  .page-casino__section-intro {
    font-size: 1em;
  }
  .page-casino__categories-grid,
  .page-casino__features-grid {
    grid-template-columns: 1fr;
  }
  .page-casino__card-image,
  .page-casino__feature-icon {
    max-width: 100%;
    height: auto;
  }
  /* Ensure all content area images are responsive and do not overflow */
  .page-casino img {
    max-width: 100%;
    height: auto;
  }
  .page-casino {
    overflow-x: hidden;
  }
  .page-casino__hero-section {
    padding-top: var(--header-offset, 80px);
  }
  .page-casino__category-card, .page-casino__feature-item, .page-casino__faq-item {
    padding: 20px;
  }
  .page-casino__card-title, .page-casino__feature-title, .page-casino__faq-question {
    font-size: 1.5em;
  }
  .page-casino__faq-answer {
    font-size: 0.95em;
  }
}

@media (max-width: 480px) {
  .page-casino__hero-title {
    font-size: 2em;
  }
  .page-casino__hero-description {
    font-size: 1em;
  }
  .page-casino__section-title {
    font-size: 1.6em;
  }
  .page-casino__btn {
    width: 90%;
  }
  .page-casino__category-card, .page-casino__feature-item, .page-casino__faq-item {
    padding: 15px;
  }
  .page-casino__card-title, .page-casino__feature-title, .page-casino__faq-question {
    font-size: 1.3em;
  }
}