:root {
  --primary-color: #1A2E44;
  --secondary-color: #FFD700;
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-dark: #121212;
  --background-light: #f9f9f9;
  --border-color: #e0e0e0;
}

.page-slot-games-popular-slots-review {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Base text color for dark body background */
  background-color: var(--background-dark); /* Ensure consistency if main background is dark */
  padding-top: 120px; /* General padding for fixed header on desktop */
}

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

/* Video Section Styles */
.page-slot-games-popular-slots-review__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Desktop: Adjust based on fixed header height */
  box-sizing: border-box;
}

.page-slot-games-popular-slots-review__video-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.page-slot-games-popular-slots-review__video-link {
  display: block;
  text-decoration: none;
  position: relative;
  width: 100%;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 8px;
  overflow: hidden;
}

.page-slot-games-popular-slots-review__video-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.page-slot-games-popular-slots-review__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-slot-games-popular-slots-review__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
  object-fit: cover;
  pointer-events: none; /* Prevents video controls from blocking click event on parent <a> */
}

.page-slot-games-popular-slots-review__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.page-slot-games-popular-slots-review__video-link:hover .page-slot-games-popular-slots-review__video-overlay {
  opacity: 1;
}

.page-slot-games-popular-slots-review__video-click-hint {
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  padding: 10px 20px;
  background: rgba(var(--secondary-color-rgb, 255, 215, 0), 0.8);
  border-radius: 5px;
  white-space: nowrap;
}

.page-slot-games-popular-slots-review__video-cta {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.page-slot-games-popular-slots-review__play-now-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
}

.page-slot-games-popular-slots-review__play-now-button:hover {
  background: #0056b3; /* Darker shade of primary for hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-slot-games-popular-slots-review__play-now-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Title Section (Module 1) */
.page-slot-games-popular-slots-review__title-section {
  padding: 80px 20px;
  text-align: center;
  box-sizing: border-box;
}

.page-slot-games-popular-slots-review__title-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-slot-games-popular-slots-review__main-title {
  font-size: 3.2em;
  color: var(--secondary-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-slot-games-popular-slots-review__title-description {
  font-size: 1.2em;
  color: var(--text-light);
  margin-bottom: 40px;
}

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

.page-slot-games-popular-slots-review__cta-button {
  display: inline-block;
  padding: 15px 35px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
}

.page-slot-games-popular-slots-review__btn-primary {
  background: var(--secondary-color);
  color: var(--primary-color);
}

.page-slot-games-popular-slots-review__btn-primary:hover {
  background: #e6c200; /* Slightly darker gold */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

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

.page-slot-games-popular-slots-review__btn-secondary:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* General Content Area */
.page-slot-games-popular-slots-review__content-area {
  padding-top: 60px; /* Additional padding for content after video/hero */
}

.page-slot-games-popular-slots-review__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
  color: var(--secondary-color);
}

.page-slot-games-popular-slots-review p {
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-slot-games-popular-slots-review__list,
.page-slot-games-popular-slots-review__ordered-list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  padding-left: 0;
}

.page-slot-games-popular-slots-review__ordered-list {
  list-style-type: decimal;
}

.page-slot-games-popular-slots-review__list-item {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-slot-games-popular-slots-review__image-full {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: block;
}

.page-slot-games-popular-slots-review__image-content {
  max-width: 80%;
  height: auto;
  border-radius: 8px;
  margin: 30px auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: block;
}

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

.page-slot-games-popular-slots-review__card {
  background: rgba(255, 255, 255, 0.05); /* Slightly transparent white for dark background */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: var(--text-light); /* Ensure light text on dark card background */
}

.page-slot-games-popular-slots-review__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-slot-games-popular-slots-review__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-slot-games-popular-slots-review__card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-slot-games-popular-slots-review__card-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-slot-games-popular-slots-review__card-title a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-slot-games-popular-slots-review__card-title a:hover {
  color: #e6c200;
  text-decoration: underline;
}

.page-slot-games-popular-slots-review__card-button {
  margin-top: 20px;
  align-self: flex-start;
}

/* FAQ Section (Module 2) */
.page-slot-games-popular-slots-review__faq-section {
  padding: 80px 20px;
  box-sizing: border-box;
}

.page-slot-games-popular-slots-review__faq-list {
  margin-top: 40px;
}

.page-slot-games-popular-slots-review__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  background: var(--background-dark); /* Ensure dark background for item */
}

.page-slot-games-popular-slots-review__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--primary-color); /* Dark background for question */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--text-light);
}

.page-slot-games-popular-slots-review__faq-question:hover {
  background: #2A425A; /* Slightly lighter primary for hover */
  border-color: rgba(255, 255, 255, 0.2);
}

.page-slot-games-popular-slots-review__faq-question:active {
  background: #1A2E44;
}

.page-slot-games-popular-slots-review__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.15em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--text-light);
}

.page-slot-games-popular-slots-review__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-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-popular-slots-review__faq-item.active .page-slot-games-popular-slots-review__faq-toggle {
  color: #fff;
  transform: rotate(180deg);
}

.page-slot-games-popular-slots-review__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.3s ease;
  padding: 0 20px;
  opacity: 0;
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.03); /* Lighter background for answer */
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-top: none;
  border-radius: 0 0 5px 5px;
}

.page-slot-games-popular-slots-review__faq-item.active .page-slot-games-popular-slots-review__faq-answer {
  max-height: 2000px !important; /* Sufficiently large value */
  padding: 20px !important;
  opacity: 1;
}

/* Brand Section (Module 3) */
.page-slot-games-popular-slots-review__brand-section {
  padding: 80px 20px;
  box-sizing: border-box;
}

.page-slot-games-popular-slots-review__brand-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  text-align: center;
  color: var(--primary-color); /* Dark text on light background */
}

.page-slot-games-popular-slots-review__brand-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-slot-games-popular-slots-review__brand-item {
  background: #ffffff; /* Light background for brand items */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  color: var(--text-dark); /* Dark text on light background */
}

.page-slot-games-popular-slots-review__brand-item h3 {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

/* Blog Section (Module 4) */
.page-slot-games-popular-slots-review__blog-section {
  padding: 80px 20px;
  box-sizing: border-box;
}

.page-slot-games-popular-slots-review__blog-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  text-align: center;
  color: var(--secondary-color);
}

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

.page-slot-games-popular-slots-review__blog-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-light);
}

.page-slot-games-popular-slots-review__blog-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-slot-games-popular-slots-review__blog-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.page-slot-games-popular-slots-review__blog-item-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-slot-games-popular-slots-review__blog-item-content {
  padding: 25px;
}

.page-slot-games-popular-slots-review__blog-item-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: var(--secondary-color);
  transition: color 0.3s ease;
}

.page-slot-games-popular-slots-review__blog-link:hover .page-slot-games-popular-slots-review__blog-item-title {
  color: #e6c200;
}

.page-slot-games-popular-slots-review__blog-item-excerpt {
  font-size: 0.95em;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 15px;
}

.page-slot-games-popular-slots-review__blog-item-date {
  font-size: 0.85em;
  color: rgba(255, 255, 255, 0.6);
  display: block;
}

.page-slot-games-popular-slots-review__cta-buttons--centered {
  justify-content: center;
  margin-top: 30px;
}

/* Color Contrast Specifics */
.page-slot-games-popular-slots-review__dark-section {
  background: var(--primary-color);
  color: var(--text-light);
}

.page-slot-games-popular-slots-review__light-bg {
  background: var(--background-light);
  color: var(--text-dark);
}

.page-slot-games-popular-slots-review__light-bg .page-slot-games-popular-slots-review__section-title,
.page-slot-games-popular-slots-review__light-bg h2,
.page-slot-games-popular-slots-review__light-bg h3 {
  color: var(--primary-color);
}

.page-slot-games-popular-slots-review__light-bg p,
.page-slot-games-popular-slots-review__light-bg li {
  color: var(--text-dark);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games-popular-slots-review__main-title {
    font-size: 2.8em;
  }

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

  .page-slot-games-popular-slots-review__card-title {
    font-size: 1.4em;
  }
}

@media (max-width: 768px) {
  .page-slot-games-popular-slots-review {
    padding-top: 100px !important; /* Mobile: Adjust based on fixed header height */
  }

  .page-slot-games-popular-slots-review__container,
  .page-slot-games-popular-slots-review__video-section,
  .page-slot-games-popular-slots-review__video-container,
  .page-slot-games-popular-slots-review__video-link,
  .page-slot-games-popular-slots-review__video-wrapper,
  .page-slot-games-popular-slots-review__video-cta,
  .page-slot-games-popular-slots-review__title-section,
  .page-slot-games-popular-slots-review__faq-section,
  .page-slot-games-popular-slots-review__brand-section,
  .page-slot-games-popular-slots-review__blog-section {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Override video-section padding-top for mobile */
  .page-slot-games-popular-slots-review__video-section {
    padding-top: 10px !important; /* Mobile: Ensure it's not covered by fixed header */
    padding-bottom: 40px;
  }

  .page-slot-games-popular-slots-review__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain; /* Ensure video is fully visible */
  }

  .page-slot-games-popular-slots-review__play-now-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 30px !important;
    font-size: 16px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

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

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

  .page-slot-games-popular-slots-review__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 25px;
    font-size: 1em;
    white-space: normal;
    word-wrap: break-word;
  }

  .page-slot-games-popular-slots-review__section-title,
  .page-slot-games-popular-slots-review__brand-title,
  .page-slot-games-popular-slots-review__blog-title {
    font-size: 1.8em;
  }

  .page-slot-games-popular-slots-review__grid {
    grid-template-columns: 1fr;
  }

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

  .page-slot-games-popular-slots-review__card-title {
    font-size: 1.2em;
  }

  .page-slot-games-popular-slots-review__faq-question {
    padding: 15px;
  }

  .page-slot-games-popular-slots-review__faq-question h3 {
    font-size: 1em;
  }

  .page-slot-games-popular-slots-review__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }

  .page-slot-games-popular-slots-review__faq-item.active .page-slot-games-popular-slots-review__faq-answer {
    padding: 15px !important;
  }

  .page-slot-games-popular-slots-review__brand-item h3 {
    font-size: 1.4em;
  }

  .page-slot-games-popular-slots-review__blog-item-image {
    height: 180px;
  }

  .page-slot-games-popular-slots-review__blog-item-title {
    font-size: 1.2em;
  }

  /* Image responsive specific rules */
  .page-slot-games-popular-slots-review img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-slot-games-popular-slots-review__image-full,
  .page-slot-games-popular-slots-review__image-content {
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .page-slot-games-popular-slots-review__card-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

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

  .page-slot-games-popular-slots-review__section-title,
  .page-slot-games-popular-slots-review__brand-title,
  .page-slot-games-popular-slots-review__blog-title {
    font-size: 1.5em;
  }

  .page-slot-games-popular-slots-review__video-click-hint {
    font-size: 14px;
    padding: 8px 16px;
  }
}