.page-casino {
  color: #333333; /* Dark text for light body 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: 30px;
  font-weight: bold;
}

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

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

.page-casino__button--register, .page-casino__button--register-step, .page-casino__button--cta {
  background-color: #000000; /* Main color for register */
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-casino__button--register:hover, .page-casino__button--register-step:hover, .page-casino__button--cta:hover {
  background-color: #333333;
  border-color: #333333;
}

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

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

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

.page-casino__button--play:hover, .page-casino__button--play-step:hover, .page-casino__button--claim:hover {
  background-color: #333333;
  border-color: #333333;
}

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

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

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

.page-casino__button--learn:hover, .page-casino__button--deposit-step:hover {
  background-color: #f0f0f0;
}

/* Hero Section */
.page-casino__hero-section {
  position: relative;
  overflow: hidden;
  color: #FFFFFF; /* Light text on potentially dark hero image */
  padding: 0;
  text-align: center;
}

.page-casino__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Darken image for text readability */
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px;
}

.page-casino__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent background for text */
  border-radius: 10px;
}

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

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

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

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

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

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

.page-casino__category-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;
  min-height: 200px;
}

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

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

.page-casino__category-card .page-casino__card-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  padding: 0 15px;
}

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

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

.page-casino__promo-card {
  background-color: #f8f8f8;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 30px;
  text-align: center;
}

.page-casino__promo-card .page-casino__card-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 15px;
}

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

/* Mobile Section */
.page-casino__mobile-section {
  padding: 80px 0;
  background-color: #f0f0f0;
}

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

.page-casino__mobile-text-content {
  flex: 1;
  text-align: left;
}

.page-casino__mobile-image {
  flex: 1;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  min-width: 200px;
  min-height: 200px;
}

/* Getting Started Section */
.page-casino__getting-started-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

.page-casino__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  justify-content: center;
  text-align: center;
}

.page-casino__step-card {
  background-color: #f8f8f8;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 30px;
}

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

.page-casino__step-card .page-casino__card-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 25px;
}

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

.page-casino__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-casino__faq-item {
  background-color: #FFFFFF;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-casino__faq-question {
  font-size: 1.2em;
  color: #000000;
  padding: 20px;
  cursor: pointer;
  position: relative;
  margin: 0;
  text-align: left;
}

.page-casino__faq-question::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-casino__faq-question.active::after {
  content: '-';
  transform: translateY(-50%) rotate(45deg);
}

.page-casino__faq-answer {
  font-size: 1em;
  color: #555555;
  padding: 0 20px 20px;
  margin: 0;
  display: none;
  text-align: left;
}

/* Call to Action Section */
.page-casino__cta-section {
  padding: 80px 0;
  background-color: #000000;
  color: #FFFFFF;
}

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

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

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

@media (max-width: 768px) {
  .page-casino__section-title {
    font-size: 2em;
  }
  .page-casino__hero-title {
    font-size: 2.5em;
  }
  .page-casino__hero-description {
    font-size: 1em;
  }
  .page-casino__hero-actions .page-casino__button {
    margin: 10px 0;
    display: block;
  }
  .page-casino__mobile-content {
    flex-direction: column-reverse;
    text-align: center;
  }
  .page-casino__mobile-text-content {
    text-align: center;
  }
  .page-casino__mobile-image {
    max-width: 100%;
  }
  .page-casino__category-grid, .page-casino__promo-cards, .page-casino__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-casino__hero-content {
    width: 90%;
    padding: 15px;
  }

  /* Mobile image overflow prevention */
  .page-casino img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-casino__section-title {
    font-size: 1.8em;
  }
  .page-casino__hero-title {
    font-size: 2em;
  }
  .page-casino__hero-description {
    font-size: 0.9em;
  }
  .page-casino__button {
    padding: 12px 20px;
    font-size: 0.9em;
  }
}