:root {
  --primary-color: #0A2463;
  --secondary-color: #FFD700;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #0a0a0a;
  --bg-light: #f1f3f5;
  --card-bg: #ffffff;
  --border-color: #e0e0e0;
}

.page-card-games-for-rewards {
  font-family: 'Arial', sans-serif;
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--bg-dark); /* Inherited from body */
}

/* 🚨 固定导航栏间距 */
.page-card-games-for-rewards__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; /* 桌面端：根据导航栏实际高度调整 */
  background: linear-gradient(135deg, var(--primary-color), #1a3a7c);
  color: var(--text-light);
}

.page-card-games-for-rewards__hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-card-games-for-rewards__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

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

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

.page-card-games-for-rewards__hero-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-card-games-for-rewards__hero-description {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 40px;
  color: var(--text-light);
}

.page-card-games-for-rewards__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-card-games-for-rewards__cta-button:hover {
  background: #ffc107;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-card-games-for-rewards__dark-bg {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-card-games-for-rewards__light-bg {
  background-color: var(--card-bg);
  color: var(--text-dark);
}

.page-card-games-for-rewards__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-card-games-for-rewards__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

/* Module 1: Game Leaderboard */
.page-card-games-for-rewards__game-leaderboard-section {
  padding: 60px 0;
  background-color: var(--bg-dark);
}

.page-card-games-for-rewards__page-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.page-card-games-for-rewards__game-leaderboard {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1000px; /* Adjust width for leaderboard */
  margin: 0 auto;
}

.page-card-games-for-rewards__game-card {
  background: var(--card-bg);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 20px;
  display: flex;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-card-games-for-rewards__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-card-games-for-rewards__game-card-segment {
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%; /* Ensure segments have consistent height */
}

.page-card-games-for-rewards__segment-1 {
  position: relative;
  width: 120px;
  min-width: 120px;
  padding-left: 0;
  border-right: 1px solid var(--border-color);
}

.page-card-games-for-rewards__segment-2 {
  flex: 1;
  border-right: 1px solid var(--border-color);
}

.page-card-games-for-rewards__segment-3 {
  width: 180px;
  min-width: 180px;
  border-right: 1px solid var(--border-color);
}

.page-card-games-for-rewards__segment-4 {
  width: 220px;
  min-width: 220px;
  padding-right: 0;
  flex-direction: column;
  gap: 10px;
}

.page-card-games-for-rewards__rank-badge {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: bold;
  font-size: 18px;
  background: linear-gradient(135deg, #ff6b35, #ff8c42); /* Default for 4+ */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-card-games-for-rewards__rank-1 {
  background: linear-gradient(135deg, #FFD700, #FFA500);
}

.page-card-games-for-rewards__rank-2 {
  background: linear-gradient(135deg, #C0C0C0, #A0A0A0);
}

.page-card-games-for-rewards__rank-3 {
  background: linear-gradient(135deg, #CD7F32, #B87333);
}

.page-card-games-for-rewards__game-icon {
  max-width: 80px;
  height: auto;
  border-radius: 8px;
  margin-top: 10px;
}

.page-card-games-for-rewards__game-name {
  font-size: 24px;
  font-weight: bold;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.page-card-games-for-rewards__game-name-link {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

.page-card-games-for-rewards__game-name-link:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-card-games-for-rewards__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-card-games-for-rewards__game-description a {
  color: #0066cc;
  font-weight: bold;
  text-decoration: none;
}

.page-card-games-for-rewards__game-description a:hover {
  color: #004499;
  text-decoration: underline;
}

.page-card-games-for-rewards__game-rating {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.page-card-games-for-rewards__stars {
  color: var(--secondary-color);
  font-size: 18px;
  margin-right: 5px;
  font-weight: bold;
}

.page-card-games-for-rewards__rating-number {
  font-size: 16px;
  font-weight: bold;
}

.page-card-games-for-rewards__promotion-text {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: var(--text-dark);
}

.page-card-games-for-rewards__promotion-link {
  color: #0066cc;
  text-decoration: none;
  font-weight: bold;
  margin-right: 5px;
}

.page-card-games-for-rewards__promotion-link:hover {
  color: #004499;
  text-decoration: underline;
}

.page-card-games-for-rewards__hot-badge {
  background: #ff4d4d;
  color: #ffffff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
}

.page-card-games-for-rewards__btn-download,
.page-card-games-for-rewards__btn-review {
  width: 100%;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border: none;
}

.page-card-games-for-rewards__btn-download {
  background: var(--primary-color);
  color: var(--text-light);
}

.page-card-games-for-rewards__btn-download:hover {
  background: #1a3a7c;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.page-card-games-for-rewards__btn-review {
  background: var(--secondary-color);
  color: var(--text-dark);
}

.page-card-games-for-rewards__btn-review:hover {
  background: #ffc107;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Module 1.5: Brand Review Content Body */
.page-card-games-for-rewards__review-content-section {
  padding: 60px 20px;
  background: var(--bg-dark);
}

.page-card-games-for-rewards__review-content-container {
  max-width: 1400px;
  margin: 0 auto;
}

.page-card-games-for-rewards__review-content-card {
  background: var(--card-bg);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 40px;
  color: var(--text-dark);
}

.page-card-games-for-rewards__review-title {
  font-size: 32px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 24px;
  text-align: center;
}

.page-card-games-for-rewards__review-subtitle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-top: 24px;
  margin-bottom: 12px;
}

.page-card-games-for-rewards__review-body {
  color: var(--text-dark);
  line-height: 1.7;
}

.page-card-games-for-rewards__review-body p {
  margin-bottom: 16px;
  font-size: 16px;
}

.page-card-games-for-rewards__review-body strong {
  color: var(--primary-color);
}

/* Module 2: Homepage Introduction */
.page-card-games-for-rewards__introduction-section {
  padding: 60px 20px;
  background: var(--bg-dark);
}

.page-card-games-for-rewards__content-wrapper {
  background: var(--card-bg);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 40px;
  color: var(--text-dark);
}

.page-card-games-for-rewards__subsection-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-top: 24px;
  margin-bottom: 12px;
}

/* Module 3: Core Games/Services Introduction */
.page-card-games-for-rewards__core-games-section {
  padding: 60px 20px;
  background: var(--bg-dark);
}

.page-card-games-for-rewards__game-category {
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px dashed var(--border-color);
}

.page-card-games-for-rewards__game-category:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.page-card-games-for-rewards__category-title {
  font-size: 28px;
  font-weight: bold;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 20px;
}

.page-card-games-for-rewards__category-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Module 4: Promotions */
.page-card-games-for-rewards__promotions-section {
  padding: 60px 20px;
  background: var(--bg-dark);
}

.page-card-games-for-rewards__promotion-card {
  background: var(--card-bg);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 30px;
  margin-bottom: 30px;
  text-align: center;
  color: var(--text-dark);
}

.page-card-games-for-rewards__promotion-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-card-games-for-rewards__promotion-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Module 5: Latest Blog Content */
.page-card-games-for-rewards__blog-section {
  padding: 60px 20px;
  background: var(--bg-dark);
}

.page-card-games-for-rewards__blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-card-games-for-rewards__blog-card {
  background: var(--card-bg);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: var(--text-dark);
}

.page-card-games-for-rewards__blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-card-games-for-rewards__blog-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-card-games-for-rewards__blog-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-card-games-for-rewards__blog-link {
  color: var(--primary-color);
  text-decoration: none;
}

.page-card-games-for-rewards__blog-link:hover {
  text-decoration: underline;
}

.page-card-games-for-rewards__blog-excerpt {
  font-size: 15px;
  color: #555555;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-card-games-for-rewards__blog-date {
  font-size: 13px;
  color: #888888;
  text-align: right;
}

.page-card-games-for-rewards__view-all-button-wrapper {
  text-align: center;
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-card-games-for-rewards__hero-title {
    font-size: 42px;
  }
  .page-card-games-for-rewards__hero-description {
    font-size: 18px;
  }
  .page-card-games-for-rewards__section-title,
  .page-card-games-for-rewards__page-title {
    font-size: 32px;
  }
  .page-card-games-for-rewards__game-card {
    flex-wrap: wrap;
    padding: 15px;
  }
  .page-card-games-for-rewards__game-card-segment {
    padding: 10px;
    border-right: none !important;
    border-bottom: 1px solid var(--border-color);
    width: 100% !important;
    min-width: unset !important;
  }
  .page-card-games-for-rewards__segment-1 {
    flex-direction: row;
    justify-content: flex-start;
    gap: 15px;
    border-right: none;
    padding-left: 10px;
  }
  .page-card-games-for-rewards__rank-badge {
    position: static;
    margin-right: 10px;
  }
  .page-card-games-for-rewards__segment-2,
  .page-card-games-for-rewards__segment-3,
  .page-card-games-for-rewards__segment-4 {
    border-left: none !important;
    border-right: none !important;
  }
  .page-card-games-for-rewards__game-name,
  .page-card-games-for-rewards__game-description {
    text-align: left;
  }
  .page-card-games-for-rewards__segment-4 {
    margin-top: 15px;
    border-bottom: none;
    padding-bottom: 0;
  }
  .page-card-games-for-rewards__blog-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-card-games-for-rewards__hero-section {
    padding-top: 140px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-card-games-for-rewards__hero-title {
    font-size: 32px;
  }
  .page-card-games-for-rewards__hero-description {
    font-size: 16px;
  }
  .page-card-games-for-rewards__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    width: 100%;
    max-width: 300px;
  }
  .page-card-games-for-rewards__section-title,
  .page-card-games-for-rewards__page-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-card-games-for-rewards__review-content-section,
  .page-card-games-for-rewards__introduction-section,
  .page-card-games-for-rewards__core-games-section,
  .page-card-games-for-rewards__promotions-section,
  .page-card-games-for-rewards__blog-section {
    padding: 40px 15px;
  }
  .page-card-games-for-rewards__review-content-card,
  .page-card-games-for-rewards__content-wrapper,
  .page-card-games-for-rewards__promotion-card {
    padding: 25px;
  }
  .page-card-games-for-rewards__review-title {
    font-size: 26px;
  }
  .page-card-games-for-rewards__review-subtitle,
  .page-card-games-for-rewards__subsection-title,
  .page-card-games-for-rewards__category-title,
  .page-card-games-for-rewards__promotion-title {
    font-size: 22px;
  }
  .page-card-games-for-rewards__game-icon {
    max-width: 60px;
  }
  .page-card-games-for-rewards__game-name {
    font-size: 20px;
  }
  .page-card-games-for-rewards__game-description {
    font-size: 13px;
  }
  .page-card-games-for-rewards__btn-download,
  .page-card-games-for-rewards__btn-review {
    font-size: 14px;
    padding: 10px 15px;
    white-space: normal;
    word-wrap: break-word;
    min-width: auto;
  }
  .page-card-games-for-rewards__segment-4 {
    padding-left: 10px;
    padding-right: 10px;
  }
  .page-card-games-for-rewards img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-card-games-for-rewards__section,
  .page-card-games-for-rewards__card,
  .page-card-games-for-rewards__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}