.page-casino {
  color: #333333; /* Default text color for light background */
}

.page-casino__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background-color: #000000; /* Main brand color for hero background */
  color: #FFFFFF;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 700px; /* Ensure hero section has a decent height */
}

.page-casino__hero-container {
  position: relative;
  z-index: 2; /* Ensure text is above image */
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-casino__hero-title {
  font-size: 3.5em;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FCBC45; /* Highlight title with login color */
}

.page-casino__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #f0f0f0;
}

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

.page-casino__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Make image subtle in background */
  z-index: 1;
}

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

.page-casino__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #000000;
  text-align: center;
  margin-bottom: 30px;
}

.page-casino__section-text {
  font-size: 1.1em;
  line-height: 1.8;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-casino__image-content {
  display: block;
  width: 100%;
  max-width: 800px; /* Constrain content images */
  height: auto;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-casino__about-section, 
.page-casino__promotions-section, 
.page-casino__safety-section, 
.page-casino__guide-section, 
.page-casino__faq-section {
  background-color: #FFFFFF;
  padding: 60px 0;
}

.page-casino__games-section {
  background-color: #f5f5f5;
  padding: 60px 0;
}

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

.page-casino__game-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-casino__game-card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-casino__game-card-title {
  font-size: 1.8em;
  font-weight: bold;
  color: #000000;
  margin-bottom: 15px;
}

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

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

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

.page-casino__button {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  font-size: 1.05em;
  cursor: pointer;
  text-align: center;
}

.page-casino__button--primary {
  background-color: #FCBC45; /* Login color */
  color: #000000;
  border: 2px solid #FCBC45;
}

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

.page-casino__button--secondary {
  background-color: transparent;
  color: #FCBC45;
  border: 2px solid #FCBC45;
}

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

.page-casino__button--link {
  background-color: #000000; /* Main color */
  color: #FFFFFF;
  border: 2px solid #000000;
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 5px;
}

.page-casino__button--link:hover {
  background-color: #333333;
  border-color: #333333;
  transform: translateY(-2px);
}

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

.page-casino__guide-list li {
  background-color: #f9f9f9;
  border-left: 5px solid #FCBC45;
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 5px;
  font-size: 1.05em;
  line-height: 1.6;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-casino__guide-list li strong {
  color: #000000;
}

/* Floating buttons */
.page-casino__floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
}

.page-casino__floating-button {
  display: block;
  width: 120px;
  padding: 15px 0;
  border-radius: 50px;
  text-align: center;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-casino__floating-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-casino__floating-button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-casino__floating-button--register:hover {
  background-color: #f0f0f0;
}

.page-casino__floating-button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-casino__floating-button--login:hover {
  background-color: #e0a53b;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  .page-casino__hero-section {
    min-height: 500px;
    padding: 40px 15px;
  }

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

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

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

  .page-casino__button {
    width: 100%;
    max-width: 280px;
  }

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

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

  .page-casino__content-area {
    padding: 40px 15px;
  }

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

  .page-casino__game-card-image {
    height: 200px;
  }

  .page-casino__floating-buttons {
    bottom: 15px;
    right: 15px;
    gap: 10px;
  }

  .page-casino__floating-button {
    width: 100px;
    padding: 12px 0;
    font-size: 0.9em;
  }

  /* Critical: Prevent content overflow on mobile */
  .page-casino img {
    max-width: 100%;
    height: auto;
  }

  .page-casino {
    overflow-x: hidden;
  }
}

/* Ensure no image filters are used */
.page-casino img {
  filter: none; /* Absolutely no CSS filters to change image colors */
}

/* Content area images must be at least 200px */
.page-casino__hero-image,
.page-casino__image-content,
.page-casino__game-card-image {
  min-width: 200px;
  min-height: 200px;
}