.page-slot-games {
  background-color: #F4F7FB;
  color: #1F2D3D;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-slot-games__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: #1F2D3D;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-slot-games__section-title--gradient {
  background: linear-gradient(90deg, #2F6BFF, #6FA3FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

/* Hero Section */
.page-slot-games__hero-section {
  display: flex;
  flex-direction: column; /* Default to column for mobile */
  align-items: center;
  background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%);
  padding: 10px 0 40px;
  position: relative;
  overflow: hidden;
}

.page-slot-games__hero-visual {
  width: 100%;
  max-width: 1920px;
  margin-bottom: 20px;
}

.page-slot-games__hero-visual img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 16/5; /* Adjust aspect ratio for visual impact */
  border-radius: 8px;
}

.page-slot-games__hero-content {
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
  color: #FFFFFF;
  z-index: 1;
}

.page-slot-games__main-title {
  font-size: clamp(2.5rem, 4.5vw, 3.5rem);
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.2;
  color: #FFFFFF;
}

.page-slot-games__hero-description {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  margin-bottom: 30px;
  color: #FFFFFF;
}

.page-slot-games__btn-cta {
  display: inline-block;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Introduction Section */
.page-slot-games__introduction-section {
  padding: 60px 0;
  background-color: #F4F7FB;
}

.page-slot-games__text-content {
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-align: justify;
}

/* Featured Games Section */
.page-slot-games__featured-games-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-slot-games__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.page-slot-games__game-tile {
  display: block;
  background-color: #F4F7FB;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: #1F2D3D;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-slot-games__game-tile img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-slot-games__game-title {
  display: block;
  padding: 15px;
  font-weight: bold;
  font-size: 1.1rem;
  text-align: center;
}

.page-slot-games__button-wrapper {
  text-align: center;
}

.page-slot-games__btn-secondary {
  display: inline-block;
  background-color: #D6E2FF;
  color: #2F6BFF;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-slot-games__btn-secondary:hover {
  background-color: #A5C4FF;
}

/* Benefits Section */
.page-slot-games__benefits-section {
  padding: 60px 0;
  background-color: #F4F7FB;
}

.page-slot-games__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-slot-games__benefit-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  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-slot-games__benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-slot-games__benefit-title {
  font-size: 1.5rem;
  color: #2F6BFF;
  margin-bottom: 15px;
}

.page-slot-games__benefit-description {
  font-size: 1rem;
  color: #1F2D3D;
}

/* How to Play Section */
.page-slot-games__how-to-play-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-slot-games__how-to-play-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.page-slot-games__step-list {
  list-style: none;
  padding: 0;
}

.page-slot-games__step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.page-slot-games__step-number {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  font-weight: bold;
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-right: 15px;
}

.page-slot-games__step-title {
  font-size: 1.3rem;
  color: #2F6BFF;
  margin-top: 0;
  margin-bottom: 5px;
}

.page-slot-games__step-description {
  font-size: 1rem;
  color: #1F2D3D;
}

.page-slot-games__how-to-play-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.page-slot-games__faq-section {
  padding: 60px 0;
  background-color: #F4F7FB;
}

.page-slot-games__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-slot-games__faq-item {
  background-color: #FFFFFF;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-slot-games__faq-question {
  font-size: 1.2rem;
  color: #1F2D3D;
  padding: 20px;
  margin: 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
  background-color: #F0F5FF;
}

.page-slot-games__faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: #2F6BFF;
  transition: transform 0.3s ease;
}

.page-slot-games__faq-item.active .page-slot-games__faq-question::after {
  transform: rotate(45deg);
}

.page-slot-games__faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 200px; /* Adjust as needed */
  padding: 10px 20px 20px;
}

.page-slot-games__faq-answer p {
  margin: 0;
  font-size: 1rem;
  color: #1F2D3D;
}

/* Responsive adjustments */
@media (max-width: 849px) {
  .page-slot-games__hero-visual img {
    aspect-ratio: 4/3; /* Mobile aspect ratio for hero image */
  }
  .page-slot-games__how-to-play-grid {
    grid-template-columns: 1fr;
  }
  .page-slot-games__how-to-play-image-wrapper {
    order: -1; /* Image above text for mobile */
    margin-bottom: 30px;
  }
  .page-slot-games__game-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); /* Smaller cards for mobile */
  }
  .page-slot-games__game-tile img {
    
  }
  .page-slot-games__benefits-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-slot-games__container {
    padding: 15px;
  }
  .page-slot-games__section-title {
    margin-bottom: 30px;
  }
  .page-slot-games__hero-section {
    padding-top: 10px; /* Small top padding, body handles header offset */
  }
  .page-slot-games__hero-visual img,
  .page-slot-games__how-to-play-image-wrapper img,
  .page-slot-games__game-tile img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  /* Content area image CSS size lower bound (apply to all img under .page-slot-games) */
  .page-slot-games img {
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px; /* Ensure images are not too small */
    width: auto; /* Allow auto width while respecting min-width */
    height: auto; /* Allow auto height while respecting min-height */
  }
  .page-slot-games__game-tile img {
    min-width: 200px;
    min- /* Maintain aspect ratio */
    width: auto;
    height: auto;
  }
  .page-slot-games__how-to-play-image-wrapper img {
    min-width: 200px;
    min- /* Maintain aspect ratio */
    width: auto;
    height: auto;
  }
  .page-slot-games__hero-visual img {
    min-width: 200px;
    min- /* Maintain aspect ratio */
    width: auto;
    height: auto;
  }
}

@media (max-width: 549px) {
  .page-slot-games__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }
  .page-slot-games__hero-description {
    font-size: 1rem;
  }
  .page-slot-games__game-grid {
    grid-template-columns: 1fr;
  }
  .page-slot-games__game-tile img {
    height: 200px; /* Adjust height for single column */
  }
}

/* Ensure color contrast for all text */
.page-slot-games__main-title,
.page-slot-games__hero-description,
.page-slot-games__btn-cta {
  color: #FFFFFF; /* White text on blue background for contrast */
}

.page-slot-games__section-title,
.page-slot-games__text-content,
.page-slot-games__game-title,
.page-slot-games__benefit-description,
.page-slot-games__step-description,
.page-slot-games__faq-question p,
.page-slot-games__faq-answer p {
  color: #1F2D3D; /* Dark text on light background */
}

.page-slot-games__btn-secondary {
  color: #2F6BFF; /* Blue text on light blue background */
}

.page-slot-games__benefit-title,
.page-slot-games__step-title {
  color: #2F6BFF; /* Blue text on white background */
}

/* No filter on images */
.page-slot-games img {
  filter: none; /* Ensure no CSS filter changes image color */
}