.page-slot-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

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

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  padding: 80px 0;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  min-height: 600px;
}

.page-slot-games__dark-bg {
  background-color: #017439; /* Primary brand color for dark sections */
  color: #ffffff;
}

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

.page-slot-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFF00; /* Highlight title with yellow */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

.page-slot-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.7); /* Slightly darken image for text contrast */
}

/* General Section Styles */
.page-slot-games__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: inherit; /* Inherit color from section background */
}

.page-slot-games__section-subtitle {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: inherit;
}

/* Buttons */
.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: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-slot-games__btn-primary {
  background-color: #C30808; /* Red for primary actions (register/login) */
  color: #FFFF00; /* Yellow text for primary buttons */
  border: 2px solid #C30808;
}

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

.page-slot-games__btn-secondary {
  background-color: transparent;
  color: #ffffff; /* White text for secondary buttons on dark backgrounds */
  border: 2px solid #ffffff;
}

.page-slot-games__light-bg .page-slot-games__btn-secondary {
  color: #017439;
  border-color: #017439;
}

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

.page-slot-games__light-bg .page-slot-games__btn-secondary:hover {
  background-color: #017439;
  color: #ffffff;
}

.page-slot-games__large-btn {
  min-width: 200px;
  padding: 18px 35px;
  font-size: 1.1em;
}

/* Intro Section */
.page-slot-games__intro-section {
  padding: 60px 0;
}

.page-slot-games__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-slot-games__text-block p {
  margin-bottom: 15px;
  font-size: 1.05em;
  color: #333333;
}

.page-slot-games__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Benefits Section */
.page-slot-games__benefits-section {
  padding: 60px 0;
}

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

.page-slot-games__benefit-card {
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.1); /* Light transparent background on dark section */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #ffffff;
}

.page-slot-games__benefit-card:hover {
  transform: translateY(-5px);
}

.page-slot-games__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #FFFF00; /* Highlight card titles */
}

/* Game Showcase */
.page-slot-games__game-showcase {
  padding: 60px 0;
}

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

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

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

.page-slot-games__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-slot-games__game-title {
  font-size: 1.3em;
  margin: 15px 15px 10px;
  color: #017439;
}

.page-slot-games__game-description {
  font-size: 0.95em;
  margin: 0 15px 20px;
  color: #555555;
}

.page-slot-games__play-button {
  margin: 0 15px 15px;
  width: calc(100% - 30px);
  background-color: #017439;
  color: #ffffff;
  border-color: #017439;
}

.page-slot-games__play-button:hover {
  background-color: #005f2e;
  border-color: #005f2e;
}

.page-slot-games__view-more {
  text-align: center;
}

/* How to Play Section */
.page-slot-games__how-to-play {
  padding: 60px 0;
}

.page-slot-games__steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-slot-games__step-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter transparent background */
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.page-slot-games__step-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #FFFF00;
}

.page-slot-games__step-item p {
  margin-bottom: 20px;
  font-size: 1.05em;
}

.page-slot-games__step-button {
  margin-top: 10px;
}

/* Promotions Section */
.page-slot-games__promotions {
  padding: 60px 0;
}

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

.page-slot-games__promo-card {
  background-color: #ffffff;
  color: #333333;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-slot-games__promo-card:hover {
  transform: translateY(-5px);
}

.page-slot-games__promo-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.page-slot-games__promo-title {
  font-size: 1.4em;
  margin: 15px 15px 10px;
  color: #017439;
}

.page-slot-games__promo-description {
  font-size: 0.95em;
  margin: 0 15px 20px;
  color: #555555;
}

.page-slot-games__promo-card .page-slot-games__btn-primary,
.page-slot-games__promo-card .page-slot-games__btn-secondary {
  margin: 0 15px 15px;
  width: calc(100% - 30px);
}

.page-slot-games__view-all-promos {
  text-align: center;
}

/* Tips Section */
.page-slot-games__tips {
  padding: 60px 0;
}

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

.page-slot-games__tip-card {
  padding: 30px;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.1); /* Light transparent background */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-slot-games__tip-card .page-slot-games__card-title {
  color: #FFFF00;
}

/* FAQ Section */
.page-slot-games__faq-section {
  padding: 60px 0;
}

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

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

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  background-color: #f9f9f9;
  color: #017439;
  border-bottom: 1px solid #eee;
}

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

.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;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to accommodate content */
  padding: 20px;
}

.page-slot-games__faq-answer p {
  margin-bottom: 15px;
  color: #555555;
}

.page-slot-games__faq-answer .page-slot-games__btn-primary,
.page-slot-games__faq-answer .page-slot-games__btn-secondary {
  margin-top: 10px;
}

/* CTA Section */
.page-slot-games__cta-section {
  padding: 80px 0;
  text-align: center;
}

.page-slot-games__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFFF00;
}

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

.page-slot-games__cta-buttons {
  display: flex;
  gap: 25px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__hero-title {
    font-size: 3em;
  }
  .page-slot-games__section-title {
    font-size: 2em;
  }
  .page-slot-games__intro-section .page-slot-games__content-grid {
    grid-template-columns: 1fr;
  }
  .page-slot-games__image {
    order: -1; /* Image above text on smaller screens */
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-slot-games {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-slot-games__hero-section {
    padding: 60px 0;
  }
  .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 {
    width: 100%;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-slot-games__large-btn {
    min-width: unset;
    width: 100%;
    padding: 15px 25px;
  }
  .page-slot-games__section-title {
    font-size: 1.8em;
  }
  .page-slot-games__section-subtitle {
    font-size: 0.95em;
  }
  .page-slot-games__content-grid,
  .page-slot-games__benefits-grid,
  .page-slot-games__game-grid,
  .page-slot-games__promo-grid,
  .page-slot-games__tips-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-slot-games__container {
    padding: 0 15px;
  }
  .page-slot-games__intro-section,
  .page-slot-games__benefits-section,
  .page-slot-games__game-showcase,
  .page-slot-games__how-to-play,
  .page-slot-games__promotions,
  .page-slot-games__tips,
  .page-slot-games__faq-section,
  .page-slot-games__cta-section {
    padding: 40px 0;
  }

  /* Mobile image responsiveness */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-slot-games__hero-image,
  .page-slot-games__image,
  .page-slot-games__game-image,
  .page-slot-games__promo-image {
    width: 100% !important;
    height: auto !important;
  }
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__hero-section,
  .page-slot-games__intro-section,
  .page-slot-games__benefits-section,
  .page-slot-games__game-showcase,
  .page-slot-games__how-to-play,
  .page-slot-games__promotions,
  .page-slot-games__tips,
  .page-slot-games__faq-section,
  .page-slot-games__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
  /* Ensure padding-top for video/hero if it's the first element */
  .page-slot-games__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }

  /* Mobile button responsiveness */
  .page-slot-games__cta-button,
  .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__cta-buttons,
  .page-slot-games__button-group,
  .page-slot-games__btn-container {
    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__cta-buttons {
    flex-direction: column;
  }
  
  /* Specific adjustments for smaller font sizes on mobile for better readability */
  .page-slot-games__hero-title {
    font-size: 1.8em;
  }
  .page-slot-games__hero-description {
    font-size: 0.9em;
  }
  .page-slot-games__section-title {
    font-size: 1.5em;
  }
  .page-slot-games__card-title {
    font-size: 1.2em;
  }
  .page-slot-games__step-title {
    font-size: 1.3em;
  }
  .page-slot-games__cta-title {
    font-size: 1.8em;
  }
  .page-slot-games__cta-description {
    font-size: 1em;
  }
}