.page-slot-games {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light backgrounds */
  line-height: 1.6;
  background-color: #f8f8f8;
}

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

.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  color: #ffffff;
}

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

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

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

.page-slot-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold color */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

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

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

.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;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background-color: #FFD700; /* Gold */
  color: #000080; /* Dark Blue */
  border: 2px solid #FFD700;
}

.page-slot-games__btn-primary:hover {
  background-color: #e6c200;
  color: #000066;
}

.page-slot-games__btn-secondary {
  background-color: transparent;
  color: #FFD700; /* Gold */
  border: 2px solid #FFD700;
}

.page-slot-games__btn-secondary:hover {
  background-color: #FFD700;
  color: #000080;
}

.page-slot-games__btn-text {
  display: inline-block;
  color: #000080;
  text-decoration: underline;
  font-weight: bold;
  margin-top: 10px;
}

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

.page-slot-games__section-title {
  font-size: 2.5em;
  color: #000080; /* Dark Blue */
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

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

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

.page-slot-games__light-bg {
  background-color: #f8f8f8;
  color: #333333;
  padding: 80px 0;
}

.page-slot-games__dark-bg {
  background-color: #000080; /* Dark Blue */
  color: #ffffff;
  padding: 80px 0;
}

.page-slot-games__dark-bg .page-slot-games__section-title {
  color: #FFD700; /* Gold */
}

.page-slot-games__dark-bg .page-slot-games__section-intro {
  color: #f0f0f0;
}

.page-slot-games__dark-bg .page-slot-games__card-title {
  color: #FFD700;
}

.page-slot-games__dark-bg .page-slot-games__btn-text {
  color: #FFD700;
}

.page-slot-games__dark-bg .page-slot-games__btn-text:hover {
  color: #ffffff;
}

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

.page-slot-games__feature-card,
.page-slot-games__promo-card,
.page-slot-games__step-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
}

.page-slot-games__dark-bg .page-slot-games__feature-card,
.page-slot-games__dark-bg .page-slot-games__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  color: #f0f0f0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games__feature-card:hover,
.page-slot-games__promo-card:hover,
.page-slot-games__step-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-slot-games__card-title {
  font-size: 1.6em;
  color: #000080; /* Dark Blue */
  margin-bottom: 15px;
}

.page-slot-games__step-card .page-slot-games__card-title {
  margin-top: 15px;
}

.page-slot-games__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #FFD700;
  color: #000080;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-slot-games__image-full-width {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 40px;
  object-fit: cover;
}

.page-slot-games__image-centered {
  display: block;
  margin: 0 auto 40px auto;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.page-slot-games__game-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px auto;
  max-width: 900px;
}

.page-slot-games__game-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__game-item .page-slot-games__item-title {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 10px;
}

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

.page-slot-games__mobile-app-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-slot-games__mobile-text {
  flex: 1;
  min-width: 300px;
}

.page-slot-games__mobile-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 300px;
}

.page-slot-games__mobile-app-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-slot-games__app-benefits {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  color: #333333;
}

.page-slot-games__app-benefits li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-slot-games__app-benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #FFD700;
  font-weight: bold;
  font-size: 1.2em;
}

.page-slot-games__jackpot-text {
  font-size: 1.2em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

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

.page-slot-games__faq-item {
  background-color: #ffffff;
  border-radius: 8px;
  margin-bottom: 15px;
  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.2em;
  font-weight: bold;
  color: #000080;
  cursor: pointer;
  background-color: #f0f0f0;
  border-bottom: 1px solid #e0e0e0;
}

.page-slot-games__faq-question h3 {
  margin: 0;
  color: #000080;
}

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFD700;
}

.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 value */
  padding: 20px;
}

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

.page-slot-games__cta-content {
  text-align: center;
}

/* Responsive Styles */
@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.5em;
  }

  .page-slot-games__hero-description {
    font-size: 1.1em;
  }

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

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

  .page-slot-games__section-intro {
    font-size: 1em;
  }

  .page-slot-games__light-bg,
  .page-slot-games__dark-bg {
    padding: 60px 0;
  }

  .page-slot-games__container {
    padding: 0 15px;
  }

  .page-slot-games__features-grid,
  .page-slot-games__promo-grid,
  .page-slot-games__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games__feature-card,
  .page-slot-games__promo-card,
  .page-slot-games__step-card {
    padding: 25px;
  }

  .page-slot-games__card-title {
    font-size: 1.4em;
  }

  .page-slot-games__mobile-app-content {
    flex-direction: column;
    gap: 30px;
  }

  /* Image responsive rules for mobile */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__mobile-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow: hidden !important; /* Prevent horizontal overflow */
  }

  /* Ensure content area itself does not cause overflow */
  .page-slot-games {
    overflow-x: hidden;
  }
}