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

/* Base styles for the page content, ensuring light text on dark body background */
.page-slot-games-popular-recommendations {
  color: #ffffff; /* Default text color for the page */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-slot-games-popular-recommendations__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-slot-games-popular-recommendations__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  color: #ffffff;
}

.page-slot-games-popular-recommendations__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-slot-games-popular-recommendations__hero-description {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-slot-games-popular-recommendations__btn-primary,
.page-slot-games-popular-recommendations__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  box-sizing: border-box;
}

.page-slot-games-popular-recommendations__btn-primary {
  background: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-slot-games-popular-recommendations__btn-primary:hover {
  background: #1e87b8;
  border-color: #1e87b8;
}

.page-slot-games-popular-recommendations__btn-secondary {
  background: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-slot-games-popular-recommendations__btn-secondary:hover {
  background: #e0e0e0;
  color: #1e87b8;
  border-color: #1e87b8;
}

/* Video Section */
.page-slot-games-popular-recommendations__video-section {
  padding: 60px 20px;
  text-align: center;
  background: #0a0a0a;
  color: #ffffff;
  box-sizing: border-box;
}

.page-slot-games-popular-recommendations__section-header {
  margin-bottom: 40px;
}

.page-slot-games-popular-recommendations__section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-slot-games-popular-recommendations__section-description {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
  color: #f0f0f0;
}

.page-slot-games-popular-recommendations__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  margin: 0 auto;
  background: #000;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  width: 100%; /* Ensure desktop width is 100% */
  max-width: 1000px; /* Max width for the video wrapper */
  box-sizing: border-box;
}

.page-slot-games-popular-recommendations__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  cursor: pointer;
}

/* Content Area */
.page-slot-games-popular-recommendations__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background: #0a0a0a; /* Ensure content background matches body */
  color: #ffffff; /* Light text for dark background */
  box-sizing: border-box;
}

.page-slot-games-popular-recommendations__text-block {
  margin-bottom: 20px;
  font-size: 1.05rem;
  color: #f0f0f0;
}

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

.page-slot-games-popular-recommendations__game-card {
  background: rgba(255, 255, 255, 0.08); /* Slightly transparent white for cards */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
}

.page-slot-games-popular-recommendations__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Min image size */
  min-height: 200px; /* Min image size */
}

.page-slot-games-popular-recommendations__game-title {
  font-size: 1.5rem;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-slot-games-popular-recommendations__game-description {
  font-size: 0.95rem;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-slot-games-popular-recommendations__btn-small {
  display: inline-block;
  padding: 10px 20px;
  background: #EA7C07; /* Login color for small buttons */
  color: #ffffff;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  box-sizing: border-box;
}

.page-slot-games-popular-recommendations__btn-small:hover {
  background: #d46f06;
}

.page-slot-games-popular-recommendations__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-slot-games-popular-recommendations__feature-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: #ffffff;
}

.page-slot-games-popular-recommendations__feature-title {
  font-size: 1.4rem;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-slot-games-popular-recommendations__feature-description a {
  color: #26A9E0;
  text-decoration: none;
}

.page-slot-games-popular-recommendations__feature-description a:hover {
  text-decoration: underline;
}

.page-slot-games-popular-recommendations__guide-list,
.page-slot-games-popular-recommendations__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-slot-games-popular-recommendations__guide-item,
.page-slot-games-popular-recommendations__tips-item {
  background: rgba(255, 255, 255, 0.08);
  border-left: 5px solid #26A9E0;
  border-radius: 0 10px 10px 0;
  padding: 20px 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-slot-games-popular-recommendations__guide-step-title,
.page-slot-games-popular-recommendations__tips-title {
  font-size: 1.3rem;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-slot-games-popular-recommendations__guide-step-description,
.page-slot-games-popular-recommendations__tips-description {
  font-size: 1rem;
  color: #f0f0f0;
}

.page-slot-games-popular-recommendations__faq-container {
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-slot-games-popular-recommendations__faq-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-slot-games-popular-recommendations__faq-item summary {
  list-style: none; /* Remove default marker */
}

.page-slot-games-popular-recommendations__faq-item summary::-webkit-details-marker {
  display: none; /* Hide Chrome default marker */
}

.page-slot-games-popular-recommendations__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #26A9E0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.page-slot-games-popular-recommendations__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.page-slot-games-popular-recommendations__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
}

.page-slot-games-popular-recommendations__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: #f0f0f0;
}

.page-slot-games-popular-recommendations__bottom-cta {
  text-align: center;
  margin-top: 50px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-slot-games-popular-recommendations {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-slot-games-popular-recommendations__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
    min-height: 400px;
  }

  .page-slot-games-popular-recommendations__main-title {
    font-size: 2.2rem; /* Adjusted for mobile */
  }

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

  .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 a[class*="button"],
  .page-slot-games-popular-recommendations a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games-popular-recommendations__cta-buttons,
  .page-slot-games-popular-recommendations__button-group,
  .page-slot-games-popular-recommendations__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-slot-games-popular-recommendations__video-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-slot-games-popular-recommendations__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }

  .page-slot-games-popular-recommendations video,
  .page-slot-games-popular-recommendations__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-slot-games-popular-recommendations__content-area,
  .page-slot-games-popular-recommendations__section,
  .page-slot-games-popular-recommendations__card,
  .page-slot-games-popular-recommendations__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-slot-games-popular-recommendations__game-image {
    height: auto;
  }

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

  .page-slot-games-popular-recommendations__faq-answer {
    padding: 15px 20px;
  }

  /* Ensure all images are responsive on mobile */
  .page-slot-games-popular-recommendations img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
}

/* Ensure content area images (not header/footer) respect min-width 200px */
.page-slot-games-popular-recommendations__content-area img,
.page-slot-games-popular-recommendations__game-image {
  min-width: 200px;
  min-height: 200px;
}

/* Contrast fixes for light text on dark background */
.page-slot-games-popular-recommendations__dark-bg {
  background: #0a0a0a;
  color: #ffffff;
}

.page-slot-games-popular-recommendations__light-bg {
  background: #0a0a0a; /* Still dark background for consistency with body */
  color: #ffffff;
}

.page-slot-games-popular-recommendations__card {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.page-slot-games-popular-recommendations__feature-item {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.page-slot-games-popular-recommendations__guide-item,
.page-slot-games-popular-recommendations__tips-item {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.page-slot-games-popular-recommendations__faq-item {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.page-slot-games-popular-recommendations__faq-question {
  background: rgba(255, 255, 255, 0.15);
  color: #26A9E0;
}