/* style/index-review-hi88.css */
:root {
    --primary-color: #FFD700;
    --secondary-color: #8B0000;
    --dark-bg-1: #0d0d0d; /* Giả định từ shared.css, cần đảm bảo màu tối */
    --light-text-color: #ffffff;
    --dark-text-color: #333333;
    --card-bg-color: #ffffff;
    --border-color: #e0e0e0;
}

.page-index-review-hi88 {
    font-family: 'Arial', sans-serif;
    line-height: 1.7;
    color: var(--light-text-color); /* Body background là dark-bg-1 (tối), nên dùng chữ sáng */
    background-color: var(--dark-bg-1);
}

.page-index-review-hi88__hero-intro-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 180px; /* Đảm bảo nội dung không bị header cố định che */
    background: linear-gradient(135deg, var(--secondary-color), var(--dark-bg-1));
    overflow: hidden;
}

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

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

.page-index-review-hi88__hero-intro-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    color: var(--light-text-color);
}

.page-index-review-hi88__main-title {
    font-size: 38px;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-review-hi88__intro-text {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-index-review-hi88__intro-text strong {
    color: var(--primary-color);
}

.page-index-review-hi88__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--primary-color), #FFC107);
    color: var(--dark-text-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    border: none;
}

.page-index-review-hi88__cta-button:hover {
    background: linear-gradient(135deg, #FFC107, var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    color: var(--dark-text-color);
}

.page-index-review-hi88__cta-button--secondary {
    background: var(--secondary-color);
    color: var(--light-text-color);
    margin-left: 20px;
}

.page-index-review-hi88__cta-button--secondary:hover {
    background: #A50000;
    color: var(--light-text-color);
}

.page-index-review-hi88__content-section {
    padding: 60px 20px;
}

.page-index-review-hi88__dark-bg {
    background-color: var(--dark-bg-1);
    color: var(--light-text-color);
}

.page-index-review-hi88__light-bg {
    background-color: #f1f3f5;
    color: var(--dark-text-color);
}

.page-index-review-hi88__content-container {
    max-width: 1000px; /* Rộng hơn một chút để dễ đọc */
    margin: 0 auto;
}

.page-index-review-hi88__section-title {
    font-size: 32px;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-index-review-hi88__light-bg .page-index-review-hi88__section-title {
    color: var(--secondary-color);
    text-shadow: none;
}

.page-index-review-hi88__text-block {
    background: rgba(255, 255, 255, 0.05); /* Nền hơi trong suốt trên nền tối */
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #f0f0f0;
}

.page-index-review-hi88__light-bg .page-index-review-hi88__text-block {
    background: var(--card-bg-color);
    color: var(--dark-text-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.page-index-review-hi88__text-block h3 {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-index-review-hi88__light-bg .page-index-review-hi88__text-block h3 {
    color: var(--secondary-color);
}

.page-index-review-hi88__text-block h4 {
    font-size: 20px;
    font-weight: bold;
    color: #FFECB3; /* Màu vàng nhạt hơn */
    margin-top: 20px;
    margin-bottom: 10px;
}

.page-index-review-hi88__light-bg .page-index-review-hi88__text-block h4 {
    color: var(--dark-text-color);
}

.page-index-review-hi88__text-block p {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.8;
}

.page-index-review-hi88__text-block ul,
.page-index-review-hi88__text-block ol {
    margin-bottom: 15px;
    padding-left: 25px;
    list-style-type: disc;
}

.page-index-review-hi88__text-block ol {
    list-style-type: decimal;
}

.page-index-review-hi88__text-block li {
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 1.6;
}

.page-index-review-hi88__text-block strong {
    color: var(--primary-color);
}

.page-index-review-hi88__light-bg .page-index-review-hi88__text-block strong {
    color: var(--secondary-color);
}

.page-index-review-hi88__content-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    margin: 25px auto;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    object-fit: cover;
}

.page-index-review-hi88__action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-index-review-hi88__text-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-index-review-hi88__text-link:hover {
    color: #FFC107;
    text-decoration: underline;
}

/* FAQ Section Styles */
.page-index-review-hi88__faq-section {
  padding: 60px 20px;
}

.page-index-review-hi88__faq-list {
  margin-top: 30px;
}

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

.page-index-review-hi88__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 15px;
  opacity: 0;
}

.page-index-review-hi88__faq-item.active .page-index-review-hi88__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: var(--dark-text-color);
}

.page-index-review-hi88__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--card-bg-color);
  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-hi88__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

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

.page-index-review-hi88__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--dark-text-color);
}

.page-index-review-hi88__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  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: 28px;
  height: 28px;
}

.page-index-review-hi88__faq-item.active .page-index-review-hi88__faq-toggle {
  color: var(--secondary-color);
  transform: rotate(45deg);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-index-review-hi88__main-title {
        font-size: 32px;
    }
    .page-index-review-hi88__section-title {
        font-size: 28px;
    }
    .page-index-review-hi88__text-block h3 {
        font-size: 22px;
    }
    .page-index-review-hi88__text-block h4 {
        font-size: 18px;
    }
    .page-index-review-hi88__intro-text,
    .page-index-review-hi88__text-block p,
    .page-index-review-hi88__text-block li {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .page-index-review-hi88__hero-intro-section {
        padding-top: 160px !important; /* Mobile: Adjust for fixed header */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-index-review-hi88__main-title {
        font-size: 28px;
    }
    
    .page-index-review-hi88__intro-text {
        font-size: 16px;
    }
    
    .page-index-review-hi88__cta-button {
        padding: 12px 30px;
        font-size: 16px;
        margin-top: 15px;
    }

    .page-index-review-hi88__cta-button--secondary {
        margin-left: 0;
        margin-top: 15px;
    }

    .page-index-review-hi88__action-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-index-review-hi88__content-section,
    .page-index-review-hi88__faq-section {
        padding: 40px 15px;
    }
    
    .page-index-review-hi88__section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .page-index-review-hi88__text-block {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .page-index-review-hi88__text-block h3 {
        font-size: 20px;
        margin-top: 25px;
        margin-bottom: 10px;
    }
    
    .page-index-review-hi88__text-block h4 {
        font-size: 17px;
        margin-top: 15px;
        margin-bottom: 8px;
    }
    
    .page-index-review-hi88__text-block p,
    .page-index-review-hi88__text-block li {
        font-size: 14px;
        line-height: 1.7;
    }

    .page-index-review-hi88 img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-index-review-hi88__hero-intro-container,
    .page-index-review-hi88__content-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-index-review-hi88__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    
    .page-index-review-hi88__faq-question h3 {
        font-size: 15px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    
    .page-index-review-hi88__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    
    .page-index-review-hi88__faq-answer {
        padding: 0 15px;
    }
    
    .page-index-review-hi88__faq-item.active .page-index-review-hi88__faq-answer {
        padding: 15px !important;
    }
}

@media (max-width: 480px) {
    .page-index-review-hi88__main-title {
        font-size: 24px;
    }
    .page-index-review-hi88__section-title {
        font-size: 22px;
    }
    .page-index-review-hi88__cta-button {
        font-size: 15px;
        padding: 10px 25px;
    }
    .page-index-review-hi88__text-block p,
    .page-index-review-hi88__text-block li {
        font-size: 13px;
    }
}