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

/* Custom Colors */
:root {
  --color-primary: #11A84E;
  --color-secondary: #22C768;
  --color-button-gradient-start: #2AD16F;
  --color-button-gradient-end: #13994A;
  --color-card-bg: #11271B;
  --color-background: #08160F;
  --color-text-main: #F2FFF6;
  --color-text-secondary: #A7D9B8;
  --color-border: #2E7A4E;
  --color-glow: #57E38D;
  --color-gold: #F2C14E;
  --color-divider: #1E3A2A;
  --color-deep-green: #0A4B2C;
  --color-text-dark: #333333; /* For light backgrounds */
}

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

.page-slot-games-popular-recommendations__dark-bg {
  background-color: var(--color-background);
  color: var(--color-text-main);
}

.page-slot-games-popular-recommendations__light-bg {
  background-color: #ffffff;
  color: var(--color-text-dark);
}

.page-slot-games-popular-recommendations__text-main {
  color: var(--color-text-main);
}

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

.page-slot-games-popular-recommendations__text-dark {
  color: var(--color-text-dark);
}

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

.page-slot-games-popular-recommendations__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
}

.page-slot-games-popular-recommendations__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-slot-games-popular-recommendations__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
  z-index: 1; /* Ensure text is above any background effects */
}

.page-slot-games-popular-recommendations__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--color-text-main);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-slot-games-popular-recommendations__hero-description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: var(--color-text-secondary);
}

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

.page-slot-games-popular-recommendations__btn-primary,
.page-slot-games-popular-recommendations__btn-secondary,
.page-slot-games-popular-recommendations__btn-small,
.page-slot-games-popular-recommendations__btn-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games-popular-recommendations__btn-primary {
  background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(var(--color-button-gradient-end), 0.4);
}

.page-slot-games-popular-recommendations__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--color-button-gradient-end), 0.6);
}

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

.page-slot-games-popular-recommendations__btn-secondary:hover {
  background: var(--color-primary);
  color: #ffffff;
}

.page-slot-games-popular-recommendations__btn-small {
  padding: 8px 20px;
  font-size: 0.9rem;
}

.page-slot-games-popular-recommendations__btn-large {
  padding: 14px 32px;
  font-size: 1.1rem;
}

/* General Sections */
.page-slot-games-popular-recommendations__section {
  padding: 80px 20px;
  text-align: center;
}

.page-slot-games-popular-recommendations__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-slot-games-popular-recommendations__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 25px;
}

.page-slot-games-popular-recommendations__paragraph {
  font-size: 1.05rem;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-slot-games-popular-recommendations__feature-item {
  background-color: var(--color-card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
  border: 1px solid var(--color-border);
}

.page-slot-games-popular-recommendations__feature-item:hover {
  transform: translateY(-5px);
}

.page-slot-games-popular-recommendations__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-slot-games-popular-recommendations__feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.page-slot-games-popular-recommendations__feature-description {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
}

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

.page-slot-games-popular-recommendations__slot-card {
  background-color: var(--color-card-bg);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-slot-games-popular-recommendations__slot-card:hover {
  transform: translateY(-5px);
}

.page-slot-games-popular-recommendations__slot-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-slot-games-popular-recommendations__slot-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-slot-games-popular-recommendations__slot-title a {
  color: var(--color-text-main);
  text-decoration: none;
}

.page-slot-games-popular-recommendations__slot-title a:hover {
  color: var(--color-primary);
}

.page-slot-games-popular-recommendations__slot-description {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-slot-games-popular-recommendations__cta-wrapper {
  margin-top: 50px;
}

/* Tips Grid */
.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 {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-slot-games-popular-recommendations__tip-card:hover {
  transform: translateY(-5px);
}

.page-slot-games-popular-recommendations__tip-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--color-text-dark);
}

.page-slot-games-popular-recommendations__tip-description {
  font-size: 0.95rem;
  color: var(--color-text-dark);
}

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

.page-slot-games-popular-recommendations__faq-item {
  background-color: var(--color-card-bg);
  border-radius: 12px;
  margin-bottom: 15px;
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.page-slot-games-popular-recommendations__faq-item summary {
  list-style: none;
}

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

.page-slot-games-popular-recommendations__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-text-main);
  transition: background-color 0.3s ease;
}

.page-slot-games-popular-recommendations__faq-question:hover {
  background-color: rgba(var(--color-primary), 0.1);
}

.page-slot-games-popular-recommendations__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--color-primary);
  margin-left: 15px;
}

.page-slot-games-popular-recommendations__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

/* Final CTA Section */
.page-slot-games-popular-recommendations__cta-section {
  padding: 100px 20px;
  background-color: var(--color-deep-green);
  text-align: center;
}

.page-slot-games-popular-recommendations__cta-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  background-color: var(--color-card-bg);
  border-radius: 15px;
  padding: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--color-border);
}

.page-slot-games-popular-recommendations__cta-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games-popular-recommendations__cta-content {
  max-width: 700px;
}

.page-slot-games-popular-recommendations__cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--color-text-main);
}

.page-slot-games-popular-recommendations__cta-description {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  margin-bottom: 30px;
}

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

@media (max-width: 768px) {
  .page-slot-games-popular-recommendations__hero-section,
  .page-slot-games-popular-recommendations__section,
  .page-slot-games-popular-recommendations__cta-section {
    padding: 40px 15px;
  }

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

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

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

  .page-slot-games-popular-recommendations__btn-primary,
  .page-slot-games-popular-recommendations__btn-secondary,
  .page-slot-games-popular-recommendations a[class*="button"],
  .page-slot-games-popular-recommendations a[class*="btn"] {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1rem !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

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

  .page-slot-games-popular-recommendations__feature-item,
  .page-slot-games-popular-recommendations__slot-card,
  .page-slot-games-popular-recommendations__tip-card {
    padding: 20px;
  }

  .page-slot-games-popular-recommendations__slot-image {
    height: 180px;
  }

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

  .page-slot-games-popular-recommendations__faq-answer {
    font-size: 0.95rem;
    padding: 0 20px 15px 20px;
  }

  .page-slot-games-popular-recommendations__cta-container {
    padding: 30px;
  }

  .page-slot-games-popular-recommendations__cta-title {
    font-size: 1.8rem;
  }

  .page-slot-games-popular-recommendations__cta-description {
    font-size: 1rem;
  }

  /* Mobile image responsiveness */
  .page-slot-games-popular-recommendations img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-slot-games-popular-recommendations__hero-image-wrapper,
  .page-slot-games-popular-recommendations__section,
  .page-slot-games-popular-recommendations__card,
  .page-slot-games-popular-recommendations__container,
  .page-slot-games-popular-recommendations__cta-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-slot-games-popular-recommendations__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  /* If multiple buttons horizontally, allow wrapping */
  .page-slot-games-popular-recommendations__cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .page-slot-games-popular-recommendations__main-title {
    font-size: 1.8rem;
  }

  .page-slot-games-popular-recommendations__section-title {
    font-size: 1.6rem;
  }

  .page-slot-games-popular-recommendations__feature-title,
  .page-slot-games-popular-recommendations__slot-title,
  .page-slot-games-popular-recommendations__tip-title {
    font-size: 1.3rem;
  }

  .page-slot-games-popular-recommendations__hero-section,
  .page-slot-games-popular-recommendations__section,
  .page-slot-games-popular-recommendations__cta-section {
    padding: 30px 10px;
  }

  .page-slot-games-popular-recommendations__hero-content,
  .page-slot-games-popular-recommendations__content-area,
  .page-slot-games-popular-recommendations__faq-list,
  .page-slot-games-popular-recommendations__cta-container {
    padding-left: 10px;
    padding-right: 10px;
  }
}