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

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

.page-index-popular-games__hero {
  background: linear-gradient(135deg, #003366 0%, #004488 100%); /* Darker blue gradient */
  color: #fff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-index-popular-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  z-index: 0;
}

.page-index-popular-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for emphasis */
  position: relative;
  z-index: 1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-popular-games__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  position: relative;
  z-index: 1;
}

.page-index-popular-games__hero-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #003366; /* Deep blue text for contrast */
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-index-popular-games__section {
  padding: 60px 0;
  text-align: center;
}

.page-index-popular-games__section:nth-of-type(even) {
  background-color: #eef2f6;
}

.page-index-popular-games__section-title {
  font-size: 2.8em;
  color: #003366; /* Deep blue for main titles */
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.page-index-popular-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700; /* Gold underline */
  border-radius: 2px;
}

.page-index-popular-games__section-intro {
  font-size: 1.1em;
  color: #555;
  max-width: 900px;
  margin: 0 auto 50px;
}

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

.page-index-popular-games__feature-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  text-align: left;
}

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

.page-index-popular-games__feature-title {
  font-size: 1.6em;
  color: #003366;
  margin-bottom: 15px;
  position: relative;
  padding-left: 40px;
}

.page-index-popular-games__feature-title::before {
  content: '✔'; /* Checkmark icon */
  color: #FFD700;
  font-size: 1.2em;
  position: absolute;
  left: 0;
  top: 0;
}

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

.page-index-popular-games__category-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-popular-games__category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.page-index-popular-games__category-title {
  font-size: 1.8em;
  color: #003366;
  margin: 20px 15px 10px;
}

.page-index-popular-games__category-description {
  padding: 0 20px 20px;
  color: #666;
}

.page-index-popular-games__category-button {
  display: inline-block;
  background-color: #003366;
  color: #FFD700;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-bottom: 20px;
  transition: background-color 0.3s ease;
}

.page-index-popular-games__category-button:hover {
  background-color: #004488;
}

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

.page-index-popular-games__guide-step {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: left;
  position: relative;
}

.page-index-popular-games__guide-title {
  font-size: 1.7em;
  color: #003366;
  margin-bottom: 15px;
}

.page-index-popular-games__guide-link {
  display: inline-block;
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
  transition: color 0.3s ease;
}

.page-index-popular-games__guide-link:hover {
  color: #e6c200;
}

.page-index-popular-games__app-image {
  max-width: 80%;
  height: auto;
  margin-top: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-index-popular-games__promotions .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: #003366;
  color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  text-align: left;
  position: relative;
  overflow: hidden;
}

.page-index-popular-games__promo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255, 215, 0, 0.1) 0%, rgba(0, 51, 102, 0) 70%);
  z-index: 0;
}

.page-index-popular-games__promo-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 2px solid #FFD700;
}

.page-index-popular-games__promo-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.page-index-popular-games__promo-description {
  color: #e0e0e0;
  position: relative;
  z-index: 1;
}

.page-index-popular-games__promotions-button {
  display: inline-block;
  background-color: #FFD700;
  color: #003366;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  margin-top: 40px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-index-popular-games__responsible-gambling {
  background-color: #f0f4f8;
}

.page-index-popular-games__responsible-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

.page-index-popular-games__responsible-image {
  max-width: 300px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-index-popular-games__responsible-content ul {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 600px;
}

.page-index-popular-games__responsible-content ul li {
  background-color: #fff;
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  font-size: 1.1em;
  color: #444;
}

.page-index-popular-games__responsible-content ul li strong {
  color: #003366;
}

.page-index-popular-games__responsible-footer {
  margin-top: 40px;
  font-size: 1.1em;
  color: #666;
}

.page-index-popular-games__faq .page-index-popular-games__faq-items {
  margin-top: 40px;
  text-align: left;
}

.page-index-popular-games__faq-item {
  background-color: #fff;
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.page-index-popular-games__faq-question {
  font-size: 1.5em;
  color: #003366;
  margin-bottom: 10px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-index-popular-games__faq-question::after {
  content: '+';
  font-size: 1.2em;
  color: #FFD700;
  transition: transform 0.3s ease;
}

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

.page-index-popular-games__faq-answer {
  font-size: 1.05em;
  color: #555;
  padding-top: 10px;
  border-top: 1px solid #eee;
  display: none;
}

.page-index-popular-games__faq-answer a {
  color: #003366;
  font-weight: bold;
  text-decoration: none;
}

.page-index-popular-games__faq-answer a:hover {
  text-decoration: underline;
}

.page-index-popular-games__conclusion {
  background: linear-gradient(135deg, #003366 0%, #004488 100%);
  color: #fff;
  padding: 80px 0;
}

.page-index-popular-games__conclusion-button {
  display: inline-block;
  background-color: #FFD700;
  color: #003366;
  padding: 18px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.4em;
  margin-top: 40px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-index-popular-games__conclusion-button:hover {
  background-color: #e6c200;
  transform: translateY(-5px);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index-popular-games__hero-title {
    font-size: 2.8em;
  }
  .page-index-popular-games__section-title {
    font-size: 2.2em;
  }
  .page-index-popular-games__category-grid,
  .page-index-popular-games__guide-steps,
  .page-index-popular-games__promo-grid,
  .page-index-popular-games__why-choose .page-index-popular-games__features {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-index-popular-games__responsible-content {
    flex-direction: column;
  }
  .page-index-popular-games__responsible-content ul {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-index-popular-games__hero {
    padding: 60px 0;
  }
  .page-index-popular-games__hero-title {
    font-size: 2.2em;
  }
  .page-index-popular-games__hero-description {
    font-size: 1.1em;
  }
  .page-index-popular-games__hero-button,
  .page-index-popular-games__promotions-button,
  .page-index-popular-games__conclusion-button {
    font-size: 1.1em;
    padding: 12px 25px;
  }
  .page-index-popular-games__section-title {
    font-size: 1.8em;
  }
  .page-index-popular-games__section-intro {
    font-size: 1em;
  }
  .page-index-popular-games__feature-title,
  .page-index-popular-games__category-title,
  .page-index-popular-games__guide-title,
  .page-index-popular-games__promo-title,
  .page-index-popular-games__faq-question {
    font-size: 1.4em;
  }
  .page-index-popular-games__category-image {
    height: 160px;
  }
  .page-index-popular-games__promo-image {
    height: 150px;
  }
}

@media (max-width: 480px) {
  .page-index-popular-games__hero-title {
    font-size: 1.8em;
  }
  .page-index-popular-games__hero-description {
    font-size: 0.95em;
  }
  .page-index-popular-games__hero-button,
  .page-index-popular-games__promotions-button,
  .page-index-popular-games__conclusion-button {
    font-size: 1em;
    padding: 10px 20px;
  }
  .page-index-popular-games__section-title {
    font-size: 1.6em;
  }
  .page-index-popular-games__feature-title,
  .page-index-popular-games__category-title,
  .page-index-popular-games__guide-title,
  .page-index-popular-games__promo-title,
  .page-index-popular-games__faq-question {
    font-size: 1.2em;
  }
  .page-index-popular-games__category-grid,
  .page-index-popular-games__guide-steps,
  .page-index-popular-games__promo-grid,
  .page-index-popular-games__why-choose .page-index-popular-games__features {
    grid-template-columns: 1fr;
  }
  .page-index-popular-games__container {
    padding: 0 15px;
  }
}