/* style/games.css */
/* 页面完整样式代码 - 注意：所有选择器必须添加页面前缀 */

.page-games {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0; /* Light grey for general text on dark background */
  background-color: #0d1238; /* Darker background for contrast */
}

.page-games__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #1A237E 0%, #0d1238 100%); /* Main color gradient */
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.page-games__hero-content {
  max-width: 900px;
  z-index: 1;
}

.page-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-games__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  line-height: 1.6;
  color: #E0E0E0;
}

.page-games__hero-btn {
  display: inline-block;
  background-color: #FFD700; /* Gold for CTA */
  color: #1A237E; /* Dark blue for text on gold */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-games__hero-btn:hover {
  background-color: #e5c100; /* Slightly darker gold on hover */
  transform: translateY(-3px);
}

.page-games__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  z-index: 0;
}

.page-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(3px);
}

.page-games__section {
  padding: 60px 20px;
  background-color: #1A237E; /* Main dark blue for sections */
  color: #E0E0E0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-games__introduction {
  background-color: #0d1238; /* Slightly different dark background */
}

.page-games__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold for section titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-games__section-subtitle {
  font-size: 1.2em;
  color: #BDBDBD;
  text-align: center;
  margin-bottom: 40px;
}

.page-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-games__introduction p {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #E0E0E0;
  text-align: justify;
}

.page-games__btn-primary {
  display: block;
  width: fit-content;
  margin: 30px auto 0;
  background-color: #FFD700;
  color: #1A237E;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-games__btn-primary:hover {
  background-color: #e5c100;
  transform: translateY(-2px);
}

.page-games__game-categories {
  background-color: #1A237E;
}

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

.page-games__category-card {
  background-color: #2b358b; /* Slightly lighter blue for cards */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-games__category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-games__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 4px solid #FFD700; /* Gold accent */
}

.page-games__card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-games__card-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.3;
}

.page-games__card-title a {
  color: #FFD700; /* Gold for card titles */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-games__card-title a:hover {
  color: #FFFFFF;
}

.page-games__card-description {
  font-size: 1em;
  line-height: 1.6;
  color: #BDBDBD;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-games__btn-secondary {
  display: inline-block;
  background-color: #FFD700; /* Gold for secondary buttons */
  color: #1A237E;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.95em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  align-self: flex-start;
}

.page-games__btn-secondary:hover {
  background-color: #e5c100;
  transform: translateY(-2px);
}

.page-games__why-choose {
  background-color: #0d1238;
}

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

.page-games__feature-item {
  background-color: #2b358b;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-games__feature-item:hover {
  transform: translateY(-5px);
}

.page-games__feature-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.5));
}

.page-games__feature-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-games__feature-item p {
  font-size: 1em;
  line-height: 1.6;
  color: #BDBDBD;
}

.page-games__cta-bottom {
  text-align: center;
  margin-top: 50px;
}

.page-games__getting-started {
  background-color: #1A237E;
}

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

.page-games__step-item {
  background-color: #2b358b;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-games__step-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.4));
}

.page-games__step-title {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-games__step-item p {
  font-size: 1em;
  line-height: 1.6;
  color: #BDBDBD;
  margin-bottom: 20px;
}

.page-games__btn-link {
  display: inline-block;
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  border-bottom: 2px solid #FFD700;
  padding-bottom: 3px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-games__btn-link:hover {
  color: #FFFFFF;
  border-color: #FFFFFF;
}

.page-games__responsible-gaming {
  background-color: #0d1238;
}

.page-games__responsible-gaming p {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #E0E0E0;
  text-align: justify;
}

.page-games__cta-final {
  background-color: #1A237E;
  text-align: center;
  padding: 80px 20px;
}

.page-games__cta-final .page-games__section-title {
  font-size: 3em;
  margin-bottom: 20px;
}

.page-games__cta-final .page-games__section-subtitle {
  font-size: 1.3em;
  margin-bottom: 40px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-games__hero-title {
    font-size: 2.8em;
  }
  .page-games__hero-description {
    font-size: 1.1em;
  }
  .page-games__section-title {
    font-size: 2em;
  }
  .page-games__category-card {
    flex-direction: column;
  }
  .page-games__card-image {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .page-games__hero {
    padding: 60px 15px;
  }
  .page-games__hero-title {
    font-size: 2.2em;
  }
  .page-games__hero-description {
    font-size: 1em;
  }
  .page-games__hero-btn {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-games__section {
    padding: 40px 15px;
  }
  .page-games__section-title {
    font-size: 1.8em;
  }
  .page-games__section-subtitle {
    font-size: 1em;
  }
  .page-games__category-grid, .page-games__features-grid, .page-games__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-games__card-image {
    height: 220px;
  }
  .page-games__cta-final .page-games__section-title {
    font-size: 2.5em;
  }
  .page-games__cta-final .page-games__section-subtitle {
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .page-games__hero-title {
    font-size: 1.8em;
  }
  .page-games__hero-description {
    font-size: 0.9em;
  }
  .page-games__section-title {
    font-size: 1.6em;
  }
  .page-games__card-title {
    font-size: 1.3em;
  }
  .page-games__feature-title, .page-games__step-title {
    font-size: 1.2em;
  }
  .page-games__cta-final .page-games__section-title {
    font-size: 2em;
  }
}