.page-casino {
  color: #333333; /* Dark text for light body background */
  line-height: 1.6;
  font-family: Arial, sans-serif;
  background-color: #FFFFFF;
  padding-top: var(--header-offset, 120px);
}

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

.page-casino__hero-section {
  background-color: #000000; /* Dark background for hero to contrast with content */
  color: #FFFFFF;
  padding: 80px 20px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

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

.page-casino__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-casino__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

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

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

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

.page-casino__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}

.page-casino__button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-casino__button--register:hover {
  background-color: transparent;
  color: #FFFFFF;
  border-color: #FFFFFF;
}

.page-casino__button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-casino__button--login:hover {
  background-color: transparent;
  color: #FCBC45;
  border-color: #FCBC45;
}

.page-casino__section-title {
  font-size: 2.8em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
}

.page-casino__section-text {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

.page-casino__feature-card:hover {
  transform: translateY(-10px);
}

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

.page-casino__feature-description {
  font-size: 1em;
  color: #555555;
}

.page-casino__games-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

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

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

.page-casino__game-image {
  width: 100%;
  height: 200px; /* Enforce minimum height */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

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

.page-casino__game-description {
  font-size: 0.95em;
  color: #555555;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-casino__button--play {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-casino__button--play:hover {
  background-color: transparent;
  color: #FCBC45;
  border-color: #FCBC45;
}

.page-casino__section-text--cta {
  margin-top: 40px;
  font-weight: bold;
  color: #000000;
}

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

.page-casino__button--learn-more {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

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

.page-casino__promotions-section {
  padding: 60px 0;
  background-color: #F8F8F8;
}

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

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

.page-casino__promo-image {
  width: 100%;
  height: 220px; /* Enforce minimum height */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

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

.page-casino__promo-description {
  font-size: 0.95em;
  color: #555555;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-casino__button--claim {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-casino__button--claim:hover {
  background-color: transparent;
  color: #FCBC45;
  border-color: #FCBC45;
}

.page-casino__button--view-all {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

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

.page-casino__responsible-gaming-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-casino__responsible-gaming-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
}

.page-casino__responsible-gaming-image {
  max-width: 500px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-casino__responsible-gaming-text {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}

.page-casino__sub-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 20px;
}

.page-casino__responsible-gaming-text ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 30px;
  color: #555555;
}

.page-casino__responsible-gaming-text li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-casino__faq-section {
  padding: 60px 0;
  background-color: #F8F8F8;
}

.page-casino__faq-item {
  background-color: #FFFFFF;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

.page-casino__faq-item:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

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

.page-casino__faq-question.active::after {
  content: '-';
}

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

.page-casino__faq-answer.open {
  max-height: 200px; /* Adjust as needed */
  transition: max-height 0.5s ease-in;
}

.page-casino__cta-section {
  background-color: #000000;
  color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
}

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

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

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

.page-casino__cta-buttons .page-casino__button--register {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
}

.page-casino__cta-buttons .page-casino__button--register:hover {
  background-color: transparent;
  color: #FCBC45;
  border-color: #FCBC45;
}

.page-casino__cta-buttons .page-casino__button--download {
  background-color: #FFFFFF;
  color: #000000;
  border-color: #FFFFFF;
}

.page-casino__cta-buttons .page-casino__button--download:hover {
  background-color: transparent;
  color: #FFFFFF;
  border-color: #FFFFFF;
}

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

@media (max-width: 768px) {
  .page-casino__hero-title {
    font-size: 2.5em;
  }
  .page-casino__hero-description {
    font-size: 1.1em;
  }
  .page-casino__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-casino__button {
    width: 80%;
    max-width: 300px;
  }
  .page-casino__section-title {
    font-size: 1.8em;
  }
  .page-casino__section-text {
    font-size: 1em;
  }
  .page-casino__features-grid,
  .page-casino__games-grid,
  .page-casino__promotions-grid {
    grid-template-columns: 1fr;
  }
  .page-casino__responsible-gaming-content {
    flex-direction: column;
  }
  .page-casino__responsible-gaming-image {
    max-width: 100%;
  }
  .page-casino__responsible-gaming-text {
    min-width: unset;
    max-width: 100%;
  }
  .page-casino__game-image,
  .page-casino__promo-image {
    height: 200px; /* Ensure minimum height on mobile */
    max-width: 100%;
    width: 100%;
  }
  .page-casino__container {
    padding: 0 15px;
  }
  .page-casino__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-casino__cta-buttons .page-casino__button {
    width: 80%;
    max-width: 300px;
  }
  /* Ensure all content area images are responsive and not too small */
  .page-casino img {
    max-width: 100%;
    height: auto; /* Maintain aspect ratio */
    min-width: 200px; /* Enforce minimum width for content images */
    min-height: 200px; /* Enforce minimum height for content images */
  }
  .page-casino__game-image, .page-casino__promo-image, .page-casino__responsible-gaming-image {
    min-width: 200px; /* Specific images must also meet the minimum */
    min-height: 200px;
  }
}

@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.5em;
  }
  .page-casino__button {
    padding: 12px 20px;
    font-size: 0.9em;
  }
}