.page-casino__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 40px;
  background-color: #F4F7FB;
  color: #1F2D3D;
}

.page-casino__hero-image-wrapper {
  width: 100%;
  overflow: hidden;
  margin-bottom: 20px;
}

.page-casino__hero-image {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/5; /* For 1920x600 */
  object-fit: cover;
  object-position: center;
}

.page-casino__hero-content {
  max-width: 1200px;
  padding: 0 15px;
}

.page-casino__hero-title {
  font-size: clamp(1.75rem, 4.5vw, 2.5rem); /* Adjusted for slightly larger desktop, but still clamped */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #1F2D3D;
}

.page-casino__hero-description {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #1F2D3D;
}

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

.page-casino__section-title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #1F2D3D;
}

.page-casino__section-description {
  font-size: 1rem;
  line-height: 1.6;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #1F2D3D;
}

.page-casino__game-categories {
  padding: 60px 20px;
  background-color: #F4F7FB;
}

.page-casino__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-casino__game-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
  text-decoration: none;
  color: #1F2D3D;
  min-height: 200px; /* Ensure card content area is not too small */
}

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

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

.page-casino__game-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 15px 15px 5px 15px;
  color: #1F2D3D;
}

.page-casino__game-card-text {
  font-size: 0.95rem;
  line-height: 1.5;
  padding: 0 15px 15px 15px;
  color: #1F2D3D;
}

.page-casino__why-choose {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
  background-color: #F4F7FB;
}

.page-casino__why-choose-content {
  flex: 1;
  text-align: left;
}

.page-casino__why-choose-content .page-casino__section-title,
.page-casino__why-choose-content .page-casino__section-description {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.page-casino__feature-list {
  list-style: none;
  padding: 0;
  margin-top: 25px;
}

.page-casino__feature-item {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
  color: #1F2D3D;
}

.page-casino__feature-item::before {
  content: '✅';
  position: absolute;
  left: 0;
  top: 0;
}

.page-casino__why-choose-image-wrapper {
  flex: 1;
  min-width: 300px; /* Ensure image wrapper has a minimum width */
}

.page-casino__why-choose-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Ensure image is not too small */
  min-height: 200px;
}

.page-casino__promotions-section {
  padding: 60px 20px;
  background-color: #F4F7FB;
}

.page-casino__promo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto 40px auto;
}

.page-casino__promo-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  min-height: 200px; /* Ensure card content area is not too small */
}

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

.page-casino__promo-card-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 15px 15px 5px 15px;
  color: #1F2D3D;
}

.page-casino__promo-card-text {
  font-size: 0.9rem;
  line-height: 1.5;
  padding: 0 15px 15px 15px;
  flex-grow: 1;
  color: #1F2D3D;
}

.page-casino__view-all-promos {
  text-align: center;
  margin-top: 20px;
}

.page-casino__get-started {
  padding: 60px 20px;
  background-color: #F4F7FB;
}

.page-casino__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto 40px auto;
}

.page-casino__step-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  min-height: 200px; /* Ensure card content area is not too small */
}

.page-casino__step-number {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.page-casino__step-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #1F2D3D;
}

.page-casino__step-text {
  font-size: 1rem;
  line-height: 1.5;
  color: #1F2D3D;
}

.page-casino__get-started-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 40px;
}

.page-casino__faq-section {
  padding: 60px 20px;
  background-color: #F4F7FB;
  max-width: 1200px;
  margin: 0 auto;
}

.page-casino__faq-list {
  margin-top: 40px;
}

.page-casino__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #D6E2FF;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-casino__faq-question {
  font-size: 1.15rem;
  font-weight: 600;
  padding: 18px 25px;
  cursor: pointer;
  margin: 0;
  position: relative;
  color: #1F2D3D;
}

.page-casino__faq-question::after {
  content: '+';
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.page-casino__faq-question.active::after {
  content: '-';
  transform: translateY(-50%) rotate(180deg);
}

.page-casino__faq-answer {
  font-size: 1rem;
  line-height: 1.6;
  padding: 0 25px 20px 25px;
  margin: 0;
  display: none; /* Hidden by default */
  color: #1F2D3D;
}

/* Buttons */
.page-casino__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.page-casino__btn--primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
}

.page-casino__btn--primary:hover {
  opacity: 0.9;
  box-shadow: 0 5px 15px rgba(47, 107, 255, 0.4);
}

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

.page-casino__btn--secondary:hover {
  background-color: #2F6BFF;
  color: #FFFFFF;
}

.page-casino__btn--outline {
  background-color: transparent;
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
  padding: 10px 20px;
}

.page-casino__btn--outline:hover {
  background-color: #2F6BFF;
  color: #FFFFFF;
}

.page-casino__btn--small {
  padding: 8px 15px;
  font-size: 0.9rem;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  margin: 0 15px 15px 15px;
}

.page-casino__btn--small:hover {
  opacity: 0.9;
}

/* Responsive Styles */
@media (max-width: 849px) {
  .page-casino__hero-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
  }

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

  .page-casino__why-choose {
    flex-direction: column;
    text-align: center;
  }

  .page-casino__why-choose-content .page-casino__section-title,
  .page-casino__why-choose-content .page-casino__section-description {
    text-align: center;
  }

  .page-casino__feature-list {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .page-casino__hero-actions,
  .page-casino__get-started-actions {
    flex-direction: column;
    gap: 10px;
  }

  .page-casino__btn {
    width: 100%;
    text-align: center;
  }

  .page-casino__hero-image {
    aspect-ratio: 16/9; /* More standard for mobile hero */
  }

  .page-casino__game-grid,
  .page-casino__promo-cards,
  .page-casino__steps-grid {
    grid-template-columns: 1fr;
  }

  .page-casino__why-choose-image {
    max-width: 100%;
    height: auto;
  }

  /* Ensure all content area images are responsive */
  .page-casino__hero-image,
  .page-casino__game-card-image,
  .page-casino__why-choose-image,
  .page-casino__promo-card-image {
    max-width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-casino__game-card-image,
  .page-casino__promo-card-image {
    height: 180px; /* Adjust height for smaller screens */
  }
}

@media (max-width: 549px) {
  .page-casino__hero-title {
    font-size: clamp(1.2rem, 8vw, 1.8rem);
  }

  .page-casino__section-title {
    font-size: clamp(1.3rem, 6vw, 1.8rem);
  }

  .page-casino__hero-section,
  .page-casino__game-categories,
  .page-casino__why-choose,
  .page-casino__promotions-section,
  .page-casino__get-started,
  .page-casino__faq-section {
    padding: 30px 15px;
  }

  .page-casino__hero-image {
    height: 200px;
  }

  .page-casino__feature-item {
    font-size: 0.95rem;
  }

  .page-casino__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-casino__faq-question::after {
    right: 20px;
  }

  .page-casino__faq-answer {
    padding: 0 20px 15px 20px;
  }
}