:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #8B0000; /* Dark Red */
  --dark-bg-1: #1a1a1a;
  --text-light: #ffffff;
  --text-dark: #333333;
  --border-light: #e0e0e0;
  --card-bg: #ffffff;
  --section-bg: #f1f3f5;
}

.page-index-review-tot88 {
  font-family: 'Arial', sans-serif;
  color: var(--text-light); /* Default text color for the main page content on a potentially dark body background */
  background-color: var(--dark-bg-1); /* Assuming body background is dark */
}

/* Fixed navigation padding */
.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, #FFD700, #FFA500);
}

.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%;
  color: var(--text-dark); /* Text on the hero content should be dark for contrast with bright background */
}

.page-index-review-tot88__hero-title {
  font-size: 42px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.page-index-review-tot88__hero-description {
  font-size: 20px;
  color: var(--text-dark);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-index-review-tot88__section-title {
  font-size: 32px;
  font-weight: bold;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

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

/* Game Leaderboard Section */
.page-index-review-tot88__game-leaderboard-section {
  padding: 40px 20px;
  background: var(--section-bg);
  color: var(--text-dark);
}

.page-index-review-tot88__page-title {
  font-size: 32px;
  font-weight: bold;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

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

.page-index-review-tot88__game-card {
  background: var(--card-bg);
  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-tot88__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px 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%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-index-review-tot88__segment-1 {
  border-left: none;
  padding-left: 0;
  min-width: 120px; /* Fixed width for icon and badge */
  max-width: 150px;
  align-items: center;
  gap: 10px;
}

.page-index-review-tot88__segment-2 {
  flex: 1;
  text-align: center;
  padding-left: 20px;
  padding-right: 20px;
}

.page-index-review-tot88__segment-3 {
  min-width: 150px;
  max-width: 200px;
  align-items: center;
  gap: 5px;
}

.page-index-review-tot88__segment-4 {
  min-width: 180px; /* Fixed width for buttons */
  max-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-right: 0;
  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: var(--text-light);
  font-weight: bold;
  font-size: 14px;
  position: absolute;
  top: 10px;
  left: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.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: 80px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 4px;
  position: relative;
  z-index: 1;
  margin-top: 15px;
}

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

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

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

.page-index-review-tot88__game-description {
  font-size: 14px;
  color: var(--text-dark);
  margin-top: 5px;
  font-weight: bold;
  text-align: center;
  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;
  gap: 5px;
  font-size: 16px;
  color: var(--primary-color);
  font-weight: bold;
}

.page-index-review-tot88__stars {
  color: var(--primary-color);
  font-weight: bold;
}

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

.page-index-review-tot88__promotion-text {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 5px;
}

.page-index-review-tot88__promotion-link {
  color: #0066cc;
  font-size: 14px;
  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: var(--secondary-color);
  color: var(--text-light);
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: bold;
}

.page-index-review-tot88__btn-download,
.page-index-review-tot88__btn-review {
  display: block;
  width: 100%;
  padding: 10px 15px;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border: none;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

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

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

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

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

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

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

.page-index-review-tot88__review-body {
  color: var(--text-dark);
  line-height: 1.7;
}

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

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

.page-index-review-tot88__intro-content p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-index-review-tot88__game-item {
  background: var(--card-bg);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-index-review-tot88__game-item-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.page-index-review-tot88__game-item-description {
  font-size: 15px;
  color: var(--text-dark);
  line-height: 1.5;
  margin-bottom: 20px;
}

.page-index-review-tot88__btn-small {
  padding: 10px 25px;
  font-size: 16px;
}

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

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

.page-index-review-tot88__promotion-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, background 0.3s ease;
}

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

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

.page-index-review-tot88__promotion-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-index-review-tot88__promotion-description {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 20px;
}

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

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

.page-index-review-tot88__blog-card {
  background: var(--card-bg);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-index-review-tot88__blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

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

.page-index-review-tot88__blog-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 10px;
  flex-grow: 1;
}

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

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

.page-index-review-tot88__blog-summary {
  font-size: 15px;
  color: var(--text-dark);
  line-height: 1.5;
  margin-bottom: 15px;
}

.page-index-review-tot88__read-more {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-review-tot88__hero-title {
    font-size: 36px;
  }
  .page-index-review-tot88__hero-description {
    font-size: 18px;
  }
  .page-index-review-tot88__page-title,
  .page-index-review-tot88__section-title {
    font-size: 28px;
  }
  .page-index-review-tot88__game-card {
    flex-wrap: wrap;
  }
  .page-index-review-tot88__game-card-segment {
    border-left: none;
    padding: 10px 0;
    width: 100%;
    text-align: center;
  }
  .page-index-review-tot88__segment-1,
  .page-index-review-tot88__segment-3,
  .page-index-review-tot88__segment-4 {
    max-width: 100%;
    min-width: unset;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 15px;
  }
  .page-index-review-tot88__segment-1 {
    justify-content: center;
    position: relative;
    padding-top: 20px;
  }
  .page-index-review-tot88__rank-badge {
    position: static;
    margin-right: 10px;
  }
  .page-index-review-tot88__game-icon {
    margin-top: 0;
  }
  .page-index-review-tot88__segment-2 {
    order: -1; /* Move game info to top */
  }
  .page-index-review-tot88__segment-4 {
    flex-direction: column;
    gap: 10px;
  }
  .page-index-review-tot88__btn-download,
  .page-index-review-tot88__btn-review {
    max-width: 250px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .page-index-review-tot88__hero-section {
    padding-top: 160px !important; /* Mobile: Adjust for fixed header */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-index-review-tot88__hero-title {
    font-size: 28px;
  }
  .page-index-review-tot88__hero-description {
    font-size: 16px;
  }
  .page-index-review-tot88__cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-index-review-tot88__page-title,
  .page-index-review-tot88__section-title {
    font-size: 24px;
    margin-bottom: 30px;
  }
  .page-index-review-tot88__review-content-section,
  .page-index-review-tot88__intro-section,
  .page-index-review-tot88__games-section,
  .page-index-review-tot88__promotions-section,
  .page-index-review-tot88__blog-section {
    padding: 20px 15px;
  }
  .page-index-review-tot88__review-content-card {
    padding: 24px 20px;
  }
  .page-index-review-tot88__review-main-title {
    font-size: 24px;
  }
  .page-index-review-tot88__review-content-card h3 {
    font-size: 18px;
  }
  .page-index-review-tot88__review-body p {
    font-size: 15px;
  }
  .page-index-review-tot88__game-card {
    padding: 15px;
  }
  .page-index-review-tot88__game-icon {
    max-width: 60px;
  }
  .page-index-review-tot88__game-name {
    font-size: 18px;
  }
  .page-index-review-tot88__game-description {
    font-size: 13px;
  }
  .page-index-review-tot88__btn-download,
  .page-index-review-tot88__btn-review {
    font-size: 12px;
    padding: 8px 12px;
    max-width: 180px;
  }
  .page-index-review-tot88__games-grid,
  .page-index-review-tot88__promotions-grid,
  .page-index-review-tot88__blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-index-review-tot88__intro-content p {
    font-size: 16px;
  }
  /* Ensure all images are responsive */
  .page-index-review-tot88 img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-index-review-tot88__section,
  .page-index-review-tot88__card,
  .page-index-review-tot88__container,
  .page-index-review-tot88__game-card,
  .page-index-review-tot88__review-content-card,
  .page-index-review-tot88__game-item,
  .page-index-review-tot88__promotion-card,
  .page-index-review-tot88__blog-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-index-review-tot88__segment-4 {
    padding-left: 10px;
    padding-right: 10px;
  }
}