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

.page-casino__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background-color: #003366; /* Dark blue background for hero content area */
  color: #ffffff;
  text-align: center;
  overflow: hidden; /* Ensure image does not overflow */
}

.page-casino__hero-container {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
}

.page-casino__hero-image {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.7;
  filter: brightness(0.8); /* Slightly darken image for text readability, not changing color */
}

.page-casino__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-casino__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFCC00; /* Auxiliary color for emphasis */
  line-height: 1.2;
}

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

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

.page-casino__hero-button {
  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__hero-button--primary {
  background-color: #FFCC00; /* Auxiliary color */
  color: #003366; /* Main color for text */
  border: 2px solid #FFCC00;
}

.page-casino__hero-button--primary:hover {
  background-color: #e6b800;
  transform: translateY(-2px);
}

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

.page-casino__hero-button--secondary:hover {
  background-color: rgba(255, 204, 0, 0.1);
  transform: translateY(-2px);
}

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

.page-casino__about-section,
.page-casino__game-categories-section,
.page-casino__advantages-section,
.page-casino__bonuses-section,
.page-casino__responsible-gambling-section,
.page-casino__cta-section {
  padding: 80px 0;
  text-align: center;
}

.page-casino__about-section {
  background-color: #f8f8f8;
}

.page-casino__section-title {
  font-size: 2.8em;
  color: #003366;
  margin-bottom: 30px;
  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: #FFCC00;
  border-radius: 2px;
}

.page-casino__section-text {
  font-size: 1.1em;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto 20px auto;
  color: #555555;
}

.page-casino__button {
  display: inline-block;
  padding: 12px 25px;
  background-color: #003366;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: 2px solid #003366;
}

.page-casino__button:hover {
  background-color: #002244;
  border-color: #002244;
}

.page-casino__button--small {
  padding: 8px 18px;
  font-size: 0.9em;
}

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

.page-casino__button--secondary:hover {
  background-color: #003366;
  color: #ffffff;
}

.page-casino__game-categories-section {
  background-color: #ffffff;
}

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

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

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

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

.page-casino__card-title {
  font-size: 1.8em;
  color: #003366;
  margin: 20px 20px 10px 20px;
}

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

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

.page-casino__card-description {
  font-size: 1em;
  color: #666666;
  margin: 0 20px 20px 20px;
  line-height: 1.6;
}

.page-casino__category-card .page-casino__button {
  margin: 0 20px 20px 20px;
}

.page-casino__advantages-section {
  background-color: #003366;
  color: #ffffff;
}

.page-casino__advantages-section .page-casino__section-title {
  color: #FFCC00;
}

.page-casino__advantages-section .page-casino__section-title::after {
  background-color: #ffffff;
}

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

.page-casino__advantage-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

.page-casino__advantage-item:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-casino__advantage-icon {
  width: 100px;
  height: auto;
  margin-bottom: 20px;
  filter: brightness(1.2); /* Slightly lighten icons for visibility, not changing color */
}

.page-casino__advantage-title {
  font-size: 1.8em;
  color: #FFCC00;
  margin-bottom: 15px;
}

.page-casino__advantage-text {
  font-size: 1em;
  line-height: 1.7;
  color: #f0f0f0;
}

.page-casino__bonuses-section {
  background-color: #f8f8f8;
}

.page-casino__responsible-gambling-section {
  background-color: #ffffff;
}

.page-casino__cta-section {
  background-color: #FFCC00;
  color: #003366;
  padding: 100px 0;
}

.page-casino__cta-section .page-casino__cta-title {
  font-size: 3.2em;
  color: #003366;
  margin-bottom: 25px;
}

.page-casino__cta-section .page-casino__cta-description {
  font-size: 1.2em;
  color: #333333;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-casino__cta-section .page-casino__button--primary {
  background-color: #003366;
  color: #ffffff;
  border-color: #003366;
}

.page-casino__cta-section .page-casino__button--primary:hover {
  background-color: #002244;
  border-color: #002244;
}

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

@media (max-width: 768px) {
  .page-casino__hero-section {
    padding-top: var(--header-offset, 80px);
    padding: 40px 15px;
  }
  .page-casino__hero-content {
    position: static;
    transform: none;
    padding: 0;
  }
  .page-casino__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
  }
  .page-casino__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-casino__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-casino__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-casino__hero-button {
    width: 100%;
    max-width: 300px;
  }
  .page-casino__section-title {
    font-size: 1.8em;
  }
  .page-casino__section-text {
    font-size: 0.95em;
  }
  .page-casino__game-categories-section,
  .page-casino__advantages-section,
  .page-casino__bonuses-section,
  .page-casino__responsible-gambling-section,
  .page-casino__cta-section {
    padding: 60px 0;
  }
  .page-casino__category-grid {
    grid-template-columns: 1fr;
  }
  .page-casino__advantages-grid {
    grid-template-columns: 1fr;
  }
  .page-casino__cta-title {
    font-size: 2.5em;
  }
  .page-casino__cta-description {
    font-size: 1em;
  }
  .page-casino img {
    max-width: 100%;
    height: auto;
  }
}