.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #f8f8f8; /* Light background for the page content */
}

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

.page-slot-games__section-title {
  font-size: 36px;
  color: #CC0000; /* Primary brand color */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-slot-games__section-description {
  font-size: 18px;
  text-align: center;
  color: #555555;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__text-block {
  font-size: 17px;
  margin-bottom: 20px;
  text-align: justify;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px);
  background: linear-gradient(135deg, #CC0000, #003366);
  color: #ffffff; /* White text on dark gradient background */
  overflow: hidden;
}

.page-slot-games__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-slot-games__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-slot-games__main-title {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-slot-games__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  color: #f0f0f0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: #FFD700; /* Gold accent color */
  color: #003366; /* Dark blue text on gold */
  text-decoration: none;
  border-radius: 50px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-slot-games__cta-button:hover {
  background: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* General Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
}

.page-slot-games__btn-primary {
  background: #CC0000;
  color: #ffffff;
  border-color: #CC0000;
}

.page-slot-games__btn-primary:hover {
  background: #a30000;
  border-color: #a30000;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.page-slot-games__btn-secondary {
  background: #003366;
  color: #ffffff;
  border-color: #003366;
}

.page-slot-games__btn-secondary:hover {
  background: #002244;
  border-color: #002244;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.page-slot-games__full-width-btn {
  display: block;
  width: 100%;
  max-width: 400px;
  margin: 40px auto 0 auto;
}

/* Section Backgrounds */
.page-slot-games__light-bg {
  background-color: #ffffff;
  color: #333333;
  padding: 80px 0;
}

.page-slot-games__dark-section {
  background-color: #003366;
  color: #ffffff;
  padding: 80px 0;
}

.page-slot-games__dark-section .page-slot-games__section-title,
.page-slot-games__dark-section .page-slot-games__section-description {
  color: #ffffff;
}

/* Game Types Section */
.page-slot-games__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__game-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
}

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

.page-slot-games__game-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 15px;
  display: block;
}

.page-slot-games__card-title {
  font-size: 22px;
  font-weight: bold;
  color: #CC0000;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-slot-games__card-text {
  font-size: 15px;
  color: #555555;
  margin-bottom: 20px;
  padding: 0 15px;
}

/* Advantages Section */
.page-slot-games__advantage-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-slot-games__advantage-item {
  background: #f9f9f9;
  border-left: 5px solid #CC0000;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__advantage-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

.page-slot-games__advantage-title {
  font-size: 20px;
  font-weight: bold;
  color: #003366;
  margin-bottom: 10px;
}

.page-slot-games__advantage-item p {
  font-size: 16px;
  color: #444444;
}

/* Guide Section */
.page-slot-games__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__step-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  color: #333333;
}

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

.page-slot-games__step-icon {
  width: 60px;
  height: 60px;
  line-height: 60px;
  background: #CC0000;
  color: #ffffff;
  font-size: 30px;
  font-weight: bold;
  border-radius: 50%;
  margin: 0 auto 20px auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__step-title {
  font-size: 22px;
  font-weight: bold;
  color: #003366;
  margin-bottom: 10px;
}

.page-slot-games__step-item p {
  font-size: 16px;
  color: #555555;
}

/* Promotions Section */
.page-slot-games__promotion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__promo-card {
  background: #fdfdfd;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
}

.page-slot-games__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-slot-games__promo-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
  display: block;
}

/* Safety & Support Section */
.page-slot-games__safety-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-slot-games__safety-item {
  background: #ffffff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  text-align: center;
  color: #333333;
}

.page-slot-games__safety-title {
  font-size: 20px;
  font-weight: bold;
  color: #CC0000;
  margin-bottom: 10px;
}

.page-slot-games__safety-item p {
  font-size: 16px;
  color: #555555;
}

.page-slot-games__contact-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
  flex-wrap: wrap;
}

/* FAQ Section */
.page-slot-games__faq-list {
  margin-top: 40px;
}

/* FAQ容器样式 */
.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

/* FAQ默认状态 - 答案隐藏 */
.page-slot-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

/* FAQ展开状态 - 🚨 使用!important和足够大的max-height确保一定能展开 */
.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 2000px !important; /* 🚨 Sử dụng!important để đảm bảo ưu tiên, giá trị đủ lớn để chứa mọi nội dung */
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

/* 问题样式 */
.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-slot-games__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-slot-games__faq-question:active {
  background: #eeeeee;
}

/* 问题标题样式 */
.page-slot-games__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none; /* 防止h3标签阻止点击事件 */
  color: #333333;
}

/* 切换图标 */
.page-slot-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* 防止图标阻止点击事件 */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
  color: #CC0000;
  transform: rotate(45deg); /* Change to rotate for a cross effect */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__main-title {
    font-size: 42px;
  }
  .page-slot-games__section-title {
    font-size: 30px;
  }
  .page-slot-games__hero-image img,
  .page-slot-games__game-card img,
  .page-slot-games__promo-card img {
    height: auto; /* Allow image height to adjust */
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-slot-games__hero-image {
    margin-bottom: 20px;
  }
  .page-slot-games__hero-image img {
    border-radius: 8px;
  }
  .page-slot-games__main-title {
    font-size: 32px;
    margin-bottom: 15px;
  }
  .page-slot-games__hero-description {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .page-slot-games__cta-button {
    padding: 15px 35px;
    font-size: 18px;
    width: 100% !important;
    max-width: 300px !important;
    box-sizing: border-box !important;
  }

  .page-slot-games__container {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-slot-games__section-title {
    font-size: 26px;
    margin-bottom: 15px;
  }
  .page-slot-games__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-slot-games__text-block {
    font-size: 16px;
  }

  /* Images in content area */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-slot-games__game-grid,
  .page-slot-games__advantage-list,
  .page-slot-games__guide-steps,
  .page-slot-games__promotion-grid,
  .page-slot-games__safety-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games__game-card,
  .page-slot-games__promo-card,
  .page-slot-games__advantage-item,
  .page-slot-games__step-item,
  .page-slot-games__safety-item {
    padding: 20px;
  }

  .page-slot-games__card-title,
  .page-slot-games__advantage-title,
  .page-slot-games__step-title,
  .page-slot-games__safety-title {
    font-size: 18px;
  }

  .page-slot-games__card-text,
  .page-slot-games__advantage-item p,
  .page-slot-games__step-item p,
  .page-slot-games__safety-item p {
    font-size: 15px;
  }

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 16px;
  }

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

  .page-slot-games__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-slot-games__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-slot-games__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-slot-games__faq-answer {
    padding: 0 15px;
  }
  
  .page-slot-games__faq-item.active .page-slot-games__faq-answer {
    padding: 15px !important;
  }
}

@media (max-width: 480px) {
  .page-slot-games__main-title {
    font-size: 28px;
  }
  .page-slot-games__section-title {
    font-size: 22px;
  }
  .page-slot-games__cta-button {
    font-size: 16px;
    padding: 12px 25px;
  }
  .page-slot-games__hero-description {
    font-size: 15px;
  }
}