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

:root {
    --primary-color: #FFD700;
    --secondary-color: #8B0000;
    --text-light: #ffffff;
    --text-dark: #333333;
    --background-dark: #000000;
    --background-light: #f1f3f5;
    --card-bg: rgba(255, 255, 255, 0.05);
    --border-color: rgba(255, 255, 255, 0.1);
}

.page-index-review-fa88 {
    font-family: 'Arial', sans-serif;
    color: var(--text-light);
    background-color: var(--background-dark);
    line-height: 1.6;
}

/* Fixed Nav Bar Padding */
.page-index-review-fa88__hero-small {
    padding-top: 120px; /* Desktop: Adjust based on fixed header height */
}

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

.page-index-review-fa88__section-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.page-index-review-fa88__sub-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    border-left: 5px solid var(--secondary-color);
    padding-left: 15px;
}

.page-index-review-fa88__text-block {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--text-light);
}

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

.page-index-review-fa88__text-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.page-index-review-fa88__highlight {
    color: var(--primary-color);
    font-weight: bold;
}

.page-index-review-fa88__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(135deg, var(--primary-color), #FFA500);
    color: #000000; /* Ensure high contrast with gold/orange gradient */
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
}

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

.page-index-review-fa88__cta-button--small {
    padding: 10px 20px;
    font-size: 15px;
    border-radius: 5px;
}

.page-index-review-fa88__cta-button--full {
    display: block;
    width: fit-content;
    margin: 30px auto 0 auto;
    max-width: 300px;
}

/* HERO Small Section */
.page-index-review-fa88__hero-small {
    position: relative;
    width: 100%;
    overflow: hidden;
    text-align: center;
    background-color: var(--background-dark);
    padding-bottom: 40px;
}

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

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

.page-index-review-fa88__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-index-review-fa88__page-title {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 900;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.page-index-review-fa88__hero-description {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-index-review-fa88__review-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    padding: 40px;
    border: 1px solid var(--border-color);
}

.page-index-review-fa88__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-index-review-fa88__games-section .page-index-review-fa88__section-title {
    color: var(--secondary-color);
}

.page-index-review-fa88__games-section .page-index-review-fa88__text-block {
    color: var(--text-dark);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

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

.page-index-review-fa88__game-card-item {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}

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

.page-index-review-fa88__game-card-image {
    max-width: 150px; /* Adjusted from 100px to avoid small icon rule */
    height: auto;
    display: block;
    margin: 0 auto 20px auto;
    border-radius: 8px;
}

.page-index-review-fa88__game-card-title {
    font-size: 22px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.page-index-review-fa88__game-card-description {
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.page-index-review-fa88__cta-text {
    text-align: center;
    font-size: 18px;
    margin-top: 30px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

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

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

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

.page-index-review-fa88__promo-image {
    max-width: 250px; /* Ensure images are not small icons */
    height: auto;
    display: block;
    margin: 0 auto 20px auto;
    border-radius: 8px;
}

.page-index-review-fa88__promo-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-index-review-fa88__promo-description {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 20px;
}

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

.page-index-review-fa88__blog-section .page-index-review-fa88__section-title {
    color: var(--secondary-color);
}

.page-index-review-fa88__blog-section .page-index-review-fa88__text-block {
    color: var(--text-dark);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

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

.page-index-review-fa88__blog-post-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}

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

.page-index-review-fa88__blog-post-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-index-review-fa88__blog-post-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-index-review-fa88__blog-post-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 10px;
    line-height: 1.4;
}

.page-index-review-fa88__blog-post-title a {
    color: var(--secondary-color);
    text-decoration: none;
}

.page-index-review-fa88__blog-post-title a:hover {
    text-decoration: underline;
}

.page-index-review-fa88__blog-post-excerpt {
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 15px;
    flex-grow: 1;
}

.page-index-review-fa88__read-more-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    margin-top: auto;
}

.page-index-review-fa88__read-more-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

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

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

.page-index-review-fa88__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.page-index-review-fa88__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 15px;
  opacity: 0;
  color: var(--text-light);
}

.page-index-review-fa88__faq-item.active .page-index-review-fa88__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 0 5px 5px;
}

.page-index-review-fa88__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-index-review-fa88__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--primary-color);
}

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

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

.page-index-review-fa88__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-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: 30px;
  height: 30px;
}

.page-index-review-fa88__faq-item.active .page-index-review-fa88__faq-toggle {
  color: var(--secondary-color);
  transform: rotate(45deg); /* Rotate for 'x' effect */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-index-review-fa88__page-title {
        font-size: 40px;
    }
    .page-index-review-fa88__section-title {
        font-size: 30px;
    }
    .page-index-review-fa88__sub-title {
        font-size: 22px;
    }
    .page-index-review-fa88__game-card-image {
        max-width: 120px;
    }
    .page-index-review-fa88__promo-image {
        max-width: 200px;
    }
}

@media (max-width: 768px) {
    .page-index-review-fa88__hero-small {
        padding-top: 100px !important; /* Mobile: Adjust based on mobile fixed header height */
        padding-bottom: 30px;
    }
    .page-index-review-fa88__page-title {
        font-size: 32px;
    }
    .page-index-review-fa88__hero-description {
        font-size: 16px;
    }
    .page-index-review-fa88__section-title {
        font-size: 26px;
        margin-bottom: 30px;
    }
    .page-index-review-fa88__sub-title {
        font-size: 20px;
        margin-top: 25px;
    }
    .page-index-review-fa88__text-block {
        font-size: 15px;
    }
    .page-index-review-fa88__cta-button {
        padding: 12px 25px;
        font-size: 16px;
    }
    .page-index-review-fa88__review-card, .page-index-review-fa88__promo-item {
        padding: 25px;
    }
    .page-index-review-fa88__game-grid {
        grid-template-columns: 1fr;
    }
    .page-index-review-fa88__game-card-image {
        max-width: 100px;
    }
    .page-index-review-fa88__promo-image {
        max-width: 180px;
    }
    .page-index-review-fa88__blog-list {
        grid-template-columns: 1fr;
    }
    .page-index-review-fa88__blog-post-image {
        height: 180px;
    }
    .page-index-review-fa88__blog-post-title {
        font-size: 18px;
    }
    .page-index-review-fa88__blog-post-excerpt {
        font-size: 14px;
    }
    /* Mobile image and container adaptation */
    .page-index-review-fa88 img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-index-review-fa88__section,
    .page-index-review-fa88__card,
    .page-index-review-fa88__container,
    .page-index-review-fa88__hero-small,
    .page-index-review-fa88__review-section,
    .page-index-review-fa88__games-section,
    .page-index-review-fa88__promotions-section,
    .page-index-review-fa88__blog-section,
    .page-index-review-fa88__faq-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-index-review-fa88__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-index-review-fa88__faq-question h3 {
        font-size: 16px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    .page-index-review-fa88__faq-toggle {
        margin-left: 10px;
        width: 26px;
        height: 26px;
        font-size: 24px;
    }
    .page-index-review-fa88__faq-answer {
        padding: 0 15px;
    }
    .page-index-review-fa88__faq-item.active .page-index-review-fa88__faq-answer {
        padding: 15px !important;
    }
}