.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__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px 40px;
  min-height: 600px;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  background: linear-gradient(135deg, #1A202C 0%, #0a0a0a 100%);
}

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

.page-slot-games__main-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.page-slot-games__hero-description {
  font-size: 1.25em;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-slot-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability */
  transform: scale(1.1);
}

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

.page-slot-games__hero-section .page-slot-games__hero-content {
  z-index: 1;
}

.page-slot-games__section {
  padding: 60px 20px;
}

.page-slot-games__dark-bg {
  background: #1A202C;
  color: #ffffff;
}

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

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

.page-slot-games__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

.page-slot-games__sub-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-slot-games__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #e0e0e0;
}

.page-slot-games__text-block a {
  color: #FFD700;
  text-decoration: underline;
}

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

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

.page-slot-games__btn-primary {
  background-color: #FFD700;
  color: #1A202C; /* Ensure high contrast */
  border: 2px solid #FFD700;
}

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

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

.page-slot-games__btn-secondary:hover {
  background-color: #FFD700;
  color: #1A202C; /* Ensure high contrast */
  transform: translateY(-2px);
}

.page-slot-games__feature-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-slot-games__list-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #e0e0e0;
}

.page-slot-games__list-icon {
  font-size: 1.5em;
  color: #FFD700;
  margin-right: 15px;
  flex-shrink: 0;
}

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

.page-slot-games__card,
.page-slot-games__step-card,
.page-slot-games__promo-card {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for cards on dark background */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #ffffff;
}

.page-slot-games__card:hover,
.page-slot-games__step-card:hover,
.page-slot-games__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
}

.page-slot-games__card-image,
.page-slot-games__step-image,
.page-slot-games__promo-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-slot-games__card-title {
  font-size: 1.5em;
  color: #FFD700;
  padding: 20px 20px 10px;
  margin: 0;
}

.page-slot-games__card-text {
  font-size: 1em;
  color: #e0e0e0;
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-slot-games__step-card .page-slot-games__btn-primary,
.page-slot-games__step-card .page-slot-games__btn-secondary,
.page-slot-games__promo-card .page-slot-games__btn-primary,
.page-slot-games__promo-card .page-slot-games__btn-secondary {
  margin: 0 20px 20px;
}

/* FAQ Section */
.page-slot-games__faq-section {
  background: #0a0a0a;
  color: #ffffff;
}

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

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

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

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

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

.page-slot-games__faq-toggle {
  font-size: 1.8em;
  color: #FFD700;
  transition: transform 0.3s ease;
  line-height: 1;
}

.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, padding 0.3s ease;
  color: #e0e0e0;
}

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

.page-slot-games__cta-final {
  padding: 80px 20px;
  text-align: center;
  background: linear-gradient(45deg, #1A202C 0%, #0a0a0a 100%);
}

.page-slot-games__cta-content {
  max-width: 900px;
}

.page-slot-games__cta-final .page-slot-games__section-title {
  margin-bottom: 30px;
}

.page-slot-games__cta-final .page-slot-games__text-block {
  font-size: 1.2em;
}

.text-highlight {
  color: #FFD700;
  font-weight: bold;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__main-title {
    font-size: 3em;
  }
  .page-slot-games__hero-description {
    font-size: 1.1em;
  }
  .page-slot-games__section-title {
    font-size: 2em;
  }
  .page-slot-games__sub-title {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-slot-games {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-slot-games__hero-section {
    min-height: 500px;
    padding: 60px 15px 30px;
    padding-top: var(--header-offset, 120px) !important; /* Important for mobile */
  }
  .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.4em;
  }
  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100%;
    padding: 12px 20px;
  }
  .page-slot-games__game-grid,
  .page-slot-games__steps-grid,
  .page-slot-games__strategy-grid,
  .page-slot-games__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-slot-games__card,
  .page-slot-games__step-card,
  .page-slot-games__promo-card {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding-bottom: 20px; /* Ensure padding for buttons */
  }
  .page-slot-games__card-image,
  .page-slot-games__step-image,
  .page-slot-games__promo-image {
    height: 200px;
  }

  /* Mobile image responsiveness */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__cta-buttons,
  .page-slot-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
  .page-slot-games__card-text, .page-slot-games__list-item p {
    padding: 0 15px 15px;
  }
  .page-slot-games__faq-question {
    padding: 15px;
  }
  .page-slot-games__faq-answer {
    padding: 0 15px;
  }
  .page-slot-games__faq-item.active .page-slot-games__faq-answer {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .page-slot-games__main-title {
    font-size: 1.8em;
  }
  .page-slot-games__hero-description {
    font-size: 0.9em;
  }
  .page-slot-games__section-title {
    font-size: 1.5em;
  }
  .page-slot-games__sub-title {
    font-size: 1.2em;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    font-size: 1em;
    padding: 10px 15px;
  }
}