/* style/index-review-fa88.css */
:root {
  --primary-color: #0A2463;
  --secondary-color: #E3B505;
  --dark-bg-1: #0d0d0d; /* Giả định từ shared.css */
  --dark-bg-text-color: #ffffff;
  --light-bg-text-color: #333333;
}

.page-index-review-fa88 {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--dark-bg-text-color); /* Mặc định text color trên body nền tối */
  background-color: var(--dark-bg-1);
}

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

.page-index-review-fa88__light-bg {
  background-color: #f1f3f5;
  color: var(--light-bg-text-color);
}

/* HERO Section */
.page-index-review-fa88__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), #2a4d8c); /* Sử dụng gradient để tạo chiều sâu */
  color: var(--dark-bg-text-color);
  overflow: hidden;
}

.page-index-review-fa88__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-fa88__hero-image {
  width: 100%;
  margin-bottom: 30px;
  z-index: 1;
}

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

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

.page-index-review-fa88__hero-title {
  font-size: 3.2em;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--dark-bg-text-color);
}

.page-index-review-fa88__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

.page-index-review-fa88__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--light-bg-text-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

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

/* Common container */
.page-index-review-fa88__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-index-review-fa88__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: var(--light-bg-text-color);
}

.page-index-review-fa88__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #555;
}

/* Module 1: Game Leaderboard */
.page-index-review-fa88__game-leaderboard-section {
  padding: 60px 20px;
  background: #f1f3f5;
}

.page-index-review-fa88__page-title {
  font-size: 2.8em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--light-bg-text-color);
}

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

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

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

.page-index-review-fa88__game-card-segment {
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.page-index-review-fa88__game-card-segment:not(:first-child) {
  border-left: 1px solid #e4e4e4;
}

.page-index-review-fa88__segment-1 {
  flex-basis: 150px;
  min-width: 150px;
  padding-left: 0;
  flex-direction: row;
  gap: 15px;
}

.page-index-review-fa88__segment-2 {
  flex: 1;
  text-align: center;
}

.page-index-review-fa88__segment-3 {
  flex-basis: 180px;
  min-width: 180px;
}

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

.page-index-review-fa88__rank-badge {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1em;
  font-weight: bold;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

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

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

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

.page-index-review-fa88__rank-badge:not(.page-index-review-fa88__rank-1):not(.page-index-review-fa88__rank-2):not(.page-index-review-fa88__rank-3) {
  background: linear-gradient(135deg, #ff6b35, #ff8c42); /* Orange for others */
}

.page-index-review-fa88__game-icon {
  max-width: 80px;
  height: auto;
  border-radius: 8px;
  object-fit: contain;
  flex-shrink: 0;
}

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

.page-index-review-fa88__game-name-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.page-index-review-fa88__game-description {
  font-size: 0.95em;
  color: #000000;
  font-weight: bold;
  text-align: center;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.page-index-review-fa88__game-description a {
  color: #0066cc;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.page-index-review-fa88__game-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
  color: #FFD700; /* Yellow stars */
}

.page-index-review-fa88__stars {
  font-size: 1.2em;
  font-weight: bold;
}

.page-index-review-fa88__rating-number {
  font-size: 1.1em;
  font-weight: bold;
  color: var(--light-bg-text-color);
}

.page-index-review-fa88__promotion-text {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9em;
}

.page-index-review-fa88__promotion-link {
  color: #0066cc;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

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

.page-index-review-fa88__hot-badge {
  background: #ff4d4d;
  color: #ffffff;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.8em;
  font-weight: bold;
}

.page-index-review-fa88__btn-download,
.page-index-review-fa88__btn-review {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 0.95em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.page-index-review-fa88__btn-download {
  background: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(10, 36, 99, 0.3);
}

.page-index-fa88__btn-download:hover {
  background: #1a3b7c;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(10, 36, 99, 0.4);
}

.page-index-review-fa88__btn-review {
  background: var(--secondary-color);
  color: var(--light-bg-text-color);
  box-shadow: 0 4px 10px rgba(227, 181, 5, 0.3);
}

.page-index-review-fa88__btn-review:hover {
  background: #f0c94a;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(227, 181, 5, 0.4);
}

/* Module 1.5: Brand Review Content */
.page-index-review-fa88__review-content-section {
  padding: 40px 20px;
  background: #f1f3f5;
}

.page-index-review-fa88__review-content-container {
  max-width: 1400px;
  margin: 0 auto;
}

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

.page-index-review-fa88__review-title {
  font-size: 28px;
  font-weight: bold;
  color: #333333;
  margin-bottom: 24px;
  text-align: center;
}

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

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

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

/* Module 2: Homepage Introduction */
.page-index-review-fa88__intro-section {
  padding: 60px 20px;
  background: var(--primary-color);
  color: var(--dark-bg-text-color);
}

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

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

.page-index-review-fa88__intro-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.page-index-review-fa88__intro-icon {
  width: 100px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-index-review-fa88__intro-heading {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--dark-bg-text-color);
}

.page-index-review-fa88__intro-text {
  font-size: 1em;
  color: rgba(255, 255, 255, 0.8);
}

/* Module 3: Core Game/Service Introduction */
.page-index-review-fa88__games-section {
  padding: 60px 20px;
  background: #f1f3f5;
  color: var(--light-bg-text-color);
}

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

.page-index-review-fa88__game-item {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  padding: 25px;
  min-width: 280px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-index-review-fa88__game-name {
  font-size: 1.4em;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-index-review-fa88__game-description {
  font-size: 0.95em;
  color: #555;
  margin-bottom: 20px;
}

.page-index-review-fa88__cta-small {
  padding: 10px 25px;
  font-size: 0.9em;
  border-radius: 5px;
}

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

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

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

.page-index-review-fa88__promotion-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

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

.page-index-review-fa88__promotion-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--dark-bg-text-color);
}

.page-index-review-fa88__promotion-text {
  font-size: 0.95em;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
}

/* Module 5: Latest Blog Content */
.page-index-review-fa88__blog-section {
  padding: 60px 20px;
  background: #f1f3f5;
  color: var(--light-bg-text-color);
}

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

.page-index-review-fa88__blog-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-index-review-fa88__blog-content {
  padding: 20px;
}

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

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

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

.page-index-review-fa88__blog-excerpt {
  font-size: 0.95em;
  color: #555;
  margin-bottom: 15px;
}

.page-index-review-fa88__blog-date {
  font-size: 0.85em;
  color: #888;
}

.page-index-review-fa88__view-all-button-container {
  text-align: center;
  margin-top: 50px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-review-fa88__hero-title {
    font-size: 2.8em;
  }

  .page-index-review-fa88__page-title {
    font-size: 2.4em;
  }

  .page-index-review-fa88__review-title {
    font-size: 26px;
  }

  .page-index-review-fa88__section-title {
    font-size: 2em;
  }

  .page-index-review-fa88__game-card-segment {
    padding: 0 15px;
  }
}

@media (max-width: 768px) {
  .page-index-review-fa88__hero-section {
    padding-top: 140px !important; /* Mobile: Adjust for fixed header */
    padding-bottom: 40px;
  }

  .page-index-review-fa88__hero-title {
    font-size: 2.2em;
  }

  .page-index-review-fa88__hero-description {
    font-size: 1em;
  }

  .page-index-review-fa88__cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }

  .page-index-review-fa88__page-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-index-review-fa88__game-card {
    flex-wrap: wrap;
    padding: 15px;
  }

  .page-index-review-fa88__game-card-segment {
    width: 100%;
    border-left: none !important;
    padding: 10px 0;
    justify-content: center;
  }

  .page-index-review-fa88__segment-1 {
    flex-direction: row;
    gap: 10px;
    width: 100%;
    min-width: unset;
    justify-content: center;
  }

  .page-index-review-fa88__rank-badge {
    width: 30px;
    height: 30px;
    font-size: 1em;
  }

  .page-index-review-fa88__game-icon {
    max-width: 60px;
  }

  .page-index-review-fa88__segment-2 {
    order: 1;
    width: 100%;
    text-align: center;
  }

  .page-index-review-fa88__game-name {
    font-size: 1.2em;
  }

  .page-index-review-fa88__game-description {
    font-size: 0.85em;
    margin-bottom: 0;
  }

  .page-index-review-fa88__segment-3 {
    order: 2;
    width: 100%;
    min-width: unset;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
  }

  .page-index-review-fa88__segment-4 {
    order: 3;
    width: 100%;
    min-width: unset;
    flex-direction: column;
    gap: 8px;
  }

  .page-index-review-fa88__btn-download,
  .page-index-review-fa88__btn-review {
    font-size: 0.9em !important;
    padding: 10px 15px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    min-width: auto !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .page-index-review-fa88__review-content-section,
  .page-index-review-fa88__intro-section,
  .page-index-review-fa88__games-section,
  .page-index-review-fa88__promotions-section,
  .page-index-review-fa88__blog-section {
    padding: 30px 15px;
  }

  .page-index-review-fa88__review-content-card {
    padding: 25px 20px;
  }

  .page-index-review-fa88__review-title {
    font-size: 22px;
  }

  .page-index-review-fa88__review-content-card h3 {
    font-size: 18px;
  }

  .page-index-review-fa88__review-body p {
    font-size: 15px;
  }

  .page-index-review-fa88__intro-grid,
  .page-index-review-fa88__games-carousel,
  .page-index-review-fa88__promotions-grid,
  .page-index-review-fa88__blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-index-review-fa88__section-title {
    font-size: 1.8em;
  }

  .page-index-review-fa88__section-description {
    font-size: 1em;
  }

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

  .page-index-review-fa88__game-image,
  .page-index-review-fa88__promotion-image,
  .page-index-review-fa88__blog-image {
    height: 160px;
  }
  
  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-index-review-fa88__hero-title {
    font-size: 1.8em;
  }

  .page-index-review-fa88__page-title {
    font-size: 1.6em;
  }

  .page-index-review-fa88__game-name {
    font-size: 1.1em;
  }

  .page-index-review-fa88__game-description {
    font-size: 0.8em;
  }
}