.page-casino {
  color: #333333; /* Dark text on default light body background */
  line-height: 1.6;
  font-family: Arial, sans-serif;
  padding-top: var(--header-offset, 120px); /* Ensure 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.5em;
  color: var(--primary-color, #1A202C);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-casino__subsection-title {
  font-size: 1.8em;
  color: var(--primary-color, #1A202C);
  margin-top: 40px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-casino__section-description,
.page-casino__paragraph {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px;
  line-height: 1.8;
}

.page-casino__paragraph {
  text-align: left;
  margin-bottom: 20px;
}

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

.page-casino__button--primary {
  background-color: var(--secondary-color, #FFD700);
  color: var(--primary-color, #1A202C);
}

.page-casino__button--primary:hover {
  background-color: #e6c200; /* Slightly darker gold */
  transform: translateY(-2px);
}

.page-casino__button--secondary {
  background-color: transparent;
  color: var(--primary-color, #1A202C);
  border: 2px solid var(--primary-color, #1A202C);
}

.page-casino__button--secondary:hover {
  background-color: var(--primary-color, #1A202C);
  color: #ffffff;
  transform: translateY(-2px);
}

.page-casino__button--large {
  padding: 15px 35px;
  font-size: 1.2em;
}

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

.page-casino__button--play {
  background-color: var(--secondary-color, #FFD700);
  color: var(--primary-color, #1A202C);
  padding: 10px 20px;
  font-size: 1em;
}

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

/* Hero Section */
.page-casino__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  text-align: center;
  padding: 60px 0;
  background-color: var(--primary-color, #1A202C);
}

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

.page-casino__hero-image {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.3;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.6);
}

.page-casino__hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  padding: 20px;
  max-width: 900px;
  margin: 0 auto;
}

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

.page-casino__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

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

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

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

.page-casino__game-category-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  padding-bottom: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-casino__category-title {
  font-size: 1.6em;
  color: var(--primary-color, #1A202C);
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-casino__category-title a {
  color: var(--primary-color, #1A202C);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-casino__category-title a:hover {
  color: var(--secondary-color, #FFD700);
}

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

/* Featured Games Section */
.page-casino__featured-games-section {
  padding: 80px 0;
  background-color: #ffffff;
}

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

.page-casino__game-card {
  background-color: #fdfdfd;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.page-casino__game-card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 15px;
}

.page-casino__game-card-title {
  font-size: 1.4em;
  color: var(--primary-color, #1A202C);
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-casino__game-card-title a {
  color: var(--primary-color, #1A202C);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-casino__game-card-title a:hover {
  color: var(--secondary-color, #FFD700);
}

.page-casino__game-card-description {
  font-size: 0.9em;
  color: #666666;
  margin-bottom: 25px;
  padding: 0 15px;
}

/* Live Experience Section */
.page-casino__live-experience-section {
  padding: 80px 0;
  background-color: var(--primary-color, #1A202C);
  color: #ffffff;
}

.page-casino__live-experience-section .page-casino__section-title,
.page-casino__live-experience-section .page-casino__section-description {
  color: #ffffff;
}

.page-casino__live-image {
  width: 100%;
  max-width: 1000px;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.page-casino__live-feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
}

.page-casino__live-feature-title {
  font-size: 1.5em;
  color: var(--secondary-color, #FFD700);
  margin-bottom: 15px;
}

.page-casino__live-experience-section .page-casino__paragraph {
  color: #f0f0f0;
  text-align: center;
}

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

.page-casino__promotion-image {
  width: 100%;
  max-width: 900px;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-casino__promotion-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 800px;
  text-align: center;
}

.page-casino__promotion-item {
  font-size: 1.2em;
  margin-bottom: 15px;
  color: var(--primary-color, #1A202C);
  position: relative;
  padding-left: 30px;
}

.page-casino__promotion-item::before {
  content: '⭐';
  position: absolute;
  left: 0;
  font-size: 1.1em;
  top: 0;
}

/* Why Choose Section */
.page-casino__why-choose-section {
  padding: 80px 0;
  background-color: #ffffff;
}

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

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

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

.page-casino__feature-icon {
  width: 100px; /* Minimum 200px rule applies to content images, these are illustrative icons */
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block; /* Ensure it's a block element for margin auto */
  margin-left: auto;
  margin-right: auto;
  min-width: 200px; /* Enforcing minimum size for icons as well */
  min-height: 200px;
}

.page-casino__feature-title {
  font-size: 1.4em;
  color: var(--primary-color, #1A202C);
  margin-bottom: 15px;
}

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

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

.page-casino__responsible-gaming-image {
  width: 100%;
  max-width: 900px;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-casino__responsible-gaming-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 800px;
  text-align: left;
}

.page-casino__responsible-gaming-item {
  font-size: 1.1em;
  margin-bottom: 10px;
  color: #555555;
  position: relative;
  padding-left: 25px;
}

.page-casino__responsible-gaming-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary-color, #FFD700);
  font-weight: bold;
}

/* CTA Section */
.page-casino__cta-section {
  padding: 80px 0;
  background-color: var(--primary-color, #1A202C);
  color: #ffffff;
  text-align: center;
}

.page-casino__cta-section .page-casino__section-title,
.page-casino__cta-section .page-casino__section-description {
  color: #ffffff;
}

.page-casino__button--cta {
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-casino__hero-title {
    font-size: 3em;
  }
  .page-casino__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-casino__hero-section {
    min-height: 500px;
    padding: 40px 0;
  }
  .page-casino__hero-title {
    font-size: 2.5em;
  }
  .page-casino__hero-description {
    font-size: 1.1em;
  }
  .page-casino__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-casino__button--large {
    width: 80%;
    margin: 0 auto;
  }
  .page-casino__section-title {
    font-size: 1.8em;
  }
  .page-casino__subsection-title {
    font-size: 1.5em;
  }
  .page-casino__section-description,
  .page-casino__paragraph {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-casino__game-categories-grid,
  .page-casino__featured-games-grid,
  .page-casino__live-features,
  .page-casino__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-casino__category-image,
  .page-casino__game-card-image {
    height: 200px;
  }

  /* Mobile content area images */
  .page-casino img {
    max-width: 100% !important;
    height: auto !important;
  }
  .page-casino {
    overflow-x: hidden;
  }
  .page-casino__feature-icon {
    width: 150px; /* Adjusting for mobile, still > 200px */
    height: 150px;
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-casino__hero-title {
    font-size: 2em;
  }
  .page-casino__hero-description {
    font-size: 0.95em;
  }
  .page-casino__button {
    font-size: 1em;
    padding: 10px 20px;
  }
  .page-casino__button--large {
    width: 90%;
  }
  .page-casino__section-title {
    font-size: 1.5em;
  }
  .page-casino__subsection-title {
    font-size: 1.3em;
  }
  .page-casino__category-image,
  .page-casino__game-card-image {
    height: 180px;
  }
}