.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark, so text is light */
  background-color: transparent; /* Inherit from body or shared */
}

.page-slot-games__hero-section {
  position: relative;
  padding: 100px 20px; /* Adjust padding for content hero */
  background: linear-gradient(135deg, #1A2E44, #0d1e33); /* Darker gradient for hero background */
  color: #ffffff;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Fixed header offset for non-homepage hero */
}

.page-slot-games__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-slot-games__hero-content {
  max-width: 800px;
  text-align: center;
}

.page-slot-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #E0B34F; /* Accent color for title */
  line-height: 1.2;
}

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

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

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

.page-slot-games__btn-primary {
  background: #E0B34F;
  color: #1A2E44; /* Dark text on light button */
  border: 2px solid #E0B34F;
}

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

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

.page-slot-games__btn-secondary:hover {
  background: #E0B34F;
  color: #1A2E44;
}

.page-slot-games__hero-image-wrapper {
  margin-top: 40px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-slot-games__section {
  padding: 60px 20px;
  background-color: #1a1a1a; /* Slightly lighter dark for sections */
  color: #ffffff;
}

.page-slot-games__intro-section {
  background-color: #0d0d0d; /* Dark background */
}

.page-slot-games__guide-section,
.page-slot-games__benefits-section {
  background-color: #121212;
}

.page-slot-games__promotions-section,
.page-slot-games__news-section {
  background-color: #0d0d0d;
}

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

.page-slot-games__section-title {
  font-size: 2.5em;
  color: #E0B34F;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-slot-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #E0B34F;
  border-radius: 2px;
}

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

.page-slot-games__content-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

.page-slot-games__card,
.page-slot-games__promo-card,
.page-slot-games__news-card {
  background: rgba(255, 255, 255, 0.05); /* Semi-transparent white on dark background */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-slot-games__card-title,
.page-slot-games__promo-title,
.page-slot-games__news-title {
  font-size: 1.5em;
  color: #E0B34F;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-slot-games__card-title a,
.page-slot-games__news-title a {
  color: #E0B34F;
  text-decoration: none;
}

.page-slot-games__card-title a:hover,
.page-slot-games__news-title a:hover {
  text-decoration: underline;
}

.page-slot-games__card-description,
.page-slot-games__promo-description,
.page-slot-games__news-excerpt {
  font-size: 1em;
  color: #cccccc;
  line-height: 1.6;
}

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

.page-slot-games__guide-item {
  background: rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-slot-games__guide-title {
  font-size: 1.6em;
  color: #E0B34F;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-slot-games__guide-item p {
  color: #cccccc;
  margin-bottom: 20px;
}

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

.page-slot-games__btn-small:hover {
  background-color: #d4a747;
}

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

.page-slot-games__benefits-list li {
  background: rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-slot-games__benefits-list h3 {
  font-size: 1.6em;
  color: #E0B34F;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-slot-games__benefits-list p {
  color: #cccccc;
}

/* FAQ Styles */
.page-slot-games__faq-list {
  margin-top: 40px;
}

.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #1A2E44; /* Main color for question background */
  color: #ffffff;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-slot-games__faq-item.active .page-slot-games__faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

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

.page-slot-games__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #ffffff;
}

.page-slot-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #E0B34F; /* Accent color for toggle */
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
  color: #ffffff;
  transform: rotate(45deg); /* Rotate to form 'X' or use '-' */
}

.page-slot-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 20px;
  opacity: 0;
  background: rgba(255, 255, 255, 0.05); /* Lighter dark background for answer */
  color: #cccccc;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1;
  border-radius: 0 0 5px 5px;
}

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

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

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

.page-slot-games__news-date {
  font-size: 0.9em;
  color: #888888;
  margin-top: 10px;
  display: block;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-slot-games__hero-title {
    font-size: 3em;
  }

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

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

  .page-slot-games__grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

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

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

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

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

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games__btn-small {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games__hero-cta-buttons,
  .page-slot-games__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  
  .page-slot-games__section {
    padding: 40px 15px;
  }

  .page-slot-games__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-slot-games__text-block {
    font-size: 0.95em;
  }

  .page-slot-games__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin: 30px auto;
  }

  .page-slot-games__grid,
  .page-slot-games__guide-steps,
  .page-slot-games__benefits-list,
  .page-slot-games__news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games__card,
  .page-slot-games__promo-card,
  .page-slot-games__guide-item,
  .page-slot-games__benefits-list li,
  .page-slot-games__news-card {
    padding: 20px;
  }

  .page-slot-games__card-title,
  .page-slot-games__promo-title,
  .page-slot-games__guide-title,
  .page-slot-games__benefits-list h3,
  .page-slot-games__news-title {
    font-size: 1.3em;
  }

  .page-slot-games__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-slot-games__faq-question h3 {
    font-size: 1.1em;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-slot-games__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-slot-games__faq-answer {
    padding: 0 15px;
  }
  
  .page-slot-games__faq-item.active .page-slot-games__faq-answer {
    padding: 15px !important;
  }

  /* Ensure all images are responsive */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-slot-games__section,
  .page-slot-games__container,
  .page-slot-games__hero-container,
  .page-slot-games__grid,
  .page-slot-games__guide-steps,
  .page-slot-games__benefits-list,
  .page-slot-games__news-grid,
  .page-slot-games__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

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

  .page-slot-games__section-title {
    font-size: 1.5em;
  }

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    padding: 12px 20px;
  }
}