/* style/index-popular-games-recommendation.css */

.page-index-popular-games-recommendation {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color on dark background */
  background-color: #000000; /* Main background color */
}

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

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

.page-index-popular-games-recommendation__hero-section {
  background: linear-gradient(135deg, #000000 0%, #333333 100%);
  padding: 100px 0;
  text-align: center;
}

.page-index-popular-games-recommendation__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-popular-games-recommendation__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #e0e0e0;
}

.page-index-popular-games-recommendation__section-title {
  font-size: 2.5em;
  color: #FFD700;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

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

.page-index-popular-games-recommendation__section-intro {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 60px;
  color: #cccccc;
}

.page-index-popular-games-recommendation__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Gold */
  color: #000000; /* Black text on gold button */
  padding: 15px 30px;
  border-radius: 5px;
  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-index-popular-games-recommendation__cta-button:hover {
  background-color: #e6c200; /* Slightly darker gold on hover */
  transform: translateY(-3px);
}

.page-index-popular-games-recommendation__cta-button--primary {
  background-color: #FFD700;
  color: #000000;
}

.page-index-popular-games-recommendation__cta-button--secondary {
  background-color: #8B0000; /* Dark red for secondary CTA, good contrast with black */
  color: #ffffff; /* White text on dark red button */
}

.page-index-popular-games-recommendation__cta-button--secondary:hover {
  background-color: #a00000; /* Lighter red on hover */
  transform: translateY(-3px);
}

.page-index-popular-games-recommendation__cta-button--small {
  padding: 10px 20px;
  font-size: 1em;
}

.page-index-popular-games-recommendation__why-fun88 .page-index-popular-games-recommendation__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  text-align: left;
  align-items: center;
}

.page-index-popular-games-recommendation__why-fun88 .page-index-popular-games-recommendation__text-content {
  padding-right: 20px;
}

.page-index-popular-games-recommendation__why-fun88 .page-index-popular-games-recommendation__main-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-index-popular-games-recommendation__subsection-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-top: 30px;
  margin-bottom: 20px;
}

.page-index-popular-games-recommendation__feature-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-index-popular-games-recommendation__feature-list li {
  background-color: #1a1a1a;
  margin-bottom: 10px;
  padding: 15px;
  border-left: 5px solid #FFD700;
  border-radius: 5px;
  font-size: 1.05em;
  line-height: 1.6;
  color: #ffffff;
}

.page-index-popular-games-recommendation__feature-list li strong {
  color: #FFD700;
}

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

.page-index-popular-games-recommendation__game-card {
  background-color: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.page-index-popular-games-recommendation__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.6);
}

.page-index-popular-games-recommendation__game-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-index-popular-games-recommendation__game-card-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
  padding: 0 15px;
}

.page-index-popular-games-recommendation__game-card-description {
  font-size: 0.95em;
  color: #cccccc;
  line-height: 1.6;
  flex-grow: 1;
  padding: 0 15px 20px;
}

.page-index-popular-games-recommendation__game-card .page-index-popular-games-recommendation__cta-button {
  margin-top: auto;
  align-self: center;
}

.page-index-popular-games-recommendation__how-to-join .page-index-popular-games-recommendation__step-by-step {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: left;
}

.page-index-popular-games-recommendation__step-card {
  background-color: #1a1a1a;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-index-popular-games-recommendation__step-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
  position: relative;
  padding-left: 40px;
}

.page-index-popular-games-recommendation__step-title::before {
  content: attr(data-step);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background-color: #FFD700;
  color: #000000;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1em;
  font-weight: bold;
}

.page-index-popular-games-recommendation__step-card:nth-child(1) .page-index-popular-games-recommendation__step-title::before { content: '1'; }
.page-index-popular-games-recommendation__step-card:nth-child(2) .page-index-popular-games-recommendation__step-title::before { content: '2'; }
.page-index-popular-games-recommendation__step-card:nth-child(3) .page-index-popular-games-recommendation__step-title::before { content: '3'; }
.page-index-popular-games-recommendation__step-card:nth-child(4) .page-index-popular-games-recommendation__step-title::before { content: '4'; }

.page-index-popular-games-recommendation__step-card p {
  color: #cccccc;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-index-popular-games-recommendation__qr-code {
  max-width: 150px;
  height: auto;
  margin-top: 20px;
  border: 5px solid #FFD700;
  border-radius: 5px;
}

.page-index-popular-games-recommendation__promotions .page-index-popular-games-recommendation__promotion-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 0 auto 40px;
  text-align: left;
}

.page-index-popular-games-recommendation__promotions .page-index-popular-games-recommendation__promotion-list li {
  background-color: #1a1a1a;
  margin-bottom: 15px;
  padding: 20px 25px;
  border-left: 5px solid #8B0000; /* Dark red accent for promotions */
  border-radius: 5px;
  font-size: 1.05em;
  line-height: 1.6;
  color: #ffffff;
}

.page-index-popular-games-recommendation__promotions .page-index-popular-games-recommendation__promotion-list li strong {
  color: #FFD700;
}

.page-index-popular-games-recommendation__promotion-callout {
  font-size: 1.1em;
  font-style: italic;
  color: #FFD700;
  margin-bottom: 40px;
  background-color: #333333;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #FFD700;
}

.page-index-popular-games-recommendation__final-call {
  font-size: 1.2em;
  font-weight: bold;
  color: #FFD700;
  margin-top: 30px;
  margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index-popular-games-recommendation__hero-title {
    font-size: 2.8em;
  }

  .page-index-popular-games-recommendation__section-title {
    font-size: 2em;
  }

  .page-index-popular-games-recommendation__why-fun88 .page-index-popular-games-recommendation__content-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .page-index-popular-games-recommendation__why-fun88 .page-index-popular-games-recommendation__text-content {
    padding-right: 0;
  }

  .page-index-popular-games-recommendation__why-fun88 .page-index-popular-games-recommendation__main-image {
    margin-top: 30px;
  }

  .page-index-popular-games-recommendation__game-grid,
  .page-index-popular-games-recommendation__how-to-join .page-index-popular-games-recommendation__step-by-step {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-index-popular-games-recommendation__hero-title {
    font-size: 2.2em;
  }

  .page-index-popular-games-recommendation__section-title {
    font-size: 1.8em;
  }

  .page-index-popular-games-recommendation__section-intro {
    font-size: 1em;
    margin-bottom: 40px;
  }

  .page-index-popular-games-recommendation__game-card-title {
    font-size: 1.4em;
  }

  .page-index-popular-games-recommendation__step-title {
    font-size: 1.3em;
  }

  .page-index-popular-games-recommendation__hero-section,
  .page-index-popular-games-recommendation__section {
    padding: 50px 0;
  }
}

@media (max-width: 480px) {
  .page-index-popular-games-recommendation__hero-title {
    font-size: 1.8em;
  }

  .page-index-popular-games-recommendation__section-title {
    font-size: 1.5em;
  }

  .page-index-popular-games-recommendation__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-index-popular-games-recommendation__game-grid,
  .page-index-popular-games-recommendation__how-to-join .page-index-popular-games-recommendation__step-by-step {
    grid-template-columns: 1fr;
  }

  .page-index-popular-games-recommendation__step-card {
    padding: 20px;
  }

  .page-index-popular-games-recommendation__step-title {
    padding-left: 35px;
  }

  .page-index-popular-games-recommendation__step-title::before {
    width: 25px;
    height: 25px;
    font-size: 0.9em;
  }
}