/* style/top-games-ranking-slot-review.css */

/* Cần thêm padding-top cho main content để tránh bị header cố định che */
.page-top-games-ranking-slot-review {
  padding-top: 120px; /* Desktop */
  color: #ffffff; /* Body background is dark (#0a0a0a), so text should be light */
}

@media (max-width: 768px) {
  .page-top-games-ranking-slot-review {
    padding-top: 100px; /* Mobile */
  }
}

/* ------------------ General Styles ------------------ */
.page-top-games-ranking-slot-review__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-top-games-ranking-slot-review__section {
  padding: 60px 0;
  background-color: #0a0a0a; /* Ensure dark background for consistency */
}

.page-top-games-ranking-slot-review__section:nth-of-type(even) {
  background-color: #1a1a1a; /* Slightly different dark background for alternating sections */
}

.page-top-games-ranking-slot-review__section-title {
  font-size: 38px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

.page-top-games-ranking-slot-review__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
  line-height: 1.6;
}

.page-top-games-ranking-slot-review__highlight-text {
  color: #FFD700; /* Primary brand color - Gold */
}

.page-top-games-ranking-slot-review__cta-button {
  display: block;
  width: fit-content;
  margin: 40px auto 0 auto;
  padding: 15px 30px;
  background-color: #FFD700; /* Primary brand color */
  color: #000000; /* Black text for contrast on gold */
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-top-games-ranking-slot-review__cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-top-games-ranking-slot-review__cta-button--wide {
    width: 100%;
    max-width: 400px;
}

/* ------------------ Hero Banner ------------------ */
.page-top-games-ranking-slot-review__hero-banner {
  background: linear-gradient(135deg, #8B0000 0%, #FFD700 100%); /* Red to Gold gradient */
  padding: 80px 0;
  text-align: center;
}

.page-top-games-ranking-slot-review__main-title {
  font-size: 52px;
  font-weight: 900;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-top-games-ranking-slot-review__hero-description {
  font-size: 22px;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: #f0f0f0;
  line-height: 1.6;
}

.page-top-games-ranking-slot-review__hero-description a {
    color: #FFD700;
    text-decoration: none;
    font-weight: 600;
}

.page-top-games-ranking-slot-review__hero-description a:hover {
    text-decoration: underline;
}

/* ------------------ Why Choose Section ------------------ */
.page-top-games-ranking-slot-review__why-choose {
  background-color: #0a0a0a;
}

.page-top-games-ranking-slot-review__grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-top-games-ranking-slot-review__feature-card {
  background-color: rgba(255, 255, 255, 0.08); /* Light translucent background for contrast */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-top-games-ranking-slot-review__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
}

.page-top-games-ranking-slot-review__feature-image {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: contain;
}

.page-top-games-ranking-slot-review__feature-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #FFD700;
}

.page-top-games-ranking-slot-review__feature-text {
  font-size: 16px;
  color: #e0e0e0;
  line-height: 1.7;
}

.page-top-games-ranking-slot-review__feature-text a {
    color: #FFD700;
    text-decoration: none;
    font-weight: 600;
}

.page-top-games-ranking-slot-review__feature-text a:hover {
    text-decoration: underline;
}

/* ------------------ Top Slots Section ------------------ */
.page-top-games-ranking-slot-review__top-slots {
  background-color: #1a1a1a;
}

.page-top-games-ranking-slot-review__slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-top-games-ranking-slot-review__slot-card {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter translucent background */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.page-top-games-ranking-slot-review__slot-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.35);
}

.page-top-games-ranking-slot-review__slot-image {
  width: 100%;
  height: 250px; /* Fixed height for consistent card size */
  object-fit: cover;
  display: block;
}

.page-top-games-ranking-slot-review__slot-title {
  font-size: 22px;
  font-weight: 700;
  margin: 20px 20px 10px 20px;
  color: #FFD700;
}

.page-top-games-ranking-slot-review__slot-description {
  font-size: 15px;
  color: #cccccc;
  line-height: 1.6;
  padding: 0 20px;
  flex-grow: 1;
}

.page-top-games-ranking-slot-review__slot-description a {
    color: #FFD700;
    text-decoration: none;
    font-weight: 600;
}

.page-top-games-ranking-slot-review__slot-description a:hover {
    text-decoration: underline;
}

.page-top-games-ranking-slot-review__card-button {
  display: block;
  width: calc(100% - 40px);
  margin: 20px;
  padding: 12px 20px;
  background-color: #8B0000; /* Secondary brand color - Dark Red */
  color: #ffffff; /* White text for contrast on red */
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-top-games-ranking-slot-review__card-button:hover {
  background-color: #a00000;
  transform: translateY(-2px);
}

.page-top-games-ranking-slot-review__button-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

/* ------------------ Guide Section ------------------ */
.page-top-games-ranking-slot-review__guide {
  background-color: #0a0a0a;
}

.page-top-games-ranking-slot-review__step-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-top-games-ranking-slot-review__step-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(139, 0, 0, 0.2);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-top-games-ranking-slot-review__step-icon {
  width: 60px;
  height: 60px;
  background-color: #FFD700;
  color: #000000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.5);
}

.page-top-games-ranking-slot-review__step-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #FFD700;
}

.page-top-games-ranking-slot-review__step-text {
  font-size: 16px;
  color: #e0e0e0;
  line-height: 1.7;
  flex-grow: 1;
}

.page-top-games-ranking-slot-review__step-text a {
    color: #FFD700;
    text-decoration: none;
    font-weight: 600;
}

.page-top-games-ranking-slot-review__step-text a:hover {
    text-decoration: underline;
}

.page-top-games-ranking-slot-review__step-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #8B0000;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.page-top-games-ranking-slot-review__step-button:hover {
    background-color: #a00000;
}

/* ------------------ Promotions Section ------------------ */
.page-top-games-ranking-slot-review__promotions {
  background-color: #1a1a1a;
}

.page-top-games-ranking-slot-review__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-top-games-ranking-slot-review__promo-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.page-top-games-ranking-slot-review__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.35);
}

.page-top-games-ranking-slot-review__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-top-games-ranking-slot-review__promo-title {
  font-size: 22px;
  font-weight: 700;
  margin: 20px 20px 10px 20px;
  color: #FFD700;
}

.page-top-games-ranking-slot-review__promo-text {
  font-size: 15px;
  color: #cccccc;
  line-height: 1.6;
  padding: 0 20px;
  flex-grow: 1;
}

.page-top-games-ranking-slot-review__promo-text a {
    color: #FFD700;
    text-decoration: none;
    font-weight: 600;
}

.page-top-games-ranking-slot-review__promo-text a:hover {
    text-decoration: underline;
}

/* ------------------ FAQ Section ------------------ */
.page-top-games-ranking-slot-review__faq-section {
  background-color: #0a0a0a;
}

.page-top-games-ranking-slot-review__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-top-games-ranking-slot-review__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.1);
}

.page-top-games-ranking-slot-review__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-top-games-ranking-slot-review__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
}

.page-top-games-ranking-slot-review__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff;
  pointer-events: none; /* Prevent h3 from blocking click event */
}

.page-top-games-ranking-slot-review__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Prevent icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-top-games-ranking-slot-review__faq-item.active .page-top-games-ranking-slot-review__faq-toggle {
  color: #8B0000;
  transform: rotate(45deg); /* Rotate for minus sign effect */
}

.page-top-games-ranking-slot-review__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background-color: rgba(255, 255, 255, 0.05);
}

.page-top-games-ranking-slot-review__faq-item.active .page-top-games-ranking-slot-review__faq-answer {
  max-height: 2000px !important; /* Ensure enough height for content */
  padding: 20px 25px !important;
  opacity: 1;
}

.page-top-games-ranking-slot-review__faq-answer p {
  font-size: 16px;
  color: #e0e0e0;
  line-height: 1.7;
  margin: 0;
}

.page-top-games-ranking-slot-review__faq-answer a {
    color: #FFD700;
    text-decoration: none;
    font-weight: 600;
}

.page-top-games-ranking-slot-review__faq-answer a:hover {
    text-decoration: underline;
}

/* ------------------ Conclusion Section ------------------ */
.page-top-games-ranking-slot-review__conclusion {
  background-color: #8B0000; /* Use secondary brand color for conclusion */
  color: #ffffff;
}

.page-top-games-ranking-slot-review__conclusion .page-top-games-ranking-slot-review__section-title {
  color: #ffffff;
}

.page-top-games-ranking-slot-review__conclusion .page-top-games-ranking-slot-review__section-description {
  color: #f0f0f0;
}

.page-top-games-ranking-slot-review__conclusion .page-top-games-ranking-slot-review__section-description a {
    color: #FFD700;
    text-decoration: none;
    font-weight: 600;
}

.page-top-games-ranking-slot-review__conclusion .page-top-games-ranking-slot-review__section-description a:hover {
    text-decoration: underline;
}

.page-top-games-ranking-slot-review__conclusion .page-top-games-ranking-slot-review__cta-button {
  background-color: #FFD700;
  color: #000000;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.6);
}

.page-top-games-ranking-slot-review__conclusion .page-top-games-ranking-slot-review__cta-button:hover {
  background-color: #e6c200;
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.8);
}

/* ------------------ Responsive Design ------------------ */
@media (max-width: 1024px) {
  .page-top-games-ranking-slot-review__main-title {
    font-size: 44px;
  }

  .page-top-games-ranking-slot-review__section-title {
    font-size: 32px;
  }

  .page-top-games-ranking-slot-review__hero-description {
    font-size: 20px;
  }

  .page-top-games-ranking-slot-review__feature-title,
  .page-top-games-ranking-slot-review__slot-title,
  .page-top-games-ranking-slot-review__promo-title,
  .page-top-games-ranking-slot-review__step-title {
    font-size: 20px;
  }

  .page-top-games-ranking-slot-review__feature-text,
  .page-top-games-ranking-slot-review__slot-description,
  .page-top-games-ranking-slot-review__promo-text,
  .page-top-games-ranking-slot-review__step-text {
    font-size: 15px;
  }

  .page-top-games-ranking-slot-review__slot-image {
    height: 220px;
  }

  .page-top-games-ranking-slot-review__promo-image {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .page-top-games-ranking-slot-review__container {
    padding: 0 15px;
  }

  .page-top-games-ranking-slot-review__section {
    padding: 40px 0;
  }

  .page-top-games-ranking-slot-review__main-title {
    font-size: 36px;
  }

  .page-top-games-ranking-slot-review__section-title {
    font-size: 28px;
  }

  .page-top-games-ranking-slot-review__hero-description {
    font-size: 18px;
  }

  .page-top-games-ranking-slot-review__grid-layout,
  .page-top-games-ranking-slot-review__slot-grid,
  .page-top-games-ranking-slot-review__step-list,
  .page-top-games-ranking-slot-review__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-top-games-ranking-slot-review__cta-button {
    font-size: 18px;
    padding: 12px 25px;
  }

  .page-top-games-ranking-slot-review__feature-card,
  .page-top-games-ranking-slot-review__slot-card,
  .page-top-games-ranking-slot-review__promo-card,
  .page-top-games-ranking-slot-review__step-item {
    padding: 25px;
  }

  .page-top-games-ranking-slot-review__slot-image {
    height: 200px;
  }

  .page-top-games-ranking-slot-review__promo-image {
    height: 160px;
  }

  .page-top-games-ranking-slot-review__faq-question {
    padding: 15px 20px;
  }

  .page-top-games-ranking-slot-review__faq-question h3 {
    font-size: 16px;
  }

  .page-top-games-ranking-slot-review__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }

  .page-top-games-ranking-slot-review__faq-answer {
    padding: 0 20px;
  }

  .page-top-games-ranking-slot-review__faq-item.active .page-top-games-ranking-slot-review__faq-answer {
    padding: 15px 20px !important;
  }

  /* Mobile image responsive override */
  .page-top-games-ranking-slot-review img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-top-games-ranking-slot-review__section,
  .page-top-games-ranking-slot-review__card,
  .page-top-games-ranking-slot-review__container,
  .page-top-games-ranking-slot-review__feature-card,
  .page-top-games-ranking-slot-review__slot-card,
  .page-top-games-ranking-slot-review__promo-card,
  .page-top-games-ranking-slot-review__step-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Ensure link colors contrast on dark backgrounds */
.page-top-games-ranking-slot-review a {
    color: #FFD700; /* Gold for links */
    text-decoration: none;
}

.page-top-games-ranking-slot-review a:hover {
    text-decoration: underline;
}