.page-casino {
  color: #333333;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #f5f5f5;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

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

.page-casino__section-title {
  font-size: 2.8em;
  color: #8B0000; /* Deep Red */
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-casino__section-intro {
  font-size: 1.2em;
  text-align: center;
  margin-bottom: 50px;
  color: #555555;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-casino__btn--primary {
  background-color: #FFD700; /* Gold */
  color: #8B0000; /* Deep Red */
  margin-right: 15px;
}

.page-casino__btn--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

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

.page-casino__btn--secondary:hover {
  background-color: #6a0000;
  transform: translateY(-2px);
}

.page-casino__cta-center {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 50px;
}

/* Hero Section */
.page-casino__hero-section {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  padding: 0; /* padding-top handled by main element */
}

.page-casino__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

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

.page-casino__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
  max-width: 800px;
  width: 90%;
  background: rgba(0, 0, 0, 0.6);
  padding: 40px;
  border-radius: 10px;
}

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

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

.page-casino__hero-actions .page-casino__btn {
  margin: 10px;
}

/* Features Section */
.page-casino__features-section {
  background-color: #ffffff;
  padding: 80px 0;
}

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

.page-casino__feature-card {
  background-color: #fcfcfc;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-casino__feature-icon {
  width: 250px; /* Min size for content images */
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-casino__feature-title {
  font-size: 1.8em;
  color: #8B0000; /* Deep Red */
  margin-bottom: 15px;
}

.page-casino__feature-text {
  font-size: 1em;
  color: #666666;
}

/* Games Section */
.page-casino__games-section {
  padding: 80px 0;
  background-color: #f5f5f5;
}

.page-casino__game-category {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.page-casino__game-category--reverse {
  flex-direction: row-reverse;
}

.page-casino__game-image {
  flex: 1;
  width: 100%;
  min-width: 400px; /* Ensure images are not too small */
  height: 450px;
  object-fit: cover;
  display: block;
}

.page-casino__game-content {
  flex: 1.5;
  padding: 40px;
}

.page-casino__game-title {
  font-size: 2.2em;
  color: #8B0000; /* Deep Red */
  margin-bottom: 20px;
}

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

/* Promotions Section */
.page-casino__promotions-section {
  background-color: #ffffff;
  padding: 80px 0;
}

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

.page-casino__promo-card {
  background-color: #fcfcfc;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-casino__promo-image {
  width: 350px;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-casino__promo-title {
  font-size: 1.8em;
  color: #8B0000; /* Deep Red */
  margin-bottom: 15px;
}

.page-casino__promo-text {
  font-size: 1em;
  color: #666666;
}

/* Login Guide Section */
.page-casino__login-guide-section {
  padding: 80px 0;
  background-color: #f5f5f5;
}

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

.page-casino__step-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.page-casino__step-icon {
  width: 250px;
  height: 180px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-casino__step-title {
  font-size: 1.8em;
  color: #8B0000; /* Deep Red */
  margin-bottom: 15px;
}

.page-casino__step-text {
  font-size: 1em;
  color: #666666;
}

/* Responsible Gaming Section */
.page-casino__responsible-gaming-section {
  background-color: #ffffff;
  padding: 80px 0;
}

.page-casino__responsible-list {
  list-style: none;
  padding: 0;
  max-width: 700px;
  margin: 30px auto;
  font-size: 1.1em;
  color: #444444;
}

.page-casino__responsible-list li {
  background-color: #fcfcfc;
  margin-bottom: 10px;
  padding: 15px 20px;
  border-left: 5px solid #FFD700;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-casino__responsible-text {
  text-align: center;
  max-width: 800px;
  margin: 30px auto;
  font-size: 1.1em;
  color: #555555;
}

/* Support Section */
.page-casino__support-section {
  padding: 80px 0;
  background-color: #f5f5f5;
}

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

.page-casino__channel-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.page-casino__channel-icon {
  width: 250px;
  height: 180px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-casino__channel-title {
  font-size: 1.8em;
  color: #8B0000; /* Deep Red */
  margin-bottom: 15px;
}

.page-casino__channel-text {
  font-size: 1em;
  color: #666666;
}

/* Final CTA Section */
.page-casino__final-cta-section {
  background-color: #8B0000; /* Deep Red */
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}

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

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

.page-casino__final-cta-section .page-casino__btn--primary {
  background-color: #FFD700;
  color: #8B0000;
  border: none;
}

.page-casino__final-cta-section .page-casino__btn--primary:hover {
  background-color: #e6c200;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-casino__hero-title {
    font-size: 3em;
  }
  .page-casino__hero-description {
    font-size: 1.1em;
  }
  .page-casino__game-category {
    flex-direction: column;
  }
  .page-casino__game-category--reverse {
    flex-direction: column;
  }
  .page-casino__game-image {
    height: 350px;
    min-width: unset;
  }
}

@media (max-width: 768px) {
  .page-casino {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header */
  }
  .page-casino__section-title {
    font-size: 2em;
  }
  .page-casino__section-intro {
    font-size: 1em;
  }
  .page-casino__hero-title {
    font-size: 2.2em;
  }
  .page-casino__hero-description {
    font-size: 1em;
  }
  .page-casino__hero-content {
    padding: 20px;
  }
  .page-casino__hero-actions .page-casino__btn {
    display: block;
    width: calc(100% - 20px);
    margin: 10px auto;
  }
  .page-casino__features-grid,
  .page-casino__promo-grid,
  .page-casino__guide-steps,
  .page-casino__support-channels {
    grid-template-columns: 1fr;
  }
  .page-casino__game-content {
    padding: 20px;
  }
  /* Ensure content images are responsive and not too small */
  .page-casino img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum width for content images */
    min-height: 200px; /* Enforce minimum height for content images */
    object-fit: cover;
  }
  .page-casino__feature-icon,
  .page-casino__promo-image,
  .page-casino__step-icon,
  .page-casino__channel-icon,
  .page-casino__game-image {
    width: 100%; /* Override fixed width for mobile */
    height: auto;
  }
  .page-casino__responsible-list {
    margin: 20px 10px;
  }
}