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

.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  text-align: center;
  overflow: hidden;
  background-color: #26A9E0; /* Brand color for dark section */
  color: #FFFFFF;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 20px; /* Space between image and content */
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

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

.page-slot-games__main-title {
  font-size: clamp(2.2em, 4vw, 3.2em); /* Responsive font size for H1 */
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #FFFFFF;
}

.page-slot-games__hero-description {
  font-size: clamp(1em, 1.5vw, 1.2em);
  margin-bottom: 30px;
  color: #F0F0F0;
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-slot-games__btn-primary {
  background-color: #EA7C07; /* Login color for primary action */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

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

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

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

.page-slot-games__content-area,
.page-slot-games__advantages-section,
.page-slot-games__how-to-play,
.page-slot-games__tips-section,
.page-slot-games__faq-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  box-sizing: border-box;
}

.page-slot-games__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;
  color: #26A9E0; /* Brand color for section titles */
}

.page-slot-games__dark-section .page-slot-games__section-title {
  color: #FFFFFF;
}

.page-slot-games__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
  text-align: justify;
}

.page-slot-games__keyword {
  font-weight: bold;
  color: #26A9E0;
}

.page-slot-games__dark-section .page-slot-games__keyword {
  color: #FFFFFF;
}

.page-slot-games__feature-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: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
}

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

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

.page-slot-games__feature-list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #555555;
}

.page-slot-games__feature-list li {
  margin-bottom: 10px;
}

.page-slot-games__advantages-section {
  background-color: #26A9E0; /* Brand color */
  color: #FFFFFF;
}

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

.page-slot-games__advantage-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__advantage-heading {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFFFFF;
}

.page-slot-games__how-to-play {
  text-align: center;
}

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

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

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

.page-slot-games__step-heading {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-slot-games__tips-section {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-slot-games__tips-list {
  list-style-type: decimal;
  margin: 40px auto 0;
  max-width: 800px;
  padding-left: 25px;
}

.page-slot-games__tips-list li {
  font-size: 1.1em;
  margin-bottom: 15px;
  line-height: 1.7;
  color: #FFFFFF;
}

.page-slot-games__faq-section {
  text-align: center;
}

.page-slot-games__faq-list {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  text-align: left;
  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: #333333;
  cursor: pointer;
  background-color: #F8F8F8;
  border-bottom: 1px solid #e0e0e0;
  list-style: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

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

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

.page-slot-games__faq-qtext {
  flex-grow: 1;
}

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

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

.page-slot-games__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  color: #555555;
  line-height: 1.7;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-slot-games__hero-section {
    padding: 10px 20px 40px;
  }

  .page-slot-games__content-area,
  .page-slot-games__advantages-section,
  .page-slot-games__how-to-play,
  .page-slot-games__tips-section,
  .page-slot-games__faq-section {
    padding: 40px 20px;
  }
}

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

  .page-slot-games__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }

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

  .page-slot-games__section-title {
    font-size: clamp(1.5em, 5vw, 2em);
  }

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

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

  .page-slot-games__feature-grid,
  .page-slot-games__advantage-grid,
  .page-slot-games__steps-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games__feature-card,
  .page-slot-games__advantage-card,
  .page-slot-games__step-card {
    padding: 20px;
    margin: 0 15px;
  }

  .page-slot-games__feature-image,
  .page-slot-games__step-image {
    height: auto;
    max-height: 200px;
    object-fit: contain;
  }

  .page-slot-games__tips-list {
    padding-left: 20px;
    margin: 30px 15px 0;
  }

  .page-slot-games__tips-list li {
    font-size: 1em;
  }

  .page-slot-games__faq-list {
    margin: 30px 15px 0;
  }

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

  .page-slot-games__faq-answer {
    padding: 10px 20px 15px;
  }

  /* Image responsive enforcement */
  .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__hero-section,
  .page-slot-games__hero-image-wrapper,
  .page-slot-games__hero-content,
  .page-slot-games__content-area,
  .page-slot-games__feature-card,
  .page-slot-games__advantage-card,
  .page-slot-games__step-card,
  .page-slot-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  .page-slot-games__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
}

@media (max-width: 480px) {
  .page-slot-games__main-title {
    font-size: clamp(1.6em, 8vw, 2.2em);
  }

  .page-slot-games__section-title {
    font-size: clamp(1.4em, 6vw, 1.8em);
  }

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    padding: 10px 15px;
    font-size: 0.95em;
  }

  .page-slot-games__feature-heading,
  .page-slot-games__advantage-heading,
  .page-slot-games__step-heading {
    font-size: 1.2em;
  }

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

  .page-slot-games__faq-answer {
    padding: 8px 15px 12px;
  }
}