.page-slot-games {
  background-color: #140C0C; /* Custom background color */
  color: #FFF1E8; /* Custom text color */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

.page-slot-games__section-title {
  font-size: 38px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #F3C54D; /* Gold color for titles */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding to avoid double header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px;
  background: linear-gradient(180deg, rgba(198, 31, 31, 0.7) 0%, rgba(20, 12, 12, 0.9) 100%); /* Deep red to dark background gradient */
  overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  position: relative;
  z-index: 1;
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Pull content slightly over image for visual appeal, but not covering */
  background: rgba(20, 12, 12, 0.7); /* Semi-transparent dark background for text */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games__main-title {
  font-size: 52px;
  color: #F3C54D; /* Gold color */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.page-slot-games__intro-text {
  font-size: 19px;
  color: #FFF1E8;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Custom button gradient */
  color: #FFF1E8; /* Custom text color */
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-slot-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
}

.page-slot-games__btn-secondary {
  background: #C61F1F; /* Primary brand color */
  color: #FFF1E8;
  border: 2px solid #E53030;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-slot-games__btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  background: #E53030;
}

.page-slot-games__btn-tertiary {
  background: #7E0D0D; /* Deep Red */
  color: #FFF1E8;
  border: 1px solid #6A1E1E; /* Border color */
}

.page-slot-games__btn-tertiary:hover {
  background: #C61F1F;
  transform: translateY(-2px);
}

/* About Slots Section */
.page-slot-games__about-slots .page-slot-games__text-block {
  text-align: left;
  font-size: 16px;
  max-width: 800px;
}

/* Popular Games Section */
.page-slot-games__popular-games {
  background-color: #2A1212; /* Card BG color */
  padding: 80px 0;
}

.page-slot-games__game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__game-card {
  background: #140C0C; /* Background color */
  border: 1px solid #6A1E1E; /* Border color */
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-slot-games__game-title {
  font-size: 24px;
  color: #F3C54D; /* Gold color */
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-slot-games__game-description {
  font-size: 15px;
  color: #FFF1E8;
  margin-bottom: 20px;
  padding: 0 15px;
  flex-grow: 1;
}

.page-slot-games__view-all-button-wrapper {
  text-align: center;
  margin-top: 50px;
}

.page-slot-games__view-all-button-wrapper .page-slot-games__btn-primary {
  padding: 18px 40px;
  font-size: 20px;
}

/* Benefits Section */
.page-slot-games__benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-slot-games__benefit-item {
  background: #2A1212; /* Card BG color */
  border: 1px solid #6A1E1E; /* Border color */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__benefit-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-slot-games__benefit-title {
  font-size: 22px;
  color: #F3C54D; /* Gold color */
  margin-bottom: 15px;
}

.page-slot-games__benefit-description {
  font-size: 16px;
  color: #FFF1E8;
}

/* FAQ Section */
.page-slot-games__faq-section {
  background-color: #140C0C;
  padding-bottom: 80px;
}

details.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #6A1E1E; /* Border color */
  overflow: hidden;
  background: #2A1212; /* Card BG color */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

details.page-slot-games__faq-item summary.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

details.page-slot-games__faq-item summary.page-slot-games__faq-question::-webkit-details-marker {
  display: none;
}

details.page-slot-games__faq-item summary.page-slot-games__faq-question:hover {
  background: #C61F1F; /* Primary color on hover */
}

.page-slot-games__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3C54D; /* Gold color for question text */
}

.page-slot-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFF1E8; /* Main text color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-slot-games__faq-item .page-slot-games__faq-answer {
  padding: 0 20px 20px;
  background: #140C0C; /* Background color */
  border-radius: 0 0 5px 5px;
  color: #FFF1E8;
  font-size: 16px;
}

/* Bottom CTA Section */
.page-slot-games__cta-bottom {
  background: linear-gradient(90deg, #C61F1F 0%, #E53030 100%); /* Primary to secondary gradient */
  text-align: center;
  padding: 80px 0;
}

.page-slot-games__cta-bottom .page-slot-games__section-title {
  color: #FFF1E8;
  text-shadow: none;
}

.page-slot-games__cta-bottom .page-slot-games__text-block {
  color: #FFF1E8;
  font-size: 18px;
  margin-bottom: 40px;
}

.page-slot-games__btn-large {
  padding: 20px 45px;
  font-size: 22px;
}

/* Media Queries */
@media (max-width: 1024px) {
  .page-slot-games__main-title {
    font-size: 44px;
  }

  .page-slot-games__section-title {
    font-size: 32px;
  }

  .page-slot-games__game-grid,
  .page-slot-games__benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-slot-games__hero-content {
    margin-top: -50px;
  }
}

@media (max-width: 768px) {
  .page-slot-games {
    font-size: 16px;
    line-height: 1.6;
  }

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

  .page-slot-games__section {
    padding: 40px 0;
  }

  .page-slot-games__hero-section {
    padding-top: 10px !important; /* Fixed header spacing */
    min-height: 500px;
  }

  .page-slot-games__hero-image {
    width: 100% !important;
    height: auto !important;
  }

  .page-slot-games__hero-content {
    padding: 20px 15px;
    margin-top: -30px;
  }

  .page-slot-games__main-title {
    font-size: 30px !important;
    margin-bottom: 15px;
  }

  .page-slot-games__intro-text {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games__btn-tertiary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  .page-slot-games__section-title {
    font-size: 28px !important;
    margin-bottom: 30px;
  }

  .page-slot-games__text-block {
    font-size: 15px;
    text-align: left;
  }

  .page-slot-games__game-grid,
  .page-slot-games__benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games__game-image {
    height: 200px;
  }

  .page-slot-games__game-title {
    font-size: 20px;
  }

  .page-slot-games__game-description {
    font-size: 14px;
  }

  .page-slot-games__view-all-button-wrapper {
    margin-top: 30px;
  }

  .page-slot-games__view-all-button-wrapper .page-slot-games__btn-primary {
    padding: 15px 30px;
    font-size: 18px;
  }

  .page-slot-games__benefit-icon {
    width: 90px;
    height: 90px;
  }

  .page-slot-games__benefit-title {
    font-size: 20px;
  }

  .page-slot-games__benefit-description {
    font-size: 15px;
  }

  details.page-slot-games__faq-item summary.page-slot-games__faq-question {
    padding: 15px;
  }

  .page-slot-games__faq-qtext {
    font-size: 16px;
  }

  .page-slot-games__faq-toggle {
    font-size: 20px;
    width: 24px;
    margin-left: 10px;
  }

  details.page-slot-games__faq-item .page-slot-games__faq-answer {
    padding: 0 15px 15px;
    font-size: 15px;
  }

  .page-slot-games__cta-bottom .page-slot-games__text-block {
    font-size: 16px;
  }

  .page-slot-games__btn-large {
    padding: 15px 30px;
    font-size: 18px;
  }
  
  /* Ensure all images are responsive */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  /* All containing elements for images and buttons */
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__game-card,
  .page-slot-games__benefit-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}