.page-casino {
  color: #333333; /* Dark text for default white body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-casino__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

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

.page-casino__hero-container {
  position: relative;
}

.page-casino__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.6);
  padding: 30px 40px;
  border-radius: 10px;
  max-width: 90%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.page-casino__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  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: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-casino__btn--primary {
  background-color: #FFD700; /* Gold */
  color: #000080; /* Midnight Blue */
}

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

.page-casino__btn--secondary {
  background-color: #000080; /* Midnight Blue */
  color: #FFD700; /* Gold */
  border: 2px solid #FFD700;
}

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

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

.page-casino__introduction-section, .page-casino__responsible-gaming-section, .page-casino__faq-section {
  padding: 60px 0;
}

.page-casino__introduction-section {
  background-color: #f9f9f9;
}

.page-casino__section-title {
  font-size: 2.2em;
  color: #000080; /* Midnight Blue */
  text-align: center;
  margin-bottom: 40px;
  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: #FFD700; /* Gold accent */
  border-radius: 2px;
}

.page-casino__sub-title {
  font-size: 1.8em;
  color: #000080;
  text-align: center;
  margin-top: 50px;
  margin-bottom: 30px;
}

.page-casino__text-content {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-casino__feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-casino__feature-item {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  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.15);
}

.page-casino__feature-icon {
  width: 200px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 5px;
}

.page-casino__feature-title {
  font-size: 1.4em;
  color: #000080;
  margin-bottom: 10px;
}

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

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

.page-casino__category-card {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-casino__category-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-casino__category-content {
  padding: 25px;
}

.page-casino__category-title {
  font-size: 1.5em;
  color: #000080;
  margin-bottom: 10px;
}

.page-casino__category-title a {
  color: #000080;
  text-decoration: none;
}

.page-casino__category-title a:hover {
  color: #FFD700;
}

.page-casino__category-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

.page-casino__btn--link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  display: inline-block;
  padding: 8px 0;
  border-bottom: 2px solid #FFD700;
}

.page-casino__btn--link:hover {
  color: #e6c200;
  border-color: #e6c200;
}

.page-casino__call-to-action {
  text-align: center;
  margin-top: 60px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.page-casino__btn--large {
  padding: 18px 35px;
  font-size: 1.3em;
  background-color: #FFD700;
  color: #000080;
}

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

.page-casino__btn--download {
  padding: 18px 35px;
  font-size: 1.3em;
  background-color: #000080;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-casino__btn--download:hover {
  background-color: #000066;
  transform: translateY(-3px);
}

.page-casino__faq-section {
  background-color: #f0f0f0;
}

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

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

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

.page-casino__text-content a {
  color: #000080;
  text-decoration: underline;
}

.page-casino__text-content a:hover {
  color: #FFD700;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-casino__hero-title {
    font-size: 2.4em;
  }
  .page-casino__hero-description {
    font-size: 1.1em;
  }
  .page-casino__section-title {
    font-size: 2em;
  }
  .page-casino__game-categories {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-casino__hero-section {
    padding-top: var(--header-offset, 120px);
    padding: 40px 15px;
  }
  .page-casino__hero-image {
    max-width: 100%;
    height: auto;
  }
  .page-casino__hero-content {
    padding: 20px 25px;
    max-width: 95%;
  }
  .page-casino__hero-title {
    font-size: 2em;
  }
  .page-casino__hero-description {
    font-size: 1em;
  }
  .page-casino__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-casino__btn {
    width: 100%;
    padding: 12px 20px;
  }
  .page-casino__content-area {
    padding: 30px 15px;
  }
  .page-casino__section-title {
    font-size: 1.8em;
  }
  .page-casino__feature-list {
    grid-template-columns: 1fr;
  }
  .page-casino__game-categories {
    grid-template-columns: 1fr;
  }
  .page-casino__feature-icon, .page-casino__category-image {
    max-width: 100%;
    height: auto;
  }
  .page-casino__call-to-action {
    flex-direction: column;
    gap: 15px;
  }
  .page-casino__btn--large, .page-casino__btn--download {
    width: 100%;
  }
  /* Ensure all 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: 1.6em;
  }
  .page-casino__hero-description {
    font-size: 0.9em;
  }
  .page-casino__section-title {
    font-size: 1.6em;
  }
  .page-casino__sub-title {
    font-size: 1.5em;
  }
  .page-casino__faq-question {
    font-size: 1.1em;
  }
}