/* style/casino.css */
.page-casino {
  font-family: Arial, sans-serif;
  color: #333333; /* Dark text for light background */
  line-height: 1.6;
  background-color: #FFFFFF; /* Explicitly set page background to white */
}

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

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

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

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

.page-casino__btn--register {
  background-color: #000000;
  color: #FFFFFF;
  margin-right: 15px;
}

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

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

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

.page-casino__btn--view-details, .page-casino__btn--claim, .page-casino__btn--view-all, .page-casino__btn--step-action, .page-casino__btn--more-faq, .page-casino__btn--contact-support, .page-casino__btn--download {
  background-color: #000000;
  color: #FFFFFF;
  margin-top: 15px;
}

.page-casino__btn--view-details:hover, .page-casino__btn--claim:hover, .page-casino__btn--view-all:hover, .page-casino__btn--step-action:hover, .page-casino__btn--more-faq:hover, .page-casino__btn--contact-support:hover, .page-casino__btn--download:hover {
  background-color: #333333;
}

.page-casino__btn--large {
  padding: 15px 30px;
  font-size: 1.1em;
}

/* Hero Section */
.page-casino__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  position: relative;
  overflow: hidden;
  text-align: center;
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Minimum height for hero */
}

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

.page-casino__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4; /* Slightly dim the image for text readability */
}

.page-casino__hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px 20px;
}

.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;
  color: #f0f0f0;
}

.page-casino__hero-actions {
  margin-top: 30px;
}

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

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

.page-casino__feature-item {
  text-align: center;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-casino__feature-icon {
  width: 200px; /* Min size for content images */
  height: auto;
  margin-bottom: 20px;
  border-radius: 5px;
}

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

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

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

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

.page-casino__category-card {
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
}

.page-casino__category-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 15px;
}

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

.page-casino__category-title a {
  color: #000000;
  text-decoration: none;
}

.page-casino__category-title a:hover {
  color: #FCBC45;
}

.page-casino__category-text {
  font-size: 0.95em;
  color: #555555;
  padding: 0 15px;
  margin-bottom: 20px;
}

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

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

.page-casino__promo-card {
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
}

.page-casino__promo-image {
  width: 100%;
  height: 300px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 15px;
}

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

.page-casino__promo-title a {
  color: #000000;
  text-decoration: none;
}

.page-casino__promo-title a:hover {
  color: #FCBC45;
}

.page-casino__promo-text {
  font-size: 0.95em;
  color: #555555;
  padding: 0 15px;
  margin-bottom: 20px;
}

.page-casino__promo-cta {
  text-align: center;
  margin-top: 40px;
}

/* How to Start Section */
.page-casino__how-to-start-section {
  background-color: #f0f0f0;
  padding: 60px 0;
}

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

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

.page-casino__step-number {
  font-size: 3em;
  font-weight: bold;
  color: #FCBC45;
  margin-bottom: 15px;
}

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

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

/* Mobile Experience Section */
.page-casino__mobile-experience-section {
  background-color: #FFFFFF;
  padding: 60px 0;
}

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

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

.page-casino__mobile-image-wrapper {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
  text-align: center;
}

.page-casino__mobile-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

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

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

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

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

.page-casino__faq-items {
  margin-top: 50px;
}

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

.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: 0;
  font-size: 1.2em;
  font-weight: bold;
  color: #FCBC45;
}

.page-casino__faq-answer {
  font-size: 1em;
  color: #555555;
  display: none; /* Hidden by default, toggled by JS */
  padding-top: 10px;
}

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

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

.page-casino__faq-cta {
  text-align: center;
  margin-top: 40px;
}

.page-casino__faq-cta .page-casino__btn {
  margin: 0 10px;
}

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

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

.page-casino__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-casino__cta-actions .page-casino__btn {
  margin: 0 15px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-casino__hero-title {
    font-size: 3em;
  }
  .page-casino__section-title {
    font-size: 2em;
  }
  .page-casino__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-casino__hero-section {
    min-height: 500px;
    padding: 40px 20px;
  }
  .page-casino__hero-title {
    font-size: 2.5em;
  }
  .page-casino__hero-description {
    font-size: 1.1em;
  }
  .page-casino__hero-actions .page-casino__btn {
    display: block;
    margin: 15px auto;
  }

  .page-casino__feature-item, .page-casino__category-card, .page-casino__promo-card, .page-casino__step-item {
    padding: 20px;
  }

  .page-casino__mobile-content-wrapper {
    flex-direction: column;
  }

  .page-casino__mobile-text-content, .page-casino__mobile-image-wrapper {
    max-width: 100%;
  }
  
  /* Mandatory mobile image scaling */
  .page-casino img {
    max-width: 100%;
    height: auto;
  }

  .page-casino__cta-title {
    font-size: 2em;
  }
  .page-casino__cta-description {
    font-size: 1em;
  }
  .page-casino__cta-actions .page-casino__btn {
    display: block;
    margin: 10px auto;
  }

  .page-casino__faq-cta .page-casino__btn {
    display: block;
    margin: 10px auto;
  }
}

@media (max-width: 480px) {
  .page-casino__hero-title {
    font-size: 2em;
  }
  .page-casino__section-title {
    font-size: 1.8em;
  }
  .page-casino__hero-description {
    font-size: 1em;
  }
  .page-casino__cta-title {
    font-size: 1.8em;
  }
  .page-casino__cta-description {
    font-size: 0.9em;
  }
  .page-casino__feature-icon {
    width: 200px;
    height: auto;
  }
  .page-casino__category-image, .page-casino__promo-image {
    height: 200px;
  }
  .page-casino__faq-question {
    font-size: 1.1em;
  }
}