/* Base styles for the slot games page */
.page-slot-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background */
  background-color: #f8f8f8; /* Light background for the main content area */
  padding-bottom: 40px;
}

.page-slot-games__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  background-color: #ffffff; /* White background for content blocks */
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.page-slot-games__dark-section {
  background-color: #017439; /* Primary brand color background */
  color: #ffffff; /* White text for dark background */
  padding: 40px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.page-slot-games__dark-section .page-slot-games__section-title {
  color: #ffffff; /* Ensure title is white on dark background */
}

.page-slot-games__section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  color: #017439; /* Primary brand color for titles */
  margin-bottom: 30px;
  padding-bottom: 15px;
  position: relative;
}

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

.page-slot-games__article-body {
  max-width: 900px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.8;
  text-align: justify;
}

.page-slot-games__article-body p {
  margin-bottom: 15px;
}

.page-slot-games__article-body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
  padding-top: 10px; /* Small top padding as body handles header offset */
}

.page-slot-games__hero-image {
  width: 100%;
  max-height: 600px; /* Limiting height for desktop */
  overflow: hidden;
  position: relative;
}

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

.page-slot-games__hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-50px); /* Overlap with image slightly */
  position: relative;
  z-index: 1;
}

.page-slot-games__main-title {
  font-size: clamp(28px, 4vw, 48px); /* Responsive font size */
  font-weight: 800;
  color: #017439;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-slot-games__hero-description {
  font-size: 18px;
  color: #555555;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__hero-cta-buttons,
.page-slot-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-play-now,
.page-slot-games a[class*="button"],
.page-slot-games a[class*="btn"] {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-slot-games__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(195, 8, 8, 0.3);
}

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

.page-slot-games__btn-secondary:hover {
  background-color: #005f2e;
  border-color: #005f2e;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(1, 116, 57, 0.3);
}

/* Advantages Section */
.page-slot-games__advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-slot-games__advantage-item {
  background: rgba(255, 255, 255, 0.1); /* Slightly transparent white on dark section */
  padding: 25px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__advantage-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-slot-games__dark-section .page-slot-games__advantage-item {
  background: rgba(255, 255, 255, 0.1);
}

.page-slot-games__advantage-item img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-slot-games__advantage-title {
  font-size: 22px;
  font-weight: 700;
  color: inherit; /* Inherits white from dark section */
  margin-bottom: 10px;
}

.page-slot-games__advantage-item p {
  font-size: 16px;
  color: inherit;
}

/* Popular Games Section */
.page-slot-games__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-slot-games__game-card {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-slot-games__game-card img {
  width: 100%;
  height: 200px; /* Fixed height for game cards */
  object-fit: cover;
  border-radius: 8px 8px 0 0;
  margin-bottom: 15px;
}

.page-slot-games__game-title {
  font-size: 20px;
  font-weight: 700;
  color: #017439;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-slot-games__game-description {
  font-size: 15px;
  color: #666666;
  margin-bottom: 20px;
  padding: 0 15px;
  min-height: 75px; /* Ensure consistent height */
}

.page-slot-games__btn-play-now {
  background-color: #C30808;
  color: #FFFF00;
  padding: 10px 25px;
  font-size: 16px;
  margin-bottom: 20px;
  border-radius: 50px;
}

.page-slot-games__btn-play-now:hover {
  background-color: #a00606;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(195, 8, 8, 0.3);
}

/* How to Play Section */
.page-slot-games__step-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
  max-width: 900px;
  margin: 0 auto 30px;
}

.page-slot-games__step-list li {
  background: #f9f9f9;
  border-left: 5px solid #017439;
  padding: 20px 25px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: relative;
  counter-increment: step-counter;
}

.page-slot-games__step-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: -20px; /* Adjust as needed */
  top: 50%;
  transform: translateY(-50%);
  background: #C30808;
  color: #FFFF00;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-slot-games__step-title {
  font-size: 20px;
  color: #017439;
  margin-top: 0;
  margin-bottom: 10px;
  padding-left: 30px; /* Space for the step number */
}

.page-slot-games__step-list li p {
  font-size: 16px;
  color: #555555;
  padding-left: 30px;
}

/* Promotions Section */
.page-slot-games__promotion-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 0 auto;
}

.page-slot-games__promotion-list li {
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-slot-games__promotion-title {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-slot-games__promotion-list p {
  font-size: 16px;
  color: #f0f0f0;
}

/* Responsible Gaming Section */
.page-slot-games__responsible-gaming-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 0 auto;
}

.page-slot-games__responsible-gaming-list li {
  background: #f9f9f9;
  padding: 20px 25px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-slot-games__responsible-gaming-title {
  font-size: 20px;
  color: #017439;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-slot-games__responsible-gaming-list p {
  font-size: 16px;
  color: #555555;
}

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

details.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
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: #f5f5f5;
}
.page-slot-games__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333; /* Ensure dark text on light background */
}
.page-slot-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  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: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555555;
}

/* CTA Section */
.page-slot-games__cta-section {
  text-align: center;
  padding: 50px 20px;
  background-color: #017439; /* Primary brand color */
  color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  max-width: 1200px;
  margin: 0 auto 30px;
}

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

.page-slot-games__cta-description {
  font-size: 20px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-slot-games__content-area,
  .page-slot-games__dark-section,
  .page-slot-games__cta-section {
    margin-left: 15px;
    margin-right: 15px;
  }
  .page-slot-games__hero-content {
    margin-left: 15px;
    margin-right: 15px;
    padding: 30px 20px;
    transform: translateY(-40px);
  }
  .page-slot-games__main-title {
    font-size: clamp(24px, 3.5vw, 40px);
  }
  .page-slot-games__hero-description {
    font-size: 17px;
  }
  .page-slot-games__section-title {
    font-size: 32px;
  }
  .page-slot-games__advantages-grid,
  .page-slot-games__games-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }
  .page-slot-games__advantage-item img,
  .page-slot-games__game-card img {
    
  }
}