.page-casino {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden; /* Prevent horizontal scroll on main content */
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

.page-casino__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-casino__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  font-size: 16px;
  text-align: center;
}

.page-casino__button--primary {
  background-color: #FFD700; /* Gold */
  color: #1E90FF; /* Blue for contrast */
  border: 2px solid #FFD700;
}

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

.page-casino__button--secondary {
  background-color: #1E90FF; /* Blue */
  color: #ffffff;
  border: 2px solid #1E90FF;
}

.page-casino__button--secondary:hover {
  background-color: #1565b3;
  transform: translateY(-2px);
}

.page-casino__button--small {
  padding: 8px 18px;
  font-size: 14px;
}

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

.page-casino__hero-section {
  background-color: #1a1a1a; /* Dark background for hero */
  color: #ffffff;
  padding: 80px 20px 60px; /* Adjust padding as needed, header offset already on main */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.page-casino__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle background effect */
  filter: brightness(0.6); /* Darken image slightly for text contrast */
}

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

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

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

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

.page-casino__section-title {
  font-size: 2.5em;
  color: #1E90FF; /* Blue title */
  text-align: center;
  margin-bottom: 30px;
  margin-top: 60px;
}

.page-casino__section-paragraph {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
}

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

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

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

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

.page-casino__feature-icon {
  width: 250px; /* Minimum size requirement */
  height: 250px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px; /* Example style */
}

.page-casino__feature-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-casino__feature-description {
  font-size: 1em;
  color: #555555;
}

.page-casino__games-section {
  padding: 80px 0;
}

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

.page-casino__game-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-casino__game-thumbnail {
  width: 100%;
  height: 220px; /* Fixed height for consistency, will be object-fit */
  object-fit: cover;
  border-bottom: 3px solid #FFD700;
}

.page-casino__game-card h3 {
  font-size: 1.4em;
  color: #1E90FF;
  margin: 20px 20px 10px;
}

.page-casino__game-card h3 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-casino__game-card h3 a:hover {
  color: #FFD700;
}

.page-casino__game-description {
  font-size: 0.95em;
  color: #666666;
  padding: 0 20px;
  flex-grow: 1;
}

.page-casino__game-card .page-casino__button {
  margin: 20px;
  align-self: flex-start;
}

.page-casino__promotions-section {
  background-color: #eef7ff; /* Light blue background */
  padding: 80px 0;
}

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

.page-casino__promo-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
}

.page-casino__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 3px solid #1E90FF;
}

.page-casino__promo-title {
  font-size: 1.5em;
  color: #FFD700;
  margin: 20px 15px 10px;
}

.page-casino__promo-description {
  font-size: 0.95em;
  color: #666666;
  padding: 0 15px;
  margin-bottom: 20px;
}

.page-casino__security-fairness-section {
  padding: 80px 0;
}

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

.page-casino__security-item {
  text-align: center;
  padding: 25px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

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

.page-casino__security-item-title {
  font-size: 1.4em;
  color: #1E90FF;
  margin-bottom: 10px;
}

.page-casino__security-item-description {
  font-size: 0.95em;
  color: #555555;
}

.page-casino__cta-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Dark background */
  color: #ffffff;
  text-align: center;
}

.page-casino__cta-section--alt-bg {
  background-color: #1E90FF;
}

.page-casino__cta-content .page-casino__section-title {
  color: #FFD700;
}

.page-casino__cta-content .page-casino__section-paragraph {
  color: #f0f0f0;
}

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

.page-casino__faq-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

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

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

.page-casino__faq-question {
  font-size: 1.25em;
  color: #1E90FF;
  margin-bottom: 10px;
}

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

.page-casino__faq-answer a {
  color: #FFD700;
  text-decoration: none;
}

.page-casino__faq-answer a:hover {
  text-decoration: underline;
}

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

@media (max-width: 768px) {
  .page-casino__hero-title {
    font-size: 2.5em;
  }
  .page-casino__hero-description {
    font-size: 1.1em;
  }
  .page-casino__section-title {
    font-size: 2em;
  }
  .page-casino__section-paragraph {
    font-size: 1em;
  }
  .page-casino__hero-actions {
    flex-direction: column;
  }
  .page-casino__hero-actions .page-casino__button {
    width: 80%;
    margin: 10px auto;
  }
  .page-casino__feature-card, .page-casino__game-card, .page-casino__promo-card, .page-casino__security-item {
    padding: 20px;
  }
  .page-casino__game-thumbnail, .page-casino__promo-image {
    height: 180px;
  }
  /* Content area images must be responsive and not cause overflow */
  .page-casino img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-casino__hero-title {
    font-size: 2em;
  }
  .page-casino__hero-description {
    font-size: 1em;
  }
  .page-casino__section-title {
    font-size: 1.8em;
  }
  .page-casino__button {
    font-size: 14px;
    padding: 10px 20px;
  }
  .page-casino__feature-icon, .page-casino__security-icon {
    width: 200px; /* Minimum size */
    height: 200px;
  }
  .page-casino__game-thumbnail, .page-casino__promo-image {
    height: 150px;
  }
}