.page-games {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
}

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

.page-games__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
}

.page-games__btn--primary {
  background-color: #007bff; /* Main color */
  color: #ffffff; /* White text for contrast */
  border: 2px solid #007bff;
}

.page-games__btn--primary:hover {
  background-color: #0056b3; /* Darker blue */
  border-color: #0056b3;
  transform: translateY(-2px);
}

.page-games__btn--secondary {
  background-color: #ffc107; /* Secondary color */
  color: #333333; /* Dark text for contrast */
  border: 2px solid #ffc107;
}

.page-games__btn--secondary:hover {
  background-color: #e0a800; /* Darker yellow */
  border-color: #e0a800;
  transform: translateY(-2px);
}

.page-games__btn--link {
  background-color: transparent;
  color: #007bff;
  border: 2px solid transparent;
  padding: 8px 15px;
}

.page-games__btn--link:hover {
  color: #0056b3;
  border-color: #007bff;
  background-color: rgba(0, 123, 255, 0.1);
}

.page-games__btn--center {
  display: block;
  margin: 30px auto;
  max-width: 250px;
}

.page-games__btn--large {
  padding: 15px 35px;
  font-size: 1.1em;
}

/* Hero Section */
.page-games__hero-section {
  position: relative;
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
  overflow: hidden;
}

.page-games__hero-section .page-games__container {
  position: relative;
  z-index: 1;
}

.page-games__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-games__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-games__hero-image {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50%; /* Adjust as needed */
  max-width: 700px;
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}

/* General Section Styles */
.page-games__section {
  padding: 60px 0;
  text-align: center;
}

.page-games__section--why-choose {
  background-color: #f8f9fa;
}

.page-games__section-title {
  font-size: 2.5em;
  color: #007bff; /* Main color */
  margin-bottom: 20px;
  font-weight: 700;
}

.page-games__section-subtitle {
  font-size: 1.1em;
  color: #555;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-games__feature-item {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.page-games__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.page-games__feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(0 2px 5px rgba(0, 123, 255, 0.3));
}

.page-games__feature-title {
  font-size: 1.5em;
  color: #007bff;
  margin-bottom: 10px;
}

.page-games__feature-text {
  color: #666;
}

/* Featured Games Section */
.page-games__game-category {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-games__game-category:nth-child(even) {
  flex-direction: column-reverse; /* Alternate image/text flow */
}

.page-games__game-title {
  font-size: 2em;
  color: #007bff;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-games__game-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  align-self: center;
}

.page-games__game-description {
  font-size: 1.05em;
  color: #444;
  margin-bottom: 30px;
  text-align: justify;
}

/* How to Start Section */
.page-games__section--how-to-start {
  background-color: #e9f7ff; /* Lighter blue */
}

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

.page-games__step-item {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  border-bottom: 5px solid #ffc107; /* Secondary color accent */
}

.page-games__step-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  filter: drop-shadow(0 2px 5px rgba(255, 193, 7, 0.4));
}

.page-games__step-title {
  font-size: 1.6em;
  color: #007bff;
  margin-bottom: 10px;
}

.page-games__step-text {
  color: #666;
}

/* Promotions Section */
.page-games__section--promotions {
  background-color: #ffffff;
}

.page-games__promotion-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-games__promotion-list li {
  background-color: #fff3cd; /* Light yellow from auxiliary color */
  border-left: 5px solid #ffc107;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  color: #856404; /* Darker text for contrast */
  font-size: 1.05em;
}

.page-games__promotion-list strong {
  color: #007bff;
}

.page-games__promotion-text {
  font-size: 1.1em;
  color: #555;
  margin-top: 30px;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-games__promotion-image {
  width: 100%;
  max-width: 700px;
  height: auto;
  border-radius: 10px;
  margin-top: 40px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Detail Pages List Section */
.page-games__section--detail-pages {
  background-color: #f0f8ff;
}

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

.page-games__detail-item {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-games__detail-title {
  font-size: 1.4em;
  color: #007bff;
  margin-bottom: 10px;
}

.page-games__detail-title a {
  text-decoration: none;
  color: #007bff;
}

.page-games__detail-title a:hover {
  color: #0056b3;
  text-decoration: underline;
}

.page-games__detail-description {
  color: #666;
  font-size: 0.95em;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* CTA Section */
.page-games__cta-section {
  background: linear-gradient(45deg, #0056b3, #007bff);
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-games__cta-section .page-games__container {
  position: relative;
  z-index: 1;
}

.page-games__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-games__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-games__cta-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  z-index: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-games__hero-title {
    font-size: 2.8em;
  }
  .page-games__section-title, .page-games__cta-title {
    font-size: 2em;
  }
  .page-games__hero-image {
    width: 60%;
  }
}

@media (max-width: 768px) {
  .page-games__hero-section {
    padding: 60px 0;
  }
  .page-games__hero-title {
    font-size: 2.2em;
  }
  .page-games__hero-description {
    font-size: 1em;
  }
  .page-games__section {
    padding: 40px 0;
  }
  .page-games__section-title, .page-games__cta-title {
    font-size: 1.8em;
  }
  .page-games__hero-image {
    width: 80%;
    position: relative;
    margin-top: 30px;
    opacity: 0.5;
  }
  .page-games__game-category {
    padding: 30px;
  }
  .page-games__game-title {
    font-size: 1.8em;
  }
  .page-games__features-grid, .page-games__steps-grid, .page-games__detail-list {
    grid-template-columns: 1fr;
  }
  .page-games__btn--center {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .page-games__hero-section {
    padding: 40px 0;
  }
  .page-games__hero-title {
    font-size: 1.8em;
  }
  .page-games__hero-description {
    font-size: 0.9em;
  }
  .page-games__btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-games__section-title, .page-games__cta-title {
    font-size: 1.5em;
  }
  .page-games__feature-item, .page-games__step-item, .page-games__detail-item {
    padding: 20px;
  }
  .page-games__game-title {
    font-size: 1.5em;
  }
  .page-games__promotion-list li {
    font-size: 0.95em;
  }
}