/* style/index-review-iwin-club.css */

/* Biến màu sắc */
:root {
  --primary-color: #0056B3;
  --secondary-color: #FFC107;
  --dark-bg-1: #0d0d0d; /* Giả định từ shared.css */
  --light-text-color: #ffffff;
  --dark-text-color: #333333;
  --gray-bg: #f1f3f5;
  --border-color: #e0e0e0;
}

.page-index-review-iwin-club {
  font-family: 'Arial', sans-serif;
  color: var(--light-text-color); /* Toàn bộ trang sử dụng màu chữ sáng trên nền tối của body */
  background-color: var(--dark-bg-1); /* Kế thừa từ body, đảm bảo tương phản */
}

/* Padding cho nội dung để tránh bị che bởi header cố định */
.page-index-review-iwin-club__hero-review-section {
  padding-top: 180px; /* Desktop: Đảm bảo không bị header che */
  padding-bottom: 60px;
  background: linear-gradient(135deg, var(--primary-color), #003F8C);
  position: relative;
  overflow: hidden;
}

.page-index-review-iwin-club__hero-review-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 30px;
  position: relative;
  z-index: 1;
  padding: 0 20px;
}

.page-index-review-iwin-club__hero-review-image {
  width: 100%;
  max-width: 1000px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
  margin-bottom: 30px;
}

.page-index-review-iwin-club__hero-review-content {
  color: var(--light-text-color);
  position: relative;
  z-index: 2;
}

.page-index-review-iwin-club__main-title {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--light-text-color);
}

.page-index-review-iwin-club__hero-description {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-review-iwin-club__hero-description strong {
  color: var(--secondary-color);
}

.page-index-review-iwin-club__hero-cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-index-review-iwin-club__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-index-review-iwin-club__cta-button--primary {
  background: var(--secondary-color);
  color: var(--dark-text-color);
}

.page-index-review-iwin-club__cta-button--primary:hover {
  background: #FFD452;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-index-review-iwin-club__cta-button--secondary {
  background: var(--primary-color);
  color: var(--light-text-color);
  border: 2px solid var(--secondary-color);
}

.page-index-review-iwin-club__cta-button--secondary:hover {
  background: #003F8C;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  border-color: #FFD452;
}

.page-index-review-iwin-club__section {
  padding: 60px 20px;
}

.page-index-review-iwin-club__container {
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.page-index-review-iwin-club__dark-bg {
  background: var(--primary-color);
  color: var(--light-text-color);
  padding: 40px;
}

.page-index-review-iwin-club__light-bg {
  background: var(--light-text-color);
  color: var(--dark-text-color);
  padding: 40px;
}

.page-index-review-iwin-club__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-index-review-iwin-club__dark-bg .page-index-review-iwin-club__section-title {
  color: var(--light-text-color);
}

.page-index-review-iwin-club__light-bg .page-index-review-iwin-club__section-title {
  color: var(--primary-color);
}

.page-index-review-iwin-club__text-block {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 25px;
  text-align: justify;
}

.page-index-review-iwin-club__text-block strong {
  color: var(--secondary-color);
}

/* Introduction Section */
.page-index-review-iwin-club__introduction-section {
  background-color: var(--dark-bg-1);
}

.page-index-review-iwin-club__introduction-section .page-index-review-iwin-club__container {
  background-color: var(--primary-color);
}

.page-index-review-iwin-club__content-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Detailed Review Section */
.page-index-review-iwin-club__detailed-review-section {
  background-color: var(--gray-bg);
}

.page-index-review-iwin-club__detailed-review-section .page-index-review-iwin-club__container {
  background-color: var(--light-text-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-index-review-iwin-club__review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-review-iwin-club__review-card {
  background: var(--light-text-color);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-index-review-iwin-club__review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-index-review-iwin-club__card-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-index-review-iwin-club__card-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-index-review-iwin-club__card-description {
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark-text-color);
}

.page-index-review-iwin-club__card-description a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-index-review-iwin-club__card-description a:hover {
  text-decoration: underline;
}

/* Guide Section */
.page-index-review-iwin-club__guide-section {
  background-color: var(--dark-bg-1);
}

.page-index-review-iwin-club__guide-section .page-index-review-iwin-club__container {
  background-color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-index-review-iwin-club__guide-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
  justify-content: center;
}

.page-index-review-iwin-club__guide-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  flex: 1;
  min-width: 300px;
  max-width: 550px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-index-review-iwin-club__guide-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.page-index-review-iwin-club__guide-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
  text-align: left;
  width: 100%;
}

.page-index-review-iwin-club__guide-list li {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  color: var(--light-text-color);
}

.page-index-review-iwin-club__guide-list li::before {
  content: '✓';
  color: var(--secondary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-index-review-iwin-club__guide-list li a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-index-review-iwin-club__guide-list li a:hover {
  text-decoration: underline;
}

/* Games Section */
.page-index-review-iwin-club__games-section {
  background-color: var(--gray-bg);
}

.page-index-review-iwin-club__games-section .page-index-review-iwin-club__container {
  background-color: var(--light-text-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-index-review-iwin-club__game-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-review-iwin-club__game-card-item {
  background: var(--light-text-color);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index-review-iwin-club__game-card-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-index-review-iwin-club__game-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-index-review-iwin-club__game-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-index-review-iwin-club__game-description {
  font-size: 15px;
  line-height: 1.6;
  color: var(--dark-text-color);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-index-review-iwin-club__game-description strong {
  color: var(--primary-color);
}

.page-index-review-iwin-club__cta-button--small {
  padding: 10px 25px;
  font-size: 16px;
  border-radius: 6px;
  background: var(--secondary-color);
  color: var(--dark-text-color);
  align-self: center;
}

.page-index-review-iwin-club__cta-button--small:hover {
  background: #FFD452;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Promotions Section */
.page-index-review-iwin-club__promotions-section {
  background-color: var(--dark-bg-1);
}

.page-index-review-iwin-club__promotions-section .page-index-review-iwin-club__container {
  background-color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-index-review-iwin-club__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-review-iwin-club__promo-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index-review-iwin-club__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-index-review-iwin-club__promo-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-index-review-iwin-club__promo-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-index-review-iwin-club__promo-description {
  font-size: 16px;
  line-height: 1.6;
  color: var(--light-text-color);
  margin-bottom: 20px;
  flex-grow: 1;
}

/* FAQ Section */
.page-index-review-iwin-club__faq-section {
  background-color: var(--gray-bg);
}

.page-index-review-iwin-club__faq-section .page-index-review-iwin-club__container {
  background-color: var(--light-text-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-index-review-iwin-club__faq-list {
  margin-top: 40px;
}

.page-index-review-iwin-club__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-index-review-iwin-club__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;
}

.page-index-review-iwin-club__faq-item.active .page-index-review-iwin-club__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

.page-index-review-iwin-club__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--dark-text-color);
}

.page-index-review-iwin-club__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-index-review-iwin-club__faq-question:active {
  background: #eeeeee;
}

.page-index-review-iwin-club__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--primary-color);
}

.page-index-review-iwin-club__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  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-index-review-iwin-club__faq-item.active .page-index-review-iwin-club__faq-toggle {
  color: var(--secondary-color);
  transform: rotate(45deg);
}

.page-index-review-iwin-club__faq-answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark-text-color);
}

.page-index-review-iwin-club__faq-answer strong {
  color: var(--primary-color);
}

/* Conclusion Section */
.page-index-review-iwin-club__conclusion-section {
  background-color: var(--dark-bg-1);
}

.page-index-review-iwin-club__conclusion-section .page-index-review-iwin-club__container {
  background-color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-index-review-iwin-club__conclusion-section .page-index-review-iwin-club__text-block a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-index-review-iwin-club__conclusion-section .page-index-review-iwin-club__text-block a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-review-iwin-club__main-title {
    font-size: 38px;
  }
  .page-index-review-iwin-club__section-title {
    font-size: 32px;
  }
  .page-index-review-iwin-club__review-grid, .page-index-review-iwin-club__game-cards-grid, .page-index-review-iwin-club__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
  }
  .page-index-review-iwin-club__guide-steps {
    flex-direction: column;
    align-items: center;
  }
  .page-index-review-iwin-club__guide-card {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-index-review-iwin-club__hero-review-section {
    padding-top: 140px !important; /* Mobile: Đảm bảo không bị header che */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-index-review-iwin-club__hero-review-image {
    border-radius: 8px;
    margin-bottom: 20px;
  }
  .page-index-review-iwin-club__main-title {
    font-size: 30px;
    margin-bottom: 15px;
  }
  .page-index-review-iwin-club__hero-description {
    font-size: 16px;
    margin-bottom: 25px;
  }
  .page-index-review-iwin-club__hero-cta-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-review-iwin-club__cta-button {
    width: 100%;
    max-width: 280px;
    padding: 12px 25px;
    font-size: 16px;
  }
  
  .page-index-review-iwin-club__section {
    padding: 40px 15px;
  }
  .page-index-review-iwin-club__container {
    padding: 25px 20px;
    border-radius: 8px;
  }
  .page-index-review-iwin-club__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }
  .page-index-review-iwin-club__text-block {
    font-size: 15px;
    margin-bottom: 20px;
  }
  
  .page-index-review-iwin-club__review-grid, .page-index-review-iwin-club__game-cards-grid, .page-index-review-iwin-club__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-index-review-iwin-club__review-card, .page-index-review-iwin-club__game-card-item, .page-index-review-iwin-club__promo-card {
    padding: 20px;
  }
  .page-index-review-iwin-club__card-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
  }
  .page-index-review-iwin-club__card-title {
    font-size: 20px;
    margin-bottom: 10px;
  }
  .page-index-review-iwin-club__game-image, .page-index-review-iwin-club__promo-image {
    height: 150px;
  }
  .page-index-review-iwin-club__game-title, .page-index-review-iwin-club__promo-title {
    font-size: 18px;
  }
  .page-index-review-iwin-club__game-description, .page-index-review-iwin-club__promo-description {
    font-size: 14px;
  }
  
  .page-index-review-iwin-club__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-index-review-iwin-club__faq-question h3 {
    font-size: 16px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  .page-index-review-iwin-club__faq-toggle {
    margin-left: 10px;
    width: 28px;
    height: 28px;
    font-size: 24px;
  }
  .page-index-review-iwin-club__faq-answer {
    padding: 0 15px;
  }
  .page-index-review-iwin-club__faq-item.active .page-index-review-iwin-club__faq-answer {
    padding: 15px !important;
  }
  .page-index-review-iwin-club__faq-answer p {
    font-size: 15px;
  }
}

/* Global image responsiveness for all images within the page-index-review-iwin-club scope */
.page-index-review-iwin-club img {
  max-width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .page-index-review-iwin-club img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-index-review-iwin-club__section,
  .page-index-review-iwin-club__container,
  .page-index-review-iwin-club__review-card,
  .page-index-review-iwin-club__game-card-item,
  .page-index-review-iwin-club__promo-card,
  .page-index-review-iwin-club__guide-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  /* Ensure main container also gets padding */
  .page-content.page-index-review-iwin-club {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}