/* style/index-review-hi88.css */

/* Biến màu sắc */
:root {
    --primary-color: #0A2463;
    --secondary-color: #E3B505;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark-card: rgba(255, 255, 255, 0.08);
    --bg-light-card: #ffffff;
    --border-light: #e0e0e0;
    --border-dark: rgba(255, 255, 255, 0.15);
}

/* Đảm bảo nội dung trang không bị che bởi header cố định */
.page-index-review-hi88 {
    padding-top: 120px; /* Desktop: Điều chỉnh dựa trên chiều cao header cố định */
    color: var(--text-light); /* Body background #0a0a0a (dark), nên dùng chữ sáng */
    background-color: transparent; /* Main content background should be transparent to show body background */
}

/* 响应式设计 */
@media (max-width: 768px) {
    .page-index-review-hi88 {
        padding-top: 100px !important; /* Mobile: Điều chỉnh dựa trên chiều cao header cố định */
    }
}

/* -------------------- Hero Alternative Section -------------------- */
.page-index-review-hi88__hero-alt-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 5px solid var(--secondary-color);
}

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

.page-index-review-hi88__main-title {
    font-size: 3.2em;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-index-review-hi88__hero-description {
    font-size: 1.2em;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    line-height: 1.6;
}

.page-index-review-hi88__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    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: #FFD700; /* Slightly lighter gold */
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* -------------------- General Section Styles -------------------- */
.page-index-review-hi88__section {
    padding: 60px 20px;
    background-color: transparent; /* Transparent to show body background */
}

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

.page-index-review-hi88__section-title {
    font-size: 2.5em;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.page-index-review-hi88__section-intro {
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin-bottom: 50px;
    line-height: 1.7;
}

.page-index-review-hi88__content-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-bottom: 30px;
}

.page-index-review-hi88__content-wrapper p,
.page-index-review-hi88__content-wrapper ul,
.page-index-review-hi88__content-wrapper li {
    flex: 1;
    min-width: 300px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    font-size: 1.05em;
}

.page-index-review-hi88__content-wrapper h3 {
    color: var(--secondary-color);
    font-size: 1.8em;
    margin-top: 20px;
    margin-bottom: 15px;
    flex-basis: 100%;
}

.page-index-review-hi88__image {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    object-fit: cover;
}

.page-index-review-hi88__image--left {
    order: -1;
}

.page-index-review-hi88__content-wrapper--reverse .page-index-review-hi88__image--right {
    order: -1;
}

.page-index-review-hi88__image--right {
    order: 1;
}

/* -------------------- Game Grid Section -------------------- */
.page-index-review-hi88__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-index-review-hi88__game-card {
    background-color: var(--bg-dark-card); /* Semi-transparent dark background */
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-dark);
}

.page-index-review-hi88__game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

.page-index-review-hi88__game-image {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-index-review-hi88__game-title {
    font-size: 1.6em;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-index-review-hi88__game-description {
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 25px;
}

.page-index-review-hi88__cta-small-button {
    display: inline-block;
    padding: 10px 25px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9em;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
}

.page-index-review-hi88__cta-small-button:hover {
    background: #FFD700;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* -------------------- Promotions Section -------------------- */
.page-index-review-hi88__promotions {
    background-color: rgba(255, 255, 255, 0.03); /* Slightly different background for visual break */
}

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

.page-index-review-hi88__promo-card {
    background-color: var(--bg-dark-card);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-dark);
}

.page-index-review-hi88__promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

.page-index-review-hi88__promo-image {
    width: 100%;
    max-height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-index-review-hi88__promo-title {
    font-size: 1.6em;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-index-review-hi88__promo-description {
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
}

.page-index-review-hi88__promo-cta-text {
    text-align: center;
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

/* -------------------- Pros & Cons Section -------------------- */
.page-index-review-hi88__pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.page-index-review-hi88__pros-card,
.page-index-review-hi88__cons-card {
    background-color: var(--bg-dark-card);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-dark);
}

.page-index-review-hi88__pros-cons-title {
    font-size: 2em;
    margin-bottom: 25px;
    font-weight: 700;
    text-align: center;
}

.page-index-review-hi88__pros-title {
    color: #4CAF50; /* Green for pros */
}

.page-index-review-hi88__cons-title {
    color: #F44336; /* Red for cons */
}

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

.page-index-review-hi88__list li {
    font-size: 1.05em;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 12px;
    line-height: 1.6;
    position: relative;
    padding-left: 30px;
}

.page-index-review-hi88__pros-card .page-index-review-hi88__list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    font-size: 1.2em;
    top: 0;
}

.page-index-review-hi88__cons-card .page-index-review-hi88__list li::before {
    content: '❌';
    position: absolute;
    left: 0;
    font-size: 1.2em;
    top: 0;
}

/* -------------------- FAQ Section -------------------- */
.page-index-review-hi88__faq-section {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly darker background for FAQ */
}

.page-index-review-hi88__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

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

.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 20px;
  opacity: 0;
}

.page-index-review-hi88__faq-item.active .page-index-review-hi88__faq-answer {
  max-height: 2000px !important; /* Đủ lớn để chứa mọi nội dung */
  padding: 20px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 0 8px 8px;
  border-top: 1px solid var(--border-dark);
}

.page-index-review-hi88__faq-answer p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    font-size: 1em;
}

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

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

.page-index-review-hi88__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.15em;
  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(--text-light);
  transform: rotate(45deg);
}

/* -------------------- Responsive Design -------------------- */
@media (max-width: 1024px) {
    .page-index-review-hi88__main-title {
        font-size: 2.8em;
    }
    .page-index-review-hi88__section-title {
        font-size: 2.2em;
    }
    .page-index-review-hi88__image {
        max-width: 100%;
    }
    .page-index-review-hi88__pros-cons-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-index-review-hi88__hero-alt-section {
        padding: 40px 15px;
    }
    .page-index-review-hi88__main-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-index-review-hi88__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-index-review-hi88__cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-index-review-hi88__section {
        padding: 40px 15px;
    }
    .page-index-review-hi88__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-index-review-hi88__section-intro {
        font-size: 0.95em;
        margin-bottom: 40px;
    }
    .page-index-review-hi88__content-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    .page-index-review-hi88__content-wrapper p,
    .page-index-review-hi88__content-wrapper ul,
    .page-index-review-hi88__content-wrapper li {
        min-width: unset;
        font-size: 0.95em;
    }
    .page-index-review-hi88__image {
        order: unset !important;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-index-review-hi88__game-grid,
    .page-index-review-hi88__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-index-review-hi88__game-card,
    .page-index-review-hi88__promo-card,
    .page-index-review-hi88__pros-card,
    .page-index-review-hi88__cons-card {
        padding: 20px;
    }
    .page-index-review-hi88__game-title,
    .page-index-review-hi88__promo-title {
        font-size: 1.4em;
    }
    .page-index-review-hi88__pros-cons-title {
        font-size: 1.6em;
    }
    .page-index-review-hi88__list li {
        font-size: 0.9em;
        padding-left: 25px;
    }
    .page-index-review-hi88__faq-question {
        padding: 15px;
    }
    .page-index-review-hi88__faq-question h3 {
        font-size: 1em;
    }
    .page-index-review-hi88__faq-toggle {
        font-size: 24px;
        width: 28px;
        height: 28px;
    }
    .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__container,
    .page-index-review-hi88__content-wrapper,
    .page-index-review-hi88__game-grid,
    .page-index-review-hi88__promo-grid,
    .page-index-review-hi88__pros-cons-grid,
    .page-index-review-hi88__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-index-review-hi88__main-title {
        font-size: 1.8em;
    }
    .page-index-review-hi88__section-title {
        font-size: 1.6em;
    }
    .page-index-review-hi88__game-title,
    .page-index-review-hi88__promo-title {
        font-size: 1.2em;
    }
    .page-index-review-hi88__pros-cons-title {
        font-size: 1.4em;
    }
    .page-index-review-hi88__cta-button {
        padding: 10px 25px;
        font-size: 0.9em;
    }
    .page-index-review-hi88__cta-small-button {
        padding: 8px 20px;
        font-size: 0.8em;
    }
    .page-index-review-hi88__list li {
        padding-left: 20px;
    }
    .page-index-review-hi88__list li::before {
        font-size: 1em;
    }
}