/* style/index-review-one88.css */
:root {
    --primary-color: #1A73E8;
    --secondary-color: #FFD700;
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-dark: #0a0a0a;
    --background-light: #f1f3f5;
    --card-bg-light: #ffffff;
    --border-light: #e0e0e0;
}

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

/* Ensure content is not hidden by fixed header */
.page-index-review-one88__hero-intro-section {
    padding-top: 180px; /* Desktop: Adjust based on actual header height */
    padding-bottom: 60px;
    background: var(--background-dark);
}

.page-index-review-one88__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

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

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

.page-index-review-one88__dark-section {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 60px 0;
}

.page-index-review-one88__section {
    padding: 60px 0;
}

.page-index-review-one88__main-title {
    font-size: 3.2em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    color: var(--secondary-color);
    line-height: 1.2;
}

.page-index-review-one88__intro-text {
    font-size: 1.2em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: var(--text-light);
}

.page-index-review-one88__intro-text strong {
    color: var(--secondary-color);
}

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

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

.page-index-review-one88__btn-primary {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    border: 2px solid var(--secondary-color);
}

.page-index-review-one88__btn-primary:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

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

.page-index-review-one88__btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-index-review-one88__image-wrapper {
    text-align: center;
    margin-top: 40px;
}

.page-index-review-one88__hero-image-content {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-index-review-one88__section-title {
    font-size: 2.5em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: inherit; /* Inherit color from parent section */
}

.page-index-review-one88__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: -20px auto 50px auto;
    color: inherit;
}

.page-index-review-one88__text-block p {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: inherit;
    text-align: justify;
}

.page-index-review-one88__text-block ul {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 20px;
}

.page-index-review-one88__text-block li {
    font-size: 1.05em;
    margin-bottom: 8px;
    color: inherit;
}

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

.page-index-review-one88__review-card {
    background: var(--card-bg-light);
    color: var(--text-dark);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index-review-one88__card-image {
    max-width: 250px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

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

.page-index-review-one88__review-card p {
    font-size: 1em;
    line-height: 1.7;
    color: var(--text-dark);
    text-align: left;
}

.page-index-review-one88__cta-bottom {
    text-align: center;
    margin-top: 50px;
}

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

.page-index-review-one88__game-card-category {
    background: var(--card-bg-light);
    color: var(--text-dark);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    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-one88__game-card-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

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

.page-index-review-one88__game-card-category p {
    font-size: 0.95em;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 20px;
    flex-grow: 1;
    text-align: left;
}

.page-index-review-one88__game-card-category .page-index-review-one88__cta-button {
    width: 100%;
    margin-top: auto;
    padding: 10px 20px;
    font-size: 1em;
}

/* FAQ Section */
.page-index-review-one88__faq-section {
    padding: 60px 0;
    background-color: var(--background-dark);
    color: var(--text-light);
}

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

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

.page-index-review-one88__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-one88__faq-item.active .page-index-review-one88__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: var(--primary-color);
  border-radius: 0 0 5px 5px;
  color: var(--text-light);
}

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

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

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

.page-index-review-one88__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
}

.page-index-review-one88__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-one88__faq-item.active .page-index-review-one88__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-index-review-one88__main-title {
        font-size: 2.8em;
    }
    .page-index-review-one88__section-title {
        font-size: 2em;
    }
    .page-index-review-one88__intro-text, .page-index-review-one88__text-block p, .page-index-review-one88__text-block li {
        font-size: 1em;
    }
    .page-index-review-one88__review-card, .page-index-review-one88__game-card-category {
        padding: 25px;
    }
    .page-index-review-one88__card-title {
        font-size: 1.4em;
    }
    .page-index-review-one88__card-image {
        max-width: 200px;
    }
    .page-index-review-one88__hero-cta {
        flex-direction: column;
        align-items: center;
    }
    .page-index-review-one88__cta-button {
        width: 80%;
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .page-index-review-one88__hero-intro-section {
        padding-top: 160px !important; /* Mobile: Adjust based on actual header height */
        padding-bottom: 40px;
    }
    .page-index-review-one88__section {
        padding: 40px 0;
    }
    .page-index-review-one88__container {
        padding: 0 15px !important;
    }
    .page-index-review-one88__main-title {
        font-size: 2.2em;
        margin-bottom: 20px;
    }
    .page-index-review-one88__intro-text {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page-index-review-one88__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-index-review-one88__section-description {
        font-size: 0.9em;
        margin-top: -10px;
        margin-bottom: 40px;
    }
    .page-index-review-one88__text-block p, .page-index-review-one88__text-block li {
        font-size: 0.95em;
    }
    .page-index-review-one88__review-grid, .page-index-review-one88__game-categories {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-index-review-one88__review-card, .page-index-review-one88__game-card-category {
        padding: 20px;
    }
    .page-index-review-one88__card-title {
        font-size: 1.3em;
    }
    .page-index-review-one88__card-image {
        max-width: 180px;
    }
    .page-index-review-one88__game-card-category .page-index-review-one88__cta-button {
        font-size: 0.9em;
        padding: 10px 15px;
    }
    .page-index-review-one88__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-index-review-one88__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-index-review-one88__faq-question h3 {
        font-size: 15px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    .page-index-review-one88__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    .page-index-review-one88__faq-answer {
        padding: 0 15px;
    }
    .page-index-review-one88__faq-item.active .page-index-review-one88__faq-answer {
        padding: 15px !important;
    }
    /* Mobile image adaptation */
    .page-index-review-one88 img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-index-review-one88__section,
    .page-index-review-one88__container,
    .page-index-review-one88__review-card,
    .page-index-review-one88__game-card-category {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}