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

:root {
  --primary-color: #007bff;
  --secondary-color: #ffc107;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-dark: #0a0a0a;
  --background-light: #f1f3f5;
  --card-background: #ffffff;
  --border-color: #e0e0e0;
  --shadow-light: rgba(0, 0, 0, 0.1);
  --shadow-medium: rgba(0, 0, 0, 0.15);
  --shadow-strong: rgba(0, 0, 0, 0.2);
}

.page-index-review-tot88 {
  font-family: 'Arial', sans-serif;
  line-height: 1.7;
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--background-dark); /* Body background is dark */
}

.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 */
  color: var(--text-light);
  background: linear-gradient(135deg, var(--primary-color), #0056b3); /* Darker blue gradient for hero background */
}

.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;
  box-shadow: 0 8px 20px var(--shadow-medium);
}

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

.page-index-review-tot88__hero-title {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-index-review-tot88__hero-description {
  font-size: 20px;
  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(--text-dark);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px var(--shadow-medium);
  border: none;
}

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

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

.page-index-review-tot88__cta-button--secondary:hover {
  background: #0056b3;
}

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

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

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

.page-index-review-tot88__game-card {
  background: var(--card-background);
  border-radius: 12px;
  box-shadow: 0 4px 15px var(--shadow-light);
  padding: 20px;
  display: flex;
  align-items: center;
  color: var(--text-dark);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-review-tot88__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px var(--shadow-medium);
}

.page-index-review-tot88__game-card-segment {
  padding: 0 20px;
  border-left: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
}

.page-index-review-tot88__segment-1 {
  border-left: none;
  padding-left: 0;
  min-width: 120px; /* Fixed width for icon and badge */
  position: relative;
}

.page-index-review-tot88__segment-2 {
  flex: 1; /* Main content column */
}

.page-index-review-tot88__segment-3 {
  min-width: 150px; /* Fixed width for rating and promo */
}

.page-index-review-tot88__segment-4 {
  min-width: 180px; /* Fixed width for buttons */
  padding-right: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-index-review-tot88__rank-badge {
  position: absolute;
  top: -10px;
  left: 0;
  background: linear-gradient(135deg, #ff6b35, #ff8c42);
  color: var(--text-light);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

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

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

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

.page-index-review-tot88__game-icon {
  max-width: 80px;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-top: 10px;
  box-shadow: 0 2px 8px var(--shadow-light);
}

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

.page-index-review-tot88__game-name-link {
  color: inherit;
  text-decoration: none;
  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);
  font-weight: bold; /* Make description bold */
  text-align: center;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

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

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

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

.page-index-review-tot88__stars {
  color: var(--secondary-color);
  margin-right: 5px;
  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;
  justify-content: center;
  font-size: 14px;
  color: var(--primary-color);
  font-weight: 600;
}

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

.page-index-review-tot88__promotion-link:hover {
  color: #0056b3;
}

.page-index-review-tot88__hot-badge {
  background: #dc3545;
  color: var(--text-light);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
  margin-left: 8px;
  font-weight: bold;
}

.page-index-review-tot88__btn-download,
.page-index-review-tot88__btn-review {
  display: block;
  width: 100%;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px var(--shadow-light);
  border: none;
}

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

.page-index-review-tot88__btn-download:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--shadow-medium);
}

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

.page-index-review-tot88__btn-review:hover {
  background: #e0a800;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--shadow-medium);
}

/* Brand Review Content Section */
.page-index-review-tot88__review-content-section {
  padding: 60px 20px;
  background: var(--background-dark); /* Match body background */
  color: var(--text-light);
}

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

.page-index-review-tot88__review-content-card {
  background: var(--card-background);
  border-radius: 12px;
  box-shadow: 0 4px 15px var(--shadow-light);
  padding: 40px;
  color: var(--text-dark);
}

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

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

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

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

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

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

/* Overall Introduction Section */
.page-index-review-tot88__introduction-section {
  padding: 60px 20px;
  background: var(--primary-color); /* Dark background for this section */
  color: var(--text-light);
  text-align: center;
}

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

.page-index-review-tot88__section-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 30px;
  color: var(--text-light);
}

.page-index-review-tot88__intro-content p {
  font-size: 18px;
  margin-bottom: 20px;
  line-height: 1.7;
  color: var(--text-light);
}

.page-index-review-tot88__intro-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 30px;
  box-shadow: 0 8px 20px var(--shadow-medium);
}

/* Core Games/Services Section */
.page-index-review-tot88__games-section {
  padding: 60px 20px;
  background: var(--card-background); /* Light background */
  color: var(--text-dark);
  text-align: center;
}

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

.page-index-review-tot88__games-description {
  font-size: 18px;
  margin-bottom: 40px;
  color: var(--text-dark);
}

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

.page-index-review-tot88__game-category-card {
  background: var(--background-light);
  border-radius: 12px;
  box-shadow: 0 4px 15px var(--shadow-light);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-dark);
}

.page-index-review-tot88__game-category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px var(--shadow-medium);
}

.page-index-review-tot88__category-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px var(--shadow-light);
}

.page-index-review-tot88__category-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--primary-color);
}

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

/* Promotions Section */
.page-index-review-tot88__promotions-section {
  padding: 60px 20px;
  background: var(--primary-color); /* Dark background for this section */
  color: var(--text-light);
  text-align: center;
}

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

.page-index-review-tot88__promotions-intro {
  font-size: 18px;
  margin-bottom: 40px;
  color: var(--text-light);
}

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

.page-index-review-tot88__promo-card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease;
  color: var(--text-light);
}

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

.page-index-review-tot88__promo-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.page-index-review-tot88__promo-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

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

/* Latest News Section */
.page-index-review-tot88__news-section {
  padding: 60px 20px;
  background: var(--card-background); /* Light background */
  color: var(--text-dark);
  text-align: center;
}

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

.page-index-review-tot88__news-intro {
  font-size: 18px;
  margin-bottom: 40px;
  color: var(--text-dark);
}

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

.page-index-review-tot88__news-card {
  background: var(--background-light);
  border-radius: 12px;
  box-shadow: 0 4px 15px var(--shadow-light);
  padding: 20px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
}

.page-index-review-tot88__news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px var(--shadow-medium);
}

.page-index-review-tot88__news-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px var(--shadow-light);
}

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

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

.page-index-review-tot88__news-link:hover {
  color: #0056b3;
  text-decoration: underline;
}

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

.page-index-review-tot88__news-date {
  font-size: 13px;
  color: #666666;
  font-style: italic;
}

.page-index-review-tot88__view-all-news {
  margin-top: 40px;
}

/* 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: 32px;
  }
  .page-index-review-tot88__game-card {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 15px;
  }
  .page-index-review-tot88__game-card-segment {
    border-left: none;
    padding: 0;
    width: 100%;
  }
  .page-index-review-tot88__segment-1,
  .page-index-review-tot88__segment-3,
  .page-index-review-tot88__segment-4 {
    min-width: auto;
    width: 100%;
  }
  .page-index-review-tot88__segment-1 {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 15px;
  }
  .page-index-review-tot88__rank-badge {
    position: static;
  }
  .page-index-review-tot88__game-icon {
    margin-top: 0;
  }
  .page-index-review-tot88__game-name {
    font-size: 20px;
  }
  .page-index-review-tot88__game-description {
    font-size: 13px;
  }
  .page-index-review-tot88__game-rating,
  .page-index-review-tot88__promotion-text {
    font-size: 14px;
  }
  .page-index-review-tot88__btn-download,
  .page-index-review-tot88__btn-review {
    font-size: 14px;
    padding: 10px 15px;
  }
  .page-index-review-tot88__review-title {
    font-size: 28px;
  }
  .page-index-review-tot88__review-content-card h3 {
    font-size: 20px;
  }
  .page-index-review-tot88__intro-content p {
    font-size: 16px;
  }
  .page-index-review-tot88__games-description,
  .page-index-review-tot88__promotions-intro,
  .page-index-review-tot88__news-intro {
    font-size: 16px;
  }
  .page-index-review-tot88__category-title,
  .page-index-review-tot88__promo-title,
  .page-index-review-tot88__news-title {
    font-size: 20px;
  }
  .page-index-review-tot88__game-category-card p,
  .page-index-review-tot88__promo-card p,
  .page-index-review-tot88__news-excerpt {
    font-size: 15px;
  }
}

@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__game-leaderboard-section,
  .page-index-review-tot88__review-content-section,
  .page-index-review-tot88__introduction-section,
  .page-index-review-tot88__games-section,
  .page-index-review-tot88__promotions-section,
  .page-index-review-tot88__news-section {
    padding: 30px 15px;
  }
  .page-index-review-tot88__page-title,
  .page-index-review-tot88__section-title {
    font-size: 28px;
  }
  .page-index-review-tot88__game-card {
    padding: 10px;
    flex-direction: column;
    align-items: stretch;
  }
  .page-index-review-tot88__game-card-segment {
    width: 100%;
    padding: 5px 0;
  }
  .page-index-review-tot88__segment-1 {
    flex-direction: row;
    justify-content: center;
    gap: 10px;
  }
  .page-index-review-tot88__game-icon {
    max-width: 70px;
  }
  .page-index-review-tot88__game-name {
    font-size: 18px;
  }
  .page-index-review-tot88__game-description {
    font-size: 12px;
  }
  .page-index-review-tot88__game-rating,
  .page-index-review-tot88__promotion-text {
    font-size: 13px;
  }
  .page-index-review-tot88__btn-download,
  .page-index-review-tot88__btn-review {
    font-size: 12px;
    padding: 8px 12px;
    white-space: normal;
    word-wrap: break-word;
    min-width: auto;
  }
  .page-index-review-tot88__review-content-card {
    padding: 25px 20px;
  }
  .page-index-review-tot88__review-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__intro-content p {
    font-size: 15px;
  }
  .page-index-review-tot88__games-description,
  .page-index-review-tot88__promotions-intro,
  .page-index-review-tot88__news-intro {
    font-size: 15px;
  }
  .page-index-review-tot88__game-categories,
  .page-index-review-tot88__promo-grid,
  .page-index-review-tot88__news-grid {
    gap: 20px;
  }
  .page-index-review-tot88__category-title,
  .page-index-review-tot88__promo-title,
  .page-index-review-tot88__news-title {
    font-size: 18px;
  }
  .page-index-review-tot88__game-category-card p,
  .page-index-review-tot88__promo-card p,
  .page-index-review-tot88__news-excerpt {
    font-size: 14px;
  }
  .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__game-category-card,
  .page-index-review-tot88__promo-card,
  .page-index-review-tot88__news-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* Contrast Fixes */
.page-index-review-tot88__dark-bg {
  color: var(--text-light);
}

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

.page-index-review-tot88__review-content-section.page-index-review-tot88__light-bg .page-index-review-tot88__review-content-card {
  background: var(--card-background);
  color: var(--text-dark);
}

.page-index-review-tot88__games-section.page-index-review-tot88__light-bg .page-index-review-tot88__game-category-card {
  background: var(--background-light);
  color: var(--text-dark);
}

.page-index-review-tot88__news-section.page-index-review-tot88__light-bg .page-index-review-tot88__news-card {
  background: var(--background-light);
  color: var(--text-dark);
}