/* style/game-types-card-games.css */
.page-game-types-card-games {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Dark gray for good contrast on light backgrounds */
  line-height: 1.6;
}

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

.page-game-types-card-games__hero {
  background: linear-gradient(135deg, #FF4500, #FFD700); /* Main and auxiliary colors */
  color: #ffffff; /* White text for strong contrast */
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-game-types-card-games__hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
  animation: page-game-types-card-games__hero-pulse 10s infinite alternate;
}

@keyframes page-game-types-card-games__hero-pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.2); opacity: 1; }
}

.page-game-types-card-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  font-weight: bold;
}

.page-game-types-card-games__hero-subtitle {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-types-card-games__section {
  padding: 60px 0;
  text-align: center;
}

.page-game-types-card-games__section--alt-bg {
  background-color: #fffaf0; /* Light cream, good contrast with dark text */
}

.page-game-types-card-games__section--cta {
  background: #FF4500; /* Main color for CTA section */
  color: #ffffff;
  padding: 80px 0;
}

.page-game-types-card-games__section-title {
  font-size: 2.5em;
  color: #FF4500; /* Main color for titles */
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}

.page-game-types-card-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700; /* Auxiliary color for accent */
  border-radius: 2px;
}

.page-game-types-card-games__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  font-weight: bold;
}

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

.page-game-types-card-games__text {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #555555;
}

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

.page-game-types-card-games__game-card {
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 5px solid #FFD700;
}

.page-game-types-card-games__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.page-game-types-card-games__game-image {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  border: 1px solid #eee;
}

.page-game-types-card-games__game-title {
  font-size: 1.8em;
  color: #FF4500;
  margin-bottom: 15px;
}

.page-game-types-card-games__game-description {
  font-size: 1em;
  color: #666666;
  margin-bottom: 25px;
}

.page-game-types-card-games__btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 1.1em;
}

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

.page-game-types-card-games__btn--primary:hover {
  background-color: #FFD700; /* Auxiliary color on hover */
  color: #333333; /* Dark text for contrast */
  border-color: #FFD700;
  transform: translateY(-3px);
}

.page-game-types-card-games__btn--secondary {
  background-color: #ffffff;
  color: #FF4500; /* Main color text */
  border: 2px solid #FF4500;
}

.page-game-types-card-games__btn--secondary:hover {
  background-color: #FF4500;
  color: #ffffff;
  transform: translateY(-3px);
}

.page-game-types-card-games__btn--large {
  padding: 16px 35px;
  font-size: 1.2em;
}

.page-game-types-card-games__btn--huge {
  padding: 18px 40px;
  font-size: 1.4em;
  background-color: #FFD700;
  color: #333333;
  border-color: #FFD700;
}

.page-game-types-card-games__btn--huge:hover {
  background-color: #FF4500;
  color: #ffffff;
  border-color: #FF4500;
}

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

.page-game-types-card-games__feature-item {
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-game-types-card-games__feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-game-types-card-games__feature-title {
  font-size: 1.6em;
  color: #FF4500;
  margin-bottom: 10px;
}

.page-game-types-card-games__feature-description {
  font-size: 1em;
  color: #666666;
}

.page-game-types-card-games__full-width-image {
  width: 100%;
  height: auto;
  border-radius: 15px;
  object-fit: cover;
}

.page-game-types-card-games__full-width-image--margin-top {
  margin-top: 50px;
}

.page-game-types-card-games__steps {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-types-card-games__steps li {
  background-color: #ffffff;
  border-left: 5px solid #FFD700;
  margin-bottom: 20px;
  padding: 20px 30px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  font-size: 1.1em;
  color: #333333;
  display: flex;
  align-items: center;
}

.page-game-types-card-games__step-number {
  background-color: #FF4500;
  color: #ffffff;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  margin-right: 15px;
  flex-shrink: 0;
}

.page-game-types-card-games__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-types-card-games__tips-list li {
  background-color: #ffffff;
  margin-bottom: 15px;
  padding: 15px 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  font-size: 1.05em;
  color: #333333;
  display: flex;
  align-items: flex-start;
}

.page-game-types-card-games__icon {
  color: #FF4500;
  font-size: 1.4em;
  margin-right: 10px;
  line-height: 1;
  flex-shrink: 0;
}

.page-game-types-card-games__app-download {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 50px;
  text-align: left;
}

.page-game-types-card-games__app-info {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}

.page-game-types-card-games__app-image {
  flex: 1;
  min-width: 250px;
  max-width: 400px;
  height: auto;
  object-fit: contain;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-game-types-card-games__hero-title {
    font-size: 2.8em;
  }
  .page-game-types-card-games__section-title {
    font-size: 2em;
  }
  .page-game-types-card-games__cta-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-game-types-card-games__hero {
    padding: 80px 0;
  }
  .page-game-types-card-games__hero-title {
    font-size: 2.2em;
  }
  .page-game-types-card-games__hero-subtitle {
    font-size: 1.1em;
  }
  .page-game-types-card-games__section {
    padding: 40px 0;
  }
  .page-game-types-card-games__section-title {
    font-size: 1.8em;
  }
  .page-game-types-card-games__game-grid, .page-game-types-card-games__feature-grid {
    grid-template-columns: 1fr;
  }
  .page-game-types-card-games__app-download {
    flex-direction: column-reverse;
    text-align: center;
  }
  .page-game-types-card-games__app-info {
    order: 2;
    margin-top: 30px;
  }
  .page-game-types-card-games__app-image {
    order: 1;
  }
  .page-game-types-card-games__btn--huge {
    font-size: 1.2em;
    padding: 15px 30px;
  }
}

@media (max-width: 480px) {
  .page-game-types-card-games__hero-title {
    font-size: 1.8em;
  }
  .page-game-types-card-games__section-title {
    font-size: 1.6em;
  }
  .page-game-types-card-games__cta-title {
    font-size: 1.8em;
  }
  .page-game-types-card-games__btn {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-game-types-card-games__btn--large {
    padding: 14px 28px;
    font-size: 1.1em;
  }
  .page-game-types-card-games__steps li {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-game-types-card-games__step-number {
    width: 25px;
    height: 25px;
    font-size: 0.9em;
  }
}