/* style/slot-games.css */
.page-slot-games {
  background-color: #08160F; /* Nền tối của body */
  color: #F2FFF6; /* Text Main */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-slot-games__section-title {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

.page-slot-games__description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #A7D9B8; /* Text Secondary */
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* body đã có padding-top, đây chỉ là padding trang trí */
  overflow: hidden;
  text-align: center;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Giới hạn chiều cao cho ảnh chính */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

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

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

.page-slot-games__main-title {
  font-size: clamp(32px, 4.5vw, 60px);
  font-weight: 800;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.1;
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #F2FFF6; /* Text Main */
  border: none;
}

.page-slot-games__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-slot-games__btn-secondary {
  background: transparent;
  color: #F2FFF6; /* Text Main */
  border: 2px solid #2E7A4E; /* Border */
}

.page-slot-games__btn-secondary:hover {
  background: rgba(46, 122, 78, 0.2); /* Deep Green */
  transform: translateY(-2px);
}

/* Info Section */
.page-slot-games__info-section {
  padding: 80px 0;
}

.page-slot-games__text-block {
  font-size: 17px;
  margin-bottom: 25px;
  color: #A7D9B8; /* Text Secondary */
}

/* Types Section */
.page-slot-games__types-section {
  padding: 80px 0;
  background-color: #11271B; /* Card BG */
}

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

.page-slot-games__card {
  background-color: #08160F; /* Background */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-slot-games__card-title {
  font-size: 22px;
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
}

.page-slot-games__card-text {
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-slot-games__small-btn {
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 6px;
  margin-top: auto;
}

/* Benefits Section */
.page-slot-games__benefits-section {
  padding: 80px 0;
}

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

.page-slot-games__benefit-item {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
}

.page-slot-games__benefit-title {
  font-size: 24px;
  font-weight: 700;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
}

.page-slot-games__benefit-text {
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary */
}

/* Guide Section */
.page-slot-games__guide-section {
  padding: 80px 0;
  background-color: #11271B; /* Card BG */
}

.page-slot-games__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-slot-games__step-item {
  background-color: #08160F; /* Background */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
}

.page-slot-games__step-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-slot-games__step-title {
  font-size: 22px;
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
}

.page-slot-games__step-text {
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary */
}

/* Tips Section */
.page-slot-games__tips-section {
  padding: 80px 0;
}

.page-slot-games__tips-list {
  list-style-type: none;
  padding: 0;
  max-width: 900px;
  margin: 0 auto;
}

.page-slot-games__tips-list li {
  background-color: #11271B; /* Card BG */
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  font-size: 17px;
  color: #A7D9B8; /* Text Secondary */
  border-left: 5px solid #2AD16F; /* Button color for accent */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-slot-games__tips-list li strong {
  color: #F2FFF6; /* Text Main */
}

/* Providers Section */
.page-slot-games__providers-section {
  padding: 80px 0;
  background-color: #11271B; /* Card BG */
}

.page-slot-games__providers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.page-slot-games__provider-card {
  background-color: #08160F; /* Background */
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-slot-games__provider-logo {
  width: 100%;
  max-width: 150px;
  height: auto;
  object-fit: contain;
  margin: 0 auto 15px auto;
  display: block;
}

.page-slot-games__provider-name {
  font-size: 20px;
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
}

.page-slot-games__provider-text {
  font-size: 15px;
  color: #A7D9B8; /* Text Secondary */
  flex-grow: 1;
}

/* FAQ Section */
.page-slot-games__faq-section {
  padding: 80px 0;
}

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

.page-slot-games__faq-item {
  background-color: #11271B; /* Card BG */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid #2E7A4E; /* Border */
}

.page-slot-games__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 18px;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  background-color: #0A4B2C; /* Deep Green */
}

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

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

.page-slot-games__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  color: #F2C14E; /* Gold */
}

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

.page-slot-games__faq-answer {
  padding: 15px 20px 20px 20px;
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary */
  background-color: #11271B; /* Card BG */
}

.page-slot-games__faq-answer p {
  margin-bottom: 0;
}

.page-slot-games__faq-answer a {
  color: #2AD16F; /* Button color */
  text-decoration: underline;
}

.page-slot-games__faq-answer a:hover {
  color: #57E38D; /* Glow */
}

/* CTA Section */
.page-slot-games__cta-section {
  padding: 80px 0;
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-slot-games__section-title {
    font-size: clamp(26px, 4vw, 40px);
  }
  .page-slot-games__main-title {
    font-size: clamp(30px, 5vw, 50px);
  }
  .page-slot-games__grid,
  .page-slot-games__benefits-grid,
  .page-slot-games__guide-steps,
  .page-slot-games__providers-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section,
  .page-slot-games__info-section,
  .page-slot-games__types-section,
  .page-slot-games__benefits-section,
  .page-slot-games__guide-section,
  .page-slot-games__tips-section,
  .page-slot-games__providers-section,
  .page-slot-games__faq-section,
  .page-slot-games__cta-section {
    padding: 40px 0 !important;
  }

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

  .page-slot-games__main-title {
    font-size: clamp(28px, 6vw, 38px);
  }

  .page-slot-games__description {
    font-size: 16px;
    margin-bottom: 20px;
  }

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

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px !important;
    font-size: 16px !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games__card-image,
  .page-slot-games__step-image {
    height: 150px;
  }

  .page-slot-games__benefit-title {
    font-size: 20px;
  }

  .page-slot-games__faq-item summary {
    font-size: 16px;
    padding: 15px;
  }

  .page-slot-games__faq-toggle {
    font-size: 20px;
  }

  .page-slot-games__faq-answer {
    padding: 10px 15px 15px 15px;
    font-size: 15px;
  }

  /* Ensure all images are responsive */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-slot-games__hero-section,
  .page-slot-games__info-section,
  .page-slot-games__types-section,
  .page-slot-games__benefits-section,
  .page-slot-games__guide-section,
  .page-slot-games__tips-section,
  .page-slot-games__providers-section,
  .page-slot-games__faq-section,
  .page-slot-games__cta-section,
  .page-slot-games__container,
  .page-slot-games__card,
  .page-slot-games__benefit-item,
  .page-slot-games__step-item,
  .page-slot-games__provider-card,
  .page-slot-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-slot-games__hero-section {
    padding-top: 10px !important;
  }

  .page-slot-games__tips-list li {
    padding: 15px;
  }
}