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

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

.page-slot-games-how-to-play__dark-bg {
  background-color: #017439; /* Brand primary color */
  color: #ffffff;
}

.page-slot-games-how-to-play__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-slot-games-how-to-play__hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 0;
  padding-top: var(--header-offset, 120px);
  text-align: left;
  position: relative;
  overflow: hidden;
}

.page-slot-games-how-to-play__hero-content {
  flex: 1;
  padding-left: 20px;
  max-width: 60%;
  z-index: 1;
}

.page-slot-games-how-to-play__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-slot-games-how-to-play__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-slot-games-how-to-play__hero-cta-buttons {
  display: flex;
  gap: 20px;
}

.page-slot-games-how-to-play__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  max-width: 40%;
  padding-right: 20px;
}

.page-slot-games-how-to-play__hero-image {
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  height: auto;
  display: block;
}

.page-slot-games-how-to-play__video-section {
  padding: 60px 0;
  text-align: center;
  background-color: #f8f8f8;
}

.page-slot-games-how-to-play__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 30px auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.page-slot-games-how-to-play__video {
  width: 100%;
  height: auto;
  display: block;
}

.page-slot-games-how-to-play__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  pointer-events: none;
  transition: background 0.3s ease;
}

.page-slot-games-how-to-play__video-wrapper:hover .page-slot-games-how-to-play__video-overlay {
  background: rgba(0, 0, 0, 0.1);
}

.page-slot-games-how-to-play__video-cta {
  font-size: 1.1em;
  margin-top: 20px;
  color: #017439;
  font-weight: bold;
}

.page-slot-games-how-to-play__content-area {
  padding: 60px 0;
}

.page-slot-games-how-to-play__section-title {
  font-size: 2.5em;
  color: #017439;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-slot-games-how-to-play__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #555555;
}

.page-slot-games-how-to-play__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  line-height: 1.7;
  text-align: justify;
}

.page-slot-games-how-to-play__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  font-size: 1.05em;
}

.page-slot-games-how-to-play__list li {
  margin-bottom: 10px;
}

.page-slot-games-how-to-play__sub-list {
  list-style: circle;
  margin-left: 20px;
  margin-top: 5px;
}

.page-slot-games-how-to-play__image-text-layout {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 40px;
}

.page-slot-games-how-to-play__image-text-layout--reverse {
  flex-direction: row-reverse;
}

.page-slot-games-how-to-play__image-content {
  flex: 0 0 40%;
  max-width: 40%;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  height: auto;
  display: block;
}

.page-slot-games-how-to-play__image-text-layout .page-slot-games-how-to-play__list {
  flex: 1;
  margin-bottom: 0;
}

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

.page-slot-games-how-to-play__card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
  border: 1px solid #e0e0e0;
}

.page-slot-games-how-to-play__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-slot-games-how-to-play__card-image {
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
  border-radius: 5px;
}

.page-slot-games-how-to-play__card-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 15px;
}

.page-slot-games-how-to-play__card-text {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

.page-slot-games-how-to-play__faq-list {
  max-width: 900px;
  margin: 40px auto;
}

.page-slot-games-how-to-play__faq-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.page-slot-games-how-to-play__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: #f9f9f9;
  cursor: pointer;
  font-size: 1.15em;
  color: #017439;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-slot-games-how-to-play__faq-question:hover {
  background-color: #f0f0f0;
}

.page-slot-games-how-to-play__faq-question h3 {
  margin: 0;
  font-size: 1.15em;
  color: #017439;
}

.page-slot-games-how-to-play__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #017439;
  transition: transform 0.3s ease;
}

.page-slot-games-how-to-play__faq-item.active .page-slot-games-how-to-play__faq-toggle {
  transform: rotate(45deg);
}

.page-slot-games-how-to-play__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-slot-games-how-to-play__faq-item.active .page-slot-games-how-to-play__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

.page-slot-games-how-to-play__faq-answer p {
  margin: 0;
  font-size: 1em;
  color: #555555;
}

.page-slot-games-how-to-play__faq-answer a {
  color: #017439;
  text-decoration: underline;
}

.page-slot-games-how-to-play__cta-section-bottom {
  text-align: center;
  padding: 60px 0;
  background-color: #f0f0f0;
  margin-top: 60px;
  border-radius: 10px;
}

.page-slot-games-how-to-play__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-slot-games-how-to-play__btn-primary,
.page-slot-games-how-to-play__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games-how-to-play__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-slot-games-how-to-play__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-slot-games-how-to-play__btn-secondary {
  background-color: #ffffff;
  color: #017439;
  border: 2px solid #017439;
}

.page-slot-games-how-to-play__btn-secondary:hover {
  background-color: #e6e6e6;
  color: #005a2e;
  border-color: #005a2e;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-slot-games-how-to-play__hero-title {
    font-size: 2.5em;
  }

  .page-slot-games-how-to-play__section-title {
    font-size: 2em;
  }

  .page-slot-games-how-to-play__image-text-layout {
    flex-direction: column;
    align-items: center;
  }

  .page-slot-games-how-to-play__image-content {
    max-width: 80%;
    flex: none;
  }

  .page-slot-games-how-to-play__image-text-layout--reverse {
    flex-direction: column;
  }
}

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

  .page-slot-games-how-to-play__hero-section {
    flex-direction: column-reverse;
    text-align: center;
    padding: 40px 0;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-slot-games-how-to-play__hero-content {
    max-width: 100%;
    padding: 0 15px;
  }

  .page-slot-games-how-to-play__hero-title {
    font-size: 2em;
  }

  .page-slot-games-how-to-play__hero-description {
    font-size: 1em;
  }

  .page-slot-games-how-to-play__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .page-slot-games-how-to-play__hero-image-wrapper {
    max-width: 100%;
    padding: 0 15px;
    margin-bottom: 30px;
  }

  .page-slot-games-how-to-play__section-title {
    font-size: 1.8em;
    padding: 0 15px;
  }

  .page-slot-games-how-to-play__section-description {
    font-size: 0.95em;
    padding: 0 15px;
  }

  .page-slot-games-how-to-play__video-section {
    padding: 40px 0;
  }

  .page-slot-games-how-to-play__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
    overflow: hidden !important;
  }
  
  .page-slot-games-how-to-play__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-slot-games-how-to-play__content-area {
    padding: 40px 0;
  }

  .page-slot-games-how-to-play__container {
    padding: 0 15px;
  }

  .page-slot-games-how-to-play__image-content {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-slot-games-how-to-play__card {
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }

  .page-slot-games-how-to-play__benefits-grid {
    grid-template-columns: 1fr;
  }

  .page-slot-games-how-to-play__faq-question {
    padding: 15px 20px;
    font-size: 1.05em;
  }

  .page-slot-games-how-to-play__faq-question h3 {
    font-size: 1.05em;
  }

  .page-slot-games-how-to-play__faq-answer {
    padding: 0 20px;
  }

  .page-slot-games-how-to-play__faq-item.active .page-slot-games-how-to-play__faq-answer {
    padding: 15px 20px;
  }

  .page-slot-games-how-to-play__cta-section-bottom {
    padding: 40px 15px;
  }

  .page-slot-games-how-to-play__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-slot-games-how-to-play__btn-primary,
  .page-slot-games-how-to-play__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-slot-games-how-to-play__hero-cta-buttons,
  .page-slot-games-how-to-play__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
}

/* Global image sizing for content area to prevent small icons */
.page-slot-games-how-to-play img {
  min-width: 200px;
  min-height: 200px;
  object-fit: cover; /* Ensure images fill their space nicely */
}

/* Override min-width for images within text blocks if they are meant to be smaller, but still enforce minimum for general content images */
.page-slot-games-how-to-play .page-slot-games-how-to-play__text-block img {
  max-width: 100%;
  height: auto;
  min-width: unset;
  min-height: unset;
}

/* Ensure no CSS filters alter image colors */
.page-slot-games-how-to-play img {
  filter: none !important;
}