.page-games {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f9fa;
}

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

.page-games__hero {
  background: linear-gradient(135deg, #007bff, #4da3ff);
  color: #fff;
  padding: 80px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 40px;
}

.page-games__hero-content {
  flex: 1 1 500px;
  max-width: 600px;
  padding: 20px;
}

.page-games__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #fff;
  font-weight: bold;
}

.page-games__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page-games__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-games__hero-image-wrapper {
  flex: 1 1 400px;
  max-width: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-games__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-games__btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: nowrap;
  font-size: 1.1em;
  border: 2px solid transparent;
}

.page-games__btn--primary {
  background-color: #ffc107;
  color: #000;
  border-color: #ffc107;
}

.page-games__btn--primary:hover {
  background-color: #e0a800;
  border-color: #e0a800;
  transform: translateY(-2px);
}

.page-games__btn--secondary {
  background-color: transparent;
  color: #fff;
  border-color: #fff;
}

.page-games__btn--secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: #fff;
  transform: translateY(-2px);
}

.page-games__btn--small {
  padding: 10px 20px;
  font-size: 0.95em;
  border-radius: 30px;
  background-color: #007bff;
  color: #fff;
  border-color: #007bff;
}

.page-games__btn--small:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}

.page-games__btn--large {
  padding: 16px 32px;
  font-size: 1.2em;
}

.page-games__section-title {
  font-size: 2.5em;
  color: #007bff;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-games__section-subtitle {
  font-size: 1.1em;
  color: #555;
  text-align: center;
  margin-bottom: 50px;
}

/* About Section */
.page-games__about {
  padding: 80px 0;
  background-color: #fff;
}

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

.page-games__about-item {
  text-align: center;
  padding: 30px;
  border-radius: 10px;
  background-color: #f0f8ff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

.page-games__about-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}

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

.page-games__about-item-text {
  color: #666;
}

.page-games__cta-center {
  text-align: center;
  margin-top: 60px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Game Categories Section */
.page-games__game-categories {
  padding: 80px 0;
  background-color: #f8f9fa;
}

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

.page-games__category-item {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-games__category-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-games__category-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.page-games__category-title {
  font-size: 1.8em;
  color: #007bff;
  margin: 20px 0 10px;
  padding: 0 15px;
}

.page-games__category-description {
  color: #666;
  padding: 0 15px 20px;
  flex-grow: 1;
}

.page-games__category-item .page-games__btn {
  margin: 0 15px 20px;
  align-self: center;
  width: calc(100% - 30px);
}

/* Promotions Section */
.page-games__promotions {
  padding: 80px 0;
  background-color: #f0f8ff;
}

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

.page-games__promotion-item {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-games__promotion-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-games__promotion-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.page-games__promotion-title {
  font-size: 1.6em;
  color: #007bff;
  margin: 20px 0 10px;
  padding: 0 15px;
}

.page-games__promotion-description {
  color: #666;
  padding: 0 15px 20px;
  flex-grow: 1;
}

.page-games__promotion-item .page-games__btn {
  margin: 0 15px 20px;
  align-self: center;
  width: calc(100% - 30px);
}

/* App Download Section */
.page-games__app-download {
  padding: 80px 0;
  background-color: #007bff;
  color: #fff;
}

.page-games__app-download-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  text-align: center;
}

.page-games__app-info {
  flex: 1 1 500px;
  max-width: 600px;
  padding: 20px;
}

.page-games__app-download .page-games__section-title {
  color: #fff;
  font-size: 2.8em;
}

.page-games__app-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page-games__app-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-games__app-image-wrapper {
  flex: 1 1 300px;
  max-width: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-games__app-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-games__app-download .page-games__btn--primary {
  background-color: #ffc107;
  color: #000;
  border-color: #ffc107;
}

.page-games__app-download .page-games__btn--primary:hover {
  background-color: #e0a800;
  border-color: #e0a800;
}

.page-games__app-download .page-games__btn--secondary {
  background-color: transparent;
  color: #fff;
  border-color: #fff;
}

.page-games__app-download .page-games__btn--secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: #fff;
}

/* FAQ Section */
.page-games__faq {
  padding: 80px 0;
  background-color: #fff;
}

.page-games__faq-item {
  background-color: #f0f8ff;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
}

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

.page-games__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.page-games__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-games__faq-answer {
  color: #555;
  font-size: 1.05em;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
  opacity: 0;
}

.page-games__faq-answer.active {
  max-height: 300px; /* Adjust as needed */
  opacity: 1;
  margin-top: 15px;
}

/* Contact CTA Section */
.page-games__contact-cta {
  padding: 80px 0;
  background-color: #ffc107;
  color: #333;
  text-align: center;
}

.page-games__contact-cta .page-games__section-title {
  color: #000;
  font-size: 2.8em;
}

.page-games__contact-cta .page-games__section-subtitle {
  color: #333;
  margin-bottom: 40px;
}

.page-games__contact-cta .page-games__btn--primary {
  background-color: #007bff;
  color: #fff;
  border-color: #007bff;
}

.page-games__contact-cta .page-games__btn--primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}

.page-games__contact-cta .page-games__btn--secondary {
  background-color: #fff;
  color: #007bff;
  border-color: #007bff;
}

.page-games__contact-cta .page-games__btn--secondary:hover {
  background-color: #e2e6ea;
  border-color: #0056b3;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-games__hero {
    flex-direction: column;
    text-align: center;
  }
  .page-games__hero-content, .page-games__hero-image-wrapper {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .page-games__app-download-content {
    flex-direction: column;
  }
  .page-games__app-info, .page-games__app-image-wrapper {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .page-games__hero-title {
    font-size: 2.5em;
  }
  .page-games__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-games__hero {
    padding: 60px 0;
  }
  .page-games__hero-title {
    font-size: 2em;
  }
  .page-games__hero-description {
    font-size: 1em;
  }
  .page-games__btn {
    padding: 12px 24px;
    font-size: 1em;
  }
  .page-games__btn--large {
    padding: 14px 28px;
    font-size: 1.1em;
  }
  .page-games__about, .page-games__game-categories, .page-games__promotions, .page-games__app-download, .page-games__faq, .page-games__contact-cta {
    padding: 60px 0;
  }
  .page-games__section-title {
    font-size: 1.8em;
  }
  .page-games__section-subtitle {
    font-size: 1em;
  }
  .page-games__about-grid, .page-games__category-list, .page-games__promotion-grid {
    grid-template-columns: 1fr;
  }
  .page-games__hero-actions, .page-games__cta-center, .page-games__app-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-games__btn {
    width: 80%;
    max-width: 300px;
    margin: 0 auto;
  }
  .page-games__category-item .page-games__btn, .page-games__promotion-item .page-games__btn {
    width: calc(100% - 30px);
  }
}

@media (max-width: 480px) {
  .page-games__hero {
    padding: 40px 0;
  }
  .page-games__hero-title {
    font-size: 1.8em;
  }
  .page-games__hero-description {
    font-size: 0.9em;
  }
  .page-games__section-title {
    font-size: 1.5em;
  }
  .page-games__faq-question {
    font-size: 1.2em;
  }
  .page-games__faq-answer {
    font-size: 0.9em;
  }
}