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

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

.page-slot-games__section {
  padding: 60px 0;
  text-align: center;
}

.page-slot-games__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-slot-games__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__text-block a {
  color: #2F6BFF;
  text-decoration: underline;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 0 60px; /* Small top padding, body handles header offset */
  overflow: hidden;
  background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%); /* Main color gradient */
  color: #ffffff; /* White text for dark background */
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
}

.page-slot-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-slot-games__lead-text {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* For mobile responsiveness */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  transform: translateY(-2px);
}

.page-slot-games__btn-secondary {
  background: #ffffff;
  color: #2F6BFF; /* Main color */
  border: 2px solid #2F6BFF;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-slot-games__btn-secondary:hover {
  background: #e0eaff;
  transform: translateY(-2px);
}

/* Common Section Styles */
.page-slot-games__about-slots .page-slot-games__section-title,
.page-slot-games__how-to-play .page-slot-games__section-title,
.page-slot-games__video-section .page-slot-games__section-title,
.page-slot-games__faq-section .page-slot-games__section-title {
  color: #1F2D3D; /* Text Main */
}

.page-slot-games__popular-games .page-slot-games__section-title,
.page-slot-games__tips-strategies .page-slot-games__section-title,
.page-slot-games__cta-final .page-slot-games__section-title {
  color: #ffffff;
}

.page-slot-games__light-bg {
  background-color: #F4F7FB; /* Background */
  color: #1F2D3D; /* Text Main */
}

.page-slot-games__dark-section {
  background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%); /* Main color gradient */
  color: #ffffff;
}

.page-slot-games__image-content {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Game List */
.page-slot-games__game-list,
.page-slot-games__steps-list,
.page-slot-games__tips-list {
  list-style: none;
  padding: 0;
  margin: 30px auto;
  max-width: 900px;
  text-align: left;
}

.page-slot-games__list-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.page-slot-games__list-item:hover {
  transform: translateY(-5px);
}

.page-slot-games__list-item h3 {
  font-size: 1.5em;
  margin-top: 0;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-slot-games__list-item p {
  font-size: 1em;
  line-height: 1.5;
  color: #f0f0f0;
}

.page-slot-games__steps-list .page-slot-games__list-item {
  background: #ffffff;
  color: #1F2D3D;
}

.page-slot-games__steps-list .page-slot-games__list-item h3 {
  color: #2F6BFF;
}

.page-slot-games__steps-list .page-slot-games__list-item p {
  color: #1F2D3D;
}

/* Video Section */
.page-slot-games__video-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-slot-games__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1280px; /* Max width for video */
  margin: 30px auto;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  background-color: #000; /* Fallback for video */
}

.page-slot-games__video-wrapper .page-slot-games__video-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.page-slot-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

/* FAQ Section */
.page-slot-games__faq-list {
  max-width: 900px;
  margin: 30px auto;
  text-align: left;
}

.page-slot-games__faq-item {
  background: #ffffff; /* Card BG */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.2em;
  color: #1F2D3D; /* Text Main */
  background-color: #ffffff;
  transition: background-color 0.3s ease;
  list-style: none; /* For details summary */
}

.page-slot-games__faq-question::-webkit-details-marker {
  display: none;
}

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

.page-slot-games__faq-qtext {
  flex-grow: 1;
}

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #2F6BFF;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
  content: '−';
}

.page-slot-games__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #1F2D3D;
  line-height: 1.5;
}

/* Final CTA Section */
.page-slot-games__cta-final {
  padding: 80px 0;
}

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

  .page-slot-games__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-slot-games__lead-text {
    font-size: 1.1em;
  }

  .page-slot-games__hero-image-wrapper {
    max-height: 400px;
  }
}

@media (max-width: 768px) {
  .page-slot-games__section {
    padding: 40px 0;
  }

  .page-slot-games__container {
    padding: 0 15px;
  }

  .page-slot-games__section-title {
    font-size: 1.8em;
  }

  .page-slot-games__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-slot-games__lead-text {
    font-size: 1em;
  }

  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    margin-left: auto;
    margin-right: auto;
  }

  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__hero-section,
  .page-slot-games__video-section,
  .page-slot-games__video-container,
  .page-slot-games__video-wrapper,
  .page-slot-games__cta-buttons,
  .page-slot-games__button-group,
  .page-slot-games__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-slot-games__video-section {
    padding-top: 10px !important; /* body đã xử lý --header-offset */
  }

  .page-slot-games__video-wrapper {
    margin: 20px auto;
  }

  .page-slot-games__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

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

  .page-slot-games__hero-image-wrapper {
    max-height: 300px;
  }
}

@media (max-width: 480px) {
  .page-slot-games__main-title {
    font-size: clamp(1.5rem, 7vw, 2.2rem);
  }

  .page-slot-games__section-title {
    font-size: 1.6em;
  }

  .page-slot-games__hero-section {
    padding: 60px 0 40px;
  }

  .page-slot-games__hero-image-wrapper {
    max-height: 200px;
  }
}