.page-casino {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background-color: var(--secondary-color); /* White background as per auxiliary color */
  color: #333333; /* Dark text for contrast on light 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.5em;
  color: #000000; /* Main color for titles */
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
  font-weight: bold;
}

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

/* Hero Section */
.page-casino__hero-section {
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF; /* Light text on dark background */
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-casino__hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.page-casino__hero-content {
  max-width: 800px;
  text-align: center;
}

.page-casino__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FCBC45; /* Highlight color for main title */
  font-weight: 900;
  line-height: 1.2;
}

.page-casino__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  line-height: 1.6;
  color: #f0f0f0;
}

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

.page-casino__button {
  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, color 0.3s ease;
  min-width: 180px;
  text-align: center;
}

.page-casino__button--register {
  background-color: #000000; /* Dark background */
  color: #FFFFFF; /* White text for register button */
  border: 2px solid #FFFFFF;
}

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

.page-casino__button--login {
  background-color: #FCBC45; /* Login button background */
  color: #000000; /* Dark text for login button */
  border: 2px solid #FCBC45;
}

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

.page-casino__hero-image-wrapper {
  width: 100%;
  max-width: 1000px;
  margin-top: 40px;
}

.page-casino__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  min-width: 200px; /* Ensure image is not too small */
  min-height: 200px;
}

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

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

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

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

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

.page-casino__category-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Ensure image is not too small */
  min-height: 200px;
}

.page-casino__category-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-casino__category-text {
  font-size: 1em;
  color: #555555;
  margin-bottom: 25px;
}

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

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

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

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

.page-casino__promo-card {
  background-color: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  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.12);
}

.page-casino__promo-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Ensure image is not too small */
  min-height: 200px;
}

.page-casino__promo-title {
  font-size: 1.6em;
  color: #000000;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-casino__promo-text {
  font-size: 1em;
  color: #555555;
  margin-bottom: 25px;
}

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

.page-casino__button--claim:hover, .page-casino__button--view-all:hover {
  background-color: #000000;
  color: #FCBC45;
  border-color: #000000;
}

/* Security Section */
.page-casino__security-section {
  padding: 60px 0;
  background-color: #f0f0f0;
}

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

.page-casino__feature-item {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
}

.page-casino__feature-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  min-width: 200px; /* Ensure image is not too small */
  min-height: 200px;
}

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

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

/* Responsible Gaming Section */
.page-casino__responsible-gaming-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-casino__responsible-tools {
  max-width: 800px;
  margin: 40px auto 0 auto;
  text-align: left;
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-casino__responsible-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-casino__list-item {
  font-size: 1.05em;
  color: #333333;
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-casino__list-item::before {
  content: '✓';
  color: #FCBC45;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-casino__responsible-cta {
  text-align: center;
  font-size: 1.1em;
  font-weight: bold;
}

.page-casino__link {
  color: #000000;
  text-decoration: none;
  border-bottom: 2px solid #FCBC45;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-casino__link:hover {
  color: #FCBC45;
  border-color: #000000;
}

/* Call to Action Section */
.page-casino__cta-section {
  padding: 80px 0;
  background-color: #000000; /* Dark background for strong CTA */
  color: #FFFFFF;
  text-align: center;
}

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

.page-casino__cta-section .page-casino__section-description {
  color: #f0f0f0;
}

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

.page-casino__button--large {
  padding: 18px 40px;
  font-size: 1.2em;
  min-width: 220px;
}

/* FAQ Section */
.page-casino__faq-section {
  padding: 60px 0;
  background-color: #f5f5f5;
}

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

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

.page-casino__faq-answer {
  font-size: 1em;
  color: #555555;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-casino__hero-title {
    font-size: 3em;
  }
  .page-casino__section-title {
    font-size: 2em;
  }
  .page-casino__categories-grid, .page-casino__promo-grid, .page-casino__security-features {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-casino {
    padding-top: var(--header-offset, 120px);
  }
  .page-casino__hero-title {
    font-size: 2.5em;
  }
  .page-casino__hero-description {
    font-size: 1em;
  }
  .page-casino__section-title {
    font-size: 1.8em;
  }
  .page-casino__section-description {
    font-size: 0.95em;
  }
  .page-casino__button {
    padding: 12px 25px;
    font-size: 1em;
    min-width: unset;
  }
  .page-casino__hero-buttons, .page-casino__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-casino__button--large {
    padding: 15px 30px;
    font-size: 1.1em;
    min-width: 100%;
  }
  .page-casino__category-card, .page-casino__promo-card, .page-casino__feature-item, .page-casino__faq-item {
    padding: 20px;
  }
  .page-casino__category-title, .page-casino__promo-title, .page-casino__feature-title, .page-casino__faq-question {
    font-size: 1.4em;
  }
  .page-casino__category-text, .page-casino__promo-text, .page-casino__feature-text, .page-casino__faq-answer {
    font-size: 0.9em;
  }
  /* Ensure images do not overflow on mobile */
  .page-casino img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Still enforce minimum size for content images */
    min-height: 200px;
  }
  .page-casino__feature-icon {
    max-width: 100%; /* Adjust max-width for smaller screens */
  }
}

@media (max-width: 480px) {
  .page-casino__hero-title {
    font-size: 2em;
  }
  .page-casino__section-title {
    font-size: 1.6em;
  }
  .page-casino__hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .page-casino__button {
    width: 100%;
  }
  .page-casino__container {
    padding: 0 15px;
  }
  .page-casino__about-section, .page-casino__game-categories-section, .page-casino__promotions-section, .page-casino__security-section, .page-casino__responsible-gaming-section, .page-casino__cta-section, .page-casino__faq-section {
    padding: 40px 0;
  }
  .page-casino__hero-section {
    padding: 60px 0;
  }
  .page-casino__hero-image-wrapper {
    margin-top: 20px;
  }
}