/* style/game-guides-slots.css */

/* Base styles for the page content */
.page-game-guides-slots {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #FFFFFF; /* Default body background is white */
}

.page-game-guides-slots__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Section spacing and background colors */
.page-game-guides-slots__section {
  padding: 60px 0;
}

.page-game-guides-slots__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

.page-game-guides-slots__dark-bg {
  background-color: #26A9E0; /* Main brand color */
  color: #FFFFFF;
}

/* Hero Section */
.page-game-guides-slots__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  overflow: hidden;
}

.page-game-guides-slots__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-game-guides-slots__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-game-guides-slots__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 30px 0;
}

.page-game-guides-slots__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-game-guides-slots__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #F0F0F0;
}

/* Buttons */
.page-game-guides-slots__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-game-guides-slots__btn-primary,
.page-game-guides-slots__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-game-guides-slots__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

.page-game-guides-slots__btn-primary:hover {
  background-color: #D46B00;
  border-color: #D46B00;
}

.page-game-guides-slots__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0; /* Main brand color */
  border: 2px solid #26A9E0;
}

.page-game-guides-slots__btn-secondary:hover {
  background-color: #F0F8FF;
  color: #1E8BC3;
  border-color: #1E8BC3;
}

/* Titles and Text Blocks */
.page-game-guides-slots__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
}

.page-game-guides-slots__sub-title {
  font-size: clamp(1.4em, 2.5vw, 2em);
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-game-guides-slots__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-game-guides-slots__text-block a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-game-guides-slots__text-block a:hover {
  color: #1E8BC3;
}

/* Lists */
.page-game-guides-slots__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  font-size: 1.1em;
}

.page-game-guides-slots__list-item {
  margin-bottom: 10px;
}

/* Images within content */
.page-game-guides-slots__image-wrapper {
  margin: 30px auto;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  text-align: center;
}

.page-game-guides-slots__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  margin: 0 auto; /* Center images */
}

/* FAQ Section */
.page-game-guides-slots__faq-list {
  max-width: 800px;
  margin: 40px auto;
}

.page-game-guides-slots__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-game-guides-slots__faq-item.active .page-game-guides-slots__faq-answer {
  max-height: 2000px; /* Sufficiently large to show content */
  padding-bottom: 20px;
}

.page-game-guides-slots__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: 600;
  cursor: pointer;
  background-color: #F8F8F8;
  border-bottom: 1px solid #E0E0E0;
  color: #333333;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;   /* Safari */
  -khtml-user-select: none;    /* Konqueror HTML */
  -moz-user-select: none;      /* Old versions of Firefox */
  -ms-user-select: none;       /* Internet Explorer/Edge */
  user-select: none;           /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

.page-game-guides-slots__faq-question:hover {
  background-color: #EFEFEF;
}

.page-game-guides-slots__faq-item[open] > .page-game-guides-slots__faq-question {
  background-color: #EFEFEF;
  border-bottom-color: transparent;
}

.page-game-guides-slots__faq-qtext {
  flex-grow: 1;
  color: #333333;
}

.page-game-guides-slots__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
  color: #26A9E0;
}

.page-game-guides-slots__faq-item[open] .page-game-guides-slots__faq-toggle {
  transform: rotate(45deg);
}

/* For details/summary, hide default marker */
.page-game-guides-slots__faq-item summary {
  list-style: none;
}

.page-game-guides-slots__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-game-guides-slots__faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-game-guides-slots__faq-answer p {
  padding-top: 15px;
  font-size: 1em;
  color: #555555;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-game-guides-slots__section {
    padding: 40px 0;
  }

  .page-game-guides-slots__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-game-guides-slots__main-title {
    font-size: 2em;
  }

  .page-game-guides-slots__hero-description {
    font-size: 1em;
  }

  .page-game-guides-slots__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-game-guides-slots__btn-primary,
  .page-game-guides-slots__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 1em;
    padding: 12px 20px;
  }

  .page-game-guides-slots__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  .page-game-guides-slots__sub-title {
    font-size: 1.3em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-game-guides-slots__text-block,
  .page-game-guides-slots__list,
  .page-game-guides-slots__list-item {
    font-size: 0.95em;
  }

  .page-game-guides-slots__container {
    padding: 0 15px;
  }

  /* Mobile image responsiveness */
  .page-game-guides-slots img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-game-guides-slots__image-wrapper,
  .page-game-guides-slots__content-image {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding: 0 15px; /* Add padding to content images to prevent touching edges */
  }

  /* FAQ specific mobile styles */
  .page-game-guides-slots__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-game-guides-slots__faq-answer {
    padding: 0 20px;
  }

  .page-game-guides-slots__faq-answer p {
    padding-top: 10px;
  }
}