/* style/slot-games.css */
/* 
 * Trang Nổ Hũ (Slot Games) - Gà Đá 88
 * Màu sắc chính: #26A9E0 (Xanh lam nhạt)
 * Màu sắc phụ: #FFFFFF (Trắng)
 * Nền body: #000000 (Đen)
 * Văn bản mặc định: #FFFFFF (Trắng) để đảm bảo độ tương phản
 */

.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Mặc định chữ trắng trên nền đen của body */
  background-color: transparent; /* Body đã có nền đen từ shared.css */
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Đảm bảo không bị header cố định che khuất */
  background-color: #000000; /* Đảm bảo nền đen cho section này */
  overflow: hidden; /* Ngăn chặn hình ảnh tràn */
}

.page-slot-games__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.3; /* Làm mờ hình ảnh nền */
}

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

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

.page-slot-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-slot-games__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-slot-games__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Cho phép các nút xuống dòng trên di động */
}

/* General Section Styling */
.page-slot-games__section {
  padding: 60px 20px;
  background-color: #000000; /* Đảm bảo nền đen cho các section */
  color: #ffffff; /* Chữ trắng trên nền đen */
}

.page-slot-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px; /* Thêm padding ngang cho container */
}

.page-slot-games__section-title {
  font-size: 2.5em;
  color: #26A9E0; /* Màu thương hiệu cho tiêu đề */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page-slot-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #26A9E0;
  border-radius: 2px;
}

.page-slot-games__section-text {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #f0f0f0;
}

.page-slot-games__section-image {
  display: block;
  margin: 40px auto 0 auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.page-slot-games__feature-card {
  background-color: rgba(255, 255, 255, 0.1); /* Nền hơi trong suốt */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  color: #ffffff;
}

.page-slot-games__feature-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-slot-games__feature-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-slot-games__feature-description {
  font-size: 1em;
  color: #f0f0f0;
}

/* Game Showcase */
.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-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-slot-games__game-card:hover {
  transform: translateY(-8px);
}

.page-slot-games__game-thumbnail {
  width: 100%;
  height: 200px; /* Chiều cao cố định cho ảnh game */
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-slot-games__game-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin: 15px 10px 10px 10px;
}

.page-slot-games__game-description {
  font-size: 0.95em;
  color: #f0f0f0;
  padding: 0 15px 15px 15px;
  flex-grow: 1; /* Đẩy nút xuống dưới */
}

.page-slot-games__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
  margin: 0 15px 15px 15px;
}

/* Strategy & How-to Join Sections */
.page-slot-games__strategy-grid,
.page-slot-games__steps-list,
.page-slot-games__benefits-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  list-style: none; /* Xóa dấu đầu dòng mặc định cho danh sách */
  padding: 0;
}

.page-slot-games__strategy-item,
.page-slot-games__list-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-slot-games__strategy-title,
.page-slot-games__list-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-slot-games__strategy-description,
.page-slot-games__list-description {
  font-size: 1em;
  color: #f0f0f0;
}

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

.page-slot-games__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  transition: transform 0.3s ease;
}

.page-slot-games__promo-card:hover {
  transform: translateY(-5px);
}

.page-slot-games__promo-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-slot-games__promo-description {
  font-size: 1em;
  color: #f0f0f0;
}

/* Call to Action Block */
.page-slot-games__cta-block,
.page-slot-games__cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 50px;
  flex-wrap: wrap;
}

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box; /* Quan trọng cho responsive */
}

.page-slot-games__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-slot-games__btn-primary:hover {
  background-color: #1a8cc2;
  border-color: #1a8cc2;
}

.page-slot-games__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-slot-games__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

/* FAQ Section */
.page-slot-games__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  overflow: hidden; /* Quan trọng cho transition max-height */
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.15); /* Nền câu hỏi hơi sáng hơn */
  color: #ffffff;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.page-slot-games__faq-title {
  margin: 0;
  color: #ffffff;
}

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #26A9E0; /* Màu thương hiệu cho toggle */
}

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
  transform: rotate(45deg); /* Xoay dấu + thành X hoặc dùng dấu - */
}

.page-slot-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #f0f0f0;
  font-size: 1em;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 1000px !important; /* Đủ lớn để chứa mọi nội dung */
  padding: 15px 25px 25px 25px; /* Thêm padding khi mở */
}

.page-slot-games__faq-answer p {
  margin-top: 0;
  margin-bottom: 0;
  color: #f0f0f0;
}


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

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
  }

  .page-slot-games__hero-title {
    font-size: 2.5em;
  }

  .page-slot-games__hero-description {
    font-size: 1.1em;
  }

  .page-slot-games__hero-actions {
    flex-direction: column;
    gap: 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-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games__section {
    padding: 40px 0; /* Giảm padding ngang cho section, container sẽ xử lý padding */
  }

  .page-slot-games__container {
    padding: 0 15px; /* Đảm bảo nội dung không tràn */
  }

  .page-slot-games__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-slot-games__section-text {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-slot-games__features-grid,
  .page-slot-games__game-grid,
  .page-slot-games__strategy-grid,
  .page-slot-games__promotions-grid,
  .page-slot-games__steps-list,
  .page-slot-games__benefits-list {
    grid-template-columns: 1fr; /* Một cột trên di động */
    gap: 20px;
  }
  
  /* Mobile image and video responsive */
  .page-slot-games img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-slot-games video,
  .page-slot-games__video {
    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__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;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  .page-slot-games__cta-actions {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 15px;
  }
}

/* Ensure all images are responsive by default */
.page-slot-games img {
  max-width: 100%;
  height: auto;
  display: block; /* Remove extra space below images */
}

/* No filter property on images */
.page-slot-games img {
  filter: none; /* Explicitly ensure no filter is applied */
}