/* style/slot-games.css */

/* Base styles for the page-slot-games scope */
.page-slot-games {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  line-height: 1.6;
}

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

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

.page-slot-games__light-bg {
  background-color: #FFFFFF;
  color: #333333; /* Dark text for light background */
}

.page-slot-games__section-title {
  font-size: clamp(2em, 2.5vw, 2.8em);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #26A9E0;
  line-height: 1.2;
}

.page-slot-games__main-title {
  font-size: clamp(2.5em, 4vw, 3.8em);
  font-weight: 900;
  text-align: center;
  color: #FFFFFF;
  line-height: 1.1;
  max-width: 900px;
  margin: 0 auto 20px auto;
}

.page-slot-games__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: center;
}

.page-slot-games__highlight {
  color: #26A9E0;
  font-weight: bold;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small decorative top padding, body handles header offset */
  overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height of hero image */
  overflow: hidden;
  position: relative;
  margin-bottom: 30px;
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  margin-top: 20px;
}

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

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

.page-slot-games__cta-button {
  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, transform 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

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

.page-slot-games__btn-primary:hover {
  background-color: #1f8ec4;
  transform: translateY(-2px);
}

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

.page-slot-games__btn-secondary:hover {
  background-color: #26A9E0;
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* Introduction Section */
.page-slot-games__introduction-section,
.page-slot-games__benefits-section,
.page-slot-games__getting-started-section,
.page-slot-games__faq-section {
  padding: 80px 0;
}

.page-slot-games__promotions-section,
.page-slot-games__tips-section,
.page-slot-games__game-types-section {
  padding: 80px 0;
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-slot-games__content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  max-width: 1000px; /* Adjust max-width as needed */
  margin: 40px auto 0 auto;
  border-radius: 10px;
  object-fit: cover;
}

.page-slot-games__image-half-width {
  width: 100%;
  height: auto;
  display: block;
  max-width: 600px; /* Adjust max-width as needed */
  margin: 40px auto 0 auto;
  border-radius: 10px;
  object-fit: cover;
}

.page-slot-games__image-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__image-spacing {
  margin-top: 30px;
  margin-bottom: 30px;
}

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

.page-slot-games__card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
  color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-slot-games__card:hover {
  transform: translateY(-5px);
}

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

.page-slot-games__card-text {
  font-size: 1em;
  line-height: 1.5;
}

/* Benefits Section */
.page-slot-games__benefits-list,
.page-slot-games__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__benefit-item,
.page-slot-games__tip-item {
  background-color: #f5f5f5;
  color: #333333;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: flex-start;
  gap: 15px;
  text-align: left;
}

.page-slot-games__benefit-item strong,
.page-slot-games__tip-item strong {
  color: #26A9E0;
  font-size: 1.1em;
}

/* Getting Started Section */
.page-slot-games__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  counter-reset: step-counter;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__step-item {
  background-color: #f5f5f5;
  color: #333333;
  padding: 25px 30px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: flex-start;
  gap: 20px;
  text-align: left;
  position: relative;
}

.page-slot-games__step-item::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  background-color: #26A9E0;
  color: #FFFFFF;
  font-size: 1.4em;
  font-weight: bold;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.page-slot-games__step-item strong {
  color: #26A9E0;
  font-size: 1.1em;
}

.page-slot-games__button-group {
  margin-top: 40px;
  text-align: center;
}

/* FAQ Section */
.page-slot-games__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__faq-item {
  background: #f5f5f5;
  color: #333333;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-slot-games__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #26A9E0;
  outline: none;
}

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

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.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: 0 25px 20px 25px;
  font-size: 1em;
  line-height: 1.6;
  color: #333333;
}

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

  .page-slot-games__container {
    padding: 0 15px;
  }

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

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

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

  .page-slot-games__hero-description {
    font-size: 1.1em;
    margin-bottom: 25px;
  }

  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-slot-games__cta-button,
  .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__button-group {
    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__introduction-section,
  .page-slot-games__benefits-section,
  .page-slot-games__getting-started-section,
  .page-slot-games__faq-section,
  .page-slot-games__promotions-section,
  .page-slot-games__tips-section,
  .page-slot-games__game-types-section {
    padding: 40px 0;
  }

  .page-slot-games__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games__card {
    padding: 20px;
  }

  .page-slot-games__card-title {
    font-size: 1.5em;
  }

  .page-slot-games__benefits-list,
  .page-slot-games__tips-list,
  .page-slot-games__steps-list {
    margin-top: 30px;
  }

  .page-slot-games__benefit-item,
  .page-slot-games__tip-item,
  .page-slot-games__step-item {
    padding: 15px;
    gap: 10px;
    flex-direction: column;
    align-items: flex-start;
  }

  .page-slot-games__step-item::before {
    width: 30px;
    height: 30px;
    font-size: 1.2em;
  }

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

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

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

  .page-slot-games__hero-image-wrapper,
  .page-slot-games__content-wrapper,
  .page-slot-games__grid,
  .page-slot-games__card,
  .page-slot-games__benefits-list,
  .page-slot-games__tips-list,
  .page-slot-games__steps-list,
  .page-slot-games__faq-list,
  .page-slot-games__button-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }
}