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

.page-casino__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-casino__hero-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-casino__hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  max-width: 900px;
  padding: 40px 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-casino__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-casino__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.6;
}

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

.page-casino__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.3s ease;
}

.page-casino__btn--primary {
  background-color: #007bff;
  color: #ffffff;
  border: 2px solid #007bff;
}

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

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

.page-casino__btn--secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.page-casino__btn--tertiary {
  background-color: #28a745;
  color: #ffffff;
  border: 2px solid #28a745;
}

.page-casino__btn--tertiary:hover {
  background-color: #1e7e34;
  border-color: #1e7e34;
  transform: translateY(-2px);
}

.page-casino__btn--promo {
  background-color: #007bff;
  color: #ffffff;
  border: 2px solid #007bff;
}

.page-casino__btn--promo:hover {
  background-color: #0056b3;
  border-color: #0056b3;
  transform: translateY(-2px);
}

.page-casino__btn--text {
  color: #007bff;
  text-decoration: underline;
  background: none;
  border: none;
  padding: 0;
  font-size: 1em;
}

.page-casino__btn--text:hover {
  color: #0056b3;
  transform: none;
}

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

.page-casino__section-title {
  font-size: 2.5em;
  color: #007bff;
  text-align: center;
  margin-bottom: 20px;
  margin-top: 60px;
}

.page-casino__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  line-height: 1.6;
}

/* Features Section */
.page-casino__features-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

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

.page-casino__feature-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-casino__feature-icon {
  width: 100%;
  height: auto;
  max-width: 250px; /* Ensure images are not too small */
  max-height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-casino__feature-title {
  font-size: 1.5em;
  color: #007bff;
  margin-bottom: 15px;
}

.page-casino__feature-text {
  font-size: 1em;
  line-height: 1.6;
}

/* Games Section */
.page-casino__games-section {
  padding: 80px 0;
}

.page-casino__game-category {
  background-color: #ffffff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  margin-bottom: 40px;
  text-align: center;
}

.page-casino__category-title {
  font-size: 2em;
  color: #28a745;
  margin-bottom: 20px;
}

.page-casino__category-image {
  width: 100%;
  height: auto;
  max-width: 800px; /* Ensure images are not too small */
  max-height: 450px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
}

.page-casino__category-description {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-casino__promo-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-casino__promo-image {
  width: 100%;
  height: auto;
  max-width: 600px; /* Ensure images are not too small */
  max-height: 400px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-casino__promo-title {
  font-size: 1.6em;
  color: #007bff;
  margin-bottom: 15px;
}

.page-casino__promo-text {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 25px;
}

/* Mobile Section */
.page-casino__mobile-section {
  padding: 80px 0;
}

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

.page-casino__mobile-text {
  flex: 1;
  min-width: 300px;
}

.page-casino__mobile-image {
  flex: 1;
  min-width: 300px;
  width: 100%;
  height: auto;
  max-width: 800px; /* Ensure images are not too small */
  max-height: 600px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Safety Section */
.page-casino__safety-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

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

.page-casino__safety-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-casino__safety-title {
  font-size: 1.4em;
  color: #28a745;
  margin-bottom: 15px;
}

.page-casino__safety-text {
  font-size: 0.95em;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* FAQ Section */
.page-casino__faq-section {
  padding: 80px 0;
}

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

.page-casino__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px 25px;
}

.page-casino__faq-question {
  font-size: 1.2em;
  color: #007bff;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-casino__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

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

.page-casino__faq-answer {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  display: none;
  padding-top: 10px;
}

.page-casino__faq-answer.active {
  display: block;
}

/* CTA Section */
.page-casino__cta-section {
  background: linear-gradient(135deg, #007bff, #28a745);
  padding: 80px 20px;
  text-align: center;
  color: #ffffff;
}

.page-casino__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #ffffff;
}

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

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

@media (max-width: 768px) {
  .page-casino__hero-section {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header offset */
    height: auto;
    min-height: 500px;
  }
  .page-casino__hero-image {
    position: absolute;
    width: 100%;
    height: 100%;
  }
  .page-casino__hero-content {
    padding: 30px 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__btn {
    width: 100%;
  }
  .page-casino__section-title {
    font-size: 2em;
    margin-top: 40px;
  }
  .page-casino__section-intro {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-casino__features-grid, .page-casino__promotions-grid, .page-casino__safety-grid {
    grid-template-columns: 1fr;
  }
  .page-casino__mobile-content {
    flex-direction: column;
    gap: 30px;
  }
  .page-casino__mobile-image, .page-casino__mobile-text {
    width: 100%;
  }
  .page-casino__mobile-image img, .page-casino__category-image img, .page-casino__feature-icon img, .page-casino__promo-image img {
    max-width: 100%;
    height: auto;
  }
  .page-casino__cta-title {
    font-size: 2em;
  }
  .page-casino__cta-description {
    font-size: 1em;
  }
  /* Ensure all content area images are responsive and don't overflow */
  .page-casino 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__btn {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-casino__section-title {
    font-size: 1.8em;
  }
  .page-casino__cta-title {
    font-size: 1.8em;
  }
}