/* style/game-library.css */
.page-game-library {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #e0e0e0; /* Light text for dark background */
  background-color: #1A2E47; /* Main dark background */
}

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

.page-game-library__hero-section {
  background: linear-gradient(135deg, #1A2E47 0%, #0c1a2c 100%); /* Darker gradient */
  padding: 100px 0;
  text-align: center;
  color: #FFD700; /* Gold for hero text */
  position: relative;
  overflow: hidden;
}

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

.page-game-library__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #e0e0e0;
}

.page-game-library__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Auxiliary gold color */
  color: #1A2E47; /* Dark text for gold button */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-game-library__cta-button:hover {
  background-color: #e6c200; /* Slightly darker gold on hover */
  transform: translateY(-3px);
}

.page-game-library__section-title {
  font-size: 2.8em;
  color: #FFD700; /* Gold */
  text-align: center;
  margin-bottom: 60px;
  padding-top: 60px;
  position: relative;
}

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

.page-game-library__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
  color: #cccccc;
}

.page-game-library__category-section {
  padding: 80px 0;
  background-color: #1A2E47;
}

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

.page-game-library__category-card {
  background-color: #2c425a; /* Slightly lighter dark blue */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #3a506b;
}

.page-game-library__category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
}

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

.page-game-library__card-title {
  font-size: 1.8em;
  color: #FFD700; /* Gold */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-game-library__card-text {
  font-size: 1em;
  color: #cccccc;
  margin-bottom: 25px;
}

.page-game-library__card-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A2E47;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-game-library__card-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-game-library__guides-section {
  padding: 80px 0;
  background-color: #1a2e47;
  border-top: 1px solid #3a506b;
}

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

.page-game-library__guide-item {
  background-color: #2c425a;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  border: 1px solid #3a506b;
}

.page-game-library__guide-title {
  font-size: 1.6em;
  margin-bottom: 15px;
}

.page-game-library__guide-title a {
  color: #FFD700; /* Gold for link */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-game-library__guide-title a:hover {
  color: #e6c200;
  text-decoration: underline;
}

.page-game-library__guide-description {
  font-size: 1em;
  color: #cccccc;
  margin-bottom: 20px;
}

.page-game-library__guide-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A2E47;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-game-library__guide-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-game-library__why-choose-section {
  padding: 80px 0;
  background-color: #0e1e33; /* Even darker blue */
  border-top: 1px solid #3a506b;
}

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

.page-game-library__reason-card {
  background-color: #1A2E47;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  border: 1px solid #3a506b;
}

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

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

.page-game-library__reason-text {
  font-size: 0.95em;
  color: #cccccc;
}

.page-game-library__cta-button--bottom {
  margin-top: 40px;
}

.page-game-library__faq-section {
  padding: 80px 0;
  background-color: #1A2E47;
  border-top: 1px solid #3a506b;
}

.page-game-library__faq-item {
  background-color: #2c425a;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border: 1px solid #3a506b;
}

.page-game-library__faq-question {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-game-library__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2em;
  color: #FFD700;
  transition: transform 0.3s ease;
}

.page-game-library__faq-question.active::after {
  content: '-';
  transform: translateY(-50%) rotate(0deg);
}

.page-game-library__faq-answer {
  font-size: 1em;
  color: #cccccc;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
  padding-top: 0;
}

.page-game-library__faq-answer.active {
  max-height: 200px; /* Adjust as needed */
  padding-top: 15px;
}

.page-game-library__faq-answer a {
  color: #FFD700;
  text-decoration: underline;
}

.page-game-library__faq-answer a:hover {
  color: #e6c200;
}

.page-game-library__conclusion-section {
  padding: 80px 0 100px;
  background-color: #0e1e33;
  text-align: center;
  border-top: 1px solid #3a506b;
}

.page-game-library__cta-button--final {
  margin-top: 50px;
  font-size: 1.3em;
  padding: 18px 35px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-game-library__hero-title {
    font-size: 3em;
  }

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

  .page-game-library__categories-grid,
  .page-game-library__reasons-grid,
  .page-game-library__guide-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-game-library__hero-section {
    padding: 80px 0;
  }

  .page-game-library__hero-title {
    font-size: 2.5em;
  }

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

  .page-game-library__section-title {
    font-size: 2em;
    margin-bottom: 40px;
  }

  .page-game-library__section-description {
    font-size: 1em;
    margin-bottom: 40px;
  }

  .page-game-library__category-card,
  .page-game-library__guide-item,
  .page-game-library__reason-card,
  .page-game-library__faq-item {
    padding: 25px;
  }

  .page-game-library__card-title {
    font-size: 1.5em;
  }

  .page-game-library__guide-title {
    font-size: 1.4em;
  }

  .page-game-library__reason-title,
  .page-game-library__faq-question {
    font-size: 1.3em;
  }
}

@media (max-width: 480px) {
  .page-game-library__hero-section {
    padding: 60px 0;
  }

  .page-game-library__hero-title {
    font-size: 2em;
  }

  .page-game-library__hero-description {
    font-size: 0.95em;
  }

  .page-game-library__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-game-library__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

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

  .page-game-library__categories-grid,
  .page-game-library__reasons-grid,
  .page-game-library__guide-list {
    grid-template-columns: 1fr;
  }

  .page-game-library__category-icon {
    width: 60px;
    height: 60px;
  }

  .page-game-library__card-title {
    font-size: 1.3em;
  }

  .page-game-library__card-text {
    font-size: 0.9em;
  }

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

  .page-game-library__guide-title {
    font-size: 1.2em;
  }

  .page-game-library__reason-title,
  .page-game-library__faq-question {
    font-size: 1.1em;
  }

  .page-game-library__faq-answer {
    font-size: 0.9em;
  }

  .page-game-library__cta-button--final {
    font-size: 1.1em;
    padding: 15px 30px;
  }
}