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

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

/* Ensure main content is not hidden by fixed header */
.page-index-review-hi88__hero-banner {
    padding-top: 180px; /* Desktop: Adjust based on actual header height */
    position: relative;
    overflow: hidden;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), #1A3A7A);
}

.page-index-review-hi88__hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

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

.page-index-review-hi88__hero-content {
    text-align: center;
    color: var(--text-light);
    max-width: 900px;
}

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

.page-index-review-hi88__subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.page-index-review-hi88__cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: linear-gradient(135deg, var(--secondary-color), #E6B800);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 10px;
    font-size: 22px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
}

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

.page-index-review-hi88__section {
    padding: 60px 0;
    text-align: center;
}

.page-index-review-hi88__introduction-section {
    background-color: var(--background-dark);
}

.page-index-review-hi88__highlights-section {
    background-color: #1a1a1a;
}

.page-index-review-hi88__detailed-review-section {
    background-color: var(--background-dark);
}

.page-index-review-hi88__how-to-play-section {
    background-color: #1a1a1a;
}

.page-index-review-hi88__tips-section {
    background-color: var(--background-dark);
}

.page-index-review-hi88__pros-cons-section {
    background-color: #1a1a1a;
}

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

.page-index-review-hi88__faq-section {
    background-color: #1a1a1a;
}

.page-index-review-hi88__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

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

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

.page-index-review-hi88__introduction-section p {
    font-size: 18px;
    max-width: 900px;
    margin: 0 auto 15px auto;
    line-height: 1.8;
    opacity: 0.9;
}

.page-index-review-hi88__introduction-section p strong {
    color: var(--secondary-color);
}

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

.page-index-review-hi88__feature-card {
    background: var(--background-light-card);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-index-review-hi88__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-index-review-hi88__feature-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    width: 100%; /* Ensure image takes full width of card */
    min-height: 200px; /* Minimum size requirement */
}

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

.page-index-review-hi88__feature-card p {
    font-size: 16px;
    line-height: 1.7;
    opacity: 0.8;
}

.page-index-review-hi88__review-item {
    background: var(--background-light-card);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-index-review-hi88__review-heading {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.page-index-review-hi88__review-item p {
    font-size: 17px;
    line-height: 1.8;
    opacity: 0.9;
}

.page-index-review-hi88__review-item p strong {
    color: var(--secondary-color);
}

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

.page-index-review-hi88__step-card {
    background: var(--background-light-card);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-index-review-hi88__step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-index-review-hi88__step-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    width: 100%; /* Ensure image takes full width of card */
    min-height: 200px; /* Minimum size requirement */
}

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

.page-index-review-hi88__step-card p {
    font-size: 16px;
    line-height: 1.7;
    opacity: 0.8;
    margin-bottom: 20px;
}

.page-index-review-hi88__btn-primary {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(135deg, var(--primary-color), #1A3A7A);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

.page-index-review-hi88__btn-primary:hover {
    background: linear-gradient(135deg, #1A3A7A, var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.page-index-review-hi88__tips-list {
    list-style: none;
    padding: 0;
    margin: 40px auto 0 auto;
    max-width: 900px;
    text-align: left;
}

.page-index-review-hi88__tips-list li {
    background: var(--background-light-card);
    border-radius: 8px;
    padding: 20px 25px;
    margin-bottom: 15px;
    font-size: 17px;
    line-height: 1.7;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    border-left: 5px solid var(--secondary-color);
    transition: transform 0.2s ease;
}

.page-index-review-hi88__tips-list li:hover {
    transform: translateX(5px);
}

.page-index-review-hi88__tips-list li strong {
    color: var(--secondary-color);
}

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

.page-index-review-hi88__card {
    background: var(--background-light-card);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-index-review-hi88__card-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 25px;
    color: var(--secondary-color);
    text-align: center;
}

.page-index-review-hi88__list {
    list-style: none;
    padding: 0;
}

.page-index-review-hi88__list li {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
    opacity: 0.9;
}

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

.page-index-review-hi88__cons-card .page-index-review-hi88__list li::before {
    content: '✗';
    color: #FF6347; /* Tomato red for cons */
}

.page-index-review-hi88__conclusion-section p {
    font-size: 18px;
    max-width: 900px;
    margin: 0 auto 25px auto;
    line-height: 1.8;
    opacity: 0.95;
}

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

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

/* FAQ Styles */
.page-index-review-hi88__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.page-index-review-hi88__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.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 25px;
  opacity: 0;
  background: #1e1e1e;
  color: #cccccc;
  font-size: 16px;
  line-height: 1.7;
}

.page-index-review-hi88__faq-item.active .page-index-review-hi88__faq-answer {
  max-height: 2000px !important; /* Use !important to ensure it overrides */
  padding: 20px 25px !important; /* Use !important to ensure it overrides */
  opacity: 1;
  border-radius: 0 0 10px 10px;
}

.page-index-review-hi88__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--background-light-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  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: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
}

.page-index-review-hi88__faq-question:active {
  background: rgba(255, 255, 255, 0.2);
}

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

.page-index-review-hi88__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-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-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: 42px;
    }
    .page-index-review-hi88__section-title {
        font-size: 34px;
    }
    .page-index-review-hi88__feature-title, .page-index-review-hi88__review-heading, .page-index-review-hi88__step-title, .page-index-review-hi88__card-title {
        font-size: 22px;
    }
    .page-index-review-hi88__review-item, .page-index-review-hi88__feature-card, .page-index-review-hi88__step-card, .page-index-review-hi88__card {
        padding: 25px;
    }
    .page-index-review-hi88__hero-banner {
        padding-top: 160px; /* Tablet: Adjust based on actual header height */
    }
}

@media (max-width: 768px) {
    .page-index-review-hi88__hero-banner {
        padding-top: 160px !important; /* Mobile: Adjust based on actual header height */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-index-review-hi88__hero-image {
        border-radius: 8px;
    }
    .page-index-review-hi88__hero-content {
        padding: 0 15px;
    }
    .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-button {
        padding: 15px 30px;
        font-size: 18px;
    }
    .page-index-review-hi88__section {
        padding: 40px 0;
    }
    .page-index-review-hi88__container {
        padding: 0 15px;
    }
    .page-index-review-hi88__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .page-index-review-hi88__introduction-section p {
        font-size: 16px;
    }
    .page-index-review-hi88__features-grid, .page-index-review-hi88__steps-grid, .page-index-review-hi88__grid-2-cols {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-index-review-hi88__feature-card, .page-index-review-hi88__review-item, .page-index-review-hi88__step-card, .page-index-review-hi88__card {
        padding: 20px;
    }
    .page-index-review-hi88__feature-image, .page-index-review-hi88__step-image {
        min-height: 180px; /* Adjust min height for mobile */
    }
    .page-index-review-hi88__feature-title, .page-index-review-hi88__review-heading, .page-index-review-hi88__step-title, .page-index-review-hi88__card-title {
        font-size: 20px;
    }
    .page-index-review-hi88__feature-card p, .page-index-review-hi88__review-item p, .page-index-review-hi88__step-card p, .page-index-review-hi88__list li, .page-index-review-hi88__tips-list li {
        font-size: 15px;
    }
    .page-index-review-hi88__tips-list {
        margin-top: 30px;
    }
    .page-index-review-hi88__list li::before {
        top: 2px;
    }
    .page-index-review-hi88__conclusion-section p {
        font-size: 16px;
    }
    .page-index-review-hi88__btn-primary {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    /* FAQ Mobile */
    .page-index-review-hi88__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    
    .page-index-review-hi88__faq-question h3 {
        font-size: 16px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    
    .page-index-review-hi88__faq-toggle {
        margin-left: 10px;
        width: 28px;
        height: 28px;
        font-size: 24px;
    }
    
    .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;
    }
    
    /* All images responsive fix */
    .page-index-review-hi88 img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
    }
    
    .page-index-review-hi88__section,
    .page-index-review-hi88__container,
    .page-index-review-hi88__hero-container,
    .page-index-review-hi88__feature-card,
    .page-index-review-hi88__review-item,
    .page-index-review-hi88__step-card,
    .page-index-review-hi88__card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}