.page-casino {
  color: #333333; /* Dark text for light body background */
}

.page-casino__hero-section {
  padding-top: var(--header-offset, 120px);
  background-color: #000000; /* Dark background for hero text contrast */
  position: relative;
  overflow: hidden;
  color: #ffffff;
}

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

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

.page-casino__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

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

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

.page-casino__hero-actions {
  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;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

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

.page-casino__button--register:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

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

.page-casino__button--login:hover {
  background-color: #e0a53a;
  transform: translateY(-2px);
}

.page-casino__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 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;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
}

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

.page-casino__game-categories-section {
  padding: 60px 0;
  background-color: #ffffff;
}

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

.page-casino__category-card {
  background-color: #000000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-bottom: 20px;
  color: #ffffff;
}

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

.page-casino__card-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 10px;
}

.page-casino__card-title a {
  color: #FCBC45;
  text-decoration: none;
}

.page-casino__card-title a:hover {
  text-decoration: underline;
}

.page-casino__card-description {
  font-size: 0.95em;
  line-height: 1.5;
  padding: 0 20px;
  margin-bottom: 20px;
}

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

.page-casino__button--details:hover {
  background-color: #e0a53a;
  transform: translateY(-2px);
}

.page-casino__full-games-cta {
  text-align: center;
  margin-top: 50px;
}

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

.page-casino__button--view-all:hover {
  background-color: #FCBC45;
  color: #000000;
  transform: translateY(-2px);
}

.page-casino__live-casino-section {
  background-color: #f0f0f0;
  padding: 60px 0;
  text-align: center;
}

.page-casino__button--live-play {
  background-color: #FCBC45;
  color: #000000;
  margin-top: 30px;
}

.page-casino__button--live-play:hover {
  background-color: #e0a53a;
  transform: translateY(-2px);
}

.page-casino__promotions-section {
  padding: 60px 0;
  background-color: #ffffff;
  text-align: center;
}

.page-casino__promo-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-casino__button--claim {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #FCBC45;
  margin-top: 20px;
}

.page-casino__button--claim:hover {
  background-color: #FCBC45;
  color: #000000;
  transform: translateY(-2px);
}

.page-casino__why-choose-section {
  background-color: #f8f8f8;
  padding: 60px 0;
}

.page-casino__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 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;
  transition: transform 0.3s ease;
}

.page-casino__feature-item:hover {
  transform: translateY(-5px);
}

.page-casino__feature-icon {
  width: 250px; /* Minimum 200px */
  height: 200px; /* Minimum 200px */
  object-fit: contain;
  margin-bottom: 20px;
}

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

.page-casino__feature-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: #555555;
}

.page-casino__responsible-gaming-section {
  padding: 60px 0;
  background-color: #ffffff;
  text-align: center;
}

.page-casino__responsible-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

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

.page-casino__button--learn-more:hover {
  background-color: #FCBC45;
  color: #000000;
  transform: translateY(-2px);
}

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

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

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

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

.page-casino__cta-section {
  padding: 80px 0;
  background-color: #000000;
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-casino__cta-image {
  width: 100%;
  height: auto;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  z-index: 1;
  opacity: 0.2;
}

.page-casino__cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

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

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

.page-casino__button--join-now {
  background-color: #FCBC45;
  color: #000000;
  padding: 18px 40px;
  font-size: 1.2em;
  border-radius: 10px;
}

.page-casino__button--join-now:hover {
  background-color: #e0a53a;
  transform: translateY(-3px);
}

/* 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 {
    padding: 40px 15px;
  }
  .page-casino__hero-title {
    font-size: 2.5em;
  }
  .page-casino__hero-description {
    font-size: 1em;
  }
  .page-casino__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-casino__button {
    width: 100%;
    max-width: 250px;
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-casino__container {
    padding: 30px 15px;
  }
  .page-casino__section-title {
    font-size: 1.8em;
  }
  .page-casino__section-text {
    font-size: 0.95em;
  }
  .page-casino__category-grid {
    grid-template-columns: 1fr;
  }
  .page-casino__feature-grid {
    grid-template-columns: 1fr;
  }
  .page-casino__feature-icon {
    width: 200px; /* Enforce minimum size */
    height: 200px; /* Enforce minimum size */
  }
  .page-casino__promo-image,
  .page-casino__responsible-image,
  .page-casino__cta-image {
    max-width: 100%;
    height: auto;
    object-fit: cover;
  }
  .page-casino__cta-title {
    font-size: 2em;
  }
  .page-casino__cta-description {
    font-size: 1em;
  }
  .page-casino__button--join-now {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  /* Ensure all images within .page-casino do not overflow */
  .page-casino img {
    max-width: 100%;
    height: auto;
  }
}