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

.page-casino__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background-color: #000000; /* Dark background for hero content contrast */
  color: #ffffff;
}

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

.page-casino__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  opacity: 0.6; /* Slightly dim image for text readability */
}

.page-casino__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  max-width: 900px;
  padding: 20px;
  z-index: 10;
}

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

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

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

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

.page-casino__button--primary {
  background-color: #FFD700; /* Gold primary color */
  color: #8B0000; /* Deep Red secondary color for text */
  border: 2px solid #FFD700;
}

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

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

.page-casino__button--secondary:hover {
  background-color: #FFD700;
  color: #8B0000;
}

.page-casino__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

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

.page-casino__section-title {
  font-size: 2.5em;
  color: #8B0000; /* Deep Red secondary color */
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

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

.page-casino__section-intro,
.page-casino__section-description {
  font-size: 1.1em;
  line-height: 1.7;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #555555;
}

.page-casino__about-section {
  background-color: #ffffff;
  padding: 60px 0;
}

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

.page-casino__feature-card {
  background-color: #fdfdfd;
  border: 1px solid #eeeeee;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-casino__feature-title {
  font-size: 1.5em;
  color: #8B0000;
  margin-bottom: 15px;
}

.page-casino__feature-description {
  font-size: 1em;
  color: #666666;
  line-height: 1.6;
}

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

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

.page-casino__game-card {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  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.1);
}

.page-casino__game-card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-casino__game-card-title {
  font-size: 1.6em;
  color: #8B0000;
  margin: 20px 0 10px;
  padding: 0 20px;
}

.page-casino__game-card-description {
  font-size: 0.95em;
  color: #666666;
  line-height: 1.6;
  padding: 0 20px 20px;
}

.page-casino__game-card .page-casino__button {
  margin-bottom: 20px;
}

.page-casino__popular-games-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-casino__detail-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.page-casino__detail-item {
  background-color: #fdfdfd;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-casino__detail-title {
  font-size: 1.8em;
  margin-bottom: 10px;
}

.page-casino__detail-title a {
  color: #8B0000;
  text-decoration: none;
}

.page-casino__detail-title a:hover {
  text-decoration: underline;
  color: #FFD700;
}

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

.page-casino__promotions-section {
  background-color: #f0f0f0;
  padding: 60px 0;
}

.page-casino__promotions-section .page-casino__container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-casino__promo-image {
  flex: 1 1 45%;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-casino__promo-content {
  flex: 1 1 45%;
  text-align: left;
}

.page-casino__promo-content .page-casino__section-title,
.page-casino__promo-content .page-casino__section-intro {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.page-casino__promo-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-casino__promo-list li {
  background-color: #ffffff;
  padding: 15px 20px;
  margin-bottom: 10px;
  border-left: 5px solid #FFD700;
  border-radius: 5px;
  font-size: 1.05em;
  color: #444444;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.page-casino__responsible-gaming-section .page-casino__container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  flex-direction: row-reverse; /* Image on right */
}

.page-casino__responsible-image {
  flex: 1 1 45%;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-casino__responsible-content {
  flex: 1 1 45%;
  text-align: left;
}

.page-casino__responsible-content .page-casino__section-title,
.page-casino__responsible-content .page-casino__section-intro {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.page-casino__responsible-list {
  list-style: disc;
  padding-left: 25px;
  margin-bottom: 30px;
  color: #555555;
}

.page-casino__responsible-list li {
  margin-bottom: 10px;
  font-size: 1em;
}

.page-casino__cta-section {
  background-color: #8B0000; /* Deep Red secondary color */
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}

.page-casino__cta-section .page-casino__section-title {
  color: #FFD700; /* Gold primary color */
}

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

.page-casino__cta-section .page-casino__section-intro {
  color: #f0f0f0;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-casino__hero-title {
    font-size: 3em;
  }
  .page-casino__hero-description {
    font-size: 1.1em;
  }
  .page-casino__section-title {
    font-size: 2em;
  }
  .page-casino__section-intro,
  .page-casino__section-description {
    font-size: 1em;
  }
  .page-casino__promo-image,
  .page-casino__responsible-image {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .page-casino__promo-content,
  .page-casino__responsible-content {
    flex: 1 1 100%;
    text-align: center;
  }
  .page-casino__promo-content .page-casino__section-title,
  .page-casino__promo-content .page-casino__section-intro,
  .page-casino__responsible-content .page-casino__section-title,
  .page-casino__responsible-content .page-casino__section-intro {
    text-align: center;
  }
  .page-casino__promo-list,
  .page-casino__responsible-list {
    text-align: left;
    margin: 0 auto 30px auto;
    max-width: 600px;
  }
  .page-casino__promotions-section .page-casino__container,
  .page-casino__responsible-gaming-section .page-casino__container {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-casino {
    padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
  }
  .page-casino__hero-title {
    font-size: 2.2em;
  }
  .page-casino__hero-description {
    font-size: 0.9em;
  }
  .page-casino__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-casino__button {
    width: 80%;
    margin: 0 auto;
  }
  .page-casino__section-title {
    font-size: 1.8em;
  }
  .page-casino__section-intro,
  .page-casino__section-description {
    font-size: 0.9em;
  }
  .page-casino__feature-card,
  .page-casino__game-card {
    padding: 20px;
  }
  .page-casino__game-card-image {
    height: 200px;
  }
  .page-casino__game-card-title {
    font-size: 1.4em;
  }
  .page-casino__game-card-description {
    font-size: 0.9em;
  }
  .page-casino__cta-actions {
    flex-direction: column;
    gap: 15px;
  }
  /* Mobile content area image constraint */
  .page-casino img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-casino__hero-title {
    font-size: 1.8em;
  }
  .page-casino__hero-description {
    font-size: 0.85em;
  }
  .page-casino__section-title {
    font-size: 1.5em;
  }
  .page-casino__button {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-casino__game-card-image {
    height: 180px;
  }
}