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

/* Base styles and container */
.page-game-strategies-slots {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light background */
  background-color: #ffffff; /* Assuming body background is light */
}

.page-game-strategies-slots__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-game-strategies-slots__section {
  padding: 60px 0;
}

.page-game-strategies-slots__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-game-strategies-slots__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-game-strategies-slots__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
  color: inherit;
}

.page-game-strategies-slots__sub-title {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: inherit;
}

.page-game-strategies-slots__description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: inherit;
}

.page-game-strategies-slots__description--small {
  font-size: 0.9em;
  margin-top: 20px;
}

.page-game-strategies-slots__link {
  color: #017439;
  text-decoration: underline;
}

.page-game-strategies-slots__dark-bg .page-game-strategies-slots__link {
  color: #FFFF00;
}

/* Hero Section */
.page-game-strategies-slots__hero-section {
  position: relative;
  width: 100%;
  padding: 60px 0;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-game-strategies-slots__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

.page-game-strategies-slots__hero-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

.page-game-strategies-slots__hero-text {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  text-align: left;
}

.page-game-strategies-slots__hero-text p {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #ffffff;
}

.page-game-strategies-slots__video-wrapper {
  flex: 1;
  min-width: 300px;
  max-width: 800px;
  position: relative;
  padding-bottom: 45%; /* 16:9 aspect ratio (height / width * 100) */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-game-strategies-slots__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Buttons */
.page-game-strategies-slots__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-game-strategies-slots__cta-buttons--centered {
  justify-content: center;
}

.page-game-strategies-slots__btn-primary,
.page-game-strategies-slots__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-game-strategies-slots__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-game-strategies-slots__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-game-strategies-slots__btn-secondary {
  background-color: #ffffff;
  color: #017439;
  border: 2px solid #017439;
}

.page-game-strategies-slots__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005a2e;
  border-color: #005a2e;
}

.page-game-strategies-slots__btn-primary--large,
.page-game-strategies-slots__btn-secondary--large {
  padding: 18px 35px;
  font-size: 1.1em;
}

/* Content Grid for text and image */
.page-game-strategies-slots__content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
}

.page-game-strategies-slots__text-block {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

.page-game-strategies-slots__image-block {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

.page-game-strategies-slots__image-block--full-width {
  flex: 0 0 100%;
  max-width: 100%;
  text-align: center;
}

.page-game-strategies-slots__image-block--centered {
  display: flex;
  justify-content: center;
}

.page-game-strategies-slots__image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: block;
}

/* Lists */
.page-game-strategies-slots__list {
  list-style: disc;
  margin-left: 20px;
  padding-left: 0;
  color: inherit;
}

.page-game-strategies-slots__list li {
  margin-bottom: 10px;
  color: inherit;
}

.page-game-strategies-slots__list--mistakes {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.page-game-strategies-slots__list--mistakes li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-game-strategies-slots__list--mistakes li::before {
  content: '❌';
  position: absolute;
  left: 0;
  top: 0;
}

/* FAQ Section */
.page-game-strategies-slots__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-game-strategies-slots__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-game-strategies-slots__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  background-color: rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-game-strategies-slots__faq-question:hover {
  background-color: rgba(0, 0, 0, 0.2);
}

.page-game-strategies-slots__faq-question h3 {
  margin: 0;
  color: inherit;
}

.page-game-strategies-slots__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-game-strategies-slots__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #ffffff;
}

.page-game-strategies-slots__faq-answer p {
  margin: 0;
  padding-bottom: 15px;
}

.page-game-strategies-slots__faq-item.active .page-game-strategies-slots__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show all content */
  padding: 15px 25px;
}

.page-game-strategies-slots__faq-item.active .page-game-strategies-slots__faq-toggle {
  transform: rotate(0deg);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-game-strategies-slots__main-title {
    font-size: 3em;
  }
  .page-game-strategies-slots__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-game-strategies-slots__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-game-strategies-slots__main-title {
    font-size: 2.2em;
  }
  .page-game-strategies-slots__description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-game-strategies-slots__section-title {
    font-size: 1.8em;
  }
  .page-game-strategies-slots__sub-title {
    font-size: 1.5em;
  }
  .page-game-strategies-slots__section {
    padding: 40px 0;
  }
  .page-game-strategies-slots__container {
    padding: 0 15px;
  }

  /* Images */
  .page-game-strategies-slots img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-game-strategies-slots__image-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-game-strategies-slots__image-block--full-width {
    padding: 0 15px;
  }

  /* Videos */
  .page-game-strategies-slots video,
  .page-game-strategies-slots__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-game-strategies-slots__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0 !important; /* Handled by container padding */
    padding-right: 0 !important;
    overflow: hidden !important;
  }

  /* Buttons */
  .page-game-strategies-slots__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-game-strategies-slots__btn-primary,
  .page-game-strategies-slots__btn-secondary,
  .page-game-strategies-slots a[class*="button"],
  .page-game-strategies-slots a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .page-game-strategies-slots__cta-buttons,
  .page-game-strategies-slots__button-group,
  .page-game-strategies-slots__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  /* Text blocks */
  .page-game-strategies-slots__text-block {
    padding: 0 15px;
  }
  .page-game-strategies-slots__faq-question,
  .page-game-strategies-slots__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
}