/* style/slot-games-latest.css */
/* body đã padding-top: var(--header-offset)；trang này cấm viết lại biến đó */

:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --background-dark: #08160F;
  --card-bg-dark: #11271B;
  --text-light: #F2FFF6;
  --text-secondary-light: #A7D9B8;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green-color: #0A4B2C;
}

.page-slot-games-latest {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-light);
  background-color: var(--background-dark); /* Sử dụng màu nền tối */
}

/* Đảm bảo màu sắc văn bản phù hợp với nền tối */
.page-slot-games-latest h1,
.page-slot-games-latest h2,
.page-slot-games-latest h3,
.page-slot-games-latest h4,
.page-slot-games-latest h5,
.page-slot-games-latest h6 {
  color: var(--text-light);
  line-height: 1.2;
  margin-bottom: 0.5em;
}

.page-slot-games-latest p,
.page-slot-games-latest li {
  color: var(--text-secondary-light);
  margin-bottom: 1em;
}

/* Các phần có nền sáng sẽ dùng màu chữ tối */
.page-slot-games-latest__light-bg {
  background-color: var(--text-light);
  color: #333333;
}

.page-slot-games-latest__light-bg h1,
.page-slot-games-latest__light-bg h2,
.page-slot-games-latest__light-bg h3,
.page-slot-games-latest__light-bg h4,
.page-slot-games-latest__light-bg p,
.page-slot-games-latest__light-bg li {
  color: #333333;
}

.page-slot-games-latest__dark-bg {
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-slot-games-latest__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 60px; /* Chỉ dùng padding-top nhỏ */
  overflow: hidden;
}

.page-slot-games-latest__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-slot-games-latest__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Làm tối ảnh nền để chữ nổi bật */
}

.page-slot-games-latest__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-top: 80px;
  padding: 20px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.4); /* Nền bán trong suốt cho nội dung */
}

.page-slot-games-latest__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-light);
}

.page-slot-games-latest__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--text-secondary-light);
}

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

.page-slot-games-latest__cta-buttons--center {
  margin-top: 40px;
}

.page-slot-games-latest__btn-primary,
.page-slot-games-latest__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-slot-games-latest__btn-primary {
  background: var(--button-gradient);
  color: #ffffff; /* Luôn dùng màu trắng cho nút chính */
  border: none;
}

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

.page-slot-games-latest__btn-secondary {
  background: #ffffff;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-slot-games-latest__btn-secondary:hover {
  background: var(--primary-color);
  color: #ffffff;
}

.page-slot-games-latest__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.page-slot-games-latest__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
}

.page-slot-games-latest__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-slot-games-latest__why-choose-section .page-slot-games-latest__section-title,
.page-slot-games-latest__download-guide-section .page-slot-games-latest__section-title,
.page-slot-games-latest__promotions-section .page-slot-games-latest__section-title,
.page-slot-games-latest__conclusion-section .page-slot-games-latest__section-title {
  color: #333333;
}

.page-slot-games-latest__why-choose-section .page-slot-games-latest__section-description,
.page-slot-games-latest__download-guide-section .page-slot-games-latest__section-description,
.page-slot-games-latest__promotions-section .page-slot-games-latest__section-description,
.page-slot-games-latest__conclusion-section .page-slot-games-latest__section-description {
  color: #555555;
}

.page-slot-games-latest__grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games-latest__grid-item {
  background-color: var(--card-bg-dark);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: var(--text-light);
}

.page-slot-games-latest__grid-item h3 {
  color: var(--gold-color);
  font-size: 1.5em;
  margin-bottom: 15px;
}

.page-slot-games-latest__grid-item p {
  color: var(--text-secondary-light);
  font-size: 0.95em;
}

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

.page-slot-games-latest__feature-card,
.page-slot-games-latest__promotion-card {
  background-color: var(--card-bg-dark);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
}

.page-slot-games-latest__feature-image,
.page-slot-games-latest__promotion-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-slot-games-latest__feature-title,
.page-slot-games-latest__promotion-title {
  color: var(--gold-color);
  font-size: 1.4em;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-slot-games-latest__feature-card p,
.page-slot-games-latest__promotion-card p {
  color: var(--text-secondary-light);
  font-size: 0.9em;
  padding: 0 15px;
}

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

.page-slot-games-latest__step-card {
  background-color: var(--background-dark);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: var(--text-light);
}

.page-slot-games-latest__step-image {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-slot-games-latest__step-title {
  color: var(--gold-color);
  font-size: 1.5em;
  margin-bottom: 15px;
}

.page-slot-games-latest__step-card p {
  color: var(--text-secondary-light);
  font-size: 0.95em;
}

.page-slot-games-latest__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-slot-games-latest__strategy-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  background-color: var(--card-bg-dark);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-slot-games-latest__strategy-icon {
  flex-shrink: 0;
  width: 150px; /* Tăng kích thước icon */
  height: 100px; /* Tăng kích thước icon */
  object-fit: cover;
  margin-right: 20px;
  border-radius: 8px;
}

.page-slot-games-latest__strategy-text h3 {
  color: var(--gold-color);
  font-size: 1.3em;
  margin-top: 0;
}

.page-slot-games-latest__strategy-text p {
  color: var(--text-secondary-light);
  font-size: 0.95em;
}

.page-slot-games-latest__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games-latest__faq-item {
  background-color: var(--card-bg-dark);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-slot-games-latest__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  color: var(--text-light);
  background-color: var(--deep-green-color);
  border-bottom: 1px solid var(--divider-color);
}

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

.page-slot-games-latest__faq-question::marker {
  display: none;
}

.page-slot-games-latest__faq-qtext {
  font-size: 1.1em;
}

.page-slot-games-latest__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
}

.page-slot-games-latest__faq-answer {
  padding: 20px;
  padding-top: 0;
  color: var(--text-secondary-light);
  font-size: 0.95em;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-slot-games-latest__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
}

@media (max-width: 768px) {
  .page-slot-games-latest {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-slot-games-latest__hero-content {
    margin-top: 40px;
    padding: 15px;
  }

  .page-slot-games-latest__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-slot-games-latest__description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-slot-games-latest__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games-latest__btn-primary,
  .page-slot-games-latest__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-slot-games-latest__content-area {
    padding: 40px 15px;
  }

  .page-slot-games-latest__section-title {
    font-size: 2em;
  }

  .page-slot-games-latest__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-slot-games-latest__grid-container,
  .page-slot-games-latest__features-grid,
  .page-slot-games-latest__promotions-grid,
  .page-slot-games-latest__download-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games-latest__feature-image,
  .page-slot-games-latest__promotion-image {
    height: 200px;
  }

  .page-slot-games-latest__strategy-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px;
  }

  .page-slot-games-latest__strategy-icon {
    width: 200px; /* Đảm bảo kích thước tối thiểu */
    height: 150px; /* Đảm bảo kích thước tối thiểu */
    margin-right: 0;
    margin-bottom: 15px;
  }

  .page-slot-games-latest__faq-question {
    padding: 15px;
  }

  .page-slot-games-latest__faq-qtext {
    font-size: 1em;
  }

  /* Tất cả các hình ảnh phải thích ứng với màn hình di động */
  .page-slot-games-latest img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-slot-games-latest__section,
  .page-slot-games-latest__card,
  .page-slot-games-latest__container,
  .page-slot-games-latest__hero-section,
  .page-slot-games-latest__why-choose-section,
  .page-slot-games-latest__features-section,
  .page-slot-games-latest__download-guide-section,
  .page-slot-games-latest__strategy-section,
  .page-slot-games-latest__promotions-section,
  .page-slot-games-latest__faq-section,
  .page-slot-games-latest__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
  
  .page-slot-games-latest__hero-section { 
    padding-left: 0; 
    padding-right: 0; 
  }
  .page-slot-games-latest__hero-content { 
    padding-left: 15px; 
    padding-right: 15px; 
  }

  .page-slot-games-latest__video-section { /* Nếu có */
    padding-top: 10px !important;
  }

  /* Đảm bảo các hình ảnh trong vùng nội dung không nhỏ hơn 200px */
  .page-slot-games-latest__content-area img,
  .page-slot-games-latest__grid-item img,
  .page-slot-games-latest__feature-card img,
  .page-slot-games-latest__promotion-card img,
  .page-slot-games-latest__download-steps img {
    min-width: 200px;
    min-height: 200px;
    object-fit: cover; /* Để hình ảnh không bị biến dạng */
  }

  .page-slot-games-latest__strategy-icon {
    min-width: 200px;
    min-height: 150px;
  }
}

@media (min-width: 769px) {
  .page-slot-games-latest__hero-content {
    padding: 40px;
  }
  .page-slot-games-latest__hero-section {
    padding-top: 10px; /* Đảm bảo khoảng cách nhỏ với header */
  }
  .page-slot-games-latest__video-container { /* Đảm bảo width: 100% cho desktop */
    width: 100%;
  }
}