.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: var(--dark-bg-1); /* Inherited from shared.css */
}

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

.page-slot-games__section {
  padding: 60px 0;
  text-align: center;
  background-color: var(--dark-bg-1);
  color: #f0f0f0;
}

.page-slot-games__dark-section {
  background-color: #017439; /* Brand primary color for dark sections */
  color: #ffffff;
}

.page-slot-games__hero-section {
  position: relative;
  padding: 120px 0 60px; /* Adjusted padding-top for fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #ffffff;
  background-color: #017439; /* Ensure dark background for hero */
}

.page-slot-games__hero-content {
  z-index: 1;
  max-width: 800px;
  margin-bottom: 40px;
}

.page-slot-games__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFF00; /* Register/Login font color for main title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-slot-games__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-slot-games__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.2;
  z-index: 0;
}

.page-slot-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(50%); /* Subtle filter to make text pop, not changing color */
}

.page-slot-games__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  color: #FFFF00;
}

.page-slot-games__sub-title {
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 20px;
  color: #ffffff; /* Default for dark sections, or #017439 for light sections */
}

.page-slot-games__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__inline-link {
  color: #FFFF00; /* Yellow for inline links */
  text-decoration: underline;
}

.page-slot-games__inline-link:hover {
  color: #ffffff;
}

.page-slot-games__btn-primary {
  display: inline-block;
  background-color: #C30808; /* Register/Login button color */
  color: #FFFF00; /* Register/Login font color */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-slot-games__btn-primary:hover {
  background-color: #a00606;
  transform: translateY(-2px);
}

.page-slot-games__game-grid, .page-slot-games__steps-grid, .page-slot-games__promo-cards, .page-slot-games__strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-slot-games__game-card, .page-slot-games__step-card, .page-slot-games__promo-card, .page-slot-games__strategy-item {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for cards on dark background */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #f0f0f0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-slot-games__game-card:hover, .page-slot-games__step-card:hover, .page-slot-games__promo-card:hover, .page-slot-games__strategy-item:hover {
  transform: translateY(-10px);
}

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

.page-slot-games__card-title {
  font-size: 1.4em;
  margin-bottom: 15px;
  color: #FFFF00; /* Title color for cards */
}

.page-slot-games__card-title a {
  color: inherit; /* Inherit color from parent */
  text-decoration: none;
}

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

.page-slot-games__card-description {
  font-size: 1em;
  color: #e0e0e0;
  flex-grow: 1;
}

.page-slot-games__step-title {
  font-size: 1.5em;
  color: #FFFF00;
  margin-bottom: 15px;
}

.page-slot-games__step-description {
  font-size: 1em;
  color: #e0e0e0;
}

.page-slot-games__strategy-title {
  font-size: 1.5em;
  color: #FFFF00;
  margin-bottom: 15px;
}

.page-slot-games__strategy-description {
  font-size: 1em;
  color: #e0e0e0;
}

.page-slot-games__mobile-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

.page-slot-games__mobile-text {
  flex: 1;
}

.page-slot-games__mobile-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-slot-games__mobile-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-slot-games__list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-slot-games__list-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 10px 15px;
  margin-bottom: 10px;
  border-radius: 5px;
  text-align: left;
  color: #f0f0f0;
}

.page-slot-games__list-item strong {
  color: #FFFF00;
}

.page-slot-games__download-btn {
  margin-top: 20px;
}

.page-slot-games__faq-section {
  background-color: var(--dark-bg-1);
  color: #f0f0f0;
}

.page-slot-games__faq-list {
  max-width: 800px;
  margin: 40px auto 0;
  text-align: left;
}

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

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-slot-games__faq-title {
  font-size: 1.2em;
  margin: 0;
  color: #FFFF00;
}

.page-slot-games__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #FFFF00;
  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;
  color: #e0e0e0;
}

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

.page-slot-games__final-cta {
  margin-top: 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-slot-games__main-title {
    font-size: 3em;
  }
  .page-slot-games__section-title {
    font-size: 2em;
  }
  .page-slot-games__mobile-content {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    padding-bottom: 40px;
  }
  .page-slot-games__main-title {
    font-size: 2.2em;
  }
  .page-slot-games__hero-description {
    font-size: 1em;
  }
  .page-slot-games__section-title {
    font-size: 1.8em;
  }
  .page-slot-games__sub-title {
    font-size: 1.5em;
  }
  .page-slot-games__text-block, .page-slot-games__card-description, .page-slot-games__step-description, .page-slot-games__strategy-description, .page-slot-games__list-item {
    font-size: 0.95em;
  }
  .page-slot-games__game-grid, .page-slot-games__steps-grid, .page-slot-games__promo-cards, .page-slot-games__strategy-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-slot-games__container {
    padding: 0 15px;
  }
  .page-slot-games__btn-primary {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-slot-games__download-btn {
    margin-top: 20px;
  }
  .page-slot-games__card-image, .page-slot-games__mobile-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-slot-games__section,
  .page-slot-games__game-card,
  .page-slot-games__step-card,
  .page-slot-games__promo-card,
  .page-slot-games__strategy-item,
  .page-slot-games__mobile-content,
  .page-slot-games__faq-list,
  .page-slot-games__faq-item,
  .page-slot-games__hero-section .page-slot-games__hero-content,
  .page-slot-games__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-slot-games__faq-question {
    padding: 15px 20px;
  }
  .page-slot-games__faq-answer {
    padding: 0 20px;
  }
  .page-slot-games__faq-item.active .page-slot-games__faq-answer {
    padding: 10px 20px;
  }
}