.page-casino {
  color: #333333; /* Default text color for light background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

.page-casino__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
  margin-top: 40px;
  font-weight: bold;
}

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

.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;
  border: none;
  cursor: pointer;
  font-size: 1em;
}

/* Hero Section */
.page-casino__hero-section {
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
  padding: 0;
  margin-bottom: 60px;
}

.page-casino__hero-container {
  position: relative;
  width: 100%;
  height: 600px; /* Fixed height for desktop */
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.page-casino__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 20px;
}

.page-casino__hero-title {
  font-size: 3.5em;
  margin-bottom: 15px;
  line-height: 1.2;
  font-weight: bold;
  color: #FFFFFF;
}

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

.page-casino__hero-actions .page-casino__btn {
  margin: 0 10px;
}

.page-casino__btn--register {
  background-color: #FFFFFF;
  color: #000000;
}

.page-casino__btn--register:hover {
  background-color: #F0F0F0;
  color: #000000;
}

.page-casino__btn--login {
  background-color: #FCBC45;
  color: #000000;
}

.page-casino__btn--login:hover {
  background-color: #E0A83A;
  color: #000000;
}

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

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

.page-casino__game-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

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

.page-casino__game-card-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-casino__game-card-text {
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
  padding: 0 15px;
  flex-grow: 1;
}

.page-casino__btn--play {
  background-color: #FCBC45;
  color: #000000;
}

.page-casino__btn--play:hover {
  background-color: #E0A83A;
}

/* Why Choose Us Section */
.page-casino__why-choose-us {
  padding: 60px 0;
}

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

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

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

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

.page-casino__feature-text {
  font-size: 0.95em;
  color: #666666;
}

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

.page-casino__promotions-image {
  width: 800px;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 40px auto;
  display: block;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.page-casino__btn--view-all {
  background-color: #000000;
  color: #FFFFFF;
}

.page-casino__btn--view-all:hover {
  background-color: #333333;
}

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

.page-casino__mobile-app-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.page-casino__mobile-app-text {
  flex: 1;
}

.page-casino__app-features {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  margin-bottom: 30px;
}

.page-casino__app-features li {
  font-size: 1.1em;
  margin-bottom: 10px;
  color: #333333;
  position: relative;
  padding-left: 25px;
}

.page-casino__app-features li::before {
  content: '✔';
  color: #FCBC45;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-casino__btn--download {
  background-color: #FCBC45;
  color: #000000;
}

.page-casino__btn--download:hover {
  background-color: #E0A83A;
}

.page-casino__mobile-app-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-casino__mobile-app-image {
  width: 600px;
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

.page-casino__responsible-gaming-image {
  width: 800px;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 40px auto;
  display: block;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.page-casino__btn--learn-more {
  background-color: #000000;
  color: #FFFFFF;
}

.page-casino__btn--learn-more:hover {
  background-color: #333333;
}

/* FAQ Section */
.page-casino__faq-section {
  padding: 60px 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;
  overflow: hidden;
}

.page-casino__faq-question {
  font-size: 1.2em;
  color: #000000;
  padding: 18px 25px;
  cursor: pointer;
  margin: 0;
  background-color: #F9F9F9;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.page-casino__faq-item.active .page-casino__faq-question::after {
  transform: rotate(45deg);
}

.page-casino__faq-answer {
  font-size: 1em;
  color: #555555;
  padding: 0 25px 18px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-casino__faq-item.active .page-casino__faq-answer {
  max-height: 200px; /* Adjust as needed */
  padding-top: 10px;
}

.page-casino__btn--view-all-faq {
  background-color: #000000;
  color: #FFFFFF;
  margin-top: 30px;
}

.page-casino__btn--view-all-faq:hover {
  background-color: #333333;
}

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

.page-casino__about-text {
  font-size: 1.1em;
  color: #444444;
  margin-bottom: 20px;
  text-align: justify;
}

.page-casino__about-actions {
  text-align: center;
  margin-top: 40px;
}

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

@media (max-width: 768px) {
  .page-casino__section-title {
    font-size: 2em;
  }
  .page-casino__section-intro {
    font-size: 1em;
  }
  .page-casino__hero-title {
    font-size: 2.2em;
  }
  .page-casino__hero-description {
    font-size: 1em;
  }
  .page-casino__hero-actions .page-casino__btn {
    display: block;
    margin: 10px auto;
  }
  .page-casino__hero-container {
    height: 450px;
  }

  .page-casino__game-grid,
  .page-casino__features-grid {
    grid-template-columns: 1fr;
  }

  .page-casino__mobile-app-content {
    flex-direction: column;
    text-align: center;
  }
  .page-casino__mobile-app-image-wrapper {
    order: -1; /* Image above text on mobile */
    margin-bottom: 30px;
  }
  .page-casino__app-features {
    text-align: left;
  }

  /* Critical: prevent content overflow on mobile */
  .page-casino img {
    max-width: 100%;
    height: auto;
  }
  .page-casino__promotions-image,
  .page-casino__responsible-gaming-image,
  .page-casino__mobile-app-image {
    width: 100%; /* Override fixed width for responsiveness */
  }

  /* Ensure content area images are not smaller than 200px */
  .page-casino__game-card-image,
  .page-casino__feature-icon {
    width: 100%; /* Will scale down if parent is smaller, but parent will be at least 300px minmax */
    height: auto; /* Maintain aspect ratio */
    min-width: 200px; /* Enforce minimum size */
    min-height: 150px; /* Enforce minimum height, for 4:3 aspect */
  }

  /* Ensure general content images are not smaller than 200px */
  .page-casino__container img:not(.page-casino__feature-icon):not(.page-casino__game-card-image) {
    min-width: 200px;
    min-
  }
}

@media (max-width: 480px) {
  .page-casino__hero-title {
    font-size: 1.8em;
  }
  .page-casino__hero-description {
    font-size: 0.9em;
  }
  .page-casino__hero-container {
    height: 400px;
  }
  .page-casino__btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-casino__section-title {
    font-size: 1.8em;
  }
  .page-casino__section-intro {
    font-size: 0.9em;
  }
}