/* style/game-types.css */

/* Base styles for the page content */
.page-game-types {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f9fa;
}

.page-game-types .highlight {
  color: #007bff;
}

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

.page-game-types__section-title {
  font-size: 2.5em;
  color: #007bff;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-game-types__section-title::after {
  content: '';
  width: 80px;
  height: 4px;
  background-color: #ffc107;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
  border-radius: 2px;
}

.page-game-types__text-content {
  font-size: 1.1em;
  text-align: justify;
  margin-bottom: 20px;
  color: #495057;
}

.page-game-types__button {
  display: inline-block;
  background-color: #007bff;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.page-game-types__button:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

.page-game-types__button--secondary {
  background-color: #ffc107;
  color: #333;
}

.page-game-types__button--secondary:hover {
  background-color: #e0a800;
}

.page-game-types__button--small {
  padding: 8px 15px;
  font-size: 0.9em;
}

.page-game-types__button--large {
  padding: 15px 30px;
  font-size: 1.2em;
}

.page-game-types__button--cta-large {
  padding: 18px 35px;
  font-size: 1.3em;
  margin: 10px;
}

.page-game-types__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.page-game-types__hero {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  color: #ffffff;
  padding: 100px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  text-align: left;
  flex-wrap: wrap;
}

.page-game-types__hero-content {
  max-width: 600px;
}

.page-game-types__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-game-types__hero-title .highlight {
  color: #ffc107;
}

.page-game-types__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  opacity: 0.9;
}

.page-game-types__hero-image {
  max-width: 500px;
}

.page-game-types__hero-image .page-game-types__image {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Introduction Section */
.page-game-types__introduction {
  background-color: #ffffff;
  border-bottom: 1px solid #eee;
}

.page-game-types__cta-banner {
  display: flex;
  align-items: center;
  background-color: #f1f8ff;
  border-radius: 10px;
  padding: 30px;
  margin-top: 50px;
  gap: 30px;
  flex-wrap: wrap;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-game-types__cta-banner .page-game-types__image {
  max-width: 250px;
  flex-shrink: 0;
}

.page-game-types__cta-content h3 {
  color: #007bff;
  font-size: 1.8em;
  margin-bottom: 10px;
}

.page-game-types__cta-content p {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #555;
}

/* Game Categories Grid */
.page-game-types__game-categories {
  background-color: #f8f9fa;
}

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

.page-game-types__category-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-game-types__category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-game-types__category-card .page-game-types__image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-game-types__card-title {
  font-size: 1.5em;
  color: #007bff;
  margin-bottom: 15px;
}

.page-game-types__card-description {
  font-size: 1em;
  color: #666;
  margin-bottom: 20px;
  flex-grow: 1;
  text-align: left;
}

/* Why Choose Section */
.page-game-types__why-choose {
  background-color: #ffffff;
  padding-bottom: 80px;
}

.page-game-types__feature-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-game-types__feature-list li {
  background-color: #f1f8ff;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: background-color 0.3s ease;
}

.page-game-types__feature-list li:hover {
  background-color: #e0f0ff;
}

.page-game-types__feature-list h4 {
  font-size: 1.3em;
  color: #007bff;
  margin-top: 15px;
  margin-bottom: 10px;
}

.page-game-types__feature-list p {
  color: #555;
  font-size: 0.95em;
}

.page-game-types__icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 10px;
}

.page-game-types__icon--large {
  width: 80px;
  height: 80px;
}

/* Get Started Section */
.page-game-types__get-started {
  background-color: #e9f7ff;
  text-align: center;
}

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

.page-game-types__step-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.page-game-types__step-card h3 {
  font-size: 1.6em;
  color: #007bff;
  margin-top: 20px;
  margin-bottom: 15px;
}

.page-game-types__step-card p {
  color: #666;
  font-size: 1em;
  margin-bottom: 25px;
}

.page-game-types__final-cta {
  margin-top: 30px;
  font-size: 1.15em;
  font-weight: bold;
  color: #0056b3;
}

/* Detail Pages Section */
.page-game-types__detail-pages {
  background-color: #fefefe;
  border-top: 1px solid #eee;
}

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

.page-game-types__detail-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-game-types__detail-card:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-game-types__detail-title a {
  color: #007bff;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

/* Final CTA Section */
.page-game-types__final-cta-section {
  background-color: #007bff;
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
}

.page-game-types__final-cta-section .page-game-types__section-title {
  color: #ffffff;
}

.page-game-types__final-cta-section .page-game-types__section-title::after {
  background-color: #ffc107;
}

.page-game-types__final-cta-section .page-game-types__text-content {
  color: #e0f0ff;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-game-types__hero {
    flex-direction: column;
    text-align: center;
    padding: 80px 20px;
  }

  .page-game-types__hero-content {
    max-width: 100%;
  }

  .page-game-types__hero-title {
    font-size: 2.8em;
  }

  .page-game-types__hero-description {
    font-size: 1.1em;
  }

  .page-game-types__cta-banner {
    flex-direction: column;
    text-align: center;
  }

  .page-game-types__cta-banner .page-game-types__image {
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .page-game-types__section-title {
    font-size: 2em;
  }

  .page-game-types__hero-title {
    font-size: 2.2em;
  }

  .page-game-types__hero-description,
  .page-game-types__text-content {
    font-size: 1em;
  }

  .page-game-types__category-grid,
  .page-game-types__feature-list,
  .page-game-types__steps,
  .page-game-types__detail-grid {
    grid-template-columns: 1fr;
  }

  .page-game-types__button--cta-large {
    display: block;
    width: calc(100% - 20px);
    margin-left: 10px;
    margin-right: 10px;
  }
}

@media (max-width: 480px) {
  .page-game-types__hero {
    padding: 60px 15px;
  }

  .page-game-types__hero-title {
    font-size: 1.8em;
  }

  .page-game-types__section {
    padding: 40px 15px;
  }

  .page-game-types__section-title {
    font-size: 1.8em;
  }

  .page-game-types__cta-banner,
  .page-game-types__category-card,
  .page-game-types__feature-list li,
  .page-game-types__step-card,
  .page-game-types__detail-card {
    padding: 20px;
  }

  .page-game-types__button,
  .page-game-types__button--large,
  .page-game-types__button--cta-large {
    padding: 10px 20px;
    font-size: 1em;
  }
}