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

/* Custom Colors */
:root {
  --fv88-primary-color: #11A84E;
  --fv88-secondary-color: #22C768;
  --fv88-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --fv88-card-bg: #11271B;
  --fv88-background: #08160F;
  --fv88-text-main: #F2FFF6;
  --fv88-text-secondary: #A7D9B8;
  --fv88-border: #2E7A4E;
  --fv88-glow: #57E38D;
  --fv88-gold: #F2C14E;
  --fv88-divider: #1E3A2A;
  --fv88-deep-green: #0A4B2C;
}

.page-slot-games-popular-recommendations {
  background-color: var(--fv88-background);
  color: var(--fv88-text-main);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

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

.page-slot-games-popular-recommendations__section-title {
  font-size: clamp(2em, 4vw, 2.8em);
  color: var(--fv88-gold);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-slot-games-popular-recommendations__section-description {
  font-size: 1.1em;
  color: var(--fv88-text-secondary);
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* Hero Section */
.page-slot-games-popular-recommendations__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
}

.page-slot-games-popular-recommendations__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  position: relative;
}

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

.page-slot-games-popular-recommendations__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 40px 20px;
  margin-top: -150px; /* Pull content up over the image, but not *on* it */
  background: linear-gradient(0deg, var(--fv88-background) 0%, rgba(8, 22, 15, 0.8) 50%, rgba(8, 22, 15, 0) 100%);
  border-radius: 15px;
}

.page-slot-games-popular-recommendations__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  color: var(--fv88-gold);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.1;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

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

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

.page-slot-games-popular-recommendations__btn-primary,
.page-slot-games-popular-recommendations__btn-secondary,
.page-slot-games-popular-recommendations__btn-play,
.page-slot-games-popular-recommendations__btn-text-link {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping for buttons */
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-slot-games-popular-recommendations__btn-primary {
  background: var(--fv88-button-gradient);
  color: var(--fv88-text-main);
  border: 2px solid var(--fv88-glow);
  box-shadow: 0 0 15px rgba(87, 227, 141, 0.6);
}

.page-slot-games-popular-recommendations__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(87, 227, 141, 0.8);
}

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

.page-slot-games-popular-recommendations__btn-secondary:hover {
  background: rgba(87, 227, 141, 0.1);
  transform: translateY(-3px);
}

.page-slot-games-popular-recommendations__btn-play {
  background: var(--fv88-button-gradient);
  color: var(--fv88-text-main);
  border: none;
  padding: 10px 20px;
  font-size: 0.9em;
  margin-top: 15px;
}

.page-slot-games-popular-recommendations__btn-play:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 10px rgba(87, 227, 141, 0.4);
}

.page-slot-games-popular-recommendations__btn-text-link {
  background: none;
  color: var(--fv88-glow);
  border: none;
  text-decoration: underline;
  padding: 0;
  font-size: 1em;
  margin-top: 10px;
  display: block;
  text-align: left;
}

.page-slot-games-popular-recommendations__btn-text-link:hover {
  color: var(--fv88-gold);
}

/* Cards */
.page-slot-games-popular-recommendations__card {
  background-color: var(--fv88-card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--fv88-border);
  color: var(--fv88-text-main);
  text-align: center;
}

/* Features Grid */
.page-slot-games-popular-recommendations__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games-popular-recommendations__feature-icon {
  width: 100%;
  height: auto;
  max-width: 250px;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games-popular-recommendations__feature-title {
  font-size: 1.5em;
  color: var(--fv88-gold);
  margin-bottom: 10px;
}

.page-slot-games-popular-recommendations__feature-text {
  color: var(--fv88-text-secondary);
}

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

.page-slot-games-popular-recommendations__game-card {
  text-align: center;
  overflow: hidden;
}

.page-slot-games-popular-recommendations__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  border: 1px solid var(--fv88-border);
}

.page-slot-games-popular-recommendations__game-title {
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-slot-games-popular-recommendations__game-link {
  color: var(--fv88-gold);
  text-decoration: none;
}

.page-slot-games-popular-recommendations__game-link:hover {
  text-decoration: underline;
}

.page-slot-games-popular-recommendations__game-description {
  color: var(--fv88-text-secondary);
  font-size: 0.95em;
  margin-bottom: 15px;
}

/* How to Play */
.page-slot-games-popular-recommendations__steps-list {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 800px;
  margin: 40px auto 0 auto;
}

.page-slot-games-popular-recommendations__list-item {
  background-color: var(--fv88-card-bg);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  border: 1px solid var(--fv88-border);
}

.page-slot-games-popular-recommendations__list-title {
  font-size: 1.3em;
  color: var(--fv88-glow);
  margin-bottom: 10px;
}

.page-slot-games-popular-recommendations__list-item p {
  color: var(--fv88-text-secondary);
}

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

.page-slot-games-popular-recommendations__promo-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  border: 1px solid var(--fv88-border);
}

.page-slot-games-popular-recommendations__promo-title {
  font-size: 1.4em;
  color: var(--fv88-gold);
  margin-bottom: 10px;
}

.page-slot-games-popular-recommendations__promo-text {
  color: var(--fv88-text-secondary);
  font-size: 0.95em;
}

/* Mobile Experience */
.page-slot-games-popular-recommendations__mobile-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

.page-slot-games-popular-recommendations__mobile-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  border: 2px solid var(--fv88-glow);
}

.page-slot-games-popular-recommendations__mobile-text {
  max-width: 500px;
  text-align: left;
}

.page-slot-games-popular-recommendations__mobile-text p {
  color: var(--fv88-text-secondary);
  margin-bottom: 20px;
}

/* FAQ */
.page-slot-games-popular-recommendations__faq-list {
  max-width: 800px;
  margin: 40px auto 0 auto;
  text-align: left;
}

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

.page-slot-games-popular-recommendations__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  background-color: var(--fv88-deep-green);
  color: var(--fv88-text-main);
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-slot-games-popular-recommendations__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-slot-games-popular-recommendations__faq-qtext {
  flex-grow: 1;
  color: var(--fv88-gold);
  font-size: 1.1em;
}

.page-slot-games-popular-recommendations__faq-toggle {
  font-size: 1.5em;
  color: var(--fv88-glow);
  margin-left: 15px;
  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;
  color: var(--fv88-text-secondary);
  font-size: 0.95em;
  border-top: 1px solid var(--fv88-border);
}

.page-slot-games-popular-recommendations__faq-answer p {
  margin-bottom: 10px;
}

/* CTA Bottom */
.page-slot-games-popular-recommendations__cta-bottom {
  background-color: var(--fv88-deep-green);
  padding: 80px 0;
  border-top: 1px solid var(--fv88-border);
}

.page-slot-games-popular-recommendations__cta-bottom .page-slot-games-popular-recommendations__section-title {
  color: var(--fv88-gold);
}

.page-slot-games-popular-recommendations__cta-bottom .page-slot-games-popular-recommendations__section-description {
  color: var(--fv88-text-main);
  margin-bottom: 50px;
}

/* Dark background class for sections */
.page-slot-games-popular-recommendations__dark-bg {
  background-color: var(--fv88-deep-green);
  color: var(--fv88-text-main);
}

/* General text contrast */
.page-slot-games-popular-recommendations p,
.page-slot-games-popular-recommendations li {
  color: var(--fv88-text-secondary);
}

.page-slot-games-popular-recommendations h1,
.page-slot-games-popular-recommendations h2,
.page-slot-games-popular-recommendations h3,
.page-slot-games-popular-recommendations h4,
.page-slot-games-popular-recommendations h5,
.page-slot-games-popular-recommendations h6 {
  color: var(--fv88-gold);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games-popular-recommendations__hero-content {
    margin-top: -100px;
    padding: 30px 15px;
  }
}

@media (max-width: 768px) {
  .page-slot-games-popular-recommendations__section {
    padding: 40px 0;
  }

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

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

  .page-slot-games-popular-recommendations__hero-content {
    margin-top: -80px;
    padding: 25px 15px;
  }

  .page-slot-games-popular-recommendations__main-title {
    font-size: 2.2em;
  }

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

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

  .page-slot-games-popular-recommendations__btn-primary,
  .page-slot-games-popular-recommendations__btn-secondary,
  .page-slot-games-popular-recommendations__btn-play,
  .page-slot-games-popular-recommendations__btn-text-link {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-slot-games-popular-recommendations__features-grid,
  .page-slot-games-popular-recommendations__games-grid,
  .page-slot-games-popular-recommendations__promo-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games-popular-recommendations__feature-icon,
  .page-slot-games-popular-recommendations__game-image,
  .page-slot-games-popular-recommendations__promo-image,
  .page-slot-games-popular-recommendations__mobile-image,
  .page-slot-games-popular-recommendations img {
    max-width: 100% !important;
    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-section,
  .page-slot-games-popular-recommendations__hero-image-wrapper,
  .page-slot-games-popular-recommendations__hero-content,
  .page-slot-games-popular-recommendations__cta-buttons,
  .page-slot-games-popular-recommendations__mobile-content,
  .page-slot-games-popular-recommendations__mobile-text,
  .page-slot-games-popular-recommendations__faq-list,
  .page-slot-games-popular-recommendations__cta-bottom {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }

  .page-slot-games-popular-recommendations__hero-section {
    padding-top: 10px !important;
  }
  .page-slot-games-popular-recommendations__hero-image-wrapper {
    margin-left: -15px;
    margin-right: -15px;
    width: calc(100% + 30px);
  }
  .page-slot-games-popular-recommendations__hero-content {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }
  .page-slot-games-popular-recommendations__mobile-content {
    flex-direction: column;
  }
  .page-slot-games-popular-recommendations__mobile-text {
    text-align: center;
  }
  .page-slot-games-popular-recommendations__btn-text-link {
    text-align: center;
  }
  .page-slot-games-popular-recommendations__steps-list {
    padding-left: 0;
    padding-right: 0;
  }
  .page-slot-games-popular-recommendations__list-item {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .page-slot-games-popular-recommendations__main-title {
    font-size: 1.8em;
  }
  .page-slot-games-popular-recommendations__section-title {
    font-size: 1.6em;
  }
  .page-slot-games-popular-recommendations__hero-content {
    margin-top: -60px;
  }
  .page-slot-games-popular-recommendations__hero-image {
    height: 200px;
  }
  .page-slot-games-popular-recommendations__game-image,
  .page-slot-games-popular-recommendations__promo-image {
    height: 150px;
  }
}