/* style/slot-games-top-recommendations.css */

:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #8B0000; /* Dark Red */
  --text-light: #ffffff;
  --text-dark: #000000;
  --background-dark: #0d0d0d;
  --card-bg-light: rgba(255, 255, 255, 0.1);
  --border-color: #333333;
}

.page-slot-games-top-recommendations {
  font-family: 'Arial', sans-serif;
  color: var(--text-light); /* Based on body background #0d0d0d (dark) */
  background-color: var(--background-dark);
  line-height: 1.6;
  padding-top: 120px; /* Ensures content is not hidden by fixed header */
}

.page-slot-games-top-recommendations__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-slot-games-top-recommendations__hero-section {
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(13, 13, 13, 0.9) 0%, var(--secondary-color) 100%), url('[GALLERY:bg:fabet-slot-hero,online-betting,vietnam,1920x1080]') center/cover no-repeat;
  box-shadow: inset 0 -10px 20px rgba(0, 0, 0, 0.5);
}

.page-slot-games-top-recommendations__main-title {
  font-size: 3.5em;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  font-weight: bold;
  line-height: 1.2;
}

.page-slot-games-top-recommendations__hero-description {
  font-size: 1.2em;
  color: var(--text-light);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games-top-recommendations__hero-description a {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-slot-games-top-recommendations__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-slot-games-top-recommendations__cta-button {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games-top-recommendations__cta-button--primary {
  background-color: var(--primary-color);
  color: var(--text-dark);
}

.page-slot-games-top-recommendations__cta-button--primary:hover {
  background-color: darken(var(--primary-color), 10%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-slot-games-top-recommendations__cta-button--secondary {
  background-color: var(--secondary-color);
  color: var(--text-light);
  border: 2px solid var(--primary-color);
}

.page-slot-games-top-recommendations__cta-button--secondary:hover {
  background-color: darken(var(--secondary-color), 10%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-slot-games-top-recommendations__content-section {
  padding: 60px 0;
  border-bottom: 1px solid var(--border-color);
}

.page-slot-games-top-recommendations__content-section:last-of-type {
  border-bottom: none;
}

.page-slot-games-top-recommendations__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-slot-games-top-recommendations__text-block {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: var(--text-light);
}

.page-slot-games-top-recommendations__text-block a {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-slot-games-top-recommendations__features-grid,
.page-slot-games-top-recommendations__game-list,
.page-slot-games-top-recommendations__promo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games-top-recommendations__feature-card,
.page-slot-games-top-recommendations__game-card,
.page-slot-games-top-recommendations__promo-card {
  background-color: var(--card-bg-light);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games-top-recommendations__feature-card:hover,
.page-slot-games-top-recommendations__game-card:hover,
.page-slot-games-top-recommendations__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-slot-games-top-recommendations__feature-image,
.page-slot-games-top-recommendations__game-image,
.page-slot-games-top-recommendations__promo-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  display: block;
}

.page-slot-games-top-recommendations__feature-title,
.page-slot-games-top-recommendations__game-title,
.page-slot-games-top-recommendations__promo-title {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-slot-games-top-recommendations__feature-description,
.page-slot-games-top-recommendations__game-description,
.page-slot-games-top-recommendations__promo-description {
  font-size: 1em;
  color: var(--text-light);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-slot-games-top-recommendations__game-button,
.page-slot-games-top-recommendations__promo-button {
  display: inline-block;
  padding: 10px 25px;
  background-color: var(--secondary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games-top-recommendations__game-button:hover,
.page-slot-games-top-recommendations__promo-button:hover {
  background-color: darken(var(--secondary-color), 10%);
  transform: translateY(-1px);
}

.page-slot-games-top-recommendations__guide-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
}

.page-slot-games-top-recommendations__guide-item {
  background-color: var(--card-bg-light);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-slot-games-top-recommendations__guide-title {
  font-size: 1.3em;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-slot-games-top-recommendations__guide-item p {
  color: var(--text-light);
  margin-bottom: 15px;
}

.page-slot-games-top-recommendations__guide-item a {
  color: var(--text-dark);
  background-color: var(--primary-color);
  padding: 8px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  display: inline-block;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games-top-recommendations__guide-item a:hover {
  background-color: darken(var(--primary-color), 10%);
}

.page-slot-games-top-recommendations__app-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  background-color: var(--card-bg-light);
  padding: 40px;
  border-radius: 10px;
  max-width: 900px;
  margin: 40px auto;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-slot-games-top-recommendations__app-qr {
  width: 200px;
  height: 200px;
  object-fit: contain;
  border-radius: 5px;
  flex-shrink: 0;
}

.page-slot-games-top-recommendations__app-text {
  flex-grow: 1;
}

.page-slot-games-top-recommendations__app-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-slot-games-top-recommendations__app-description {
  font-size: 1.1em;
  color: var(--text-light);
  margin-bottom: 25px;
}

.page-slot-games-top-recommendations__app-download-button {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--secondary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games-top-recommendations__app-download-button:hover {
  background-color: darken(var(--secondary-color), 10%);
  transform: translateY(-1px);
}

/* FAQ Styles */
.page-slot-games-top-recommendations__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-slot-games-top-recommendations__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-slot-games-top-recommendations__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--card-bg-light);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

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

.page-slot-games-top-recommendations__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  color: var(--primary-color);
  pointer-events: none;
}

.page-slot-games-top-recommendations__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-slot-games-top-recommendations__faq-item.active .page-slot-games-top-recommendations__faq-toggle {
  color: var(--secondary-color);
  transform: rotate(45deg);
}

.page-slot-games-top-recommendations__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 20px;
  opacity: 0;
  color: var(--text-light);
}

.page-slot-games-top-recommendations__faq-item.active .page-slot-games-top-recommendations__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 0 5px 5px;
}

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

  .page-slot-games-top-recommendations__section-title {
    font-size: 2em;
  }

  .page-slot-games-top-recommendations__app-cta {
    flex-direction: column;
    text-align: center;
  }

  .page-slot-games-top-recommendations__app-qr {
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .page-slot-games-top-recommendations {
    padding-top: 100px !important; /* Mobile padding for fixed header */
    font-size: 15px;
  }

  .page-slot-games-top-recommendations__container {
    padding: 0 15px;
  }

  .page-slot-games-top-recommendations__hero-section {
    padding: 60px 0;
  }

  .page-slot-games-top-recommendations__main-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-slot-games-top-recommendations__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-slot-games-top-recommendations__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-slot-games-top-recommendations__cta-button,
  .page-slot-games-top-recommendations__game-button,
  .page-slot-games-top-recommendations__promo-button,
  .page-slot-games-top-recommendations__guide-item a,
  .page-slot-games-top-recommendations__app-download-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-slot-games-top-recommendations__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-slot-games-top-recommendations__text-block {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-slot-games-top-recommendations__features-grid,
  .page-slot-games-top-recommendations__game-list,
  .page-slot-games-top-recommendations__promo-cards {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-slot-games-top-recommendations__feature-card,
  .page-slot-games-top-recommendations__game-card,
  .page-slot-games-top-recommendations__promo-card {
    padding: 25px;
  }

  .page-slot-games-top-recommendations__feature-image,
  .page-slot-games-top-recommendations__game-image,
  .page-slot-games-top-recommendations__promo-image,
  .page-slot-games-top-recommendations__app-qr {
    max-width: 100% !important;
    height: auto !important;
    width: 100% !important;
  }

  .page-slot-games-top-recommendations__feature-title,
  .page-slot-games-top-recommendations__game-title,
  .page-slot-games-top-recommendations__promo-title {
    font-size: 1.3em;
  }

  .page-slot-games-top-recommendations__app-cta {
    padding: 30px 15px;
    gap: 25px;
  }

  .page-slot-games-top-recommendations__app-title {
    font-size: 1.5em;
  }
  
  .page-slot-games-top-recommendations__faq-question {
    padding: 15px;
  }
  
  .page-slot-games-top-recommendations__faq-question h3 {
    font-size: 1em;
  }
  
  .page-slot-games-top-recommendations__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }
  
  .page-slot-games-top-recommendations__faq-item.active .page-slot-games-top-recommendations__faq-answer {
    padding: 15px !important;
  }
}