/* style/index-review-go88.css */
:root {
  --primary-color: #007bff;
  --secondary-color: #ffc107;
  --dark-bg-color: #050505;
  --light-text-color: #ffffff;
  --dark-text-color: #333333;
  --card-bg-dark: rgba(255, 255, 255, 0.1);
  --card-bg-light: #ffffff;
  --border-color: #e0e0e0;
}

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

/* Fixed header padding */
.page-index-review-go88__hero-section {
  padding-top: 180px; /* Desktop: Adjust based on fixed header height */
  padding-bottom: 60px;
  background: linear-gradient(135deg, #007bff, #0056b3); /* Darker blue gradient */
  color: var(--light-text-color);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-index-review-go88__hero-container {
  max-width: 1200px;
  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-go88__hero-image {
  width: 100%;
  max-width: 900px;
  margin-bottom: 40px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-index-review-go88__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-index-review-go88__main-title {
  font-size: 3.5em;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-index-review-go88__hero-description {
  font-size: 1.4em;
  margin-bottom: 40px;
  max-width: 800px;
  line-height: 1.6;
}

.page-index-review-go88__cta-button {
  display: inline-block;
  padding: 18px 45px;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-index-review-go88__btn-primary {
  background: var(--secondary-color);
  color: var(--dark-text-color);
}

.page-index-review-go88__btn-primary:hover {
  background: #e6b000;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Review Content Section */
.page-index-review-go88__review-content-section {
  padding: 60px 20px;
  background: var(--dark-bg-color); /* Consistent with body */
  color: var(--light-text-color);
}

.page-index-review-go88__review-content-container {
  max-width: 1000px; /* Slightly wider for review content */
  margin: 0 auto;
}

.page-index-review-go88__review-content-card {
  background: var(--card-bg-dark); /* Semi-transparent white on dark bg */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  padding: 40px;
}

.page-index-review-go88__section-title {
  font-size: 2.2em;
  font-weight: 700;
  color: var(--light-text-color);
  margin-bottom: 30px;
  text-align: center;
  line-height: 1.3;
}

.page-index-review-go88__sub-title {
  font-size: 1.6em;
  font-weight: 600;
  color: var(--secondary-color);
  margin-top: 35px;
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-index-review-go88__review-content-card p {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--light-text-color);
}

.page-index-review-go88__img-content {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 25px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-index-review-go88__cta-inline:hover {
  color: #e6b000;
  text-decoration: underline;
}

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

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

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

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

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

.page-index-review-go88__faq-list {
  margin-top: 30px;
}

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

.page-index-review-go88__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--primary-color); /* Primary color for question background */
  border: 1px solid #0056b3;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--light-text-color);
}

.page-index-review-go88__faq-question:hover {
  background: #0056b3;
  border-color: #003d80;
}

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

.page-index-review-go88__faq-toggle {
  font-size: 2em;
  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: 30px;
  height: 30px;
}

.page-index-review-go88__faq-item.active .page-index-review-go88__faq-toggle {
  color: var(--light-text-color);
  transform: rotate(45deg); /* Change + to X */
}

.page-index-review-go88__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: rgba(0, 0, 0, 0.3); /* Darker background for answer */
  color: var(--light-text-color);
  border-radius: 0 0 8px 8px;
}

.page-index-review-go88__faq-item.active .page-index-review-go88__faq-answer {
  max-height: 2000px !important; /* Sufficiently large height */
  padding: 20px 25px !important;
  opacity: 1;
}

.page-index-review-go88__faq-answer p {
  margin: 0;
  font-size: 1em;
  line-height: 1.6;
}

/* Latest News Section */
.page-index-review-go88__latest-news-section {
  padding: 60px 20px;
  background: var(--dark-bg-color);
  color: var(--light-text-color);
}

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

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

.page-index-review-go88__news-card {
  background: var(--card-bg-dark);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.page-index-review-go88__news-image {
  width: 100%;
  height: 200px; /* Fixed height for consistent card appearance */
  object-fit: cover;
  display: block;
}

.page-index-review-go88__news-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-index-review-go88__news-title {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
}

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

.page-index-review-go88__news-title a:hover {
  color: var(--secondary-color);
}

.page-index-review-go88__news-excerpt {
  font-size: 0.95em;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-index-review-go88__read-more-link {
  display: inline-block;
  color: var(--secondary-color);
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
  align-self: flex-start;
}

.page-index-review-go88__read-more-link:hover {
  color: #e6b000;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-review-go88__main-title {
    font-size: 3em;
  }
  .page-index-review-go88__hero-description {
    font-size: 1.2em;
  }
  .page-index-review-go88__cta-button {
    padding: 15px 35px;
    font-size: 1.1em;
  }
  .page-index-review-go88__section-title {
    font-size: 2em;
  }
  .page-index-review-go88__sub-title {
    font-size: 1.4em;
  }
  .page-index-review-go88__review-content-card p {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-index-review-go88__hero-section {
    padding-top: 140px !important; /* Mobile: Adjust based on fixed header height */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-index-review-go88__main-title {
    font-size: 2.2em;
  }
  .page-index-review-go88__hero-description {
    font-size: 1em;
  }
  .page-index-review-go88__cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-index-review-go88__review-content-section,
  .page-index-review-go88__faq-section,
  .page-index-review-go88__latest-news-section {
    padding: 30px 15px;
  }
  .page-index-review-go88__review-content-card {
    padding: 25px;
  }
  .page-index-review-go88__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  .page-index-review-go88__sub-title {
    font-size: 1.2em;
    margin-top: 25px;
    margin-bottom: 10px;
  }
  .page-index-review-go88__review-content-card p {
    font-size: 0.95em;
    line-height: 1.6;
  }
  .page-index-review-go88__faq-question {
    padding: 15px 20px;
  }
  .page-index-review-go88__faq-question h3 {
    font-size: 1em;
  }
  .page-index-review-go88__faq-toggle {
    font-size: 1.8em;
    width: 25px;
    height: 25px;
  }
  .page-index-review-go88__faq-item.active .page-index-review-go88__faq-answer {
    padding: 15px 20px !important;
  }
  .page-index-review-go88__news-grid {
    grid-template-columns: 1fr;
  }
  .page-index-review-go88__news-image {
    height: 180px;
  }
  .page-index-review-go88__news-content {
    padding: 20px;
  }
  .page-index-review-go88__news-title {
    font-size: 1.1em;
  }
  .page-index-review-go88__news-excerpt {
    font-size: 0.9em;
  }

  /* Mobile image responsive fix */
  .page-index-review-go88 img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-index-review-go88__hero-section,
  .page-index-review-go88__review-content-section,
  .page-index-review-go88__faq-section,
  .page-index-review-go88__latest-news-section,
  .page-index-review-go88__review-content-container,
  .page-index-review-go88__faq-container,
  .page-index-review-go88__latest-news-container,
  .page-index-review-go88__review-content-card,
  .page-index-review-go88__news-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  .page-index-review-go88__main-title {
    font-size: 1.8em;
  }
  .page-index-review-go88__cta-button {
    padding: 10px 25px;
    font-size: 0.9em;
  }
  .page-index-review-go88__section-title {
    font-size: 1.5em;
  }
  .page-index-review-go88__sub-title {
    font-size: 1.1em;
  }
  .page-index-review-go88__review-content-card {
    padding: 20px;
  }
  .page-index-review-go88__faq-question h3 {
    font-size: 0.95em;
  }
  .page-index-review-go88__faq-toggle {
    font-size: 1.5em;
    width: 20px;
    height: 20px;
  }
  .page-index-review-go88__news-image {
    height: 150px;
  }
  .page-index-review-go88__news-title {
    font-size: 1em;
  }
}