/* style/index-review-hi88.css */
:root {
    --primary-color: #0A2463;
    --secondary-color: #E3B505;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-light: #f9f9f9;
    --bg-dark-card: rgba(255, 255, 255, 0.1);
    --border-color: #e0e0e0;
}

.page-index-review-hi88 {
    font-family: 'Arial', sans-serif;
    color: var(--text-light); /* Default text color for dark body background */
    line-height: 1.6;
}

.page-index-review-hi88 a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-index-review-hi88 a:hover {
    color: #ffcc00;
    text-decoration: underline;
}

/* Ensure content is not hidden by fixed header */
.page-index-review-hi88__hero-section {
    padding-top: 180px; /* Desktop: Adjust based on actual header height */
    position: relative;
    width: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), #2c4a8a);
    color: var(--text-light);
    text-align: center;
    padding-bottom: 60px;
}

.page-index-review-hi88__hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

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

.page-index-review-hi88__subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    color: #f0f0f0;
}

.page-index-review-hi88__cta-wrapper {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

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

.page-index-review-hi88__btn-primary {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: none;
}

.page-index-review-hi88__btn-primary:hover {
    background: #ffcc00;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}

.page-index-review-hi88__btn-secondary {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.page-index-review-hi88__btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}

.page-index-review-hi88__hero-image-wrapper {
    margin-top: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-index-review-hi88__section {
    padding: 60px 20px;
    overflow: hidden;
}

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

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

.page-index-review-hi88__container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.page-index-review-hi88__section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: inherit;
}

.page-index-review-hi88__review-summary .page-index-review-hi88__section-title {
    color: var(--primary-color);
}

.page-index-review-hi88__card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.page-index-review-hi88__card p {
    color: var(--text-dark);
    margin-bottom: 15px;
}

.page-index-review-hi88__review-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

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

.page-index-review-hi88__item-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
}

.page-index-review-hi88__list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.page-index-review-hi88__list-item {
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
    color: var(--text-dark);
}

.page-index-review-hi88__list-item::before {
    content: '✓';
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 18px;
}

.page-index-review-hi88__registration-guide .page-index-review-hi88__section-title {
    color: var(--primary-color);
}

.page-index-review-hi88__pros-cons .page-index-review-hi88__section-title {
    color: var(--text-light);
}

.page-index-review-hi88__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.page-index-review-hi88__pros-cons .page-index-review-hi88__card .page-index-review-hi88__item-title {
    color: var(--primary-color);
}

.page-index-review-hi88__faq-section .page-index-review-hi88__section-title {
    color: var(--primary-color);
}

.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;
}

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

.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(--text-dark);
}

.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(--primary-color);
}

.page-index-review-hi88__conclusion .page-index-review-hi88__section-title {
    color: var(--text-light);
}

.page-index-review-hi88__conclusion .page-index-review-hi88__card {
    text-align: center;
}

.page-index-review-hi88__conclusion .page-index-review-hi88__card p {
    font-size: 18px;
    line-height: 1.8;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-index-review-hi88__main-title {
        font-size: 40px;
    }
    .page-index-review-hi88__section-title {
        font-size: 30px;
    }
    .page-index-review-hi88__item-title {
        font-size: 24px;
    }
    .page-index-review-hi88__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-index-review-hi88__hero-section {
        padding-top: 140px !important; /* Mobile: Adjust based on actual header height */
        padding-bottom: 40px;
    }
    .page-index-review-hi88__main-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    .page-index-review-hi88__subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .page-index-review-hi88__cta-wrapper {
        flex-direction: column;
        gap: 15px;
    }
    .page-index-review-hi88__cta-button {
        padding: 12px 25px;
        font-size: 16px;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    .page-index-review-hi88__section {
        padding: 40px 15px;
    }
    .page-index-review-hi88__section-title {
        font-size: 26px;
        margin-bottom: 30px;
    }
    .page-index-review-hi88__card {
        padding: 25px;
    }
    .page-index-review-hi88__item-title {
        font-size: 22px;
    }
    .page-index-review-hi88__list-item {
        font-size: 15px;
    }
    .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;
    }
    .page-index-review-hi88 img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-index-review-hi88__section,
    .page-index-review-hi88__card,
    .page-index-review-hi88__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}