.page-casino {
  color: #333333; /* Dark text for light body background */
  padding-top: var(--header-offset, 120px); /* Ensure content is below 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: 20px;
  font-weight: bold;
}

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

/* Hero Section */
.page-casino__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #000000;
  padding: 0;
  text-align: center;
}

.page-casino__hero-container {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
}

.page-casino__hero-image {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.7;
  object-fit: cover;
}

.page-casino__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  color: #FFFFFF;
  max-width: 900px;
  padding: 20px;
  box-sizing: border-box;
}

.page-casino__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-casino__hero-description {
  font-size: 1.4em;
  margin-bottom: 30px;
  line-height: 1.5;
  color: #FFFFFF;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

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

.page-casino__btn {
  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, transform 0.3s ease;
  white-space: nowrap;
}

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

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

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

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

/* Games Overview Section */
.page-casino__games-overview {
  padding: 80px 0;
  background-color: #f8f8f8;
}

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

.page-casino__category-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  padding-bottom: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-casino__category-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #eee;
}

.page-casino__category-title {
  font-size: 1.5em;
  color: #000000;
  margin: 25px 15px 10px;
}

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

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

.page-casino__category-description {
  font-size: 0.95em;
  color: #555555;
  padding: 0 20px 20px;
  line-height: 1.6;
}

.page-casino__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
  background-color: #FCBC45;
  color: #000000;
  border-radius: 6px;
}

.page-casino__btn--small:hover {
  background-color: #e6a73c;
}

/* Why Choose Section */
.page-casino__why-choose {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

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

.page-casino__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-casino__feature-icon {
  width: 150px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-casino__feature-heading {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 15px;
}

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

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

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

.page-casino__promo-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-casino__promo-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #eee;
}

.page-casino__promo-heading {
  font-size: 1.6em;
  color: #000000;
  margin: 25px 15px 10px;
}

.page-casino__promo-description {
  font-size: 0.95em;
  color: #555555;
  padding: 0 20px 20px;
  line-height: 1.6;
}

.page-casino__btn--promo {
  background-color: #FCBC45;
  color: #000000;
  padding: 12px 25px;
  font-size: 1em;
  border-radius: 6px;
  margin-bottom: 20px;
}

.page-casino__btn--promo:hover {
  background-color: #e6a73c;
}

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

.page-casino__btn--outline {
  background: none;
  border: 2px solid #000000;
  color: #000000;
  padding: 12px 25px;
  font-size: 1em;
  border-radius: 8px;
}

.page-casino__btn--outline:hover {
  background-color: #000000;
  color: #FFFFFF;
}

/* Call to Action Section */
.page-casino__call-to-action {
  background-color: #000000;
  color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
}

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

.page-casino__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

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

/* Download App Section */
.page-casino__download-app {
  padding: 80px 0;
  background-color: #f8f8f8;
}

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

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

.page-casino__download-image {
  flex-shrink: 0;
  width: 450px;
  height: 350px;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-casino__btn--download {
  background-color: #FCBC45;
  color: #000000;
  padding: 15px 30px;
  font-size: 1.1em;
  border-radius: 8px;
  margin-top: 20px;
}

.page-casino__btn--download:hover {
  background-color: #e6a73c;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-casino__hero-title {
    font-size: 3em;
  }
  .page-casino__hero-description {
    font-size: 1.2em;
  }
  .page-casino__section-title {
    font-size: 2em;
  }
  .page-casino__cta-title {
    font-size: 2.2em;
  }
  .page-casino__download-image {
    width: 350px;
    height: 280px;
  }
}

@media (max-width: 768px) {
  .page-casino__hero-section {
    padding: 60px 0;
  }
  .page-casino__hero-content {
    padding: 15px;
  }
  .page-casino__hero-title {
    font-size: 2.2em;
  }
  .page-casino__hero-description {
    font-size: 1em;
  }
  .page-casino__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-casino__btn {
    width: 80%;
    max-width: 300px;
    margin: 0 auto;
  }

  .page-casino__games-overview, .page-casino__why-choose, .page-casino__promotions, .page-casino__responsible-gaming, .page-casino__call-to-action, .page-casino__download-app {
    padding: 60px 0;
  }

  .page-casino__game-categories, .page-casino__features-grid, .page-casino__promo-cards {
    grid-template-columns: 1fr;
  }

  .page-casino__download-container {
    flex-direction: column;
    text-align: center;
  }
  .page-casino__download-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin-top: 30px;
  }

  /* Ensure all images within .page-casino are responsive and don't overflow */
  .page-casino img {
    max-width: 100%;
    height: auto;
  }
}

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