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

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

.page-slot-games__dark-bg {
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-slot-games__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
  overflow: hidden;
}

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

.page-slot-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
}

.page-slot-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #26A9E0;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

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

.page-slot-games__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #26A9E0;
  padding-top: 40px;
}

.page-slot-games__light-bg .page-slot-games__section-title {
  color: #26A9E0;
}

.page-slot-games__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

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

.page-slot-games__dark-bg .page-slot-games__text-block {
  color: #f0f0f0;
}

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

.page-slot-games__card {
  background-color: #1a1a1a; /* Darker background for cards on dark sections */
  color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__light-bg .page-slot-games__card {
  background-color: #ffffff;
  color: #333333;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-slot-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__card-image,
.page-slot-games__promo-image,
.page-slot-games__mobile-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-slot-games__card-title,
.page-slot-games__promo-title,
.page-slot-games__step-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-slot-games__card-description,
.page-slot-games__promo-description,
.page-slot-games__step-description {
  font-size: 1em;
  color: #f0f0f0;
}

.page-slot-games__light-bg .page-slot-games__card-description,
.page-slot-games__light-bg .page-slot-games__promo-description,
.page-slot-games__light-bg .page-slot-games__step-description {
  color: #333333;
}

.page-slot-games__ordered-list,
.page-slot-games__unordered-list,
.page-slot-games__benefits-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-slot-games__ordered-list li,
.page-slot-games__unordered-list li,
.page-slot-games__benefits-list li {
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 10px;
  padding: 15px 20px;
  border-left: 5px solid #26A9E0;
  border-radius: 5px;
  font-size: 1.05em;
  color: #f0f0f0;
}

.page-slot-games__light-bg .page-slot-games__ordered-list li,
.page-slot-games__light-bg .page-slot-games__unordered-list li,
.page-slot-games__light-bg .page-slot-games__benefits-list li {
  background: #f9f9f9;
  color: #333333;
}

.page-slot-games__ordered-list li strong,
.page-slot-games__unordered-list li strong,
.page-slot-games__benefits-list li strong {
  color: #26A9E0;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  margin: 10px;
  box-sizing: border-box;
}

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

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

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

.page-slot-games__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-slot-games__btn-large {
  padding: 18px 35px;
  font-size: 1.2em;
}

.page-slot-games__cta-buttons {
  text-align: center;
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.page-slot-games__text-center {
  text-align: center;
}

.page-slot-games__flex-wrapper {
  display: flex;
  align-items: center;
  gap: 50px;
}

.page-slot-games__flex-wrapper .page-slot-games__text-content {
  flex: 1;
}

.page-slot-games__flex-wrapper .page-slot-games__image-content {
  flex: 1;
  text-align: center;
}

.page-slot-games__faq-section {
  padding-bottom: 60px;
}

.page-slot-games__faq-list {
  margin-top: 30px;
}

.page-slot-games__faq-item {
  background-color: #f9f9f9;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-slot-games__dark-bg .page-slot-games__faq-item {
  background-color: #1a1a1a;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #26A9E0;
  background-color: #ffffff;
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s ease;
}

.page-slot-games__dark-bg .page-slot-games__faq-question {
  background-color: #0d0d0d;
  color: #26A9E0;
  border-bottom: 1px solid #333;
}

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

.page-slot-games__dark-bg .page-slot-games__faq-question:hover {
  background-color: #1a1a1a;
}

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  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 20px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

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

.page-slot-games__faq-answer p {
  margin-bottom: 0;
  color: #333333;
}

.page-slot-games__dark-bg .page-slot-games__faq-answer p {
  color: #f0f0f0;
}

.page-slot-games__highlight {
  color: #EA7C07;
  font-weight: bold;
}

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

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

/* Responsive Design */
@media (max-width: 992px) {
  .page-slot-games__hero-title {
    font-size: 2.8em;
  }
  .page-slot-games__section-title {
    font-size: 2em;
  }
  .page-slot-games__flex-wrapper {
    flex-direction: column;
  }
  .page-slot-games__flex-wrapper .page-slot-games__image-content {
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    min-height: 500px;
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile header spacing */
  }
  .page-slot-games__hero-title {
    font-size: 2.2em;
  }
  .page-slot-games__hero-description {
    font-size: 1em;
  }
  .page-slot-games__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-slot-games__text-block {
    font-size: 1em;
  }
  .page-slot-games__card-grid,
  .page-slot-games__promo-grid,
  .page-slot-games__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-slot-games__ordered-list li,
  .page-slot-games__unordered-list li,
  .page-slot-games__benefits-list li {
    padding: 10px 15px;
    font-size: 0.95em;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 5px 0;
  }
  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .page-slot-games__container {
    padding: 15px;
  }

  /* Mobile image responsiveness */
  .page-slot-games img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__hero-image-wrapper,
  .page-slot-games__text-content,
  .page-slot-games__image-content,
  .page-slot-games__promo-card,
  .page-slot-games__step-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }
  .page-slot-games__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-slot-games__faq-answer {
    padding: 15px;
    padding-top: 0;
  }
  .page-slot-games__faq-item.active .page-slot-games__faq-answer {
    padding: 15px !important;
    padding-top: 0 !important;
  }
}