.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Ensure body background is respected */
}

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

.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure header offset */
  background-color: #26A9E0; /* Brand color for hero */
  color: #ffffff;
  overflow: hidden;
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

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

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

.page-slot-games__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

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

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

.page-slot-games__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #26A9E0; /* Brand color for titles */
}

.page-slot-games__section-intro {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__features-section,
.page-slot-games__game-types-section,
.page-slot-games__promotions-section {
  padding: 60px 0;
}

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

.page-slot-games__dark-bg .page-slot-games__section-title {
  color: #ffffff;
}

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

.page-slot-games__light-bg .page-slot-games__section-title {
  color: #26A9E0;
}

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

.page-slot-games__feature-card {
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #333333;
  min-height: 200px; /* Ensure card content area is not too small */
}

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

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

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

.page-slot-games__download-section {
  padding: 60px 0;
  text-align: center;
}

.page-slot-games__download-steps {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.page-slot-games__download-item {
  flex: 1;
  min-width: 280px;
  max-width: 45%;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  color: #ffffff;
}

.page-slot-games__download-subtitle {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-slot-games__download-text {
  margin-bottom: 20px;
}

.page-slot-games__download-qr-code {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.page-slot-games__qr-image {
    width: 250px; /* Display size */
    height: 250px; /* Display size */
    object-fit: contain;
    border: 5px solid #ffffff;
    border-radius: 10px;
}

.page-slot-games__qr-text {
    font-size: 1.1em;
    color: #ffffff;
}

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

.page-slot-games__game-card {
  background-color: #f8f8f8;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #333333;
  text-align: center;
}

.page-slot-games__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-slot-games__game-title {
  font-size: 1.5em;
  margin: 0 15px 10px;
  color: #26A9E0;
}

.page-slot-games__game-description {
  font-size: 0.95em;
  padding: 0 15px 20px;
}

.page-slot-games__game-cta {
    text-align: center;
}

.page-slot-games__strategy-section {
  padding: 60px 0;
}

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

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

.page-slot-games__strategy-subtitle {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #ffffff;
}

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

.page-slot-games__promotions-section {
    padding: 60px 0;
}

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

.page-slot-games__promo-card {
    background-color: #f8f8f8;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #333333;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-slot-games__promo-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    margin-bottom: 15px;
}

.page-slot-games__promo-title {
    font-size: 1.5em;
    margin: 0 15px 10px;
    color: #26A9E0;
}

.page-slot-games__promo-text {
    font-size: 0.95em;
    padding: 0 15px 20px;
    flex-grow: 1;
}

.page-slot-games__promo-card .page-slot-games__btn-primary,
.page-slot-games__promo-card .page-slot-games__btn-secondary {
    display: inline-block;
    margin: 0 15px 20px;
    width: calc(100% - 30px);
}

.page-slot-games__faq-section {
  padding: 60px 0;
}

.page-slot-games__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-slot-games__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #26A9E0; /* Brand color for question background */
  color: #ffffff;
  font-weight: bold;
  font-size: 1.1em;
}

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

.page-slot-games__faq-title {
    margin: 0;
    color: #ffffff;
}

.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;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 20px;
  color: #f0f0f0;
}

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

.page-slot-games__btn-primary {
  display: inline-block;
  background-color: #26A9E0;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: 2px solid transparent;
}

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

.page-slot-games__btn-secondary {
  display: inline-block;
  background-color: #ffffff;
  color: #26A9E0;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 2px solid #26A9E0;
}

.page-slot-games__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1e87bb;
}

/* Login button specific style */
a.page-slot-games__btn-login {
    background-color: #EA7C07;
    color: #ffffff;
}

a.page-slot-games__btn-login:hover {
    background-color: #c96706;
}

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

@media (max-width: 768px) {
  .page-slot-games {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-slot-games__hero-section {
    padding: 60px 15px;
    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 {
    flex-direction: column;
    gap: 15px;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games a[class*="button"],
  .page-slot-games 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;
    padding-right: 15px;
  }
  .page-slot-games__cta-buttons,
  .page-slot-games__button-group,
  .page-slot-games__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-slot-games__cta-buttons {
    display: flex;
    flex-direction: column;
  }
  .page-slot-games__section-title {
    font-size: 1.8em;
  }
  .page-slot-games__section-intro {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-slot-games__features-grid,
  .page-slot-games__game-grid,
  .page-slot-games__strategy-grid,
  .page-slot-games__promotions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-slot-games__feature-card,
  .page-slot-games__game-card,
  .page-slot-games__strategy-item,
  .page-slot-games__promo-card {
    padding: 20px;
  }
  .page-slot-games__game-image,
  .page-slot-games__promo-image {
    height: 180px;
  }
  .page-slot-games__download-steps {
    flex-direction: column;
    align-items: center;
  }
  .page-slot-games__download-item {
    max-width: 100%;
    width: 100%;
  }
  .page-slot-games__qr-image {
    width: 200px; /* Adjust QR image size for mobile */
    height: 200px;
  }
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__download-section,
  .page-slot-games__game-types-section,
  .page-slot-games__strategy-section,
  .page-slot-games__promotions-section,
  .page-slot-games__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .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;
  }
}