:root {
  --primary-color: #1A202C;
  --secondary-color: #FFD700;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f1f3f5;
  --background-dark: #1A202C;
  --border-light: #e0e0e0;
}

.page-index-review-tot88 {
  font-family: 'Arial', sans-serif;
  color: var(--text-light); /* Body background is dark, so main content text is light */
  background-color: #0a0a0a; /* Inherited from body, but explicitly set for context */
}

.page-index-review-tot88__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-index-review-tot88__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  padding-top: 20px;
}

.page-index-review-tot88__section-description {
  font-size: 18px;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.6;
}

/* HERO Section */
.page-index-review-tot88__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), #2d3748);
  color: var(--text-light);
}

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

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

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

.page-index-review-tot88__hero-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.page-index-review-tot88__hero-description {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--text-light);
}

.page-index-review-tot88__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--primary-color);
  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);
  border: none;
}

.page-index-review-tot88__cta-button:hover {
  background: #e6c200; /* Slightly darker gold */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Game Leaderboard Section */
.page-index-review-tot88__game-leaderboard-section {
  padding: 60px 20px;
  background: var(--background-light); /* Light background for contrast with dark body */
}

.page-index-review-tot88__page-title {
  font-size: 32px;
  font-weight: bold;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 40px;
}

.page-index-review-tot88__game-leaderboard {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1000px; /* Slightly narrower for leaderboard cards */
  margin: 0 auto;
}

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

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

.page-index-review-tot88__game-card-segment {
  padding: 0 20px;
  border-left: 1px solid var(--border-light);
  height: 100%; /* Ensure vertical line extends */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-index-review-tot88__segment-1 {
  border-left: none; /* No border on the very first segment */
  padding-left: 0;
  flex-basis: 120px; /* Fixed width for rank and icon */
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-index-review-tot88__segment-2 {
  flex: 1; /* Main content column, takes available space */
  text-align: center;
}

.page-index-review-tot88__segment-3 {
  flex-basis: 180px; /* Fixed width for rating and promo text */
  flex-shrink: 0;
  text-align: center;
}

.page-index-review-tot88__segment-4 {
  flex-basis: 220px; /* Fixed width for buttons */
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.page-index-review-tot88__rank-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: bold;
  font-size: 14px;
  flex-shrink: 0;
}

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

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

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

.page-index-review-tot88__rank-badge:not(.page-index-review-tot88__rank-1):not(.page-index-review-tot88__rank-2):not(.page-index-review-tot88__rank-3) {
  background: linear-gradient(135deg, #ff6b35, #ff8c42);
}

.page-index-review-tot88__game-icon {
  max-width: 100px;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 4px;
}

.page-index-review-tot88__game-name {
  font-size: 20px;
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: 8px;
  text-align: center;
  text-transform: uppercase;
}

.page-index-review-tot88__game-name-link {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

.page-index-review-tot88__game-name-link:hover {
  color: #0066cc;
  text-decoration: underline;
}

.page-index-review-tot88__game-description {
  font-size: 14px;
  color: var(--text-dark);
  font-weight: bold;
  text-align: center;
  line-height: 1.4;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

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

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

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

.page-index-review-tot88__stars {
  color: var(--secondary-color);
  font-size: 18px;
  font-weight: bold;
}

.page-index-review-tot88__rating-number {
  color: var(--text-dark);
  font-size: 16px;
  font-weight: bold;
}

.page-index-review-tot88__promotion-text {
  font-size: 14px;
  color: var(--text-dark);
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.page-index-review-tot88__promotion-link {
  color: #0066cc;
  text-decoration: none;
  font-weight: bold;
}

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

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

.page-index-review-tot88__btn-download,
.page-index-review-tot88__btn-review {
  display: block;
  width: 100%;
  max-width: 200px; /* Limit button width */
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word;
}

.page-index-review-tot88__btn-download {
  background: var(--secondary-color);
  color: var(--primary-color);
}

.page-index-review-tot88__btn-download:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

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

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

/* Brand Review Content Section */
.page-index-review-tot88__review-content-section {
  padding: 40px 20px;
  background: var(--background-light);
}

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

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

.page-index-review-tot88__review-title {
  font-size: 28px;
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: 24px;
  text-align: center;
}

.page-index-review-tot88__review-body h3 {
  font-size: 20px;
  font-weight: bold;
  color: var(--text-dark);
  margin-top: 24px;
  margin-bottom: 12px;
}

.page-index-review-tot88__review-body p {
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
}

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

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

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

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

.page-index-review-tot88__intro-section .page-index-review-tot88__section-description,
.page-index-review-tot88__intro-section p {
  color: var(--text-light);
}

.page-index-review-tot88__intro-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}