.page-slot-games {
  background-color: #0D0E12;
  color: #FFF3E6;
  padding-top: 10px; /* Small top padding for the first section */
  padding-bottom: 40px;
  min-height: 100vh;
  font-family: Arial, sans-serif;
}

.page-slot-games__hero-section {
  position: relative;
  margin-bottom: 40px;
  text-align: center;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  overflow: hidden;
  margin-bottom: 20px; /* Space between image and content */
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: center;
  filter: none; /* Ensure no CSS filter changes image color */
}

.page-slot-games__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-slot-games__main-title {
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #FF8C1A;
  text-shadow: 0 0 8px rgba(255, 140, 26, 0.6);
}

.page-slot-games__hero-description {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  margin-bottom: 30px;
  line-height: 1.6;
  color: #FFF3E6;
}

.page-slot-games__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  padding: 14px 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(255, 165, 58, 0.4);
  border: none;
  cursor: pointer;
}

.page-slot-games__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 165, 58, 0.6);
}

.page-slot-games__cta-button--centered {
  display: block;
  margin: 30px auto 0 auto;
  max-width: 300px;
  text-align: center;
}

.page-slot-games__section {
  max-width: 1200px;
  margin: 0 auto 50px auto;
  padding: 0 15px;
}

.page-slot-games__section-title {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: #FF8C1A;
  text-align: center;
  margin-bottom: 30px;
  padding-top: 20px;
  position: relative;
}

.page-slot-games__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFA53A;
  margin: 10px auto 0;
  border-radius: 2px;
}

.page-slot-games__content-wrapper {
  line-height: 1.7;
  font-size: 1rem;
}

.page-slot-games__paragraph {
  margin-bottom: 15px;
  color: #FFF3E6;
}

.page-slot-games__highlight-text {
  color: #FFB04D;
  font-weight: bold;
}

.page-slot-games__image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 25px auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  filter: none; /* Ensure no CSS filter changes image color */
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

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

.page-slot-games__game-card {
  background-color: #17191F;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #A84F0C;
}

.page-slot-games__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 165, 58, 0.3);
}

.page-slot-games__card-image {
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
  filter: none; /* Ensure no CSS filter changes image color */
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-slot-games__card-title {
  font-size: 1.4rem;
  color: #FFA53A;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-slot-games__card-description {
  font-size: 0.95rem;
  color: #FFF3E6;
  margin-bottom: 20px;
  padding: 0 15px;
}

.page-slot-games__card-button {
  display: inline-block;
  background: linear-gradient(180deg, #FFB04D 0%, #D96800 100%);
  color: #FFF3E6;
  padding: 10px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95rem;
  transition: background 0.3s ease;
}

.page-slot-games__card-button:hover {
  background: linear-gradient(180deg, #FFC06A 0%, #E67800 100%);
}

.page-slot-games__why-binh88-layout,
.page-slot-games__how-to-play-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

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

.page-slot-games__benefits-item {
  background-color: #17191F;
  border-left: 4px solid #FF8C1A;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  color: #FFF3E6;
}

.page-slot-games__benefits-item strong {
  color: #FFA53A;
}

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

.page-slot-games__steps-item {
  background-color: #17191F;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  color: #FFF3E6;
  border: 1px solid #A84F0C;
}

.page-slot-games__steps-item strong {
  color: #FFA53A;
  display: block;
  margin-bottom: 5px;
}

.page-slot-games__inline-link {
  color: #FFB04D;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.page-slot-games__inline-link:hover {
  color: #FFA53A;
}

.page-slot-games__faq-item {
  background-color: #17191F;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 12px;
  border: 1px solid #A84F0C;
}

.page-slot-games__faq-question {
  font-size: 1.3rem;
  color: #FF8C1A;
  margin-bottom: 10px;
}

.page-slot-games__faq-answer {
  font-size: 1rem;
  color: #FFF3E6;
  line-height: 1.6;
}

/* Responsive adjustments */
@media (min-width: 769px) {
  .page-slot-games__hero-image-wrapper {
    margin-bottom: 40px;
  }

  .page-slot-games__hero-image {
    aspect-ratio: 1920/600; /* Wider aspect ratio for desktop hero */
  }

  .page-slot-games__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 900px;
    padding: 0 30px;
    z-index: 10;
  }

  .page-slot-games__hero-section {
    height: 500px; /* Fixed height for hero on desktop */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
  }

  .page-slot-games__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    margin-bottom: 0;
  }

  .page-slot-games__hero-image {
    height: 100%;
  }

  .page-slot-games__hero-content {
    position: relative;
    z-index: 2;
    margin-top: 150px; /* Adjust to move content below the top of the image */
    text-align: center;
  }

  .page-slot-games__why-binh88-layout {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .page-slot-games__why-binh88-layout .page-slot-games__text-content {
    flex: 1;
    padding-right: 30px;
  }

  .page-slot-games__why-binh88-layout .page-slot-games__image {
    flex: 1;
    max-width: 50%;
    margin: 0;
  }

  .page-slot-games__how-to-play-layout {
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: flex-start;
  }

  .page-slot-games__how-to-play-layout .page-slot-games__image {
    flex: 1;
    max-width: 50%;
    margin: 0;
  }

  .page-slot-games__how-to-play-layout .page-slot-games__steps-list {
    flex: 1;
    padding-left: 30px;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-image {
    max-width: 100%;
    height: auto;
  }
  .page-slot-games__image,
  .page-slot-games__card-image {
    max-width: 100%;
    height: auto;
  }
  .page-slot-games__game-grid {
    grid-template-columns: 1fr;
  }
  .page-slot-games__hero-section {
    padding: 0;
    margin-bottom: 20px;
  }
  .page-slot-games__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }
  .page-slot-games__hero-description {
    font-size: clamp(1rem, 3.5vw, 1.1rem);
  }
  .page-slot-games__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }
  .page-slot-games__faq-question {
    font-size: 1.1rem;
  }
  .page-slot-games__faq-answer {
    font-size: 0.95rem;
  }
  .page-slot-games__why-binh88-layout,
  .page-slot-games__how-to-play-layout {
    flex-direction: column;
  }
  .page-slot-games__why-binh88-layout .page-slot-games__text-content,
  .page-slot-games__how-to-play-layout .page-slot-games__steps-list {
    padding-right: 0;
    padding-left: 0;
  }
  .page-slot-games__why-binh88-layout .page-slot-games__image,
  .page-slot-games__how-to-play-layout .page-slot-games__image {
    max-width: 100%;
  }
}

@media (max-width: 549px) {
  .page-slot-games__main-title {
    font-size: clamp(1.5rem, 8vw, 2rem);
  }
  .page-slot-games__section-title {
    font-size: clamp(1.3rem, 7vw, 1.8rem);
  }
  .page-slot-games__hero-description {
    font-size: 0.95rem;
  }
  .page-slot-games__paragraph,
  .page-slot-games__benefits-item,
  .page-slot-games__steps-item,
  .page-slot-games__faq-answer {
    font-size: 0.9rem;
  }
  .page-slot-games__cta-button {
    padding: 12px 25px;
    font-size: 1rem;
  }
}