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

/* Variables for colors from the custom palette */
:root {
  --qibet-green-primary: #11A84E;
  --qibet-green-secondary: #22C768;
  --qibet-button-gradient-start: #2AD16F;
  --qibet-button-gradient-end: #13994A;
  --qibet-card-bg: #11271B;
  --qibet-background: #08160F;
  --qibet-text-main: #F2FFF6;
  --qibet-text-secondary: #A7D9B8;
  --qibet-border: #2E7A4E;
  --qibet-glow: #57E38D;
  --qibet-gold: #F2C14E;
  --qibet-divider: #1E3A2A;
  --qibet-deep-green: #0A4B2C;
}

/* Base styles for the page content */
.page-slot-games-popular-recommendations {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--qibet-text-main); /* Default text color for dark background */
  background-color: var(--qibet-background); /* Dark background */
}

.page-slot-games-popular-recommendations__content-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-slot-games-popular-recommendations__section-title {
  font-size: 2.5em;
  color: var(--qibet-gold);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-slot-games-popular-recommendations__section-text {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--qibet-text-secondary);
  text-align: center;
}

/* Hero Section */
.page-slot-games-popular-recommendations__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, body handles header offset */
  background-color: var(--qibet-deep-green);
  overflow: hidden;
}

.page-slot-games-popular-recommendations__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

.page-slot-games-popular-recommendations__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-slot-games-popular-recommendations__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.page-slot-games-popular-recommendations__hero-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive H1 font size */
  color: var(--qibet-gold);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.6);
}

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

.page-slot-games-popular-recommendations__hero-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Buttons */
.page-slot-games-popular-recommendations__btn-primary,
.page-slot-games-popular-recommendations__btn-secondary,
.page-slot-games-popular-recommendations__btn-small {
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games-popular-recommendations__btn-primary {
  background: var(--qibet-button-gradient-start);
  background-image: linear-gradient(180deg, var(--qibet-button-gradient-start) 0%, var(--qibet-button-gradient-end) 100%);
  color: var(--qibet-text-main);
  border: none;
  box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-slot-games-popular-recommendations__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
}

.page-slot-games-popular-recommendations__btn-secondary {
  background: transparent;
  color: var(--qibet-green-secondary);
  border: 2px solid var(--qibet-green-secondary);
}

.page-slot-games-popular-recommendations__btn-secondary:hover {
  background: var(--qibet-green-secondary);
  color: var(--qibet-text-main);
  transform: translateY(-2px);
}

.page-slot-games-popular-recommendations__btn-small {
  padding: 10px 20px;
  font-size: 0.95em;
  border-radius: 5px;
  background: var(--qibet-button-gradient-start);
  background-image: linear-gradient(180deg, var(--qibet-button-gradient-start) 0%, var(--qibet-button-gradient-end) 100%);
  color: var(--qibet-text-main);
  border: none;
}

.page-slot-games-popular-recommendations__btn-small:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 10px rgba(17, 168, 78, 0.3);
}

/* Section Backgrounds */
.page-slot-games-popular-recommendations__dark-bg {
  background-color: var(--qibet-background);
  color: var(--qibet-text-main);
}

.page-slot-games-popular-recommendations__light-bg {
  background-color: var(--qibet-deep-green);
  color: var(--qibet-text-main);
}

/* Card Styles */
.page-slot-games-popular-recommendations__card {
  background-color: var(--qibet-card-bg);
  border: 1px solid var(--qibet-border);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--qibet-text-main);
  min-height: 200px; /* Minimum height for cards */
  box-sizing: border-box;
}

.page-slot-games-popular-recommendations__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games-popular-recommendations__card-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-slot-games-popular-recommendations__card-title {
  font-size: 1.5em;
  color: var(--qibet-gold);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-slot-games-popular-recommendations__card-title a {
  color: var(--qibet-gold);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-slot-games-popular-recommendations__card-title a:hover {
  color: var(--qibet-green-secondary);
}

.page-slot-games-popular-recommendations__card-text {
  font-size: 1em;
  color: var(--qibet-text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Game Types Grid */
.page-slot-games-popular-recommendations__game-types-grid,
.page-slot-games-popular-recommendations__top-games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games-popular-recommendations__top-games-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Tips Section */
.page-slot-games-popular-recommendations__tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games-popular-recommendations__tip-card {
  text-align: left;
}

/* Promotions Section */
.page-slot-games-popular-recommendations__promo-list {
  list-style: none;
  padding: 0;
  margin: 30px auto;
  max-width: 800px;
  text-align: left;
}

.page-slot-games-popular-recommendations__promo-list li {
  background-color: var(--qibet-card-bg);
  border: 1px solid var(--qibet-border);
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 15px;
  font-size: 1.1em;
  color: var(--qibet-text-main);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-slot-games-popular-recommendations__promo-list li strong {
  color: var(--qibet-gold);
}

/* Why Choose Us Section */
.page-slot-games-popular-recommendations__feature-list {
  list-style: none;
  padding: 0;
  margin: 30px auto;
  max-width: 900px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.page-slot-games-popular-recommendations__feature-list li {
  background-color: var(--qibet-card-bg);
  border: 1px solid var(--qibet-border);
  border-radius: 8px;
  padding: 20px;
  font-size: 1.1em;
  color: var(--qibet-text-main);
  display: flex;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-slot-games-popular-recommendations__feature-list li::before {
  content: '✔';
  color: var(--qibet-green-secondary);
  font-weight: bold;
  margin-right: 10px;
  font-size: 1.2em;
}

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

.page-slot-games-popular-recommendations__faq-item {
  background-color: var(--qibet-card-bg);
  border: 1px solid var(--qibet-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--qibet-text-main);
}

.page-slot-games-popular-recommendations__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--qibet-gold);
  background-color: var(--qibet-deep-green);
  border-bottom: 1px solid var(--qibet-border);
}

.page-slot-games-popular-recommendations__faq-question:hover {
  background-color: var(--qibet-deep-green);
}

.page-slot-games-popular-recommendations__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-slot-games-popular-recommendations__faq-item[open] .page-slot-games-popular-recommendations__faq-toggle {
  transform: rotate(45deg);
}

.page-slot-games-popular-recommendations__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: var(--qibet-text-secondary);
  background-color: var(--qibet-card-bg);
}

.page-slot-games-popular-recommendations__faq-answer p {
  margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games-popular-recommendations__section-title {
    font-size: 2em;
  }
  .page-slot-games-popular-recommendations__hero-title {
    font-size: clamp(2em, 4.5vw, 3em);
  }
}

@media (max-width: 768px) {
  .page-slot-games-popular-recommendations__content-container {
    padding: 20px 15px;
  }

  .page-slot-games-popular-recommendations__hero-section {
    padding-bottom: 40px;
  }

  .page-slot-games-popular-recommendations__hero-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-slot-games-popular-recommendations__hero-description {
    font-size: 1em;
  }

  .page-slot-games-popular-recommendations__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-slot-games-popular-recommendations__btn-primary,
  .page-slot-games-popular-recommendations__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games-popular-recommendations__game-types-grid,
  .page-slot-games-popular-recommendations__top-games-grid,
  .page-slot-games-popular-recommendations__tips-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games-popular-recommendations__card-image {
    max-height: 200px;
  }

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

  .page-slot-games-popular-recommendations__section-text,
  .page-slot-games-popular-recommendations__promo-list li,
  .page-slot-games-popular-recommendations__feature-list li,
  .page-slot-games-popular-recommendations__faq-answer p {
    font-size: 0.95em;
  }

  .page-slot-games-popular-recommendations__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  /* Force responsive images and containers */
  .page-slot-games-popular-recommendations img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-slot-games-popular-recommendations__section,
  .page-slot-games-popular-recommendations__card,
  .page-slot-games-popular-recommendations__container,
  .page-slot-games-popular-recommendations__hero-image-wrapper,
  .page-slot-games-popular-recommendations__content-container,
  .page-slot-games-popular-recommendations__hero-cta-buttons,
  .page-slot-games-popular-recommendations__game-types-grid,
  .page-slot-games-popular-recommendations__top-games-grid,
  .page-slot-games-popular-recommendations__tips-grid,
  .page-slot-games-popular-recommendations__promo-list,
  .page-slot-games-popular-recommendations__feature-list,
  .page-slot-games-popular-recommendations__faq-list,
  .page-slot-games-popular-recommendations__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-slot-games-popular-recommendations__hero-section {
    padding-top: 10px !important; /* body handles --header-offset, this is decorative */
  }
  
  .page-slot-games-popular-recommendations__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .page-slot-games-popular-recommendations__hero-title {
    font-size: clamp(1.5em, 8vw, 2em);
  }
  .page-slot-games-popular-recommendations__section-title {
    font-size: 1.5em;
  }
  .page-slot-games-popular-recommendations__btn-primary,
  .page-slot-games-popular-recommendations__btn-secondary {
    padding: 12px 20px;
    font-size: 1em;
  }
}

/* Ensure contrast for text on specific backgrounds */
.page-slot-games-popular-recommendations__dark-bg .page-slot-games-popular-recommendations__section-text,
.page-slot-games-popular-recommendations__dark-bg .page-slot-games-popular-recommendations__card-text {
  color: var(--qibet-text-secondary);
}

.page-slot-games-popular-recommendations__light-bg .page-slot-games-popular-recommendations__section-text,
.page-slot-games-popular-recommendations__light-bg .page-slot-games-popular-recommendations__card-text,
.page-slot-games-popular-recommendations__light-bg .page-slot-games-popular-recommendations__promo-list li,
.page-slot-games-popular-recommendations__light-bg .page-slot-games-popular-recommendations__feature-list li,
.page-slot-games-popular-recommendations__light-bg .page-slot-games-popular-recommendations__faq-answer p {
  color: var(--qibet-text-main);
}

.page-slot-games-popular-recommendations__light-bg .page-slot-games-popular-recommendations__card-title a {
  color: var(--qibet-gold);
}

.page-slot-games-popular-recommendations__light-bg .page-slot-games-popular-recommendations__faq-question {
  color: var(--qibet-gold);
}