/* style/index-review-fabet.css */
:root {
  --primary-color: #FFD700;
  --secondary-color: #8B0000;
  --dark-bg-1: #0d0d0d; /* Assuming from shared.css */
}

.page-index-review-fabet {
  color: #ffffff; /* Default text color for dark body background */
  background-color: var(--dark-bg-1);
}

.page-index-review-fabet__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 180px; /* Desktop: Adjust for fixed header */
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: #ffffff;
}

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

.page-index-review-fabet__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-index-review-fabet__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-index-review-fabet__hero-content h1 {
  font-size: 42px;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-index-review-fabet__hero-content p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-index-review-fabet__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

/* Game Leaderboard Section */
.page-index-review-fabet__game-leaderboard-section {
  padding: 60px 20px;
  background: #f1f3f5; /* Light background for contrast */
  color: #333333; /* Dark text for light background */
}

.page-index-review-fabet__page-title {
  font-size: 36px;
  font-weight: bold;
  color: #333333;
  text-align: center;
  margin-bottom: 40px;
}

.page-index-review-fabet__game-leaderboard {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-index-review-fabet__game-card {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  display: flex;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-review-fabet__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.page-index-review-fabet__game-card-segment {
  padding: 0 20px;
  border-left: 1px solid #e4e4e4;
  height: 100%; /* Ensure consistent height for vertical line */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-index-review-fabet__segment-1 {
  border-left: none;
  padding-left: 0;
  min-width: 150px;
  max-width: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.page-index-review-fabet__rank-badge {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #ffffff;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  position: absolute;
  top: -10px;
  left: 0;
  z-index: 1;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.page-index-review-fabet__rank-1 {
  background: linear-gradient(135deg, #FFD700, #FFA500); /* Gold */
}

.page-index-review-fabet__rank-2 {
  background: linear-gradient(135deg, #C0C0C0, #A0A0A0); /* Silver */
}

.page-index-review-fabet__rank-3 {
  background: linear-gradient(135deg, #CD7F32, #B87333); /* Bronze */
}

.page-index-review-fabet__rank-badge {
  background: linear-gradient(135deg, #ff6b35, #ff8c42); /* Orange for 4+ */
}

.page-index-review-fabet__game-icon {
  max-width: 100px;
  height: auto;
  display: block;
  margin-top: 20px;
  border-radius: 4px;
}

.page-index-review-fabet__segment-2 {
  flex: 1;
  min-width: 200px; /* Ensure enough space for description */
  text-align: center;
}

.page-index-review-fabet__game-name {
  font-size: 24px;
  font-weight: bold;
  color: #000000;
  margin-bottom: 8px;
  text-transform: uppercase;
  text-align: center;
}

.page-index-review-fabet__game-name-link {
  color: #000000;
  text-decoration: none;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

.page-index-review-fabet__game-name-link:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-index-review-fabet__game-description {
  font-size: 14px;
  color: #000000;
  font-weight: bold;
  line-height: 1.4;
  text-align: center;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.page-index-review-fabet__game-description a {
  color: #0066cc;
  font-weight: bold;
  text-decoration: none;
}

.page-index-review-fabet__game-description a:hover {
  color: #004499;
  text-decoration: underline;
}

.page-index-review-fabet__segment-3 {
  min-width: 180px;
  max-width: 180px;
  text-align: center;
}

.page-index-review-fabet__game-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.page-index-review-fabet__stars {
  color: #FFD700;
  font-size: 20px;
  margin-right: 5px;
  font-weight: bold;
}

.page-index-review-fabet__rating-number {
  font-size: 18px;
  font-weight: bold;
  color: #333333;
}

.page-index-review-fabet__promotion-text {
  font-size: 14px;
  color: #333333;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-index-review-fabet__promotion-link {
  color: #0066cc;
  text-decoration: none;
  margin-right: 5px;
}

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

.page-index-review-fabet__hot-badge {
  background: #ff0000;
  color: #ffffff;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: bold;
  text-transform: uppercase;
}

.page-index-review-fabet__segment-4 {
  min-width: 220px;
  max-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-right: 0;
}

.page-index-review-fabet__btn-download,
.page-index-review-fabet__btn-review {
  display: block;
  width: 100%;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  border: none;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Ensure long words break */
}

.page-index-review-fabet__btn-download {
  background: linear-gradient(135deg, #667eea, #764ba2); /* Primary action color */
}

.page-index-review-fabet__btn-download:hover {
  background: linear-gradient(135deg, #5a6cdb, #6a3fa1);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

.page-index-review-fabet__btn-review {
  background: linear-gradient(135deg, #ff6b35, #ff8c42); /* Secondary action color */
}

.page-index-review-fabet__btn-review:hover {
  background: linear-gradient(135deg, #e55a2a, #e57d39);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

/* Brand Review Content Section */
.page-index-review-fabet__review-content-section {
  padding: 40px 20px;
  background: #f1f3f5; /* Light background for contrast */
  color: #333333;
}

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

.page-index-review-fabet__review-content-card {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 40px;
}

.page-index-review-fabet__review-content-card h2 {
  font-size: 32px;
  font-weight: bold;
  color: #333333;
  margin-bottom: 24px;
  text-align: center;
}

.page-index-review-fabet__review-content-card h3 {
  font-size: 22px;
  font-weight: bold;
  color: #333333;
  margin-top: 28px;
  margin-bottom: 12px;
}

.page-index-review-fabet__review-body {
  color: #333333;
  line-height: 1.7;
}

.page-index-review-fabet__review-body p {
  margin-bottom: 16px;
  font-size: 16px;
}

.page-index-review-fabet__review-body a {
  color: #0066cc;
  text-decoration: none;
  font-weight: bold;
}

.page-index-review-fabet__review-body a:hover {
  color: #004499;
  text-decoration: underline;
}

/* Homepage Intro Section */
.page-index-review-fabet__intro-section {
  padding: 60px 20px;
  background: var(--dark-bg-1);
  color: #f0f0f0;
  text-align: center;
}

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

.page-index-review-fabet__intro-section h2 {
  font-size: 36px;
  color: #ffffff;
  margin-bottom: 25px;
}

.page-index-review-fabet__intro-section p {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 20px;
}

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

.page-index-review-fabet__intro-section p a:hover {
  text-decoration: underline;
}

/* Core Games/Services Section */
.page-index-review-fabet__games-section {
  padding: 60px 20px;
  background: #f1f3f5; /* Light background */
  color: #333333;
}

.page-index-review-fabet__games-section h2 {
  font-size: 36px;
  color: #333333;
  text-align: center;
  margin-bottom: 40px;
}

.page-index-review-fabet__game-category {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 30px;
  margin-bottom: 30px;
  text-align: center;
}

.page-index-review-fabet__game-category h3 {
  font-size: 28px;
  color: #333333;
  margin-bottom: 20px;
}

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

.page-index-review-fabet__game-category p {
  font-size: 16px;
  line-height: 1.7;
  color: #333333;
}

.page-index-review-fabet__game-category p a {
  color: #0066cc;
  text-decoration: none;
  font-weight: bold;
}

.page-index-review-fabet__game-category p a:hover {
  color: #004499;
  text-decoration: underline;
}

/* Promotions Section */
.page-index-review-fabet__promotions-section {
  padding: 60px 20px;
  background: var(--dark-bg-1);
  color: #f0f0f0;
  text-align: center;
}

.page-index-review-fabet__promotions-section h2 {
  font-size: 36px;
  color: #ffffff;
  margin-bottom: 25px;
}

.page-index-review-fabet__promotions-section p {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 30px;
}

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

.page-index-review-fabet__promotions-section p a:hover {
  text-decoration: underline;
}

.page-index-review-fabet__promotion-list {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-review-fabet__promotion-list li {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  padding: 15px 20px;
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1.6;
  color: #f0f0f0;
  border-left: 5px solid var(--primary-color);
}

.page-index-review-fabet__promotion-list li strong {
  color: #ffffff;
  font-size: 18px;
}

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

.page-index-review-fabet__promotion-list li a:hover {
  text-decoration: underline;
}

/* Blog Section */
.page-index-review-fabet__blog-section {
  padding: 60px 20px;
  background: #f1f3f5;
  color: #333333;
}

.page-index-review-fabet__blog-section h2 {
  font-size: 36px;
  color: #333333;
  text-align: center;
  margin-bottom: 25px;
}

.page-index-review-fabet__blog-section p {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 30px;
  text-align: center;
}

.page-index-review-fabet__blog-section p a {
  color: #0066cc;
  text-decoration: none;
  font-weight: bold;
}

.page-index-review-fabet__blog-section p a:hover {
  color: #004499;
  text-decoration: underline;
}

.page-index-review-fabet__article-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 40px auto;
}

.page-index-review-fabet__article-card {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-index-review-fabet__article-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-index-review-fabet__article-card h3 {
  font-size: 20px;
  font-weight: bold;
  color: #333333;
  margin: 15px 15px 10px 15px;
  line-height: 1.4;
  flex-grow: 1;
}

.page-index-review-fabet__article-title-link {
  color: #333333;
  text-decoration: none;
}

.page-index-review-fabet__article-title-link:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-index-review-fabet__article-card p {
  font-size: 15px;
  color: #666666;
  line-height: 1.6;
  margin: 0 15px 15px 15px;
  text-align: left;
}

.page-index-review-fabet__read-more-button {
  display: inline-block;
  margin: 0 15px 15px 15px;
  padding: 10px 20px;
  background: var(--secondary-color);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 14px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-index-review-fabet__read-more-button:hover {
  background: #a00000;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-review-fabet__game-card {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .page-index-review-fabet__game-card-segment {
    border-left: none;
    padding: 10px 0;
    width: 100%;
  }

  .page-index-review-fabet__segment-1 {
    min-width: unset;
    max-width: 100%;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
  }

  .page-index-review-fabet__rank-badge {
    position: static;
    margin-right: 10px;
  }

  .page-index-review-fabet__game-icon {
    margin-top: 0;
  }

  .page-index-review-fabet__segment-2,
  .page-index-review-fabet__segment-3,
  .page-index-review-fabet__segment-4 {
    min-width: unset;
    max-width: 100%;
    width: 100%;
    padding: 10px 20px;
  }

  .page-index-review-fabet__game-rating,
  .page-index-review-fabet__promotion-text {
    justify-content: center;
  }

  .page-index-review-fabet__segment-4 {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }

  .page-index-review-fabet__btn-download,
  .page-index-review-fabet__btn-review {
    width: calc(50% - 5px);
    font-size: 14px;
    padding: 10px 15px;
  }
}

@media (max-width: 768px) {
  .page-index-review-fabet__hero-section {
    padding-top: 160px !important; /* Mobile: Adjust for fixed header */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-index-review-fabet__hero-image img {
    border-radius: 4px;
  }
  
  .page-index-review-fabet__hero-content h1 {
    font-size: 32px;
  }

  .page-index-review-fabet__hero-content p {
    font-size: 16px;
  }

  .page-index-review-fabet__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    margin-top: 20px;
  }

  .page-index-review-fabet__page-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-index-review-fabet__game-leaderboard-section,
  .page-index-review-fabet__review-content-section,
  .page-index-review-fabet__intro-section,
  .page-index-review-fabet__games-section,
  .page-index-review-fabet__promotions-section,
  .page-index-review-fabet__blog-section {
    padding: 30px 15px;
  }

  .page-index-review-fabet__review-content-card {
    padding: 24px 20px;
  }
  
  .page-index-review-fabet__review-content-card h2 {
    font-size: 26px;
  }
  
  .page-index-review-fabet__review-content-card h3 {
    font-size: 20px;
  }
  
  .page-index-review-fabet__review-body p {
    font-size: 15px;
  }

  .page-index-review-fabet__intro-section h2,
  .page-index-review-fabet__games-section h2,
  .page-index-review-fabet__promotions-section h2,
  .page-index-review-fabet__blog-section h2 {
    font-size: 28px;
  }

  .page-index-review-fabet__intro-section p,
  .page-index-review-fabet__promotions-section p {
    font-size: 15px;
  }

  .page-index-review-fabet__game-category h3 {
    font-size: 24px;
  }

  .page-index-review-fabet__promotion-list li {
    font-size: 15px;
  }

  .page-index-review-fabet__promotion-list li strong {
    font-size: 16px;
  }

  .page-index-review-fabet__article-list {
    grid-template-columns: 1fr;
  }
  
  .page-index-review-fabet__article-card h3 {
    font-size: 18px;
  }

  .page-index-review-fabet__article-card p {
    font-size: 14px;
  }

  .page-index-review-fabet img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-index-review-fabet__hero-section,
  .page-index-review-fabet__game-leaderboard-section,
  .page-index-review-fabet__review-content-section,
  .page-index-review-fabet__intro-section,
  .page-index-review-fabet__games-section,
  .page-index-review-fabet__promotions-section,
  .page-index-review-fabet__blog-section,
  .page-index-review-fabet__container,
  .page-index-review-fabet__review-content-container,
  .page-index-review-fabet__game-card,
  .page-index-review-fabet__game-category,
  .page-index-review-fabet__article-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-index-review-fabet__segment-4 {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  
  .page-index-review-fabet__btn-download,
  .page-index-review-fabet__btn-review {
    max-width: 100% !important;
    width: 100% !important;
    font-size: 12px !important;
    padding: 8px 12px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    min-width: auto !important;
  }
  .page-index-review-fabet__game-description {
    font-size: 13px;
  }
  .page-index-review-fabet__game-name {
    font-size: 20px;
  }
  .page-index-review-fabet__game-icon {
    max-width: 80px;
  }
  .page-index-review-fabet__rank-badge {
    width: 25px;
    height: 25px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .page-index-review-fabet__btn-download,
  .page-index-review-fabet__btn-review {
    width: 100% !important;
  }
  .page-index-review-fabet__game-card-segment {
    padding: 10px 5px;
  }
  .page-index-review-fabet__segment-1 {
    gap: 10px;
  }
  .page-index-review-fabet__segment-2,
  .page-index-review-fabet__segment-3,
  .page-index-review-fabet__segment-4 {
    padding: 10px 10px;
  }
}