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

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

.page-casino__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  position: relative;
  background-color: #000000; /* Dark background for hero section */
  color: #ffffff;
  text-align: center;
  overflow: hidden;
}

.page-casino__hero-image {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.6;
  filter: brightness(0.8); /* Slightly dim the background image for text readability */
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

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

.page-casino__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

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

.page-casino__button--register {
  background-color: #000000; /* Dark background */
  color: #FFFFFF; /* White text as per rule */
  border: 2px solid #FFFFFF;
}

.page-casino__button--register:hover {
  background-color: #FCBC45;
  color: #000000;
  transform: translateY(-3px);
}

.page-casino__button--login {
  background-color: #FCBC45; /* Yellow background */
  color: #000000; /* Dark text for contrast */
  border: 2px solid #FCBC45;
}

.page-casino__button--login:hover {
  background-color: #000000;
  color: #FCBC45;
  transform: translateY(-3px);
}

.page-casino__section-title {
  font-size: 2.5em;
  color: #000000;
  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: #FCBC45;
  border-radius: 2px;
}

.page-casino__paragraph {
  font-size: 1.1em;
  color: #333333;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 20px auto;
}

.page-casino__introduction-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-casino__game-categories-section {
  padding: 60px 0;
  background-color: #f8f8f8;
}

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

.page-casino__category-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-casino__category-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #eee;
}

.page-casino__card-title {
  font-size: 1.8em;
  color: #000000;
  margin: 20px 0 10px 0;
  padding: 0 15px;
}

.page-casino__card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-casino__card-title a:hover {
  color: #FCBC45;
}

.page-casino__card-description {
  font-size: 1em;
  color: #555555;
  padding: 0 20px;
  margin-bottom: 25px;
}

.page-casino__button--small {
  padding: 10px 20px;
  font-size: 0.95em;
  background-color: #000000;
  color: #FFFFFF;
  border: 1px solid #000000;
}

.page-casino__button--small:hover {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
}

.page-casino__why-choose-us-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

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

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

.page-casino__feature-icon {
  width: 120px; /* Increased size to meet 200px minimum */
  height: 120px; /* Increased size to meet 200px minimum */
  min-width: 200px; /* Enforcing minimum size for display */
  min-height: 200px; /* Enforcing minimum size for display */
  object-fit: contain;
  margin: 0 auto 20px auto;
  display: block;
}

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

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

.page-casino__button--download {
  background-color: #000000;
  color: #FFFFFF;
  border: 1px solid #000000;
}

.page-casino__button--download:hover {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
}

.page-casino__responsible-gaming-section {
  padding: 80px 0;
  background-color: #f0f0f0;
}

.page-casino__responsible-gaming-list {
  list-style: none;
  padding: 0;
  max-width: 700px;
  margin: 40px auto;
  text-align: left;
}

.page-casino__responsible-gaming-item {
  background-color: #ffffff;
  border-left: 5px solid #FCBC45;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1.1em;
  color: #333333;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-casino__button--learn-more {
  background-color: #000000;
  color: #FFFFFF;
  border: 1px solid #000000;
  margin-top: 20px;
}

.page-casino__button--learn-more:hover {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
}

.page-casino__getting-started-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

.page-casino__step-item {
  background-color: #fefefe;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
}

.page-casino__step-number {
  font-size: 3em;
  font-weight: bold;
  color: #FCBC45;
  margin-bottom: 15px;
}

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

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

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

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

.page-casino__faq-item {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin-bottom: 15px;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
}

.page-casino__faq-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.page-casino__faq-question {
  font-size: 1.3em;
  color: #000000;
  padding: 20px 25px;
  margin: 0;
  position: relative;
}

.page-casino__faq-question::after {
  content: '+';
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-casino__faq-item.active .page-casino__faq-question::after {
  transform: translateY(-50%) rotate(45deg);
}

.page-casino__faq-answer {
  font-size: 1em;
  color: #555555;
  padding: 0 25px 20px 25px;
  margin: 0;
  display: none;
}

.page-casino__faq-item.active .page-casino__faq-answer {
  display: block;
}

.page-casino__final-cta-section {
  padding: 80px 0;
  background-color: #000000; /* Dark background */
  color: #ffffff;
  text-align: center;
}

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

.page-casino__final-cta-section .page-casino__paragraph {
  color: #f0f0f0;
}

.page-casino__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

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

@media (max-width: 768px) {
  .page-casino__hero-content {
    padding: 80px 15px;
  }
  .page-casino__hero-title {
    font-size: 2.5em;
  }
  .page-casino__hero-description {
    font-size: 1em;
  }
  .page-casino__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-casino__button {
    width: 80%;
    margin: 0 auto;
  }
  .page-casino__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }
  .page-casino__paragraph {
    font-size: 0.95em;
  }
  .page-casino__category-image, .page-casino__feature-icon {
    max-width: 100%;
    height: auto;
  }
  .page-casino__feature-icon {
    min-width: 200px; /* Ensure mobile image is not too small */
    min-height: 200px; /* Ensure mobile image is not too small */
  }
  .page-casino__faq-question {
    font-size: 1.1em;
  }
  .page-casino__faq-question::after {
    font-size: 1.2em;
    right: 15px;
  }
  .page-casino__faq-answer {
    padding: 0 15px 15px 15px;
  }
  .page-casino__category-card, .page-casino__feature-item, .page-casino__step-item {
    padding: 20px;
  }
  .page-casino__responsible-gaming-item {
    font-size: 1em;
    padding: 10px 15px;
  }
  .page-casino__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-casino__cta-buttons .page-casino__button {
    width: 80%;
  }
}

@media (max-width: 480px) {
  .page-casino__hero-title {
    font-size: 2em;
  }
  .page-casino__hero-content {
    padding: 60px 10px;
  }
  .page-casino__button {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-casino__section-title {
    font-size: 1.8em;
  }
  .page-casino__category-grid, .page-casino__features-grid, .page-casino__steps-grid {
    grid-template-columns: 1fr;
  }
}

/* Ensure all images within .page-casino are responsive and not too small on mobile */
@media (max-width: 768px) {
  .page-casino img {
    max-width: 100%;
    height: auto;
    object-fit: cover; /* or contain, depending on context */
  }
  .page-casino__hero-image {
    height: 400px; /* Adjust hero image height for mobile */
  }
  .page-casino__category-image {
    height: 200px;
  }
  .page-casino__feature-icon {
    width: 200px; /* Enforcing minimum size for display on mobile too */
    height: 200px; /* Enforcing minimum size for display on mobile too */
  }
  .page-casino {
    overflow-x: hidden;
  }
}