.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Default light text for dark body background */
  background-color: var(--secondary-color); /* Matches shared.css body background */
}

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

.page-slot-games__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

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

.page-slot-games__center-align {
  text-align: center;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  height: 600px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-slot-games__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
}

.page-slot-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700;
  font-weight: bold;
  line-height: 1.2;
}

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

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text breaking */
  box-sizing: border-box;
}

.page-slot-games__btn-primary {
  background-color: #FFD700;
  color: #1A1A1A;
  border: 2px solid #FFD700;
}

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

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

.page-slot-games__btn-secondary:hover {
  background-color: #FFD700;
  color: #1A1A1A;
}

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

/* General Section Styling */
.page-slot-games__intro-section,
.page-slot-games__features-section,
.page-slot-games__game-types-section,
.page-slot-games__how-to-play-section,
.page-slot-games__promotions-section,
.page-slot-games__providers-section,
.page-slot-games__faq-section,
.page-slot-games__cta-section {
  padding: 80px 0;
}

.page-slot-games__dark-bg {
  background-color: #1A1A1A;
  color: #f0f0f0;
}

.page-slot-games__light-bg {
  background-color: #333333;
  color: #f0f0f0;
}

/* Image Styling */
.page-slot-games__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-slot-games__feature-card {
  background-color: #2a2a2a; /* Slightly lighter dark for contrast */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  color: #f0f0f0;
}

.page-slot-games__feature-card:hover {
  transform: translateY(-10px);
}

.page-slot-games__feature-icon {
  width: 200px; /* Minimum size */
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 5px;
}

.page-slot-games__feature-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-slot-games__feature-description {
  font-size: 1em;
  color: #f0f0f0;
}

/* Game Types Grid */
.page-slot-games__game-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-slot-games__game-type-card {
  background-color: #2a2a2a;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  color: #f0f0f0;
}

.page-slot-games__game-type-card:hover {
  transform: translateY(-10px);
}

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

.page-slot-games__game-type-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-slot-games__game-type-description {
  font-size: 1em;
  color: #f0f0f0;
}

/* How to Play List */
.page-slot-games__steps-list {
  max-width: 800px;
  margin: 50px auto;
  list-style: none;
  padding: 0;
  color: #f0f0f0;
}

.page-slot-games__list-item {
  background-color: #2a2a2a;
  padding: 20px 30px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1.1em;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  counter-increment: step-counter;
  position: relative;
  padding-left: 60px;
}

.page-slot-games__list-item::before {
  content: "0" counter(step-counter);
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  font-weight: bold;
  color: #FFD700;
  background-color: #1A1A1A;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-slot-games__list-item strong {
  color: #FFD700;
}

.page-slot-games__list-item a {
  color: #FFD700;
  text-decoration: none;
}

.page-slot-games__list-item a:hover {
  text-decoration: underline;
}

/* Promotions Grid */
.page-slot-games__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-slot-games__promotion-card {
  background-color: #2a2a2a;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  color: #f0f0f0;
}

.page-slot-games__promotion-card:hover {
  transform: translateY(-10px);
}

.page-slot-games__promotion-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-slot-games__promotion-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-slot-games__promotion-description {
  font-size: 1em;
  color: #f0f0f0;
}

/* Providers Section */
.page-slot-games__providers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 50px;
  justify-items: center;
  align-items: center;
}

.page-slot-games__provider-logo {
  width: 250px;
  height: 150px;
  object-fit: contain;
  filter: grayscale(80%) brightness(150%); /* Subtle effect for logos */
  transition: filter 0.3s ease;
}

.page-slot-games__provider-logo:hover {
  filter: grayscale(0%) brightness(100%);
}

/* FAQ Section */
.page-slot-games__faq-list {
  max-width: 800px;
  margin: 50px auto 0;
}

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

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #333333;
  color: #FFD700;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  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 !important; /* Important for JS toggle */
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.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__faq-answer p {
  margin: 0;
  padding-bottom: 10px;
}

/* CTA Section */
.page-slot-games__cta-section {
  background-color: #FFD700;
  color: #1A1A1A;
  padding: 80px 0;
  text-align: center;
}

.page-slot-games__cta-section .page-slot-games__section-title {
  color: #1A1A1A;
}

.page-slot-games__cta-section .page-slot-games__text-block {
  color: #1A1A1A;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__cta-section .page-slot-games__text-block a {
  color: #1A1A1A;
  text-decoration: underline;
  font-weight: bold;
}

.page-slot-games__cta-section .page-slot-games__text-block a:hover {
  color: #000000;
}

.page-slot-games__cta-section .page-slot-games__btn-primary {
  background-color: #1A1A1A;
  color: #FFD700;
  border-color: #1A1A1A;
}

.page-slot-games__cta-section .page-slot-games__btn-primary:hover {
  background-color: #000000;
  color: #FFD700;
  border-color: #000000;
}

/* Responsive Design */
@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;
  }
}

@media (max-width: 768px) {
  .page-slot-games {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-slot-games__hero-section {
    height: 500px;
  }
  .page-slot-games__hero-title {
    font-size: 2.2em;
  }
  .page-slot-games__hero-description {
    font-size: 1em;
  }
  .page-slot-games__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games a[class*="button"],
  .page-slot-games a[class*="btn"] {
    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-content {
    padding: 15px;
  }
  .page-slot-games__section-title {
    font-size: 1.8em;
  }
  .page-slot-games__intro-section,
  .page-slot-games__features-section,
  .page-slot-games__game-types-section,
  .page-slot-games__how-to-play-section,
  .page-slot-games__promotions-section,
  .page-slot-games__providers-section,
  .page-slot-games__faq-section,
  .page-slot-games__cta-section {
    padding: 40px 0;
  }
  .page-slot-games__container {
    padding: 0 15px;
  }
  .page-slot-games img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-slot-games__image-full-width,
  .page-slot-games__feature-icon,
  .page-slot-games__game-type-image,
  .page-slot-games__promotion-image,
  .page-slot-games__provider-logo {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    object-fit: contain !important; /* Ensure logos are fully visible */
  }
  .page-slot-games__feature-card,
  .page-slot-games__game-type-card,
  .page-slot-games__promotion-card,
  .page-slot-games__faq-item {
    padding: 20px;
  }
  .page-slot-games__list-item {
    padding-left: 50px;
    font-size: 1em;
  }
  .page-slot-games__list-item::before {
    left: 15px;
    width: 30px;
    height: 30px;
    font-size: 1.2em;
  }
  .page-slot-games__faq-question {
    font-size: 1em;
    padding: 15px;
  }
  .page-slot-games__faq-answer {
    padding: 15px;
  }
  .page-slot-games__faq-item.active .page-slot-games__faq-answer {
    padding: 15px !important;
  }
  .page-slot-games__providers-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
  .page-slot-games__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Adjust for mobile header */
  }
}