.page-slot-games {
  color: #ffffff; /* Text color for dark body background #121212 */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

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

.page-slot-games__subtitle {
  font-size: 1.8rem;
  color: #FFD700;
  margin-top: 30px;
  margin-bottom: 20px;
  text-align: left;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  min-height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #1A202C;
}

.page-slot-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.7;
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  max-width: 900px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for readability */
  border-radius: 10px;
}

.page-slot-games__hero-title {
  font-size: 3.8rem;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 900;
}

.page-slot-games__hero-description {
  font-size: 1.5rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Buttons */
.page-slot-games__btn {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
}

.page-slot-games__btn--primary {
  background-color: #FFD700; /* Gold accent */
  color: #1A202C; /* Dark text for 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;
  transform: translateY(-2px);
}

.page-slot-games__btn--small {
  padding: 10px 25px;
  font-size: 1rem;
  border-radius: 30px;
}

.page-slot-games__btn--large {
  padding: 18px 45px;
  font-size: 1.3rem;
  border-radius: 60px;
}

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

.page-slot-games__btn--outline:hover {
  background-color: #ffffff;
  color: #1A202C;
}

/* Intro Section */
.page-slot-games__intro-section {
  padding: 60px 0;
  background-color: #1A202C; /* Dark blue/black background */
  text-align: center;
}

.page-slot-games__intro-text {
  font-size: 1.1rem;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0; /* Light grey for readability */
}

/* Why Choose Section */
.page-slot-games__why-choose-section {
  padding: 80px 0;
  background-color: #121212;
}

.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: rgba(255, 255, 255, 0.08); /* Slightly lighter dark for cards */
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-slot-games__feature-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-slot-games__feature-icon {
  width: 250px; /* Minimum 200px */
  height: 187px; /* Maintain aspect ratio */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 10px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-slot-games__feature-description {
  font-size: 1.1rem;
  color: #cccccc;
}

/* Game Types Section */
.page-slot-games__game-types-section {
  padding: 80px 0;
  background-color: #1A202C;
}

.page-slot-games__game-types-intro {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 50px;
  color: #f0f0f0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-slot-games__game-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-slot-games__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(255, 215, 0, 0.15);
}

.page-slot-games__game-image {
  width: 100%;
  height: 250px; /* Example height, adjust as needed */
  object-fit: cover;
  display: block;
}

.page-slot-games__game-title {
  font-size: 1.5rem;
  color: #FFD700;
  padding: 20px 15px 10px;
}

.page-slot-games__game-description {
  font-size: 1rem;
  color: #cccccc;
  padding: 0 15px 20px;
}

.page-slot-games__cta-bottom {
  text-align: center;
  margin-top: 60px;
}

/* How to Play Section */
.page-slot-games__how-to-play-section {
  padding: 80px 0;
  background-color: #121212;
}

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

.page-slot-games__guide-step {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-slot-games__guide-title {
  font-size: 1.6rem;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-slot-games__guide-description {
  font-size: 1.1rem;
  color: #cccccc;
  margin-bottom: 20px;
}

.page-slot-games__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__tips-list li {
  background-color: rgba(255, 255, 255, 0.05);
  margin-bottom: 15px;
  padding: 15px 20px;
  border-radius: 8px;
  font-size: 1.1rem;
  color: #f0f0f0;
  border-left: 4px solid #FFD700;
}

.page-slot-games__tips-list li strong {
  color: #FFD700;
}

/* Jackpot Section */
.page-slot-games__jackpot-section {
  padding: 80px 0;
  background-color: #1A202C;
}

.page-slot-games__jackpot-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
}

.page-slot-games__jackpot-image {
  flex: 1 1 45%;
  max-width: 550px;
  height: auto;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__jackpot-text-content {
  flex: 1 1 45%;
}

.page-slot-games__jackpot-description {
  font-size: 1.1rem;
  color: #f0f0f0;
  margin-bottom: 20px;
}

/* Promotions Section */
.page-slot-games__promotions-section {
  padding: 80px 0;
  background-color: #121212;
}

.page-slot-games__promotions-intro {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 50px;
  color: #f0f0f0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-slot-games__promo-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 15px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-slot-games__promo-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-slot-games__promo-image {
  width: 250px; /* Minimum 200px */
  height: 166px; /* Maintain aspect ratio */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 10px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-slot-games__promo-description {
  font-size: 1rem;
  color: #cccccc;
  margin-bottom: 20px;
}

/* FAQ Section */
.page-slot-games__faq-section {
  padding: 80px 0;
  background-color: #1A202C;
}

.page-slot-games__faq-list {
  max-width: 900px;
  margin: 50px auto 0;
}

.page-slot-games__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-slot-games__faq-question {
  font-size: 1.4rem;
  color: #FFD700;
  padding: 20px;
  cursor: pointer;
  position: relative;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.page-slot-games__faq-question::after {
  content: '+';
  font-size: 1.8rem;
  transition: transform 0.3s ease;
}

.page-slot-games__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-slot-games__faq-answer {
  font-size: 1.1rem;
  color: #f0f0f0;
  padding: 0 20px 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-slot-games__faq-answer.active {
  max-height: 500px; /* Arbitrary large value to allow content to show */
  padding: 0 20px 20px;
}

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

.page-slot-games__cta-description {
  font-size: 1.3rem;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__hero-title {
    font-size: 3rem;
  }
  .page-slot-games__hero-description {
    font-size: 1.3rem;
  }
  .page-slot-games__section-title {
    font-size: 2rem;
  }
  .page-slot-games__jackpot-content {
    flex-direction: column;
  }
  .page-slot-games__jackpot-image {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-slot-games {
    padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
  }
  .page-slot-games__hero-section {
    min-height: 400px;
  }
  .page-slot-games__hero-content {
    padding: 20px;
  }
  .page-slot-games__hero-title {
    font-size: 2.2rem;
  }
  .page-slot-games__hero-description {
    font-size: 1.1rem;
  }
  .page-slot-games__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-slot-games__btn {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  .page-slot-games__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    padding-top: 30px;
  }
  .page-slot-games__intro-text,
  .page-slot-games__game-types-intro,
  .page-slot-games__promotions-intro,
  .page-slot-games__cta-description {
    font-size: 1rem;
  }
  .page-slot-games__feature-title,
  .page-slot-games__game-title,
  .page-slot-games__promo-title {
    font-size: 1.4rem;
  }
  .page-slot-games__feature-icon,
  .page-slot-games__promo-image {
    width: 250px;
    height: auto;
  }
  .page-slot-games__jackpot-image {
    width: 100%;
    height: auto;
  }
  .page-slot-games__guide-title {
    font-size: 1.4rem;
  }
  .page-slot-games__faq-question {
    font-size: 1.2rem;
  }
  .page-slot-games__faq-answer {
    font-size: 1rem;
  }
  /* CRITICAL: Ensure all content images are responsive and don't overflow */
  .page-slot-games img {
    max-width: 100%;
    height: auto;
  }
  .page-slot-games__feature-icon,
  .page-slot-games__game-image,
  .page-slot-games__jackpot-image,
  .page-slot-games__promo-image {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-slot-games__hero-title {
    font-size: 1.8rem;
  }
  .page-slot-games__hero-description {
    font-size: 0.95rem;
  }
  .page-slot-games__section-title {
    font-size: 1.6rem;
  }
  .page-slot-games__btn--large {
    font-size: 1.1rem;
    padding: 12px 30px;
  }
  .page-slot-games__feature-icon,
  .page-slot-games__promo-image {
    width: 200px; /* Ensure minimum 200px even on smallest screens */
    height: auto;
  }
}