.page-casino {
  color: #333333; /* Default text color for light background */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-casino__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  color: #ffffff;
  padding: 0;
}

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

.page-casino__hero-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)); /* Overlay for text readability */
  padding: 20px;
}

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

.page-casino__hero-description {
  font-size: 1.3em;
  max-width: 800px;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-casino__hero-buttons {
  display: flex;
  gap: 20px;
}

.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.2s ease;
  white-space: nowrap;
}

.page-casino__button--primary {
  background-color: #E5A000; /* Auxiliary color */
  color: #0A2463; /* Main color as text */
  border: 2px solid #E5A000;
}

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

.page-casino__button--secondary {
  background-color: transparent;
  color: #E5A000; /* Auxiliary color */
  border: 2px solid #E5A000;
}

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

.page-casino__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-casino__button--large {
  padding: 18px 35px;
  font-size: 1.2em;
}

.page-casino__section-title {
  font-size: 2.8em;
  color: #0A2463; /* Main color */
  text-align: center;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.page-casino__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #E5A000;
  border-radius: 2px;
}

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

.page-casino__games-overview,
.page-casino__why-ph4,
.page-casino__promotions-cta,
.page-casino__mobile-app,
.page-casino__responsible-gaming-section,
.page-casino__faq-section,
.page-casino__final-cta {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
}

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

.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;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

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

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

.page-casino__game-card-title a {
  color: inherit;
  text-decoration: none;
}

.page-casino__game-card-title a:hover {
  color: #E5A000;
}

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

.page-casino__why-ph4-container,
.page-casino__mobile-app-container,
.page-casino__responsible-gaming-section {
  display: flex;
  align-items: center;
  gap: 50px;
  background-color: #f8f8f8;
  border-radius: 15px;
  padding: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.page-casino__why-ph4-container:nth-child(even) {
  flex-direction: row-reverse;
}

.page-casino__why-ph4-content,
.page-casino__mobile-app-content,
.page-casino__responsible-gaming-content {
  flex: 1;
}

.page-casino__why-ph4-image-wrapper,
.page-casino__mobile-app-image,
.page-casino__responsible-gaming-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-casino__why-ph4-image,
.page-casino__mobile-app-image,
.page-casino__responsible-gaming-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-casino__feature-list,
.page-casino__app-features,
.page-casino__responsible-features,
.page-casino__promo-highlights {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-casino__feature-list li,
.page-casino__app-features li,
.page-casino__responsible-features li,
.page-casino__promo-highlights li {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 10px;
  padding-left: 30px;
  position: relative;
  color: #444444;
}

.page-casino__feature-list li strong,
.page-casino__app-features li strong,
.page-casino__responsible-features li strong,
.page-casino__promo-highlights li strong {
  color: #0A2463;
}

.page-casino__feature-list li::before,
.page-casino__app-features li::before,
.page-casino__responsible-features li::before,
.page-casino__promo-highlights li::before {
  content: '✔'; /* Checkmark icon */
  color: #E5A000;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-casino__feature-list li a,
.page-casino__responsible-gaming-content a {
  color: #0A2463;
  text-decoration: underline;
}

.page-casino__feature-list li a:hover,
.page-casino__responsible-gaming-content a:hover {
  color: #E5A000;
}

.page-casino__promotions-cta {
  display: flex;
  align-items: center;
  gap: 50px;
  background-color: #0A2463;
  color: #ffffff;
  border-radius: 15px;
  padding: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-casino__promotions-cta .page-casino__section-title {
  color: #E5A000;
}

.page-casino__promotions-cta .page-casino__section-title::after {
  background-color: #ffffff;
}

.page-casino__promotions-cta .page-casino__section-intro {
  color: #f0f0f0;
}

.page-casino__promotions-content {
  flex: 1;
  text-align: left;
}

.page-casino__promotions-content .page-casino__button--primary {
  background-color: #E5A000;
  color: #0A2463;
  border-color: #E5A000;
}

.page-casino__promotions-content .page-casino__button--secondary {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.page-casino__promotions-content .page-casino__button--secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-casino__promotions-image {
  flex: 1;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-casino__faq-items {
  margin-top: 50px;
}

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

.page-casino__faq-item:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-casino__faq-question {
  font-size: 1.4em;
  color: #0A2463;
  margin-bottom: 10px;
}

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

.page-casino__final-cta {
  text-align: center;
  padding: 60px 20px;
  background-color: #0A2463;
  color: #ffffff;
  border-radius: 15px;
  margin-top: 100px;
}

.page-casino__final-cta .page-casino__section-title {
  color: #E5A000;
}

.page-casino__final-cta .page-casino__section-title::after {
  background-color: #ffffff;
}

.page-casino__final-cta .page-casino__section-intro {
  color: #f0f0f0;
  margin-bottom: 40px;
}

.page-casino__final-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 25px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-casino__hero-title {
    font-size: 2.8em;
  }
  .page-casino__section-title {
    font-size: 2.2em;
  }
  .page-casino__why-ph4-container,
  .page-casino__promotions-cta,
  .page-casino__mobile-app-container,
  .page-casino__responsible-gaming-section {
    flex-direction: column;
    text-align: center;
    padding: 40px;
  }
  .page-casino__why-ph4-container:nth-child(even) {
    flex-direction: column;
  }
  .page-casino__why-ph4-image-wrapper,
  .page-casino__mobile-app-image,
  .page-casino__responsible-gaming-image {
    order: -1;
    margin-bottom: 30px;
  }
  .page-casino__feature-list,
  .page-casino__app-features,
  .page-casino__responsible-features,
  .page-casino__promo-highlights {
    text-align: left;
  }
  .page-casino__promotions-content {
    text-align: center;
  }
  .page-casino__promotions-content .page-casino__button--primary,
  .page-casino__promotions-content .page-casino__button--secondary {
    width: auto;
  }
}

@media (max-width: 768px) {
  .page-casino__hero-title {
    font-size: 2em;
  }
  .page-casino__hero-description {
    font-size: 1em;
  }
  .page-casino__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-casino__button {
    width: 100%;
    padding: 12px 25px;
  }
  .page-casino__section-title {
    font-size: 1.8em;
  }
  .page-casino__section-intro {
    font-size: 0.95em;
  }
  .page-casino__game-categories {
    grid-template-columns: 1fr;
  }
  .page-casino__game-card-image {
    height: 200px; /* Ensure images are not too small for mobile */
  }
  .page-casino__why-ph4-container,
  .page-casino__promotions-cta,
  .page-casino__mobile-app-container,
  .page-casino__responsible-gaming-section {
    padding: 30px 20px;
  }
  .page-casino__promotions-cta .page-casino__promotions-image {
    max-width: 100%;
    height: auto;
  }
  .page-casino__why-ph4-image,
  .page-casino__mobile-app-image,
  .page-casino__responsible-gaming-image {
    max-width: 100%;
    height: auto;
  }
  .page-casino__final-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-casino__faq-question {
    font-size: 1.2em;
  }
  .page-casino__faq-answer {
    font-size: 0.9em;
  }
  /* Ensure all content area images are constrained */
  .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.5em;
  }
  .page-casino__game-card-title {
    font-size: 1.5em;
  }
  .page-casino__why-ph4-container,
  .page-casino__promotions-cta,
  .page-casino__mobile-app-container,
  .page-casino__responsible-gaming-section {
    padding: 20px 15px;
  }
}