.page-slot-games {
  font-family: 'Arial', sans-serif;
  color: #333333;
  line-height: 1.6;
  background-color: var(--bg-color, #FFFFFF);
}

.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  color: #FFFFFF;
  overflow: hidden;
}

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

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
  border-radius: 8px;
}

.page-slot-games__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: #FFFFFF;
  max-width: 100%; /* Ensure H1 doesn't cause overflow */
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-slot-games__description {
  font-size: 1.1em;
  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, border-color 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text breaking */
  box-sizing: border-box;
  max-width: 100%;
}

.page-slot-games__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

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

.page-slot-games__btn-secondary {
  background-color: #EA7C07; /* Custom color for login button */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

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

.page-slot-games__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #FFFFFF;
  color: #333333;
}

.page-slot-games__section-title {
  font-size: 2.2em;
  font-weight: bold;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  margin-top: 60px;
}

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

.page-slot-games p {
  margin-bottom: 20px;
  font-size: 1.05em;
  color: #333333;
}

.page-slot-games__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px 0;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

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

.page-slot-games__feature-card {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: #333333;
}

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

.page-slot-games__list,
.page-slot-games__numbered-list {
  list-style-position: inside;
  margin-bottom: 20px;
  padding-left: 20px;
  color: #333333;
}

.page-slot-games__list li,
.page-slot-games__numbered-list li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

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

.page-slot-games__promo-card {
  background-color: #FFFFFF;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  color: #333333;
}

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

.page-slot-games__promo-card .page-slot-games__card-title {
  font-size: 1.3em;
  color: #26A9E0;
}

.page-slot-games__btn-link {
  display: inline-block;
  margin-top: auto; /* Push to bottom */
  padding: 10px 20px;
  background-color: #26A9E0;
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-slot-games__btn-link:hover {
  background-color: #1e8bbd;
}

.page-slot-games__center-cta {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 20px;
}

.page-slot-games__faq-section {
  background-color: #26A9E0; /* Darker background for contrast */
  color: #FFFFFF;
  padding: 60px 20px;
  text-align: center;
}

.page-slot-games__faq-list {
  max-width: 900px;
  margin: 40px auto 20px auto;
}

.page-slot-games__faq-item {
  background-color: #FFFFFF;
  color: #333333;
  margin-bottom: 15px;
  border-radius: 8px;
  text-align: left;
  overflow: hidden;
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-weight: bold;
  font-size: 1.1em;
  cursor: pointer;
  background-color: #f5f5f5;
  border-bottom: 1px solid #e0e0e0;
  -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-slot-games__faq-item[open] .page-slot-games__faq-question {
  background-color: #e0e0e0;
}

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

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

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

.page-slot-games__faq-answer {
  padding: 15px 25px;
  background-color: #FFFFFF;
  border-top: 1px solid #e0e0e0;
  font-size: 1em;
  color: #333333;
}

.page-slot-games__image-centered {
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  max-width: 100%;
  height: auto;
  min-width: 200px;
  min-height: 200px;
}

.page-slot-games__cta-bottom-section {
  background-color: #FFFFFF;
  padding: 60px 20px;
  text-align: center;
  color: #333333;
}

.page-slot-games__cta-bottom-section .page-slot-games__section-title {
  color: #26A9E0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-slot-games__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
}

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

  .page-slot-games__hero-section {
    padding: 60px 15px;
    padding-top: 10px !important;
  }

  .page-slot-games__hero-content {
    padding: 15px;
  }

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

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

  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-slot-games__content-area,
  .page-slot-games__faq-section,
  .page-slot-games__cta-bottom-section {
    padding: 40px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

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

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

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

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

  .page-slot-games__video-section {
    padding-top: 10px !important;
  }

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