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

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

.page-index-popular-games .highlight {
  color: #E0B400;
}

.page-index-popular-games__hero {
  background: linear-gradient(135deg, #0A2E36, #1A4F5B);
  color: #fff;
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  min-height: 500px;
  position: relative;
  overflow: hidden;
}

.page-index-popular-games__hero-content {
  max-width: 800px;
  z-index: 1;
}

.page-index-popular-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #fff;
}

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

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

.page-index-popular-games__button {
  display: inline-block;
  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;
  white-space: nowrap;
}

.page-index-popular-games__button.primary-button {
  background-color: #E0B400;
  color: #0A2E36;
  border: 2px solid #E0B400;
}

.page-index-popular-games__button.primary-button:hover {
  background-color: #f0c533;
  transform: translateY(-3px);
}

.page-index-popular-games__button.secondary-button {
  background-color: transparent;
  color: #E0B400;
  border: 2px solid #E0B400;
}

.page-index-popular-games__button.secondary-button:hover {
  background-color: #E0B400;
  color: #0A2E36;
  transform: translateY(-3px);
}

.page-index-popular-games__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.15;
  z-index: 0;
}

.page-index-popular-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-index-popular-games__section-title {
  font-size: 2.8em;
  color: #0A2E36;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

.page-index-popular-games__section-description {
  font-size: 1.1em;
  color: #555;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
}

.page-index-popular-games__intro-section {
  padding: 60px 0;
  background-color: #fff;
}

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

.page-index-popular-games__feature-item {
  text-align: center;
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.page-index-popular-games__feature-item:hover {
  transform: translateY(-10px);
}

.page-index-popular-games__feature-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(224, 180, 0, 0.5));
}

.page-index-popular-games__feature-title {
  font-size: 1.5em;
  color: #0A2E36;
  margin-bottom: 15px;
}

.page-index-popular-games__feature-text {
  color: #666;
  font-size: 1em;
}

.page-index-popular-games__game-categories {
  padding: 60px 0;
  background-color: #f0f2f5;
}

.page-index-popular-games__category-card {
  display: flex;
  align-items: center;
  gap: 40px;
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  margin-bottom: 60px;
  overflow: hidden;
  padding: 30px;
}

.page-index-popular-games__category-card.reversed {
  flex-direction: row-reverse;
}

.page-index-popular-games__card-image-wrapper {
  flex: 1;
  min-width: 300px;
}

.page-index-popular-games__card-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
}

.page-index-popular-games__card-content {
  flex: 2;
}

.page-index-popular-games__card-title {
  font-size: 2em;
  color: #0A2E36;
  margin-bottom: 15px;
}

.page-index-popular-games__card-text {
  color: #444;
  margin-bottom: 25px;
  line-height: 1.8;
}

.page-index-popular-games__app-download {
  background: linear-gradient(to right, #0A2E36, #1A4F5B);
  padding: 80px 0;
  text-align: center;
  color: #fff;
}

.page-index-popular-games__app-download .page-index-popular-games__section-title {
  color: #E0B400;
}

.page-index-popular-games__app-download .page-index-popular-games__section-description {
  color: #e0e0e0;
}

.page-index-popular-games__download-options {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.page-index-popular-games__download-item {
  text-align: center;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 15px;
  border: 1px solid rgba(224, 180, 0, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  flex: 1 1 250px;
  max-width: 300px;
}

.page-index-popular-games__download-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 8px rgba(224, 180, 0, 0.7));
}

.page-index-popular-games__qr-code {
  width: 150px;
  height: 150px;
  margin-bottom: 20px;
  background-color: #fff;
  padding: 10px;
  border-radius: 5px;
}

.page-index-popular-games__download-item p {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-index-popular-games__download-note {
  margin-top: 40px;
  font-size: 0.95em;
  color: #ccc;
}

.page-index-popular-games__promotions {
  padding: 60px 0;
  background-color: #fff;
}

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

.page-index-popular-games__promo-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-index-popular-games__promo-card:hover {
  transform: translateY(-10px);
}

.page-index-popular-games__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 3px solid #E0B400;
}

.page-index-popular-games__promo-title {
  font-size: 1.6em;
  color: #0A2E36;
  margin: 25px 15px 15px 15px;
}

.page-index-popular-games__promo-text {
  color: #666;
  margin: 0 15px 25px 15px;
}

.page-index-popular-games__promo-card .page-index-popular-games__button {
  margin-bottom: 25px;
}

.page-index-popular-games__faq {
  padding: 60px 0;
  background-color: #f0f2f5;
}

.page-index-popular-games__accordion {
  max-width: 900px;
  margin: 50px auto 0 auto;
}

.page-index-popular-games__accordion-item {
  background-color: #fff;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-index-popular-games__accordion-header {
  width: 100%;
  padding: 20px 25px;
  background-color: #0A2E36;
  color: #fff;
  font-size: 1.2em;
  font-weight: bold;
  text-align: left;
  border: none;
  cursor: pointer;
  outline: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-index-popular-games__accordion-header::after {
  content: '+';
  font-size: 1.5em;
  color: #E0B400;
  transition: transform 0.3s ease;
}

.page-index-popular-games__accordion-header.active {
  background-color: #1A4F5B;
}

.page-index-popular-games__accordion-header.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-index-popular-games__accordion-content {
  padding: 0 25px;
  background-color: #fcfcfc;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-index-popular-games__accordion-content p {
  padding: 15px 0;
  color: #555;
  font-size: 1em;
  line-height: 1.7;
}

.page-index-popular-games__cta {
  background: linear-gradient(135deg, #E0B400, #f0c533);
  padding: 80px 20px;
  text-align: center;
  color: #0A2E36;
}

.page-index-popular-games__cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #0A2E36;
}

.page-index-popular-games__cta-description {
  font-size: 1.2em;
  max-width: 700px;
  margin: 0 auto 40px auto;
  color: #333;
}

.page-index-popular-games__button.large-button {
  padding: 18px 40px;
  font-size: 1.3em;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-popular-games__hero-title {
    font-size: 3em;
  }
  .page-index-popular-games__section-title {
    font-size: 2.2em;
  }
  .page-index-popular-games__category-card {
    flex-direction: column;
    text-align: center;
  }
  .page-index-popular-games__category-card.reversed {
    flex-direction: column;
  }
  .page-index-popular-games__card-content {
    text-align: center;
  }
  .page-index-popular-games__card-image-wrapper {
    margin-bottom: 20px;
  }
  .page-index-popular-games__download-options {
    flex-direction: column;
    align-items: center;
  }
  .page-index-popular-games__download-item {
    max-width: 90%;
  }
}

@media (max-width: 768px) {
  .page-index-popular-games__hero {
    padding: 60px 15px;
  }
  .page-index-popular-games__hero-title {
    font-size: 2.5em;
  }
  .page-index-popular-games__hero-description {
    font-size: 1em;
  }
  .page-index-popular-games__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-popular-games__button {
    width: 100%;
    max-width: 280px;
  }
  .page-index-popular-games__section-title {
    font-size: 1.8em;
    padding-top: 30px;
  }
  .page-index-popular-games__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-index-popular-games__features-grid {
    grid-template-columns: 1fr;
  }
  .page-index-popular-games__category-card {
    padding: 20px;
  }
  .page-index-popular-games__card-title {
    font-size: 1.6em;
  }
  .page-index-popular-games__card-image {
    height: 250px;
  }
  .page-index-popular-games__app-download {
    padding: 60px 15px;
  }
  .page-index-popular-games__download-item {
    padding: 20px;
  }
  .page-index-popular-games__qr-code {
    width: 120px;
    height: 120px;
  }
  .page-index-popular-games__promo-grid {
    grid-template-columns: 1fr;
  }
  .page-index-popular-games__promo-title {
    font-size: 1.4em;
  }
  .page-index-popular-games__accordion-header {
    font-size: 1.1em;
    padding: 18px 20px;
  }
  .page-index-popular-games__accordion-content p {
    padding: 10px 0;
  }
  .page-index-popular-games__cta-title {
    font-size: 2.2em;
  }
  .page-index-popular-games__cta-description {
    font-size: 1.1em;
  }
  .page-index-popular-games__button.large-button {
    padding: 15px 30px;
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .page-index-popular-games__hero-title {
    font-size: 2em;
  }
  .page-index-popular-games__hero-description {
    font-size: 0.9em;
  }
  .page-index-popular-games__section-title {
    font-size: 1.5em;
  }
  .page-index-popular-games__card-title {
    font-size: 1.4em;
  }
  .page-index-popular-games__card-image {
    height: 200px;
  }
  .page-index-popular-games__cta-title {
    font-size: 1.8em;
  }
  .page-index-popular-games__button.large-button {
    font-size: 1em;
    padding: 12px 25px;
  }
}