.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #121212; /* Matches body background */
}

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

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

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

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

.page-slot-games__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

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

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

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

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

.page-slot-games__hero-description {
  font-size: 1.3em;
  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-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-tertiary {
  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;
  text-align: center;
}

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

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

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

.page-slot-games__btn-secondary:hover {
  background-color: #E0B500;
  color: #0A2342;
}

.page-slot-games__btn-tertiary {
  background-color: #0A2342;
  color: #E0B500;
  border: 2px solid #0A2342;
}

.page-slot-games__btn-tertiary:hover {
  background-color: #081d36;
  border-color: #081d36;
}

/* About Section */
.page-slot-games__about-section {
  padding: 80px 0;
}

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

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

.page-slot-games__feature-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

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

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

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

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

.page-slot-games__game-type-card {
  background-color: rgba(0, 0, 0, 0.05);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #e0e0e0;
}

.page-slot-games__game-type-title {
  font-size: 1.5em;
  color: #0A2342;
  margin-bottom: 15px;
}

.page-slot-games__game-type-card p {
  color: #555555;
}

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

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

.page-slot-games__step-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #f0f0f0;
}

.page-slot-games__step-icon {
  background-color: #E0B500;
  color: #0A2342;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  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.8em;
  color: #E0B500;
  margin-bottom: 15px;
}

.page-slot-games__step-card .page-slot-games__btn-tertiary {
  margin-top: 20px;
}

/* Strategy Section */
.page-slot-games__strategy-section {
  padding: 80px 0;
}

.page-slot-games__strategy-content {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.page-slot-games__strategy-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}

.page-slot-games__strategy-text ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
}

.page-slot-games__strategy-text li {
  background-color: rgba(0, 0, 0, 0.05);
  margin-bottom: 10px;
  padding: 15px;
  border-radius: 8px;
  font-size: 1.1em;
  color: #555555;
  border-left: 5px solid #E0B500;
}

.page-slot-games__strategy-text li strong {
  color: #0A2342;
}

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

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

.page-slot-games__promotion-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #f0f0f0;
}

.page-slot-games__promotion-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-slot-games__promotion-title {
  font-size: 1.6em;
  color: #E0B500;
  margin-bottom: 10px;
}

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

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

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

.page-slot-games__faq-item {
  background-color: rgba(0, 0, 0, 0.05);
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #0A2342;
  cursor: pointer;
  background-color: #ffffff;
  transition: background-color 0.3s ease;
}

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

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  font-weight: normal;
  color: #E0B500;
  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 25px;
  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 show content */
  padding: 15px 25px;
}

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

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

.page-slot-games__cta-section .page-slot-games__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-slot-games__hero-title {
    font-size: 3em;
  }
  .page-slot-games__hero-description {
    font-size: 1.2em;
  }
  .page-slot-games__section-title {
    font-size: 2em;
  }
  .page-slot-games__strategy-content {
    flex-direction: column;
    align-items: center;
  }
  .page-slot-games__strategy-image {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-slot-games {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-slot-games__container {
    padding: 0 15px;
  }
  .page-slot-games__hero-section {
    height: auto;
    min-height: 60vh;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-slot-games__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-slot-games__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }
  .page-slot-games__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games__btn-tertiary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-slot-games__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-slot-games__features-grid,
  .page-slot-games__game-types-grid,
  .page-slot-games__steps-grid,
  .page-slot-games__promotions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-slot-games__feature-image,
  .page-slot-games__promotion-image,
  .page-slot-games__strategy-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-slot-games__feature-card,
  .page-slot-games__game-type-card,
  .page-slot-games__step-card,
  .page-slot-games__promotion-card {
    padding: 20px;
  }
  .page-slot-games__strategy-text li {
    font-size: 1em;
    padding: 12px;
  }
  .page-slot-games__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-slot-games__faq-answer {
    padding: 0 20px;
  }
  .page-slot-games__faq-item.active .page-slot-games__faq-answer {
    padding: 10px 20px;
  }
  .page-slot-games__cta-actions {
    flex-direction: column;
    gap: 15px;
  }
  /* Content area image CSS dimensions lower bound */
  .page-slot-games img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-slot-games__video-section {
    padding-top: var(--header-offset, 120px) !important; /* With shared.css, this will be handled by body. If not, this is the fallback */
  }
}

@media (max-width: 480px) {
  .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__feature-title,
  .page-slot-games__step-title,
  .page-slot-games__promotion-title {
    font-size: 1.4em;
  }
  .page-slot-games__step-icon {
    width: 50px;
    height: 50px;
    font-size: 1.8em;
  }
  .page-slot-games__faq-question {
    font-size: 1em;
  }
  .page-slot-games__faq-toggle {
    font-size: 1.3em;
  }
}