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

.page-casino__hero-section {
  position: relative;
  overflow: hidden;
  padding: 0; /* Hero section itself shouldn't have padding-top if main has it */
  background-color: #0A2463; /* Dark blue background for hero content */
  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;
  text-align: center;
  padding: var(--header-offset, 120px) 20px 60px; /* Apply header offset here */
}

.page-casino__hero-image {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.3; /* Subtle overlay to make text readable */
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  z-index: 1;
  max-height: 700px; /* Limit height for hero image */
}

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

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

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

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

.page-casino__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

.page-casino__button--primary {
  background-color: #FFD700;
  color: #0A2463;
  border: 2px solid #FFD700;
}

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

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

.page-casino__button--secondary:hover {
  background-color: rgba(255, 215, 0, 0.1);
  transform: translateY(-2px);
}

.page-casino__button--small {
  padding: 10px 20px;
  font-size: 0.95em;
  border-radius: 6px;
  background-color: #0A2463;
  color: #FFD700;
  border: 1px solid #FFD700;
}

.page-casino__button--small:hover {
  background-color: #FFD700;
  color: #0A2463;
}

.page-casino__button--large {
  padding: 18px 35px;
  font-size: 1.2em;
  border-radius: 10px;
  background-color: #FFD700;
  color: #0A2463;
  border: 2px solid #FFD700;
}

.page-casino__button--large:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-casino__section-title {
  font-size: 2.5em;
  color: #0A2463;
  text-align: center;
  margin-bottom: 25px;
  font-weight: 700;
}

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

.page-casino__games-overview,
.page-casino__why-choose,
.page-casino__deep-content,
.page-casino__related-pages {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

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

.page-casino__game-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

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

.page-casino__game-card-title {
  font-size: 1.8em;
  color: #0A2463;
  margin-bottom: 10px;
  padding: 0 15px;
}

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

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

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

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

.page-casino__feature-icon {
  width: 200px; /* Adjusted to meet min 200px requirement for content images */
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-casino__feature-description {
  font-size: 0.95em;
  color: #666666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.page-casino__deep-content h3 {
  font-size: 2em;
  color: #0A2463;
  margin-top: 40px;
  margin-bottom: 15px;
  border-left: 5px solid #FFD700;
  padding-left: 15px;
}

.page-casino__deep-content h4 {
  font-size: 1.6em;
  color: #0A2463;
  margin-top: 30px;
  margin-bottom: 10px;
  padding-left: 10px;
}

.page-casino__deep-content p {
  font-size: 1.05em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #444444;
}

.page-casino__deep-content ul {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #444444;
}

.page-casino__deep-content ul li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.page-casino__deep-content strong {
  color: #0A2463;
}

.page-casino__cta-section {
  text-align: center;
  margin-top: 60px;
  margin-bottom: 40px;
}

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

.page-casino__related-link-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__related-link-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.page-casino__related-link-title {
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-casino__related-link-title a {
  color: #0A2463;
  text-decoration: none;
  font-weight: 600;
}

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

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

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

@media (max-width: 768px) {
  .page-casino__hero-container {
    padding: var(--header-offset, 80px) 15px 40px;
  }
  .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__button {
    width: 80%;
    max-width: 300px;
  }
  .page-casino__section-title {
    font-size: 1.8em;
  }
  .page-casino__section-intro {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-casino__games-overview,
  .page-casino__why-choose,
  .page-casino__deep-content,
  .page-casino__related-pages {
    margin: 40px auto;
    padding: 0 15px;
  }
  .page-casino__game-card-image,
  .page-casino__feature-icon {
    max-width: 100%;
    height: auto; /* Ensure images are responsive and don't overflow */
  }
  .page-casino__game-card-title {
    font-size: 1.5em;
  }
  .page-casino__feature-title {
    font-size: 1.3em;
  }
  .page-casino__deep-content h3 {
    font-size: 1.6em;
  }
  .page-casino__deep-content h4 {
    font-size: 1.4em;
  }
  .page-casino__deep-content p {
    font-size: 0.95em;
  }
  /* Ensure all content area images are responsive */
  .page-casino img {
    max-width: 100%;
    height: auto;
  }
}