.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #FFFFFF; /* Default body background */
}

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

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  min-height: 600px;
  overflow: hidden;
  color: #ffffff;
  background-color: #26A9E0; /* Main brand color for dark section */
  gap: 30px;
}

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

.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.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

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

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

.page-slot-games__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #333333;
}

.page-slot-games__light-bg {
  background-color: #ffffff;
  color: #333333;
  padding: 60px 0;
}

.page-slot-games__dark-section {
  background-color: #26A9E0;
  color: #ffffff;
  padding: 60px 0;
}

.page-slot-games__dark-section .page-slot-games__section-title,
.page-slot-games__dark-section .page-slot-games__section-description {
  color: #ffffff;
}

/* Buttons */
.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;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background-color: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

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

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

.page-slot-games__btn-secondary:hover {
  background-color: #f0f8ff;
  color: #1e87b8;
  border-color: #1e87b8;
}

.page-slot-games__btn-large {
  padding: 18px 35px;
  font-size: 1.2em;
}

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

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

.page-slot-games__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

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

/* Download Guide */
.page-slot-games__download-guide {
  text-align: center;
}

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

.page-slot-games__guide-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  text-align: left;
  color: #ffffff;
}

.page-slot-games__guide-title {
  font-size: 1.8em;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-slot-games__guide-item ol {
  list-style-type: decimal;
  padding-left: 25px;
  margin-bottom: 20px;
}

.page-slot-games__guide-item li {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-slot-games__guide-item a {
  color: #ffffff;
  text-decoration: underline;
}

.page-slot-games__guide-item a:hover {
  color: #EA7C07;
}

/* Register Login */
.page-slot-games__register-login {
  text-align: center;
}

.page-slot-games__auth-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

.page-slot-games__auth-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  text-align: left;
  color: #333333;
}

.page-slot-games__auth-title {
  font-size: 1.8em;
  margin-bottom: 20px;
  color: #26A9E0;
}

.page-slot-games__auth-card ol {
  list-style-type: decimal;
  padding-left: 25px;
  margin-bottom: 20px;
}

.page-slot-games__auth-card li {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: #555555;
}

.page-slot-games__auth-card a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-slot-games__auth-card a:hover {
  color: #EA7C07;
}

/* Game Types */
.page-slot-games__game-types {
  text-align: center;
}

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

.page-slot-games__game-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  color: #ffffff;
}

.page-slot-games__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-slot-games__game-title {
  font-size: 1.4em;
  margin: 20px 0 10px;
  color: #ffffff;
}

.page-slot-games__game-text {
  padding: 0 20px 20px;
  color: #f0f0f0;
}

/* Promotions */
.page-slot-games__promotions {
  text-align: center;
}

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

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

.page-slot-games__promo-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

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

.page-slot-games__promo-text {
  padding: 0 20px 20px;
  color: #555555;
}

/* Security Section */
.page-slot-games__security-section {
  text-align: center;
}

.page-slot-games__security-features ul {
  list-style: none;
  padding: 0;
  margin: 40px auto 0 auto;
  max-width: 800px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  text-align: left;
}

.page-slot-games__security-features li {
  display: flex;
  align-items: center;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-slot-games__security-icon {
  width: 32px;
  height: 32px;
  margin-right: 15px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Support Section */
.page-slot-games__support-section {
  text-align: center;
}

.page-slot-games__support-channels {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

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

.page-slot-games__support-link:hover {
  background-color: #f0f8ff;
  color: #1e87b8;
  border-color: #1e87b8;
}

.page-slot-games__support-text {
  background-color: #f5f5f5;
  color: #333333;
  border-color: #f5f5f5;
}

/* FAQ Section */
.page-slot-games__faq-section {
  text-align: center;
}

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

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

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

.page-slot-games__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-slot-games__faq-item[open] .page-slot-games__faq-question {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.page-slot-games__faq-qtext a {
  color: #ffffff;
  text-decoration: underline;
}

.page-slot-games__faq-qtext a:hover {
  color: #EA7C07;
}

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
}

.page-slot-games__faq-answer {
  padding: 20px 25px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-slot-games__faq-answer p {
  margin: 0;
  color: #f0f0f0;
}

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

.page-slot-games__faq-answer a:hover {
  color: #EA7C07;
}

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

.page-slot-games__faq-item summary {
  list-style: none;
}

/* Call to Action Bottom */
.page-slot-games__cta-bottom {
  text-align: center;
  padding: 80px 20px;
}

.page-slot-games__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-slot-games__cta-description {
  font-size: 1.2em;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

/* Image and Video Sizing */
.page-slot-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

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

  .page-slot-games__cta-title {
    font-size: 2.4em;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure space for fixed header */
    min-height: 500px;
  }

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

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

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

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

  .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 {
    flex-direction: column;
  }

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

  .page-slot-games video {
    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__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__feature-grid,
  .page-slot-games__game-grid,
  .page-slot-games__promo-grid,
  .page-slot-games__security-features ul {
    grid-template-columns: 1fr;
  }

  .page-slot-games__guide-steps,
  .page-slot-games__auth-grid {
    flex-direction: column;
    gap: 20px;
  }

  .page-slot-games__guide-item,
  .page-slot-games__auth-card {
    min-width: unset;
    max-width: 100%;
  }

  .page-slot-games__support-channels {
    flex-direction: column;
  }

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

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

  .page-slot-games__feature-icon {
    width: 60px;
    height: 60px;
  }

  .page-slot-games__security-icon {
    width: 28px;
    height: 28px;
  }
}