/* style/game-introduction-card-games-selection.css */
.page-game-introduction-card-games-selection {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f0f2f5; /* A very light grey for overall background */
}

.page-game-introduction-card-games-selection__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.page-game-introduction-card-games-selection__hero {
  background: linear-gradient(135deg, #1A237E, #3F51B5); /* Dark Indigo to a slightly lighter blue */
  color: #fff;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-game-introduction-card-games-selection__hero .page-game-introduction-card-games-selection__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-game-introduction-card-games-selection__hero-content h1 {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFC107; /* Amber for main title on dark background */
}

.page-game-introduction-card-games-selection__hero-content p {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  color: #E0E0E0; /* Light grey for body text on dark background */
}

.page-game-introduction-card-games-selection__hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.page-game-introduction-card-games-selection__hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.page-game-introduction-card-games-selection__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  font-size: 1.05em;
}

.page-game-introduction-card-games-selection__btn--primary {
  background-color: #FFC107; /* Amber background */
  color: #1A237E; /* Dark Indigo text */
  border-color: #FFC107;
}

.page-game-introduction-card-games-selection__btn--primary:hover {
  background-color: #e5ac00; /* Darker amber on hover */
  border-color: #e5ac00;
  transform: translateY(-2px);
}

.page-game-introduction-card-games-selection__btn--secondary {
  background-color: transparent;
  color: #FFC107; /* Amber text */
  border-color: #FFC107;
}

.page-game-introduction-card-games-selection__btn--secondary:hover {
  background-color: #FFC107;
  color: #1A237E;
  transform: translateY(-2px);
}

.page-game-introduction-card-games-selection__btn--link {
  background-color: transparent;
  color: #1A237E;
  border-color: transparent;
  padding: 10px 0;
  text-decoration: underline;
}

.page-game-introduction-card-games-selection__btn--link:hover {
  color: #FFC107;
  text-decoration: none;
}

/* General Section Styling */
.page-game-introduction-card-games-selection__section {
  padding: 60px 0;
  background-color: #f8f8f8; /* Light background for sections */
}

.page-game-introduction-card-games-selection__section:nth-of-type(even) {
  background-color: #fff; /* Alternate background for readability */
}

.page-game-introduction-card-games-selection__section h2 {
  font-size: 2.2em;
  color: #1A237E; /* Dark Indigo for section titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page-game-introduction-card-games-selection__section h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFC107; /* Amber underline */
  border-radius: 2px;
}

.page-game-introduction-card-games-selection__section p {
  font-size: 1.1em;
  color: #444;
  margin-bottom: 20px;
  text-align: justify;
}

.page-game-introduction-card-games-selection__section img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Game Grid */
.page-game-introduction-card-games-selection__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-game-introduction-card-games-selection__game-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-game-introduction-card-games-selection__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-game-introduction-card-games-selection__game-card h3 {
  font-size: 1.6em;
  color: #1A237E;
  margin-bottom: 15px;
}

.page-game-introduction-card-games-selection__game-card img {
  max-width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-game-introduction-card-games-selection__game-card p {
  font-size: 1em;
  color: #555;
  text-align: left;
  margin-bottom: 20px;
}

.page-game-introduction-card-games-selection__game-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

/* Why Choose Section */
.page-game-introduction-card-games-selection__why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-game-introduction-card-games-selection__why-item {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  text-align: center;
}

.page-game-introduction-card-games-selection__why-item img {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  object-fit: contain;
}

.page-game-introduction-card-games-selection__why-item h3 {
  font-size: 1.4em;
  color: #1A237E;
  margin-bottom: 10px;
}

.page-game-introduction-card-games-selection__why-item p {
  font-size: 0.95em;
  color: #666;
  text-align: center;
  margin-bottom: 20px;
}

/* Get Started Section */
.page-game-introduction-card-games-selection__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-game-introduction-card-games-selection__step-item {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  text-align: center;
  position: relative;
  padding-top: 60px;
}

.page-game-introduction-card-games-selection__step-number {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #1A237E;
  color: #FFC107;
  font-size: 1.8em;
  font-weight: bold;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #FFC107;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-game-introduction-card-games-selection__step-item h3 {
  font-size: 1.5em;
  color: #1A237E;
  margin-bottom: 15px;
}

.page-game-introduction-card-games-selection__step-item p {
  font-size: 1em;
  color: #555;
  text-align: center;
  margin-bottom: 20px;
}

/* Mobile App Section */
.page-game-introduction-card-games-selection__section--mobile .page-game-introduction-card-games-selection__container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 50px;
}

.page-game-introduction-card-games-selection__mobile-content {
  flex: 1;
}

.page-game-introduction-card-games-selection__mobile-content h2 {
  text-align: left;
  margin-left: 0;
}

.page-game-introduction-card-games-selection__mobile-content h2::after {
  left: 0;
  transform: translateX(0);
}

.page-game-introduction-card-games-selection__mobile-image {
  flex: 1;
  text-align: center;
}

.page-game-introduction-card-games-selection__mobile-image img {
  max-width: 80%;
  height: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Conclusion Section */
.page-game-introduction-card-games-selection__conclusion-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-game-introduction-card-games-selection__hero .page-game-introduction-card-games-selection__container {
    flex-direction: column;
  }
  .page-game-introduction-card-games-selection__hero-content h1 {
    font-size: 2.2em;
  }
  .page-game-introduction-card-games-selection__section--mobile .page-game-introduction-card-games-selection__container {
    flex-direction: column;
  }
  .page-game-introduction-card-games-selection__mobile-content h2 {
    text-align: center;
  }
  .page-game-introduction-card-games-selection__mobile-content h2::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .page-game-introduction-card-games-selection__hero {
    padding: 60px 0;
  }
  .page-game-introduction-card-games-selection__hero-content h1 {
    font-size: 1.8em;
  }
  .page-game-introduction-card-games-selection__hero-content p {
    font-size: 1em;
  }
  .page-game-introduction-card-games-selection__section {
    padding: 40px 0;
  }
  .page-game-introduction-card-games-selection__section h2 {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-game-introduction-card-games-selection__game-grid,
  .page-game-introduction-card-games-selection__why-grid,
  .page-game-introduction-card-games-selection__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-game-introduction-card-games-selection__game-card img {
    height: 180px;
  }
  .page-game-introduction-card-games-selection__btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }
}

@media (max-width: 480px) {
  .page-game-introduction-card-games-selection__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-game-introduction-card-games-selection__btn {
    width: 100%;
  }
}