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

.page-casino__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background-color: #1A2E40; /* Primary color background */
  color: #ffffff;
  text-align: center;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

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

.page-casino__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Auxiliary color for emphasis */
  font-weight: 700;
  line-height: 1.2;
}

.page-casino__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.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: 700;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
}

.page-casino__btn--primary {
  background-color: #FFD700; /* Auxiliary color */
  color: #1A2E40; /* Primary color */
  border: 2px solid #FFD700;
}

.page-casino__btn--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  transform: translateY(-2px);
}

.page-casino__btn--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-casino__btn--secondary:hover {
  background-color: #FFD700;
  color: #1A2E40;
  transform: translateY(-2px);
}

.page-casino__btn--link {
  background-color: transparent;
  color: #1A2E40;
  border: 1px solid #1A2E40;
  padding: 10px 20px;
  font-size: 1em;
}

.page-casino__btn--link:hover {
  background-color: #1A2E40;
  color: #ffffff;
}

.page-casino__btn--large {
  padding: 18px 40px;
  font-size: 1.2em;
}

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

.page-casino__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Slightly transparent to let background color show */
  position: absolute;
  top: 0;
  left: 0;
}

.page-casino__games-overview, .page-casino__promotions, .page-casino__why-choose, .page-casino__get-started, .page-casino__responsible-gaming {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
}

.page-casino__section-title {
  font-size: 2.8em;
  color: #1A2E40; /* Primary color */
  margin-bottom: 25px;
  font-weight: 700;
}

.page-casino__section-intro {
  font-size: 1.1em;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #555555;
}

.page-casino__game-categories {
  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 8px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.page-casino__category-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

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

.page-casino__category-description {
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-casino__section-outro {
  font-size: 1.1em;
  line-height: 1.7;
  max-width: 800px;
  margin: 50px auto 0 auto;
  color: #555555;
}

.page-casino__promotions {
  background-color: #f9f9f9;
  border-top: 1px solid #eeeeee;
  border-bottom: 1px solid #eeeeee;
}

.page-casino__promo-grid {
  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 8px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.page-casino__promo-image {
  width: 100%;
  height: 200px; /* Fixed height */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

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

.page-casino__promo-description {
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

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

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

.page-casino__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min size for content images */
  min-height: 200px; /* Enforce min size for content images */
}

.page-casino__feature-title {
  font-size: 1.6em;
  color: #1A2E40;
  margin-bottom: 10px;
  font-weight: 600;
}

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

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

.page-casino__step-item {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-casino__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #FFD700; /* Auxiliary color */
  color: #1A2E40; /* Primary color */
  font-size: 2em;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

.page-casino__step-title {
  font-size: 1.6em;
  color: #1A2E40;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-casino__step-description {
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
}

.page-casino__cta-final {
  background-color: #1A2E40; /* Primary color */
  color: #ffffff;
  border-radius: 15px;
  padding: 50px;
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-casino__cta-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  z-index: 0;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-casino__cta-title {
  font-size: 2.5em;
  color: #FFD700; /* Auxiliary color */
  margin-bottom: 20px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.page-casino__cta-description {
  font-size: 1.2em;
  line-height: 1.6;
  max-width: 600px;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.page-casino__responsible-gaming {
  background-color: #f9f9f9;
  border-top: 1px solid #eeeeee;
}

.page-casino__responsible-text {
  font-size: 1.1em;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #555555;
}

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

@media (max-width: 768px) {
  .page-casino__hero-section {
    padding-top: var(--header-offset, 120px); /* Mobile specific offset */
    padding: 40px 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: 100%;
    max-width: 300px;
  }
  .page-casino__section-title {
    font-size: 2em;
  }
  .page-casino__section-intro,
  .page-casino__section-outro,
  .page-casino__responsible-text {
    font-size: 0.95em;
  }
  .page-casino__game-categories,
  .page-casino__promo-grid,
  .page-casino__features-grid,
  .page-casino__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-casino__category-image,
  .page-casino__promo-image,
  .page-casino__feature-icon,
  .page-casino__cta-image {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce min size for content images */
    min-height: 200px; /* Enforce min size for content images */
  }
  .page-casino__cta-final {
    padding: 30px;
  }
  .page-casino__cta-title {
    font-size: 2em;
  }
  .page-casino__cta-description {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-casino__hero-title {
    font-size: 1.8em;
  }
  .page-casino__section-title {
    font-size: 1.7em;
  }
  .page-casino__category-title,
  .page-casino__promo-title,
  .page-casino__feature-title,
  .page-casino__step-title {
    font-size: 1.4em;
  }
  .page-casino__step-number {
    width: 50px;
    height: 50px;
    font-size: 1.8em;
  }
  .page-casino__cta-title {
    font-size: 1.8em;
  }
}