.page-casino {
  color: #333333; /* Dark text for default white body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Fixed header offset for desktop */
}

.page-casino__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #0056B3; /* Deep blue background for hero */
  color: #ffffff;
}

.page-casino__hero-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  gap: 30px;
  flex-wrap: wrap;
}

.page-casino__hero-image {
  width: 100%;
  max-width: 700px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-casino__hero-content {
  max-width: 600px;
  text-align: center;
  z-index: 1;
}

.page-casino__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: bold;
}

.page-casino__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-casino__hero-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  min-width: 200px;
  text-align: center;
}

.page-casino__hero-button--primary {
  background-color: #FFD700; /* Gold button */
  color: #0056B3; /* Deep blue text */
  border: 2px solid #FFD700;
}

.page-casino__hero-button--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-casino__hero-button--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
}

.page-casino__hero-button--secondary:hover {
  background-color: #FFD700;
  color: #0056B3;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.page-casino__section-title {
  font-size: 2.2em;
  color: #0056B3; /* Deep blue title */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

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

.page-casino__section-text {
  font-size: 1.1em;
  color: #555555;
  text-align: justify;
  margin-bottom: 20px;
}

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

.page-casino__game-category-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

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

.page-casino__category-image {
  width: 100%;
  height: 200px; /* Ensure images are not too small */
  object-fit: cover;
  display: block;
}

.page-casino__category-title {
  font-size: 1.5em;
  color: #0056B3; /* Deep blue title */
  margin: 20px 15px 10px;
}

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

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

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

.page-casino__category-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #0056B3; /* Deep blue text */
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-bottom: 20px;
  transition: background-color 0.3s ease;
}

.page-casino__category-button:hover {
  background-color: #e6c200;
}

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

.page-casino__hot-game-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease;
  border: 1px solid #eee;
}

.page-casino__hot-game-card:hover {
  transform: translateY(-5px);
}

.page-casino__hot-game-image {
  width: 100%;
  height: 180px; /* Ensure images are not too small */
  object-fit: cover;
  display: block;
}

.page-casino__hot-game-title {
  font-size: 1.3em;
  color: #0056B3;
  margin: 15px 10px 5px;
}

.page-casino__hot-game-description {
  font-size: 0.9em;
  color: #666666;
  padding: 0 10px 15px;
}

.page-casino__hot-game-button {
  display: inline-block;
  background-color: #0056B3;
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-bottom: 15px;
  transition: background-color 0.3s ease;
}

.page-casino__hot-game-button:hover {
  background-color: #004085;
}

.page-casino__bonuses-cta {
  text-align: center;
  margin-top: 40px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-casino__bonuses-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: all 0.3s ease;
  min-width: 180px;
  text-align: center;
}

.page-casino__bonuses-button--primary {
  background-color: #FFD700;
  color: #0056B3;
  border: 2px solid #FFD700;
}

.page-casino__bonuses-button--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  transform: translateY(-3px);
}

.page-casino__bonuses-button--secondary {
  background-color: #0056B3;
  color: #FFD700;
  border: 2px solid #0056B3;
}

.page-casino__bonuses-button--secondary:hover {
  background-color: #004085;
  border-color: #004085;
  transform: translateY(-3px);
}

.page-casino__mobile-experience {
  background-color: #f0f8ff;
  border-radius: 10px;
  padding: 60px 20px;
  margin-top: 60px;
  text-align: center;
}

.page-casino__mobile-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

.page-casino__mobile-text {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  text-align: left;
}

.page-casino__mobile-image-wrapper {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
}

.page-casino__mobile-image {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  display: block;
}

.page-casino__mobile-button {
  display: inline-block;
  background-color: #0056B3;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  margin-top: 30px;
  transition: background-color 0.3s ease;
}

.page-casino__mobile-button:hover {
  background-color: #004085;
}

.page-casino__responsible-gaming {
  background-color: #fff8e1; /* Light gold background */
  border-radius: 10px;
  padding: 60px 20px;
  margin-top: 60px;
  text-align: center;
}

.page-casino__responsible-gaming-button {
  display: inline-block;
  background-color: #FFD700;
  color: #0056B3;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 30px;
  transition: background-color 0.3s ease;
}

.page-casino__responsible-gaming-button:hover {
  background-color: #e6c200;
}

.page-casino__faq-list {
  margin-top: 40px;
}

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

.page-casino__faq-question {
  font-size: 1.2em;
  color: #0056B3;
  margin-bottom: 10px;
  font-weight: bold;
}

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

.page-casino__faq-button {
  display: inline-block;
  background-color: #0056B3;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 30px;
  transition: background-color 0.3s ease;
}

.page-casino__faq-button:hover {
  background-color: #004085;
}

.page-casino__cta-section {
  background-color: #0056B3;
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
  border-radius: 10px;
  margin-bottom: 60px;
}

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

.page-casino__cta-section .page-casino__section-text {
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-casino__cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-casino__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  min-width: 200px;
  text-align: center;
}

.page-casino__cta-button--primary {
  background-color: #FFD700;
  color: #0056B3;
  border: 2px solid #FFD700;
}

.page-casino__cta-button--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-casino__cta-button--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-casino__cta-button--secondary:hover {
  background-color: #FFD700;
  color: #0056B3;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-casino {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header */
  }

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

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

  .page-casino__hero-button {
    padding: 12px 25px;
    font-size: 1em;
    min-width: unset;
    width: 100%;
  }

  .page-casino__hero-container {
    flex-direction: column;
    padding: 30px 15px;
  }

  .page-casino__hero-image {
    max-width: 100%;
  }

  .page-casino__hero-content {
    order: 2;
  }

  .page-casino__mobile-content {
    flex-direction: column;
  }

  .page-casino__mobile-text {
    text-align: center;
  }

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

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

  .page-casino__game-categories-grid,
  .page-casino__hot-games-grid {
    grid-template-columns: 1fr;
  }

  /* Ensure all content images within .page-casino are responsive and don't overflow */
  .page-casino img {
    max-width: 100%;
    height: auto;
  }

  .page-casino__hot-game-image,
  .page-casino__category-image {
    max-width: 100%;
    height: auto; /* Allow aspect ratio to be maintained */
    min-height: 200px; /* Ensure minimum height for content images */
  }
  
  .page-casino__mobile-image {
    max-width: 100%;
    height: auto;
    min-height: 200px;
  }

  .page-casino__bonuses-cta,
  .page-casino__cta-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-casino__bonuses-button,
  .page-casino__cta-button {
    width: 100%;
    max-width: 300px;
  }

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

  .page-casino__faq-answer {
    font-size: 0.95em;
  }
}