.page-slot-games {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark background */
  background-color: var(--primary-color, #1A202C);
}

.page-slot-games__dark-bg {
  background-color: var(--primary-color, #1A202C);
  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;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  overflow: hidden;
  min-height: 600px;
}

.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;
  filter: brightness(0.5); /* Darken image for text readability */
}

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

.page-slot-games__hero-title {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--secondary-color, #FFD700);
  line-height: 1.2;
}

.page-slot-games__hero-description {
  font-size: 1.3rem;
  line-height: 1.6;
  margin-bottom: 40px;
  color: #f0f0f0;
}

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

.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: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-slot-games__btn-primary {
  background-color: var(--secondary-color, #FFD700);
  color: #1A202C;
}

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

.page-slot-games__btn-secondary {
  background-color: #1A202C;
  color: var(--secondary-color, #FFD700);
  border-color: var(--secondary-color, #FFD700);
}

.page-slot-games__btn-secondary:hover {
  background-color: var(--secondary-color, #FFD700);
  color: #1A202C;
}

.page-slot-games__btn-small {
  padding: 10px 20px;
  font-size: 1rem;
}

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

.page-slot-games__cta-buttons--center {
  margin-top: 30px;
}

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

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

.page-slot-games__intro-section .page-slot-games__section-title,
.page-slot-games__why-choose-section .page-slot-games__section-title,
.page-slot-games__conclusion-section .page-slot-games__section-title {
  color: #1A202C;
}

.page-slot-games__game-types-section .page-slot-games__section-title,
.page-slot-games__guide-section .page-slot-games__section-title,
.page-slot-games__faq-section .page-slot-games__section-title {
  color: var(--secondary-color, #FFD700);
}

.page-slot-games__section-description {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__intro-section .page-slot-games__section-description {
  color: #555555;
}

.page-slot-games__game-types-section .page-slot-games__section-description,
.page-slot-games__guide-section .page-slot-games__section-description,
.page-slot-games__faq-section .page-slot-games__section-description {
  color: #f0f0f0;
}

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

.page-slot-games__text-block {
  flex: 1;
}

.page-slot-games__image-block {
  flex: 1;
  text-align: center;
}

.page-slot-games__sub-title {
  font-size: 1.8rem;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #1A202C;
}

.page-slot-games__text-block p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 15px;
  color: #333333;
}

.page-slot-games__image-responsive {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.page-slot-games__game-grid,
.page-slot-games__features-grid,
.page-slot-games__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

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

.page-slot-games__game-types-section .page-slot-games__game-card {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-slot-games__guide-section .page-slot-games__step-card {
  background-color: rgba(255, 255, 255, 0.1);
}

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

.page-slot-games__card-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--secondary-color, #FFD700);
  padding: 0 15px;
}

.page-slot-games__card-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #f0f0f0;
  padding: 0 15px;
  flex-grow: 1;
}

.page-slot-games__step-card .page-slot-games__btn-primary {
  margin-top: 15px;
  align-self: center;
}

.page-slot-games__feature-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: left;
}

.page-slot-games__feature-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--primary-color, #1A202C);
}

.page-slot-games__feature-item p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555555;
}

.page-slot-games__strategy-list {
  list-style: none;
  padding: 0;
}

.page-slot-games__list-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  margin-bottom: 20px;
}

.page-slot-games__list-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--primary-color, #1A202C);
}

.page-slot-games__list-item p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555555;
}

.page-slot-games__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-slot-games__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-slot-games__faq-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: #ffffff;
  margin: 0;
}

.page-slot-games__faq-toggle {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--secondary-color, #FFD700);
  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;
}

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

.page-slot-games__faq-answer p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #f0f0f0;
}

.page-slot-games__conclusion-section .page-slot-games__conclusion-text {
  font-size: 1.2rem;
  line-height: 1.8;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #333333;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-slot-games__hero-title {
    font-size: 3rem;
  }

  .page-slot-games__hero-description {
    font-size: 1.1rem;
  }

  .page-slot-games__section-title {
    font-size: 2rem;
  }

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

  .page-slot-games__text-block, .page-slot-games__image-block {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-slot-games__hero-title {
    font-size: 2.2rem;
  }

  .page-slot-games__hero-description {
    font-size: 1rem;
  }

  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-slot-games__container {
    padding: 30px 15px;
  }

  .page-slot-games__section-title {
    font-size: 1.8rem;
  }

  .page-slot-games__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .page-slot-games__sub-title,
  .page-slot-games__feature-title,
  .page-slot-games__list-title,
  .page-slot-games__card-title {
    font-size: 1.3rem;
  }

  .page-slot-games__text-block p,
  .page-slot-games__feature-item p,
  .page-slot-games__list-item p,
  .page-slot-games__card-text,
  .page-slot-games__faq-answer p {
    font-size: 0.95rem;
  }

  .page-slot-games img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-slot-games__image-block,
  .page-slot-games__game-card,
  .page-slot-games__step-card,
  .page-slot-games__feature-item,
  .page-slot-games__list-item,
  .page-slot-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  .page-slot-games__game-grid,
  .page-slot-games__features-grid,
  .page-slot-games__steps-grid {
    grid-template-columns: 1fr;
  }

  .page-slot-games__faq-question {
    padding: 15px 20px;
  }

  .page-slot-games__faq-title {
    font-size: 1.1rem;
  }

  .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__conclusion-text {
    font-size: 1rem;
  }
}