/* style/slot-games.css */
.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--bg-color, #ffffff);
}

.page-slot-games__section {
  padding: 60px 20px;
  text-align: center;
  color: #333333; /* Default text color for sections */
}

.page-slot-games__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-slot-games__light-bg {
  background-color: #ffffff;
  color: #333333;
}

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

.page-slot-games__hero-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 600px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background-color: #017439;
}

.page-slot-games__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.2;
}

.page-slot-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  text-align: center;
  padding: 20px;
}

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

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

.page-slot-games__hero-cta-buttons,
.page-slot-games__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

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

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

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

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

.page-slot-games__btn-secondary {
  background-color: #ffffff;
  color: #017439;
  border: 2px solid #017439;
}

.page-slot-games__btn-secondary:hover {
  background-color: #e0e0e0;
  color: #017439;
  border-color: #017439;
}

.page-slot-games__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: inherit;
}

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

.page-slot-games__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
  text-align: left;
  color: inherit;
}

.page-slot-games__text-block a {
  color: #017439;
  text-decoration: underline;
}

.page-slot-games__dark-bg .page-slot-games__text-block a {
  color: #FFFF00;
}

.page-slot-games__list {
  list-style: disc inside;
  text-align: left;
  margin-bottom: 20px;
  padding-left: 20px;
  color: inherit;
}

.page-slot-games__list-item {
  margin-bottom: 10px;
  font-size: 1.1em;
}

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

.page-slot-games__step-item {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  color: #333333;
}

.page-slot-games__step-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

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

.page-slot-games__step-description {
  font-size: 1em;
  color: #555555;
}

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

.page-slot-games__card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #333333;
}

.page-slot-games__card-image {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-slot-games__card-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #017439;
}

.page-slot-games__card-description {
  font-size: 0.95em;
  color: #555555;
}

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

.page-slot-games__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: left;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-slot-games__promo-image {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-slot-games__promo-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-slot-games__promo-description {
  font-size: 0.95em;
  color: #f0f0f0;
  margin-bottom: 20px;
}

.page-slot-games__mt-40 {
  margin-top: 40px;
}

.page-slot-games__mt-20 {
  margin-top: 20px;
}

.page-slot-games__tips-list {
  list-style: none;
  padding-left: 0;
  text-align: left;
}

.page-slot-games__tips-list .page-slot-games__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
}

.page-slot-games__tips-list .page-slot-games__list-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #017439;
  font-weight: bold;
  font-size: 1.2em;
}

.page-slot-games__mobile-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

.page-slot-games__mobile-text {
  flex: 1;
  min-width: 300px;
}

.page-slot-games__mobile-image-wrapper {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-slot-games__mobile-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

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

.page-slot-games__feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  color: #ffffff;
}

.page-slot-games__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-slot-games__feature-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-slot-games__feature-description {
  font-size: 0.95em;
  color: #f0f0f0;
}

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

.page-slot-games__faq-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  background-color: #ffffff;
  color: #333333;
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  font-size: 1.15em;
  font-weight: bold;
  cursor: pointer;
  background-color: #f5f5f5;
  color: #017439;
  transition: background-color 0.3s ease;
}

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

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

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
  transform: rotate(45deg);
}

.page-slot-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show all content */
  padding: 15px 20px;
}

.page-slot-games__faq-answer p {
  margin: 0;
  padding-bottom: 10px;
  font-size: 1em;
  color: #555555;
}

.page-slot-games__faq-answer p:last-child {
  padding-bottom: 0;
}

.page-slot-games__faq-answer a {
  color: #017439;
  text-decoration: underline;
}

.page-slot-games__conclusion-section {
  padding-bottom: 80px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-slot-games__hero-title {
    font-size: 3em;
  }

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

  .page-slot-games__subsection-title {
    font-size: 1.6em;
  }
}

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

  .page-slot-games__hero-section {
    min-height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-slot-games__hero-title {
    font-size: 2.2em;
  }

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

  .page-slot-games__hero-cta-buttons,
  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

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

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

  .page-slot-games__container,
  .page-slot-games__login-steps,
  .page-slot-games__game-cards,
  .page-slot-games__promotions-grid,
  .page-slot-games__mobile-content,
  .page-slot-games__security-features,
  .page-slot-games__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-slot-games__subsection-title {
    font-size: 1.4em;
  }

  .page-slot-games__text-block,
  .page-slot-games__list-item,
  .page-slot-games__card-description,
  .page-slot-games__promo-description,
  .page-slot-games__feature-description {
    font-size: 0.95em;
  }

  .page-slot-games__card-title,
  .page-slot-games__promo-title,
  .page-slot-games__feature-title {
    font-size: 1.2em;
  }

  .page-slot-games__step-item,
  .page-slot-games__card,
  .page-slot-games__promo-card,
  .page-slot-games__feature-item {
    padding: 20px;
  }

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

  .page-slot-games video,
  .page-slot-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-slot-games__video-section,
  .page-slot-games__video-container,
  .page-slot-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

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

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

@media (max-width: 480px) {
  .page-slot-games__hero-title {
    font-size: 1.8em;
  }

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