.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: #f4f4f4; /* Matches body background */
}

.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px);
  background: linear-gradient(135deg, #B80F0A, #FFD700);
  color: #ffffff;
  overflow: hidden;
}

.page-slot-games__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-slot-games__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 8px;
  overflow: hidden;
}

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 15px;
}

.page-slot-games__main-title {
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.page-slot-games__description {
  font-size: 20px;
  margin-bottom: 40px;
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: #FFD700; /* Secondary color for CTA */
  color: #B80F0A; /* Primary color for text on CTA */
  text-decoration: none;
  border-radius: 50px;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-slot-games__cta-button:hover {
  background: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-slot-games__section {
  padding: 60px 0;
  background-color: #f4f4f4;
  color: #333333;
}

.page-slot-games__section.page-slot-games__dark-bg {
  background: #B80F0A;
  color: #ffffff;
}

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

.page-slot-games__section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #B80F0A; /* Primary color for section titles */
}

.page-slot-games__dark-bg .page-slot-games__section-title {
  color: #FFD700; /* Secondary color for titles on dark background */
}

.page-slot-games__text-block {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
}

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

.page-slot-games__feature-item, .page-slot-games__game-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-slot-games__feature-item:hover, .page-slot-games__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-slot-games__feature-item img, .page-slot-games__game-card img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-height: 200px;
}

.page-slot-games__feature-title, .page-slot-games__card-title {
  font-size: 22px;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 15px;
  color: #B80F0A;
}

.page-slot-games__game-card p {
  font-size: 16px;
  color: #555555;
  margin-bottom: 20px;
}

.page-slot-games__card-button {
  display: inline-block;
  padding: 10px 25px;
  background: #B80F0A;
  color: #ffffff;
  text-decoration: none;
  border-radius: 25px;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-slot-games__card-button:hover {
  background: #8e0b07;
}

.page-slot-games__steps-list, .page-slot-games__strategy-list, .page-slot-games__promo-list, .page-slot-games__security-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-slot-games__steps-list li, .page-slot-games__strategy-list li, .page-slot-games__promo-list li, .page-slot-games__security-list li {
  background: #ffffff;
  border-left: 5px solid #FFD700;
  padding: 25px 30px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-slot-games__steps-list h3, .page-slot-games__strategy-list h3, .page-slot-games__promo-list strong, .page-slot-games__security-list h3 {
  font-size: 20px;
  color: #B80F0A;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-slot-games__steps-list p, .page-slot-games__strategy-list p, .page-slot-games__promo-list li, .page-slot-games__security-list p {
  font-size: 17px;
  color: #555555;
}

.page-slot-games__link {
  color: #B80F0A;
  text-decoration: none;
  font-weight: bold;
}

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

.page-slot-games__btn-secondary {
  background: #FFD700;
  color: #B80F0A;
  border: 2px solid #FFD700;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

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

.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.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;
  padding: 0 15px;
  opacity: 0;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #fff8e1; /* Light yellow background for answers */
  border-radius: 0 0 5px 5px;
  border-top: 1px solid #ffe082;
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  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-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-slot-games__faq-question:active {
  background: #eeeeee;
}

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

.page-slot-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #B80F0A;
  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: 32px;
  height: 32px;
}

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
  color: #FFD700;
  transform: rotate(45deg); /* Change from '-' to 'X' visually */
}

.page-slot-games__cta-final {
  text-align: center;
  padding: 80px 20px;
}

.page-slot-games__cta-final .page-slot-games__text-block {
  color: #f0f0f0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__cta-final img {
  margin-top: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  object-fit: cover;
}

/* General image styling to ensure minimum size and responsiveness */
.page-slot-games img {
  min-width: 200px;
  min-height: 200px;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__main-title {
    font-size: 38px;
  }
  .page-slot-games__description {
    font-size: 18px;
  }
  .page-slot-games__section-title {
    font-size: 32px;
  }
  .page-slot-games__feature-title, .page-slot-games__card-title {
    font-size: 20px;
  }
  .page-slot-games__steps-list h3, .page-slot-games__strategy-list h3, .page-slot-games__security-list h3 {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-slot-games__hero-image {
    margin-bottom: 20px;
  }
  .page-slot-games__main-title {
    font-size: 30px;
    margin-bottom: 15px;
  }
  .page-slot-games__description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-slot-games__cta-button {
    padding: 15px 30px;
    font-size: 18px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-slot-games__section {
    padding: 40px 0;
  }
  .page-slot-games__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-slot-games__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }
  .page-slot-games__text-block {
    font-size: 16px;
  }
  .page-slot-games__features-grid, .page-slot-games__game-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-slot-games__feature-item, .page-slot-games__game-card {
    padding: 20px;
  }
  .page-slot-games__feature-item img, .page-slot-games__game-card img {
    border-radius: 6px;
    margin-bottom: 15px;
  }
  .page-slot-games__feature-title, .page-slot-games__card-title {
    font-size: 18px;
  }
  .page-slot-games__card-button {
    padding: 10px 20px;
    font-size: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-slot-games__steps-list li, .page-slot-games__strategy-list li, .page-slot-games__promo-list li, .page-slot-games__security-list li {
    padding: 20px 25px;
  }
  .page-slot-games__steps-list h3, .page-slot-games__strategy-list h3, .page-slot-games__security-list h3 {
    font-size: 17px;
  }
  .page-slot-games__steps-list p, .page-slot-games__strategy-list p, .page-slot-games__security-list p {
    font-size: 15px;
  }
  .page-slot-games__faq-question {
    padding: 15px;
  }
  .page-slot-games__faq-question h3 {
    font-size: 16px;
  }
  .page-slot-games__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }
  .page-slot-games__faq-item.active .page-slot-games__faq-answer {
    padding: 15px !important;
  }
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
}