.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark, so text should be light */
  background-color: #0a0a0a; /* Inherited from shared.css, explicitly set for clarity */
}

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

.page-slot-games__section {
  padding: 60px 0;
  text-align: center;
}

.page-slot-games__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-slot-games__sub-section-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-slot-games__text-block {
  font-size: 1.1em;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

.page-slot-games__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

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

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

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

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
}

.page-slot-games__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

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

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

.page-slot-games__btn-secondary:hover {
  background-color: #FFFFFF;
  color: #26A9E0;
}

/* About Slots Section */
.page-slot-games__about-slots {
  background-color: #0a0a0a;
  color: #ffffff;
}

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

.page-slot-games__card {
  background-color: rgba(255, 255, 255, 0.08); /* Light background on dark body */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
  color: #ffffff; /* Light text on card background */
}

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

.page-slot-games__card-image {
  width: 100%;
  max-width: 400px; /* Recommended size 400x300 */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-slot-games__card-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-slot-games__card p {
  font-size: 1em;
  color: #f0f0f0;
  text-align: center;
}

.page-slot-games__full-width-image {
  width: 100%;
  height: auto;
  max-width: 1000px; /* Recommended size 1000x400 */
  border-radius: 10px;
  margin-top: 40px;
  object-fit: cover;
}

.page-slot-games__image-margin-top {
  margin-top: 60px;
}

/* How to Play Section */
.page-slot-games__how-to-play {
  background-color: #1a1a1a; /* Slightly lighter dark background */
  color: #ffffff;
}

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

.page-slot-games__step-item {
  background-color: rgba(38, 169, 224, 0.1); /* Transparent brand color */
  border: 1px solid #26A9E0;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  color: #ffffff;
}

.page-slot-games__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #26A9E0;
  color: #ffffff;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-slot-games__step-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-slot-games__step-item p {
  color: #f0f0f0;
  margin-bottom: 20px;
}

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

/* Strategy Section */
.page-slot-games__strategy {
  background-color: #0a0a0a;
  color: #ffffff;
}

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

/* Promotions Section */
.page-slot-games__promotions {
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-slot-games__promo-card {
  background-color: rgba(38, 169, 224, 0.15); /* Slightly stronger transparent brand color */
  border: 1px solid #26A9E0;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  color: #ffffff;
}

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

.page-slot-games__promo-card p {
  color: #f0f0f0;
  margin-bottom: 25px;
}

/* Why Choose Section */
.page-slot-games__why-choose {
  background-color: #0a0a0a;
  color: #ffffff;
}

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

.page-slot-games__feature-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 300px; /* Ensure consistent height for visual appeal */
}

.page-slot-games__feature-icon {
  width: 100px; /* Adjust as needed, ensure min 200x200 for actual image, but display can be smaller */
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-slot-games__feature-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-slot-games__feature-item p {
  color: #f0f0f0;
}

/* Video Section */
.page-slot-games__video-section {
  background-color: #1a1a1a;
  color: #ffffff;
}

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

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

/* FAQ Section */
.page-slot-games__faq {
  background-color: #0a0a0a;
  color: #ffffff;
}

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

.page-slot-games__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.page-slot-games__faq-item:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #26A9E0;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-slot-games__faq-item.active .page-slot-games__faq-question {
  border-bottom: none;
}

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  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: 15px 20px;
}

.page-slot-games__faq-answer p {
  margin: 0;
  color: #f0f0f0;
}

/* CTA Section */
.page-slot-games__cta {
  background-color: #26A9E0; /* Brand color background */
  color: #ffffff;
  padding: 80px 0;
}

.page-slot-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.page-slot-games__cta .page-slot-games__btn-primary {
  background-color: #EA7C07; /* Login custom color */
  border-color: #EA7C07;
}

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

.page-slot-games__cta .page-slot-games__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border-color: #ffffff;
}

.page-slot-games__cta .page-slot-games__btn-secondary:hover {
  background-color: #e0e0e0;
  color: #1a7fb0;
  border-color: #e0e0e0;
}

/* 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__hero-section {
    height: 500px;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    height: 400px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-slot-games__hero-title {
    font-size: 2.2em;
  }
  .page-slot-games__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .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 {
    padding: 40px 0;
  }
  .page-slot-games__section-title {
    font-size: 1.8em;
  }
  .page-slot-games__text-block {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-slot-games__container {
    padding: 0 15px !important; /* Add padding to prevent content overflow */
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  /* Image responsive */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important; /* Ensure content area images don't display smaller than intended */
    height: auto !important;
    display: block !important;
  }

  /* Video responsive */
  .page-slot-games video,
  .page-slot-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-slot-games__video-section,
  .page-slot-games__video-container,
  .page-slot-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-slot-games__video-wrapper {
    padding-bottom: 56.25% !important; /* Maintain aspect ratio */
  }

  .page-slot-games__grid-2-cols,
  .page-slot-games__grid-3-cols,
  .page-slot-games__grid-features,
  .page-slot-games__step-by-step {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-slot-games__feature-item {
    min-height: auto;
  }
  .page-slot-games__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-slot-games__faq-answer {
    padding: 10px 15px;
  }
  .page-slot-games__faq-item.active .page-slot-games__faq-answer {
    padding: 15px 15px;
  }
  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .page-slot-games__hero-title {
    font-size: 1.8em;
  }
  .page-slot-games__section-title {
    font-size: 1.5em;
  }
  .page-slot-games__hero-section {
    height: 350px;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    font-size: 1em;
    padding: 10px 15px;
  }
  .page-slot-games__feature-icon {
    width: 80px;
    height: 80px;
  }
  .page-slot-games__faq-question {
    font-size: 1em;
  }
}