.page-slot-games {
  color: #f0f0f0; /* Mặc định chữ nhạt trên nền tối */
  background-color: var(--dark-bg-1); /* Nền tối từ shared.css */
}

.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 120px; /* Điều chỉnh cho thanh nav cố định */
  background: linear-gradient(135deg, #007bff, #28a745);
  color: #ffffff;
}

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

.page-slot-games__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

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

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

.page-slot-games__hero-title {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

.page-slot-games__hero-description {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #e0e0e0;
}

.page-slot-games__text-link {
  color: #ffeb3b; /* Màu vàng nổi bật cho link trong text */
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-slot-games__text-link:hover {
  color: #ffd700;
}

.page-slot-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color); /* Màu xanh chính */
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-slot-games__cta-button:hover {
  background: var(--secondary-color); /* Màu xanh phụ */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-slot-games__section {
  padding: 60px 20px;
  background: var(--dark-bg-1); /* Nền tối */
  color: #f0f0f0;
}

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

.page-slot-games__section-description {
  font-size: 17px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
  color: #e0e0e0;
}

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

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

.page-slot-games__grid-2-cols {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.page-slot-games__grid-reverse {
  flex-direction: row-reverse;
}

.page-slot-games__card {
  background: #1a1a1a; /* Nền card tối hơn nền chính */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #f0f0f0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-slot-games__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-slot-games__card-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-slot-games__card p {
  font-size: 16px;
  line-height: 1.7;
  color: #e0e0e0;
}

.page-slot-games__text-block {
  padding: 20px;
}

.page-slot-games__block-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #ffffff;
  line-height: 1.3;
}

.page-slot-games__text-block p {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #e0e0e0;
}

.page-slot-games__image-block {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.page-slot-games__image-responsive {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

.page-slot-games__image-full-width {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto 0 auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

/* FAQ Section */
.page-slot-games__faq-section {
  background: var(--dark-bg-2); /* Nền hơi khác để phân biệt */
  padding: 60px 20px;
}

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

.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.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, opacity 0.4s ease;
  padding: 0 20px;
  opacity: 0;
  background: #1a1a1a;
  color: #e0e0e0;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1;
  background: #1a1a1a;
  border-radius: 0 0 8px 8px;
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #2a2a2a;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: #ffffff;
}

.page-slot-games__faq-question:hover {
  background: #3a3a3a;
  border-color: #555555;
}

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

.page-slot-games__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #ffffff;
}

.page-slot-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #ffffff;
  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: 32px;
  height: 32px;
}

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
  color: #007bff;
  transform: rotate(45deg);
}

.page-slot-games__faq-answer p {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.7;
  color: #e0e0e0;
}

.page-slot-games__cta-wrapper {
  text-align: center;
  margin-top: 50px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__hero-title {
    font-size: 36px;
  }
  .page-slot-games__hero-description {
    font-size: 16px;
  }
  .page-slot-games__section-title {
    font-size: 32px;
  }
  .page-slot-games__card-title {
    font-size: 22px;
  }
  .page-slot-games__block-title {
    font-size: 24px;
  }
  .page-slot-games__text-block p {
    font-size: 16px;
  }
  .page-slot-games__grid-2-cols {
    grid-template-columns: 1fr;
  }
  .page-slot-games__grid-reverse {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    padding-top: 100px !important; /* Điều chỉnh cho thanh nav di động */
    padding-bottom: 40px;
  }
  .page-slot-games__hero-title {
    font-size: 28px;
  }
  .page-slot-games__hero-description {
    font-size: 15px;
  }
  .page-slot-games__cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-slot-games__section {
    padding: 40px 15px;
  }
  .page-slot-games__section-title {
    font-size: 26px;
  }
  .page-slot-games__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }
  .page-slot-games__grid-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-slot-games__card {
    padding: 20px;
  }
  .page-slot-games__card-title {
    font-size: 20px;
  }
  .page-slot-games__card p {
    font-size: 15px;
  }
  .page-slot-games__block-title {
    font-size: 22px;
  }
  .page-slot-games__text-block p {
    font-size: 15px;
  }
  .page-slot-games__faq-section {
    padding: 40px 15px;
  }
  .page-slot-games__faq-question {
    padding: 15px;
  }
  .page-slot-games__faq-question h3 {
    font-size: 16px;
  }
  .page-slot-games__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }
  .page-slot-games__faq-answer {
    padding: 0 15px;
  }
  .page-slot-games__faq-item.active .page-slot-games__faq-answer {
    padding: 15px !important;
  }

  /* Mandatory image responsiveness for mobile */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__hero-section,
  .page-slot-games__hero-container,
  .page-slot-games__hero-image,
  .page-slot-games__hero-content,
  .page-slot-games__grid-layout,
  .page-slot-games__text-block,
  .page-slot-games__image-block,
  .page-slot-games__faq-list,
  .page-slot-games__faq-item,
  .page-slot-games__faq-question,
  .page-slot-games__faq-answer,
  .page-slot-games__cta-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}