.page-slots {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #1a1a2e; /* Body background from shared, so ensure text contrast */
}

.page-slots__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  min-height: 70vh;
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, #017439, #005f2f);
}

.page-slots__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.3;
}

.page-slots__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}

.page-slots__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-slots__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFFF00; /* Yellow for prominence */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-slots__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-slots__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-slots__btn-primary,
.page-slots__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-slots__btn-primary {
  background-color: #C30808; /* Register/Login button color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-slots__btn-primary:hover {
  background-color: #e00b0b;
  transform: translateY(-3px);
}

.page-slots__btn-secondary {
  background-color: transparent;
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #FFFF00;
}

.page-slots__btn-secondary:hover {
  background-color: #FFFF00;
  color: #C30808;
  transform: translateY(-3px);
}

.page-slots__section {
  padding: 60px 20px;
}

.page-slots__container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-slots__section-title {
  font-size: 2.5em;
  color: #FFFF00; /* Yellow for titles */
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-slots__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 30px;
  text-align: center;
  color: #f0f0f0;
}

.page-slots__intro-section {
  background-color: #1a1a2e; /* Dark background */
  color: #ffffff;
}

.page-slots__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-slots__feature-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slots__feature-item:hover {
  transform: translateY(-10px);
}

.page-slots__feature-icon {
  width: 100%;
  max-width: 250px; /* Ensure images are large enough */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
  min-height: 200px; /* Minimum size */
}

.page-slots__feature-title {
  font-size: 1.8em;
  color: #FFFF00;
  margin-bottom: 15px;
}

.page-slots__feature-item p {
  color: #e0e0e0;
}

.page-slots__game-types-section {
  background: linear-gradient(135deg, #005f2f, #017439);
  color: #ffffff;
}

.page-slots__game-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slots__game-type-card {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-slots__game-type-card:hover {
  transform: translateY(-10px);
}

.page-slots__game-type-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  min-height: 200px; /* Minimum size */
}

.page-slots__game-type-title {
  font-size: 1.6em;
  color: #FFFF00;
  padding: 15px 10px 5px;
}

.page-slots__game-type-card p {
  color: #e0e0e0;
  padding: 0 15px 20px;
  font-size: 0.95em;
}

.page-slots__provider-info {
  margin-top: 50px;
  font-style: italic;
  font-size: 1em;
  color: #c0c0c0;
}

.page-slots__how-to-play-section {
  background-color: #1a1a2e;
  color: #ffffff;
}

.page-slots__step-by-step-guide {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slots__guide-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-slots__guide-number {
  font-size: 3em;
  font-weight: bold;
  color: #FFFF00;
  margin-bottom: 15px;
}

.page-slots__guide-title {
  font-size: 1.7em;
  color: #017439;
  margin-bottom: 15px;
}

.page-slots__guide-item p {
  color: #e0e0e0;
}

.page-slots__inline-link {
  color: #FFFF00;
  text-decoration: underline;
  font-weight: bold;
}

.page-slots__inline-link:hover {
  color: #e00b0b;
}

.page-slots__cta-bottom {
  text-align: center;
  margin-top: 50px;
}

.page-slots__promotions-section {
  background: linear-gradient(135deg, #017439, #005f2f);
  color: #ffffff;
}

.page-slots__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slots__promotion-card {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-slots__promotion-card:hover {
  transform: translateY(-10px);
}

.page-slots__promotion-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  min-height: 200px; /* Minimum size */
}

.page-slots__promotion-title {
  font-size: 1.6em;
  color: #FFFF00;
  padding: 15px 10px 5px;
}

.page-slots__promotion-card p {
  color: #e0e0e0;
  padding: 0 15px 20px;
  font-size: 0.95em;
  flex-grow: 1;
}

.page-slots__btn-small {
  display: inline-block;
  padding: 10px 20px;
  margin-bottom: 20px;
  background-color: #C30808;
  color: #FFFF00;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-slots__btn-small:hover {
  background-color: #e00b0b;
}

.page-slots__security-section {
  background-color: #1a1a2e;
  color: #ffffff;
}

.page-slots__security-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-slots__security-list li {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slots__security-item-title {
  font-size: 1.7em;
  color: #017439;
  margin-bottom: 10px;
}

.page-slots__security-list li p {
  color: #e0e0e0;
}

.page-slots__faq-section {
  background-color: #FFFFFF; /* Light background for FAQ */
  color: #333333; /* Dark text for light background */
}

.page-slots__faq-section .page-slots__section-title {
  color: #017439; /* Brand green for title */
}

.page-slots__faq-list {
  margin-top: 40px;
}

.page-slots__faq-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  background-color: #f9f9f9;
}

.page-slots__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  background-color: #017439;
  color: #ffffff;
  font-weight: bold;
  font-size: 1.1em;
}

.page-slots__faq-question:hover {
  background-color: #005f2f;
}

.page-slots__faq-item-title {
  margin: 0;
  color: inherit; /* Inherit color from parent (.page-slots__faq-question) */
  font-size: 1.1em; /* Match parent font size */
}

.page-slots__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-slots__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #333333; /* Dark text for light background */
  background-color: #ffffff;
}

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

.page-slots__faq-answer p {
  margin: 0;
  color: #333333; /* Dark text for light background */
}

.page-slots__conclusion-section {
  background: linear-gradient(135deg, #005f2f, #017439);
  color: #ffffff;
}

.page-slots__dark-bg {
  color: #ffffff;
}

.page-slots__light-bg {
  color: #333333;
}

@media (max-width: 1024px) {
  .page-slots__hero-title {
    font-size: 2.8em;
  }
  .page-slots__hero-description {
    font-size: 1.1em;
  }
  .page-slots__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-slots__hero-section {
    padding: 60px 15px;
    min-height: 60vh;
  }
  .page-slots__hero-title {
    font-size: 2.2em;
  }
  .page-slots__hero-description {
    font-size: 1em;
  }
  .page-slots__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-slots__btn-primary,
  .page-slots__btn-secondary,
  .page-slots__btn-small {
    padding: 12px 25px;
    font-size: 1em;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-slots__section {
    padding: 40px 15px;
  }
  .page-slots__container {
    padding-left: 0;
    padding-right: 0;
  }
  .page-slots__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-slots__text-block {
    font-size: 0.95em;
  }
  .page-slots__features-grid,
  .page-slots__game-type-grid,
  .page-slots__step-by-step-guide,
  .page-slots__promotions-grid,
  .page-slots__security-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-slots__feature-icon, .page-slots__game-type-image, .page-slots__promotion-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-height: 200px !important;
  }
  .page-slots img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-slots__section,
  .page-slots__card,
  .page-slots__container,
  .page-slots__hero-buttons,
  .page-slots__cta-bottom,
  .page-slots__promotions-grid,
  .page-slots__security-list,
  .page-slots__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
  .page-slots__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-slots__faq-item-title {
    font-size: 1em;
  }
  .page-slots__faq-answer {
    padding: 0 20px;
  }
  .page-slots__faq-item.active .page-slots__faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-slots__hero-title {
    font-size: 1.8em;
  }
  .page-slots__section-title {
    font-size: 1.6em;
  }
}