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

.page-casino__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background-color: #1A1A1A; /* Auxiliary dark background */
  overflow: hidden;
}

.page-casino__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3;
}

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

.page-casino__main-title {
  font-size: 3.5em;
  color: #FFD700; /* Gold main color */
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
}

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

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

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

.page-casino__btn--primary {
  background-color: #FFD700; /* Gold primary button */
  color: #1A1A1A;
}

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

.page-casino__btn--secondary {
  background-color: #1A1A1A; /* Dark secondary button */
  color: #FFD700;
  border: 2px solid #FFD700;
}

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

.page-casino__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-casino__btn--large {
  padding: 18px 35px;
  font-size: 1.2em;
}

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

.page-casino__section-title {
  font-size: 2.8em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

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

.page-casino__games-overview,
.page-casino__why-choose,
.page-casino__responsible-gaming,
.page-casino__faq,
.page-casino__cta-section,
.page-casino__partners-section,
.page-casino__mobile-app-promo,
.page-casino__conclusion {
  padding: 60px 20px;
  background-color: #0F0F0F; /* Dark background */
}

.page-casino__games-overview {
  background-color: rgba(26, 26, 26, 0.8); /* Slightly lighter dark for contrast */
  border-radius: 10px;
  margin: 40px auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

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

.page-casino__category-card {
  background-color: #1A1A1A;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-casino__category-card:hover {
  transform: translateY(-5px);
}

.page-casino__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency and min size */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #FFD700;
}

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

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

.page-casino__why-choose {
  background-color: #0F0F0F;
}

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

.page-casino__feature-item {
  background-color: #1A1A1A;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

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

.page-casino__responsible-gaming {
  background-color: rgba(26, 26, 26, 0.8);
  border-radius: 10px;
  margin: 40px auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.page-casino__content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-casino__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-casino__responsible-image,
.page-casino__mobile-image {
  width: 100%;
  max-width: 500px;
  height: 350px; /* Fixed height for consistency and min size */
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid #FFD700;
}

.page-casino__text-content {
  flex: 1;
  min-width: 300px;
}

.page-casino__description {
  color: #cccccc;
  margin-bottom: 15px;
}

.page-casino__faq-list {
  margin-top: 40px;
}

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

.page-casino__faq-question {
  font-size: 1.3em;
  color: #FFD700;
  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 {
  color: #cccccc;
  font-size: 1em;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
}

.page-casino__faq-answer.open {
  max-height: 200px; /* Adjust as needed for content */
}

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

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

.page-casino__partners-section {
  background-color: #0F0F0F;
  padding-bottom: 80px;
}

.page-casino__providers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 40px;
  justify-items: center;
  align-items: center;
}

.page-casino__provider-logo {
  text-align: center;
  background-color: #1A1A1A;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 200px; /* Max width for provider logos */
}

.page-casino__provider-image {
  width: 200px;
  height: 100px; /* Fixed height for logos, compliant with min-size 200 in one dimension */
  object-fit: contain;
  margin-bottom: 10px;
}

.page-casino__provider-name {
  color: #FFD700;
  font-weight: bold;
  font-size: 0.9em;
}

.page-casino__mobile-app-promo {
  background-color: rgba(26, 26, 26, 0.8);
  border-radius: 10px;
  margin: 40px auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.page-casino__conclusion {
  background-color: #1A1A1A;
  text-align: center;
  padding: 80px 20px;
}

.page-casino__final-cta {
  margin-top: 40px;
}

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

@media (max-width: 768px) {
  .page-casino__hero-section {
    padding: 60px 15px;
  }
  .page-casino__main-title {
    font-size: 2.5em;
  }
  .page-casino__hero-description {
    font-size: 1em;
  }
  .page-casino__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-casino__btn--large {
    width: 100%;
  }
  .page-casino__section-title {
    font-size: 2em;
  }
  .page-casino__game-categories,
  .page-casino__features-grid,
  .page-casino__providers-grid {
    grid-template-columns: 1fr;
  }
  .page-casino__content-wrapper {
    flex-direction: column;
  }
  .page-casino__content-wrapper--reverse {
    flex-direction: column;
  }
  .page-casino__responsible-image,
  .page-casino__mobile-image {
    max-width: 100%;
    width: 100%;
    height: auto; /* Important for mobile images */
    min-width: 200px; /* Enforce min size for content images */
    min-height: 200px; /* Enforce min size for content images */
  }
  .page-casino__card-image {
    width: 100%;
    height: auto; /* Ensure images don't overflow */
    max-width: 100%; /* Ensure images don't overflow */
    min-width: 200px; /* Enforce min size for content images */
    min-height: 200px; /* Enforce min size for content images */
  }
  .page-casino__category-card,
  .page-casino__feature-item,
  .page-casino__faq-item,
  .page-casino__provider-logo {
    padding: 20px;
  }
  /* Ensure all content area images meet minimum size requirements and are responsive */
  .page-casino img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-casino__main-title {
    font-size: 2em;
  }
  .page-casino__section-title {
    font-size: 1.8em;
  }
  .page-casino__btn {
    font-size: 1em;
  }
  .page-casino__hero-buttons,
  .page-casino__cta-buttons {
    flex-direction: column;
  }
  .page-casino__btn--large {
    width: 100%;
  }
}