.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark background */
  background-color: var(--primary-color, #0A192F);
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-slot-games__dark-bg {
  background-color: #0A192F;
  color: #ffffff;
}

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

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

.page-slot-games__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-slot-games__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: inherit;
}

/* Hero Section */
.page-slot-games__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #0A192F 0%, #1A2F4A 100%);
  position: relative;
  overflow: hidden;
}

.page-slot-games__hero-content {
  max-width: 900px;
  z-index: 1;
}

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

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

.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: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

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

.page-slot-games__btn-primary:hover {
  background-color: #e6c200;
  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: #0A192F;
}

.page-slot-games__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-slot-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

/* Video Section */
.page-slot-games__video-section {
  padding: 60px 20px;
  text-align: center;
}

.page-slot-games__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-slot-games__video-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.page-slot-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  cursor: pointer;
}

/* Features Section */
.page-slot-games__features-section {
  padding: 80px 20px;
}

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

.page-slot-games__feature-card {
  background-color: #ffffff;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.page-slot-games__feature-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 10px;
  object-fit: cover;
}

.page-slot-games__feature-title {
  font-size: 1.6em;
  color: #0A192F;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-slot-games__feature-text {
  font-size: 1em;
  color: #555555;
}

/* Game Categories Section */
.page-slot-games__game-categories {
  padding: 80px 20px;
}

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

.page-slot-games__category-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-slot-games__category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

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

.page-slot-games__category-card h3,
.page-slot-games__category-card p {
  padding: 0 20px;
}

.page-slot-games__category-title {
  font-size: 1.4em;
  color: #FFD700;
  margin-top: 20px;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-slot-games__category-title a {
  color: #FFD700;
  text-decoration: none;
}

.page-slot-games__category-title a:hover {
  text-decoration: underline;
}

.page-slot-games__category-text {
  font-size: 0.95em;
  color: #f0f0f0;
  padding-bottom: 20px;
  flex-grow: 1;
}

.page-slot-games__cta-buttons--center {
  text-align: center;
  margin-top: 40px;
}

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

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

.page-slot-games__step-card {
  background-color: #f8f8f8;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  color: #333333;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__step-number {
  width: 60px;
  height: 60px;
  background-color: #0A192F;
  color: #FFD700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-slot-games__step-title {
  font-size: 1.5em;
  color: #0A192F;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-slot-games__step-text {
  font-size: 1em;
  color: #555555;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-slot-games__step-text a {
  color: #0A192F;
  text-decoration: underline;
}

.page-slot-games__step-text a:hover {
  color: #FFD700;
}

.page-slot-games__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
}

/* Tips & Strategies Section */
.page-slot-games__tips-strategies {
  padding: 80px 20px;
}

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

.page-slot-games__tip-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__tip-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.page-slot-games__tip-icon {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 10px;
  object-fit: cover;
}

.page-slot-games__tip-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-slot-games__tip-text {
  font-size: 1em;
  color: #f0f0f0;
}

.page-slot-games__tip-text a {
  color: #FFD700;
  text-decoration: underline;
}

.page-slot-games__tip-text a:hover {
  color: #e6c200;
}

/* Promotions Section */
.page-slot-games__promotions {
  padding: 80px 20px;
}

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

.page-slot-games__promo-card {
  background-color: #ffffff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-slot-games__promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

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

.page-slot-games__promo-card h3,
.page-slot-games__promo-card p {
  padding: 0 20px;
}

.page-slot-games__promo-title {
  font-size: 1.4em;
  color: #0A192F;
  margin-top: 20px;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-slot-games__promo-title a {
  color: #0A192F;
  text-decoration: none;
}

.page-slot-games__promo-title a:hover {
  text-decoration: underline;
}

.page-slot-games__promo-text {
  font-size: 0.95em;
  color: #555555;
  padding-bottom: 20px;
  flex-grow: 1;
}

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

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

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

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #0A192F;
  color: #FFD700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-slot-games__faq-title {
  font-size: 1.2em;
  margin: 0;
  font-weight: bold;
}

.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: #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;
  color: #f0f0f0;
}

.page-slot-games__faq-answer a {
  color: #FFD700;
  text-decoration: underline;
}

.page-slot-games__faq-answer a:hover {
  color: #e6c200;
}

/* Final CTA Section */
.page-slot-games__cta-final {
  padding: 80px 20px;
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-slot-games__hero-title {
    font-size: 2.8em;
  }
}

@media (max-width: 768px) {
  .page-slot-games {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-slot-games__hero-section {
    padding: 60px 20px;
  }

  .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% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }

  .page-slot-games__section-title {
    font-size: 2em;
  }

  .page-slot-games__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-slot-games__features-section,
  .page-slot-games__game-categories,
  .page-slot-games__how-to-play,
  .page-slot-games__tips-strategies,
  .page-slot-games__promotions,
  .page-slot-games__faq-section,
  .page-slot-games__cta-final {
    padding: 50px 15px;
  }

  .page-slot-games__hero-image,
  .page-slot-games__feature-icon,
  .page-slot-games__category-image,
  .page-slot-games__tip-icon,
  .page-slot-games__promo-image,
  .page-slot-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-slot-games__container,
  .page-slot-games__video-wrapper,
  .page-slot-games__features-grid,
  .page-slot-games__categories-grid,
  .page-slot-games__steps-grid,
  .page-slot-games__tips-grid,
  .page-slot-games__promotions-grid,
  .page-slot-games__faq-list,
  .page-slot-games__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  .page-slot-games__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure video section is below header on mobile */
  }

  .page-slot-games__video-link {
    position: relative;
    width: 100%;
    height: auto;
    padding-bottom: 56.25%; /* Maintain 16:9 aspect ratio */
  }

  .page-slot-games__video {
    position: absolute;
    top: 0;
    left: 0;
  }

  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
}

/* Ensure no filter is used for images */
.page-slot-games img {
  filter: none !important;
}

/* Content area images CSS size lower bound */
.page-slot-games__feature-icon,
.page-slot-games__category-image,
.page-slot-games__tip-icon,
.page-slot-games__promo-image {
  min-width: 200px;
  min-height: 200px;
  /* These are for display, actual img tags have width/height attributes */
}