.page-slot-games {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  line-height: 1.6;
}

.page-slot-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-slot-games__section-title {
  font-size: 2.5rem;
  color: #ffc107;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-slot-games__section-subtitle {
  font-size: 1.2rem;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 40px;
}

.page-slot-games__dark-bg {
  background-color: #001f4d; /* Slightly darker than primary blue for better contrast */
  color: #ffffff;
  padding: 60px 0;
}

.page-slot-games__light-bg {
  background-color: #f8f9fa;
  color: #333333;
  padding: 60px 0;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px);
}

.page-slot-games__hero-background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-slot-games__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-slot-games__hero-title {
  font-size: 3.5rem;
  color: #ffc107;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-slot-games__hero-description {
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__hero-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background-color: #ffc107;
  color: #001f4d;
  border: 2px solid #ffc107;
}

.page-slot-games__btn-primary:hover {
  background-color: #e0a800;
  border-color: #e0a800;
}

.page-slot-games__btn-secondary {
  background-color: transparent;
  color: #ffc107;
  border: 2px solid #ffc107;
}

.page-slot-games__btn-secondary:hover {
  background-color: #ffc107;
  color: #001f4d;
}

/* Content Sections */
.page-slot-games__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-slot-games__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-slot-games__text-content,
.page-slot-games__image-wrapper {
  flex: 1;
  min-width: 300px;
}

.page-slot-games__text-content p {
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.page-slot-games__light-bg .page-slot-games__text-content p {
  color: #333333;
}

.page-slot-games__image-content {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Games Grid */
.page-slot-games__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-slot-games__game-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-slot-games__game-title {
  font-size: 1.5rem;
  color: #ffc107;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-slot-games__game-title a {
  color: #ffc107;
  text-decoration: none;
}

.page-slot-games__game-title a:hover {
  text-decoration: underline;
}

.page-slot-games__game-description {
  font-size: 1rem;
  color: #f0f0f0;
  margin-bottom: 20px;
  padding: 0 15px;
  flex-grow: 1;
}

/* Instructions List */
.page-slot-games__instruction-list {
  list-style-type: decimal;
  padding-left: 20px;
  margin-bottom: 20px;
}

.page-slot-games__instruction-list li {
  margin-bottom: 10px;
  font-size: 1.1rem;
  color: #333333;
}

.page-slot-games__instruction-list li strong {
  color: #007bff;
}

/* Promo Section */
.page-slot-games__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__promo-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  flex: 1 1 50%;
}

.page-slot-games__promo-content {
  flex: 1 1 50%;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-slot-games__promo-content h3 {
  font-size: 2rem;
  color: #ffc107;
  margin-bottom: 15px;
}

.page-slot-games__promo-content p {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 20px;
}

/* Video Section */
.page-slot-games__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  margin-bottom: 30px;
}

.page-slot-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  cursor: pointer;
}

.page-slot-games__video-cta {
  text-align: center;
}

/* FAQ Section */
.page-slot-games__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-slot-games__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  background-color: #007bff;
  transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
  background-color: #0056b3;
}

.page-slot-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
  transform: rotate(45deg);
}

.page-slot-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: rgba(0, 0, 0, 0.3);
  color: #f0f0f0;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

.page-slot-games__faq-answer p {
  margin: 0;
  font-size: 1rem;
}

/* Final CTA Section */
.page-slot-games__final-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-slot-games__hero-title {
    font-size: 3rem;
  }
  .page-slot-games__hero-description {
    font-size: 1.3rem;
  }
  .page-slot-games__section-title {
    font-size: 2rem;
  }
  .page-slot-games__promo-image,
  .page-slot-games__promo-content {
    flex: 1 1 100%;
  }
  .page-slot-games__promo-content {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .page-slot-games {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-slot-games__hero-section {
    height: auto;
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
  }
  .page-slot-games__hero-title {
    font-size: 2.2rem;
  }
  .page-slot-games__hero-description {
    font-size: 1.1rem;
  }
  .page-slot-games__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }
  .page-slot-games__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }
  .page-slot-games__content-wrapper--reverse {
    flex-direction: column;
  }
  .page-slot-games__text-content, .page-slot-games__image-wrapper {
    min-width: unset;
    width: 100%;
  }
  .page-slot-games__image-content {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-slot-games__game-grid {
    grid-template-columns: 1fr;
  }
  .page-slot-games__promo-content {
    padding: 20px;
  }
  .page-slot-games__promo-content h3 {
    font-size: 1.5rem;
  }
  .page-slot-games__video-wrapper {
    padding-bottom: 75%; /* More vertical space for mobile video if needed, or keep 56.25% */
  }
  .page-slot-games__video,
  .page-slot-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-slot-games__video-section {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-slot-games__final-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-slot-games__faq-question {
    font-size: 1.1rem;
    padding: 15px 20px;
  }
  .page-slot-games__faq-answer {
    padding: 0 20px;
  }
  .page-slot-games__faq-item.active .page-slot-games__faq-answer {
    padding: 15px 20px;
  }
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-slot-games__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Adjust if header is different on mobile */
  }
  .page-slot-games__cta-button,
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games a[class*="button"],
  .page-slot-games 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__cta-buttons,
  .page-slot-games__button-group,
  .page-slot-games__btn-container,
  .page-slot-games__final-cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column;
  }
}