.page-casino {
  color: #ffffff; /* Light text for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  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.8em;
  color: #FFD700; /* Gold primary color */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-casino__section-description {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-casino__hero-section {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  padding: 60px 20px;
}

.page-casino__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.6);
}

.page-casino__hero-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.page-casino__hero-content {
  background: rgba(26, 26, 46, 0.7); /* Semi-transparent auxiliary color */
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

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

.page-casino__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.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, transform 0.2s ease;
}

.page-casino__btn--primary {
  background-color: #FFD700; /* Gold primary color */
  color: #1A1A2E; /* Dark auxiliary color */
  border: 2px solid #FFD700;
}

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

.page-casino__btn--secondary {
  background-color: #1A1A2E; /* Dark auxiliary color */
  color: #FFD700; /* Gold primary color */
  border: 2px solid #FFD700;
}

.page-casino__btn--secondary:hover {
  background-color: #33334d;
  transform: translateY(-2px);
}

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

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

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

.page-casino__game-card {
  background-color: #1A1A2E; /* Dark auxiliary color */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  text-align: center;
  padding-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.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: #FFD700;
  margin-bottom: 15px;
  padding: 0 20px;
}

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

.page-casino__game-card-title a:hover {
  text-decoration: underline;
}

.page-casino__game-card-text {
  font-size: 1em;
  color: #cccccc;
  margin-bottom: 25px;
  padding: 0 20px;
  flex-grow: 1;
}

.page-casino__view-all-games {
  text-align: center;
}

/* Promotions CTA Section */
.page-casino__promotions-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, #1A1A2E, #33334d); /* Gradient with auxiliary color */
  text-align: center;
}

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

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

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

.page-casino__feature-item {
  background-color: #1A1A2E; /* Dark auxiliary color */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

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

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

.page-casino__feature-title a {
  color: #FFD700;
  text-decoration: none;
}

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

.page-casino__feature-text {
  font-size: 0.95em;
  color: #cccccc;
}

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

/* Latest News Section */
.page-casino__latest-news {
  padding: 80px 0;
  background-color: #000;
}

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

.page-casino__news-card {
  background-color: #1A1A2E;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
}

.page-casino__news-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.page-casino__news-card h3,
.page-casino__news-card p,
.page-casino__news-card a {
  padding: 0 25px;
}

.page-casino__news-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-top: 20px;
  margin-bottom: 10px;
}

.page-casino__news-title a {
  color: #FFD700;
  text-decoration: none;
}

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

.page-casino__news-excerpt {
  font-size: 0.95em;
  color: #cccccc;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-casino__news-card .page-casino__btn {
  align-self: flex-start;
  margin: 0 25px 25px 25px;
}

.page-casino__view-all-news {
  text-align: center;
}

/* FAQ Section */
.page-casino__faq {
  padding: 80px 0;
  background-color: #0d0d0d;
}

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

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

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

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

/* Responsive Design */
@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 {
    padding-top: var(--header-offset, 120px);
  }

  .page-casino__hero-title {
    font-size: 2.5em;
  }

  .page-casino__hero-description {
    font-size: 1.1em;
  }

  .page-casino__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-casino__btn {
    width: 100%;
    padding: 12px 20px;
  }

  .page-casino__section-title {
    font-size: 1.8em;
  }

  .page-casino__section-description {
    font-size: 1em;
  }

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

  .page-casino__hero-section,
  .page-casino__games-overview,
  .page-casino__promotions-cta,
  .page-casino__why-choose-us,
  .page-casino__responsible-gaming,
  .page-casino__latest-news,
  .page-casino__faq {
    padding: 50px 0;
  }

  /* Ensure all content images within .page-casino do not overflow */
  .page-casino img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-casino__hero-title {
    font-size: 2em;
  }

  .page-casino__hero-content {
    padding: 30px 20px;
  }

  .page-casino__section-title {
    font-size: 1.6em;
  }

  .page-casino__game-card-title {
    font-size: 1.5em;
  }

  .page-casino__feature-title {
    font-size: 1.3em;
  }

  .page-casino__faq-question {
    font-size: 1.2em;
  }
}