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

/* Variables for consistent styling */
:root {
  --primary-color: #007bff;
  --secondary-color: #28a745;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f1f3f5;
  --card-background: #ffffff;
  --border-color: #e0e0e0;
}

.page-index-review-sinbet {
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--dark-bg-1); /* Inherited from shared.css */
  padding-top: 120px; /* Adjust for fixed header on desktop */
}

/* Main Review Content Section (Module 1.5 adapted) */
.page-index-review-sinbet__review-content-section {
  padding: 40px 20px;
  background: var(--background-light); /* Light background for card area */
}

.page-index-review-sinbet__review-content-container {
  max-width: 1400px; /* Wider for better readability */
  margin: 0 auto;
}

.page-index-review-sinbet__review-content-card {
  background: var(--card-background); /* White background */
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 40px;
  color: var(--text-dark); /* Dark text for white card background */
}

.page-index-review-sinbet__review-content-card h2 {
  font-size: 28px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 24px;
  text-align: center;
}

.page-index-review-sinbet__review-summary p {
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.7;
}

.page-index-review-sinbet__review-summary a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-index-review-sinbet__review-summary a:hover {
  text-decoration: underline;
}

.page-index-review-sinbet__rating-overall {
  text-align: center;
  margin-top: 20px;
  font-size: 20px;
  font-weight: bold;
  color: var(--secondary-color);
}

.page-index-review-sinbet__stars {
  color: #FFD700;
  margin-right: 5px;
}

.page-index-review-sinbet__review-content-card h3 {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-index-review-sinbet__review-content-card p {
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.7;
}

.page-index-review-sinbet__review-content-card p a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-index-review-sinbet__review-content-card p a:hover {
  text-decoration: underline;
}

.page-index-review-sinbet__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.page-index-review-sinbet__btn-primary,
.page-index-review-sinbet__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
}

.page-index-review-sinbet__btn-primary {
  background: var(--primary-color);
  color: var(--text-light);
}

.page-index-review-sinbet__btn-primary:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

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

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

/* Introduction Section (Module 2 adapted) */
.page-index-review-sinbet__intro-section {
  padding: 60px 20px;
  background: var(--dark-bg-1); /* Dark background for this section */
  color: var(--text-light);
}

.page-index-review-sinbet__intro-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-index-review-sinbet__section-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 40px;
  color: var(--text-light); /* Light text for dark background */
}

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

.page-index-review-sinbet__intro-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-index-review-sinbet__intro-item:hover {
  transform: translateY(-5px);
}

.page-index-review-sinbet__intro-icon {
  width: 100px;
  height: auto;
  margin-bottom: 20px;
  max-width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-index-review-sinbet__intro-item h3 {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--text-light);
}

.page-index-review-sinbet__intro-item p {
  font-size: 16px;
  line-height: 1.6;
  color: #e0e0e0;
}

.page-index-review-sinbet__intro-item p a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-index-review-sinbet__intro-item p a:hover {
  text-decoration: underline;
}

/* Core Games/Services Introduction (Module 3) */
.page-index-review-sinbet__games-section {
  padding: 60px 20px;
  background: var(--background-light);
}

.page-index-review-sinbet__games-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  color: var(--text-dark);
}

.page-index-review-sinbet__games-container .page-index-review-sinbet__section-title {
  color: var(--text-dark);
}

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

.page-index-review-sinbet__game-card {
  background: var(--card-background);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-index-review-sinbet__game-card:hover {
  transform: translateY(-5px);
}

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

.page-index-review-sinbet__game-card h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-index-review-sinbet__game-card h3 a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-index-review-sinbet__game-card h3 a:hover {
  text-decoration: underline;
}

.page-index-review-sinbet__game-card p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.page-index-review-sinbet__more-games-text {
  font-size: 16px;
  color: var(--text-dark);
  margin-top: 30px;
}

.page-index-review-sinbet__more-games-text a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-index-review-sinbet__more-games-text a:hover {
  text-decoration: underline;
}

/* Promotions Section (Module 4) */
.page-index-review-sinbet__promotions-section {
  padding: 60px 20px;
  background: var(--dark-bg-1); /* Dark background */
  color: var(--text-light);
}

.page-index-review-sinbet__promotions-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-index-review-sinbet__promotions-container .page-index-review-sinbet__section-title {
  color: var(--text-light);
}

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

.page-index-review-sinbet__promo-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-index-review-sinbet__promo-card:hover {
  transform: translateY(-5px);
}

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

.page-index-review-sinbet__promo-card h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--text-light);
}

.page-index-review-sinbet__promo-card p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #e0e0e0;
}

.page-index-review-sinbet__promo-card p a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-index-review-sinbet__promo-card p a:hover {
  text-decoration: underline;
}

.page-index-review-sinbet__btn-promo {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  background: var(--secondary-color);
  color: var(--text-light);
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-index-review-sinbet__btn-promo:hover {
  background: #218838;
  transform: translateY(-2px);
}

.page-index-review-sinbet__cta-promotions p {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--text-light);
}

.page-index-review-sinbet__cta-promotions p a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-index-review-sinbet__cta-promotions p a:hover {
  text-decoration: underline;
}

/* Latest Blog Content (Module 5) */
.page-index-review-sinbet__blog-section {
  padding: 60px 20px;
  background: var(--background-light);
}

.page-index-review-sinbet__blog-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  color: var(--text-dark);
}

.page-index-review-sinbet__blog-container .page-index-review-sinbet__section-title {
  color: var(--text-dark);
}

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

.page-index-review-sinbet__blog-card {
  background: var(--card-background);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: left;
  transition: transform 0.3s ease;
}

.page-index-review-sinbet__blog-card:hover {
  transform: translateY(-5px);
}

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

.page-index-review-sinbet__blog-card h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-index-review-sinbet__blog-card h3 a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-index-review-sinbet__blog-card h3 a:hover {
  text-decoration: underline;
}

.page-index-review-sinbet__blog-card p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.page-index-review-sinbet__blog-date {
  font-size: 14px;
  color: #6c757d;
  display: block;
  margin-bottom: 15px;
}

.page-index-review-sinbet__blog-link {
  display: inline-block;
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-index-review-sinbet__blog-link:hover {
  text-decoration: underline;
}

.page-index-review-sinbet__cta-blog {
  margin-top: 40px;
}

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

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

.page-index-review-sinbet__faq-container .page-index-review-sinbet__section-title {
  color: var(--text-light);
  text-align: center;
  margin-bottom: 40px;
}

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

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

.page-index-review-sinbet__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-dark);
}

.page-index-review-sinbet__faq-item.active .page-index-review-sinbet__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: var(--background-light);
  border-radius: 0 0 5px 5px;
}

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

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

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

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

.page-index-review-sinbet__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-sinbet__faq-item.active .page-index-review-sinbet__faq-toggle {
  color: var(--primary-color);
}

.page-index-review-sinbet__faq-answer p {
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.6;
}

.page-index-review-sinbet__faq-answer a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-index-review-sinbet__faq-answer a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-index-review-sinbet {
    padding-top: 100px !important; /* Adjust for fixed header on mobile */
    font-size: 16px;
    line-height: 1.6;
  }

  .page-index-review-sinbet__review-content-section,
  .page-index-review-sinbet__intro-section,
  .page-index-review-sinbet__games-section,
  .page-index-review-sinbet__promotions-section,
  .page-index-review-sinbet__blog-section,
  .page-index-review-sinbet__faq-section {
    padding: 30px 15px;
  }

  .page-index-review-sinbet__review-content-card,
  .page-index-review-sinbet__intro-item,
  .page-index-review-sinbet__game-card,
  .page-index-review-sinbet__promo-card,
  .page-index-review-sinbet__blog-card {
    padding: 20px;
  }

  .page-index-review-sinbet__review-content-card h2,
  .page-index-review-sinbet__section-title {
    font-size: 24px;
    margin-bottom: 25px;
  }

  .page-index-review-sinbet__review-content-card h3 {
    font-size: 18px;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-index-review-sinbet__review-content-card p,
  .page-index-review-sinbet__intro-item p,
  .page-index-review-sinbet__game-card p,
  .page-index-review-sinbet__promo-card p,
  .page-index-review-sinbet__blog-card p,
  .page-index-review-sinbet__faq-answer p {
    font-size: 15px;
  }

  .page-index-review-sinbet__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-index-review-sinbet__btn-primary,
  .page-index-review-sinbet__btn-secondary {
    font-size: 16px;
    padding: 12px 20px;
    width: 100%;
    max-width: 100%;
  }

  .page-index-review-sinbet__intro-icon {
    width: 80px;
  }

  .page-index-review-sinbet__game-image,
  .page-index-review-sinbet__promo-image,
  .page-index-review-sinbet__blog-image {
    height: 150px;
  }

  .page-index-review-sinbet__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-index-review-sinbet__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-index-review-sinbet__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-index-review-sinbet__faq-answer {
    padding: 0 15px;
  }
  
  .page-index-review-sinbet__faq-item.active .page-index-review-sinbet__faq-answer {
    padding: 15px !important;
  }

  /* Ensure all images and their containers are responsive */
  .page-index-review-sinbet img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-index-review-sinbet__section,
  .page-index-review-sinbet__card,
  .page-index-review-sinbet__container,
  .page-index-review-sinbet__review-content-container,
  .page-index-review-sinbet__intro-container,
  .page-index-review-sinbet__games-container,
  .page-index-review-sinbet__promotions-container,
  .page-index-review-sinbet__blog-container,
  .page-index-review-sinbet__faq-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}