.page-slot-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333;
  background-color: #FFFFFF;
}

.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 40px;
  overflow: hidden;
  color: #333333;
  background: linear-gradient(135deg, #E0F2F7, #FFFFFF);
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 20px;
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

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

.page-slot-games__main-title {
  font-size: clamp(2em, 3.5vw, 3.5em);
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.page-slot-games__description {
  font-size: 1.1em;
  margin-bottom: 25px;
  color: #555555;
}

.page-slot-games__jackpot-display {
  background-color: #EA7C07;
  color: #FFFFFF;
  padding: 15px 30px;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: inline-block;
  animation: pulse 1.5s infinite alternate;
}

.page-slot-games__jackpot-label {
  font-size: 1.2em;
  font-weight: 600;
  margin-bottom: 5px;
}

.page-slot-games__jackpot-value {
  font-size: 2.5em;
  font-weight: 800;
  display: block;
}

@keyframes pulse {
  from { transform: scale(1); }
  to { transform: scale(1.05); }
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-slot-games__btn-primary:hover {
  background-color: #1a8ccb;
  border-color: #1a8ccb;
  transform: translateY(-2px);
}

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

.page-slot-games__btn-secondary:hover {
  background-color: #F0F8FF;
  color: #1a8ccb;
  border-color: #1a8ccb;
  transform: translateY(-2px);
}

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

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

.page-slot-games__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  margin-bottom: 30px;
  font-weight: 700;
}

.page-slot-games__section--intro .page-slot-games__section-title,
.page-slot-games__section--popular-games .page-slot-games__section-title,
.page-slot-games__section--how-to-play .page-slot-games__section-title,
.page-slot-games__section--promotions .page-slot-games__section-title,
.page-slot-games__section--cta-final .page-slot-games__section-title {
  color: #26A9E0;
}

.page-slot-games__section--why-choose.page-slot-games__dark-bg,
.page-slot-games__section--features.page-slot-games__dark-bg,
.page-slot-games__section--tips.page-slot-games__dark-bg,
.page-slot-games__section--faq.page-slot-games__dark-bg {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-slot-games__section--why-choose .page-slot-games__section-title,
.page-slot-games__section--features .page-slot-games__section-title,
.page-slot-games__section--tips .page-slot-games__section-title,
.page-slot-games__section--faq .page-slot-games__section-title {
  color: #FFFFFF;
}

.page-slot-games__section--why-choose .page-slot-games__description,
.page-slot-games__section--features .page-slot-games__description,
.page-slot-games__section--tips .page-slot-games__description,
.page-slot-games__section--faq .page-slot-games__description {
  color: #F0F8FF;
}

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

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

.page-slot-games__feature-item:hover {
  transform: translateY(-5px);
}

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

.page-slot-games__feature-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 600;
}

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

.page-slot-games__game-tile {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease;
  padding-bottom: 20px;
  position: relative;
}

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

.page-slot-games__game-image {
  width: 100%;
  height: 250px; /* Fixed height for square appearance */
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-slot-games__game-title {
  font-size: 1.3em;
  color: #333333;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-slot-games__btn-play {
  background-color: #EA7C07;
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-play:hover {
  background-color: #cf6806;
}

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

.page-slot-games__feature-card {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: background-color 0.3s ease;
  color: #FFFFFF;
}

.page-slot-games__feature-card:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

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

.page-slot-games__feature-card-title {
  font-size: 1.4em;
  color: #FFFFFF;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-slot-games__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
}

.page-slot-games__step-item {
  background-color: #FFFFFF;
  border: 1px solid #E0F2F7;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.page-slot-games__step-item a {
  color: #EA7C07;
  text-decoration: none;
  font-weight: 600;
}

.page-slot-games__step-item a:hover {
  text-decoration: underline;
}

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

.page-slot-games__tip-item {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  color: #FFFFFF;
}

.page-slot-games__tip-title {
  font-size: 1.4em;
  color: #FFFFFF;
  margin-bottom: 15px;
  font-weight: 600;
}

.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: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease;
  color: #333333;
  padding-bottom: 20px;
}

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

.page-slot-games__promotion-image {
  width: 100%;
  height: auto;
  max-height: 225px; /* Adjust as needed */
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-slot-games__promotion-title {
  font-size: 1.3em;
  color: #26A9E0;
  margin-bottom: 10px;
  padding: 0 15px;
  font-weight: 600;
}

.page-slot-games__promotion-card p {
  padding: 0 15px;
  margin-bottom: 20px;
}

.page-slot-games__btn-link {
  display: inline-block;
  background-color: #EA7C07;
  color: #FFFFFF;
  padding: 10px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-link:hover {
  background-color: #cf6806;
}

.page-slot-games__faq-list {
  margin-top: 40px;
  text-align: left;
}

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

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: #FFFFFF;
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none;
}

.page-slot-games__faq-question::-webkit-details-marker {
  display: none;
}

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

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
  content: '−';
}

.page-slot-games__faq-answer {
  padding: 0 25px 20px;
  font-size: 1.1em;
  color: #F0F8FF;
}

.page-slot-games__section--cta-final .page-slot-games__container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 30px;
  text-align: left;
}

.page-slot-games__cta-text-content {
  flex: 2;
  min-width: 300px;
}

.page-slot-games__cta-image-wrapper {
  flex: 1;
  min-width: 250px;
  text-align: center;
}

.page-slot-games__cta-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-slot-games__cta-buttons--end {
  flex: 1;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  justify-content: center;
  align-items: center;
}

/* General image responsiveness */
.page-slot-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
  .page-slot-games {
    font-size: 15px;
  }

  .page-slot-games__hero-section {
    padding-top: 10px !important; /* Specific rule for header offset */
    padding-bottom: 20px;
  }

  .page-slot-games__hero-image {
    object-fit: contain !important; /* Ensure image is not cropped */
    aspect-ratio: unset !important;
    max-height: none !important;
    margin-bottom: 15px;
  }

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

  .page-slot-games__jackpot-value {
    font-size: 2em;
  }

  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games__btn-play,
  .page-slot-games__btn-link {
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games__section {
    padding: 40px 10px;
  }

  .page-slot-games__container {
    padding: 0 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }

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

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

  .page-slot-games__features-grid,
  .page-slot-games__game-grid,
  .page-slot-games__feature-list,
  .page-slot-games__tips-grid,
  .page-slot-games__promotions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games__game-image {
    height: 200px;
  }

  .page-slot-games__game-tile {
    padding-bottom: 15px;
  }

  .page-slot-games__promotion-image {
    max-height: 180px;
  }

  .page-slot-games__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-slot-games__faq-answer {
    padding: 0 20px 15px;
    font-size: 1em;
  }

  .page-slot-games__cta-text-content,
  .page-slot-games__cta-image-wrapper,
  .page-slot-games__cta-buttons--end {
    min-width: unset;
    width: 100%;
    text-align: center;
  }

  .page-slot-games__cta-buttons--end {
    align-items: center;
  }

  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .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;
  }

  /* Ensure no horizontal overflow */
  body {
    overflow-x: hidden;
  }
}