/* style/game-types.css */

/* Base styles for the page-game-types content */
.page-game-types {
  font-family: 'Arial', sans-serif;
  color: #e5d1bb; /* Light text for dark background */
  background-color: #1A2E44; /* Main background color */
  line-height: 1.6;
}

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

/* Hero Section */
.page-game-types__hero {
  background: linear-gradient(135deg, #1A2E44 0%, #3a5068 100%);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.page-game-types__hero-description {
  font-size: 1.3em;
  color: #e5d1bb;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* Section Titles */
.page-game-types__section-title {
  font-size: 2.8em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  padding-bottom: 15px;
  font-weight: bold;
}

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

/* Text Blocks */
.page-game-types__text-block {
  font-size: 1.1em;
  color: #e5d1bb;
  margin-bottom: 20px;
  text-align: justify;
}

/* Buttons */
.page-game-types__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.page-game-types__btn--primary {
  background-color: #FFD700; /* Auxiliary color */
  color: #1A2E44; /* Main color for text */
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-game-types__btn--primary:hover {
  background-color: #e5d1bb; /* Lighter variant for hover */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-game-types__btn--secondary {
  background-color: #3a5068; /* Darker variant of main color */
  color: #FFD700; /* Auxiliary color for text */
  border: 2px solid #FFD700;
}

.page-game-types__btn--secondary:hover {
  background-color: #FFD700;
  color: #1A2E44;
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

/* Game Categories Section */
.page-game-types__introduction, .page-game-types__why-choose, .page-game-types__cta-section {
  padding: 80px 0;
  background-color: #1A2E44;
}

.page-game-types__game-categories {
  padding: 80px 0;
  background-color: #2b415a; /* Slightly lighter dark background */
}

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

.page-game-types__category-card {
  background-color: #1A2E44;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-game-types__category-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
  padding: 0 20px;
}

.page-game-types__category-description {
  font-size: 1em;
  color: #e5d1bb;
  padding: 0 25px;
  margin-bottom: 25px;
}

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

.page-game-types__feature-item {
  background-color: #2b415a;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

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

.page-game-types__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

.page-game-types__feature-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-game-types__feature-description {
  font-size: 1em;
  color: #e5d1bb;
}

/* Call to Action Section */
.page-game-types__cta-section {
  background-color: #1A2E44;
  text-align: center;
  padding: 100px 0;
}

.page-game-types__cta-content {
  max-width: 900px;
}

.page-game-types__cta-title {
  font-size: 3em;
  color: #FFD700;
  margin-bottom: 25px;
  font-weight: bold;
}

.page-game-types__cta-description {
  font-size: 1.2em;
  color: #e5d1bb;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-types__cta-buttons .page-game-types__btn {
  margin: 0 15px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-game-types__hero-title {
    font-size: 2.8em;
  }
  .page-game-types__section-title {
    font-size: 2.2em;
  }
  .page-game-types__cta-title {
    font-size: 2.5em;
  }
  .page-game-types__category-grid, .page-game-types__features-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-game-types__hero {
    padding: 80px 0;
  }
  .page-game-types__hero-title {
    font-size: 2.2em;
  }
  .page-game-types__hero-description {
    font-size: 1.1em;
  }
  .page-game-types__section-title {
    font-size: 1.8em;
    margin-bottom: 40px;
  }
  .page-game-types__introduction, .page-game-types__why-choose, .page-game-types__game-categories, .page-game-types__cta-section {
    padding: 60px 0;
  }
  .page-game-types__category-grid, .page-game-types__features-grid {
    grid-template-columns: 1fr;
  }
  .page-game-types__category-card, .page-game-types__feature-item {
    margin: 0 10px;
  }
  .page-game-types__cta-title {
    font-size: 2em;
  }
  .page-game-types__cta-description {
    font-size: 1em;
  }
  .page-game-types__cta-buttons .page-game-types__btn {
    margin: 10px 0;
    display: block;
  }
}

@media (max-width: 480px) {
  .page-game-types__hero-title {
    font-size: 1.8em;
  }
  .page-game-types__section-title {
    font-size: 1.5em;
  }
  .page-game-types__btn {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-game-types__cta-title {
    font-size: 1.8em;
  }
  .page-game-types__cta-buttons .page-game-types__btn {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
}