:root {
  --primary-color: #007bff;
  --secondary-color: #28a745;
  --accent-color: #ffc107;
  --dark-bg-1: #0d0d0d; /* From shared.css, assuming a dark background */
}

.page-index-top-10-card-games-overview {
  font-family: 'Arial', sans-serif;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: var(--dark-bg-1);
}

.page-index-top-10-card-games-overview__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), #0056b3);
  color: #ffffff;
}

.page-index-top-10-card-games-overview__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-top-10-card-games-overview__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-index-top-10-card-games-overview__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-index-top-10-card-games-overview__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-index-top-10-card-games-overview__hero-content h1 {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-top-10-card-games-overview__hero-content p {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #f0f0f0;
}

.page-index-top-10-card-games-overview__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  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-top-10-card-games-overview__cta-button:hover {
  background: #218838; /* Darker secondary color */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-index-top-10-card-games-overview__game-leaderboard-section {
  padding: 60px 20px;
  background-color: #f1f3f5; /* Light background for leaderboard cards */
  color: #333333; /* Dark text for light background */
  text-align: center;
}

.page-index-top-10-card-games-overview__page-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #333333;
  font-weight: bold;
}

.page-index-top-10-card-games-overview__section-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  color: #555555;
}

.page-index-top-10-card-games-overview__game-leaderboard {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-index-top-10-card-games-overview__game-card {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
  width: 100%;
  box-sizing: border-box;
}

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

.page-index-top-10-card-games-overview__game-card-segment {
  padding-left: 20px;
  padding-right: 20px;
  border-left: 1px solid #e4e4e4;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.page-index-top-10-card-games-overview__segment-1 {
  border-left: none;
  padding-left: 0;
  width: 140px; /* Fixed width for icon and badge */
  flex-shrink: 0;
  position: relative;
}

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

.page-index-top-10-card-games-overview__rank-1 {
  background: linear-gradient(135deg, #FFD700, #FFA500); /* Gold */
}

.page-index-top-10-card-games-overview__rank-2 {
  background: linear-gradient(135deg, #C0C0C0, #A0A0A0); /* Silver */
}

.page-index-top-10-card-games-overview__rank-3 {
  background: linear-gradient(135deg, #CD7F32, #B87333); /* Bronze */
}

.page-index-top-10-card-games-overview__rank-badge:not(.page-index-top-10-card-games-overview__rank-1):not(.page-index-top-10-card-games-overview__rank-2):not(.page-index-top-10-card-games-overview__rank-3) {
  background: linear-gradient(135deg, #ff6b35, #ff8c42); /* Orange for 4+ */
}

.page-index-top-10-card-games-overview__game-icon {
  max-width: 100px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 4px;
  object-fit: contain;
}

.page-index-top-10-card-games-overview__segment-2 {
  flex: 1;
  text-align: center;
}

.page-index-top-10-card-games-overview__game-name {
  font-size: 1.5em;
  font-weight: bold;
  color: #000000;
  margin-bottom: 5px;
  text-align: center;
}

.page-index-top-10-card-games-overview__game-name-link {
  color: #000000;
  text-decoration: none;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

.page-index-top-10-card-games-overview__game-name-link:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-index-top-10-card-games-overview__game-description {
  font-size: 0.95em;
  color: #000000;
  font-weight: bold;
  text-align: center;
  line-height: 1.4;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 250px;
  margin: 0 auto;
}

.page-index-top-10-card-games-overview__game-description a {
  color: #0066cc;
  font-weight: bold;
  text-decoration: none;
}

.page-index-top-10-card-games-overview__game-description a:hover {
  color: #004499;
  text-decoration: underline;
}

.page-index-top-10-card-games-overview__segment-3 {
  width: 180px;
  flex-shrink: 0;
  text-align: center;
}

.page-index-top-10-card-games-overview__game-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.page-index-top-10-card-games-overview__stars {
  color: var(--accent-color);
  font-size: 1.2em;
  margin-right: 5px;
  font-weight: bold;
}

.page-index-top-10-card-games-overview__rating-number {
  font-size: 1.1em;
  font-weight: bold;
  color: #333333;
}

.page-index-top-10-card-games-overview__promotion-text {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9em;
}

.page-index-top-10-card-games-overview__promotion-link {
  color: #0066cc;
  text-decoration: none;
  font-weight: bold;
  margin-right: 5px;
  transition: color 0.3s ease;
}

.page-index-top-10-card-games-overview__promotion-link:hover {
  color: #004499;
  text-decoration: underline;
}

.page-index-top-10-card-games-overview__hot-badge {
  background-color: #dc3545;
  color: #ffffff;
  padding: 3px 8px;
  border-radius: 3px;
  font-size: 0.8em;
  font-weight: bold;
}

.page-index-top-10-card-games-overview__segment-4 {
  width: 220px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-index-top-10-card-games-overview__cta-button {
  display: block;
  width: 100%;
  padding: 12px 15px;
  border-radius: 8px;
  font-size: 0.95em;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  color: #ffffff;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  white-space: normal;
  word-wrap: break-word;
}

.page-index-top-10-card-games-overview__btn-download {
  background: linear-gradient(135deg, var(--secondary-color), #218838);
}

.page-index-top-10-card-games-overview__btn-download:hover {
  background: linear-gradient(135deg, #218838, #1e7e34);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.page-index-top-10-card-games-overview__btn-review {
  background: linear-gradient(135deg, var(--primary-color), #0056b3);
}

.page-index-top-10-card-games-overview__btn-review:hover {
  background: linear-gradient(135deg, #0056b3, #004085);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

/* Brand Review Content Section */
.page-index-top-10-card-games-overview__review-content-section {
  padding: 40px 20px;
  background: #f1f3f5; /* Light background */
  color: #333333;
}

.page-index-top-10-card-games-overview__review-content-container {
  max-width: 1400px; /* Wider than leaderboard */
  margin: 0 auto;
}

.page-index-top-10-card-games-overview__review-content-card {
  background: #ffffff; /* White background */
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 40px;
}

.page-index-top-10-card-games-overview__review-content-card h2 {
  font-size: 28px;
  font-weight: bold;
  color: #333333;
  margin-bottom: 24px;
  text-align: center;
}

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

.page-index-top-10-card-games-overview__review-body {
  color: #333333;
  line-height: 1.7;
}

.page-index-top-10-card-games-overview__review-body p {
  margin-bottom: 16px;
  font-size: 16px;
}

/* Intro Section */
.page-index-top-10-card-games-overview__intro-section {
  padding: 60px 20px;
  background-color: var(--dark-bg-1);
  color: #f0f0f0;
  text-align: center;
}

.page-index-top-10-card-games-overview__container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-index-top-10-card-games-overview__intro-section .page-index-top-10-card-games-overview__section-title {
  color: #ffffff;
}

.page-index-top-10-card-games-overview__intro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-top-10-card-games-overview__intro-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-index-top-10-card-games-overview__intro-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.15);
}

.page-index-top-10-card-games-overview__intro-icon {
  width: 120px; /* Increased size, min 200x200 for actual images */
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-index-top-10-card-games-overview__intro-card h3 {
  font-size: 1.4em;
  color: #ffffff;
  margin-bottom: 10px;
}

.page-index-top-10-card-games-overview__intro-card p {
  font-size: 1em;
  color: #cccccc;
  line-height: 1.6;
}

/* Games Overview Section */
.page-index-top-10-card-games-overview__games-overview-section {
  padding: 60px 20px;
  background-color: #f1f3f5;
  color: #333333;
  text-align: center;
}

.page-index-top-10-card-games-overview__games-overview-section .page-index-top-10-card-games-overview__section-title {
  color: #333333;
}

.page-index-top-10-card-games-overview__game-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
}

.page-index-top-10-card-games-overview__tab-button {
  background: #e0e0e0;
  color: #555555;
  border: none;
  padding: 12px 25px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 1em;
  font-weight: bold;
  transition: all 0.3s ease;
}

.page-index-top-10-card-games-overview__tab-button.active,
.page-index-top-10-card-games-overview__tab-button:hover {
  background: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.page-index-top-10-card-games-overview__tab-content {
  display: none;
}

.page-index-top-10-card-games-overview__tab-content.active {
  display: block;
}

.page-index-top-10-card-games-overview__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-index-top-10-card-games-overview__game-card-item {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index-top-10-card-games-overview__game-card-item:hover {
  transform: translateY(-5px);
}

.page-index-top-10-card-games-overview__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistent card appearance */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-index-top-10-card-games-overview__game-card-item h3 {
  font-size: 1.3em;
  color: #333333;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-index-top-10-card-games-overview__game-card-item p {
  font-size: 0.95em;
  color: #555555;
  line-height: 1.6;
  flex-grow: 1;
}

.page-index-top-10-card-games-overview__detail-button {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background: var(--primary-color);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-index-top-10-card-games-overview__detail-button:hover {
  background: #0056b3;
}

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

.page-index-top-10-card-games-overview__promotions-section .page-index-top-10-card-games-overview__section-title {
  color: #ffffff;
}

.page-index-top-10-card-games-overview__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-top-10-card-games-overview__promo-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index-top-10-card-games-overview__promo-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.15);
}

.page-index-top-10-card-games-overview__promo-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-index-top-10-card-games-overview__promo-card h3 {
  font-size: 1.3em;
  color: #ffffff;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-index-top-10-card-games-overview__promo-card p {
  font-size: 0.95em;
  color: #cccccc;
  line-height: 1.6;
  flex-grow: 1;
}

.page-index-top-10-card-games-overview__promo-button {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background: var(--secondary-color);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-index-top-10-card-games-overview__promo-button:hover {
  background: #218838;
}

/* Blog Section */
.page-index-top-10-card-games-overview__blog-section {
  padding: 60px 20px;
  background-color: #f1f3f5;
  color: #333333;
  text-align: center;
}

.page-index-top-10-card-games-overview__blog-section .page-index-top-10-card-games-overview__section-title {
  color: #333333;
}

.page-index-top-10-card-games-overview__blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-top-10-card-games-overview__blog-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: left;
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index-top-10-card-games-overview__blog-card:hover {
  transform: translateY(-5px);
}

.page-index-top-10-card-games-overview__blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-index-top-10-card-games-overview__blog-card h3 {
  font-size: 1.3em;
  color: #333333;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-index-top-10-card-games-overview__blog-title-link {
  color: #333333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index-top-10-card-games-overview__blog-title-link:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-index-top-10-card-games-overview__blog-card p {
  font-size: 0.95em;
  color: #555555;
  line-height: 1.6;
  flex-grow: 1;
}

.page-index-top-10-card-games-overview__blog-date {
  font-size: 0.85em;
  color: #888888;
  margin-top: 15px;
  display: block;
}

.page-index-top-10-card-games-overview__view-all-button-container {
  margin-top: 40px;
}

.page-index-top-10-card-games-overview__view-all-button {
  display: inline-block;
  padding: 12px 30px;
  background: var(--primary-color);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-index-top-10-card-games-overview__view-all-button:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-top-10-card-games-overview__hero-content h1 {
    font-size: 2.8em;
  }
  .page-index-top-10-card-games-overview__hero-content p {
    font-size: 1.1em;
  }
  .page-index-top-10-card-games-overview__page-title {
    font-size: 2em;
  }
  .page-index-top-10-card-games-overview__game-card {
    padding: 15px;
  }
  .page-index-top-10-card-games-overview__game-name {
    font-size: 1.3em;
  }
  .page-index-top-10-card-games-overview__segment-1 {
    width: 120px;
  }
  .page-index-top-10-card-games-overview__segment-3 {
    width: 150px;
  }
  .page-index-top-10-card-games-overview__segment-4 {
    width: 180px;
  }
  .page-index-top-10-card-games-overview__cta-button {
    padding: 10px 12px;
    font-size: 0.9em;
  }
  .page-index-top-10-card-games-overview__intro-grid,
  .page-index-top-10-card-games-overview__game-grid,
  .page-index-top-10-card-games-overview__promo-grid,
  .page-index-top-10-card-games-overview__blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .page-index-top-10-card-games-overview__hero-section {
    padding-top: 160px !important; /* Mobile: Adjust for fixed header */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-index-top-10-card-games-overview__hero-content h1 {
    font-size: 2.2em;
  }
  .page-index-top-10-card-games-overview__hero-content p {
    font-size: 1em;
  }
  .page-index-top-10-card-games-overview__cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-index-top-10-card-games-overview__page-title {
    font-size: 1.8em;
  }
  .page-index-top-10-card-games-overview__game-card {
    flex-wrap: wrap;
    padding: 15px 10px;
  }
  .page-index-top-10-card-games-overview__game-card-segment {
    border-left: none;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
    margin-bottom: 10px;
  }
  .page-index-top-10-card-games-overview__segment-1,
  .page-index-top-10-card-games-overview__segment-2,
  .page-index-top-10-card-games-overview__segment-3,
  .page-index-top-10-card-games-overview__segment-4 {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .page-index-top-10-card-games-overview__segment-1 {
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
  }
  .page-index-top-10-card-games-overview__rank-badge {
    position: static;
    margin-right: 10px;
  }
  .page-index-top-10-card-games-overview__game-icon {
    max-width: 80px;
  }
  .page-index-top-10-card-games-overview__game-name {
    font-size: 1.2em;
  }
  .page-index-top-10-card-games-overview__game-description {
    font-size: 0.9em;
    max-width: 90%;
  }
  .page-index-top-10-card-games-overview__game-rating,
  .page-index-top-10-card-games-overview__promotion-text {
    margin-bottom: 10px;
  }
  .page-index-top-10-card-games-overview__segment-4 {
    flex-direction: column;
    gap: 8px;
  }
  .page-index-top-10-card-games-overview__btn-download,
  .page-index-top-10-card-games-overview__btn-review {
    font-size: 0.85em !important;
    padding: 10px 8px !important;
    max-width: 100% !important;
    width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    min-width: auto !important;
  }
  .page-index-top-10-card-games-overview__review-content-section,
  .page-index-top-10-card-games-overview__intro-section,
  .page-index-top-10-card-games-overview__games-overview-section,
  .page-index-top-10-card-games-overview__promotions-section,
  .page-index-top-10-card-games-overview__blog-section {
    padding: 30px 15px;
  }
  .page-index-top-10-card-games-overview__review-content-card {
    padding: 24px 20px;
  }
  .page-index-top-10-card-games-overview__review-content-card h2 {
    font-size: 24px;
  }
  .page-index-top-10-card-games-overview__review-content-card h3 {
    font-size: 18px;
  }
  .page-index-top-10-card-games-overview__review-body p {
    font-size: 15px;
  }
  .page-index-top-10-card-games-overview__intro-icon {
    width: 100px;
  }
  .page-index-top-10-card-games-overview__game-tabs {
    flex-direction: column;
  }
  .page-index-top-10-card-games-overview__tab-button {
    width: 100%;
  }
  .page-index-top-10-card-games-overview img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-index-top-10-card-games-overview__section,
  .page-index-top-10-card-games-overview__card,
  .page-index-top-10-card-games-overview__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}