/* style/slot-games.css */

/* Base styles for the page */
.page-slot-games {
  font-family: Arial, sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

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

/* Section styles */
.page-slot-games__hero-section,
.page-slot-games__introduction-section,
.page-slot-games__types-section,
.page-slot-games__guide-section,
.page-slot-games__strategy-section,
.page-slot-games__promotions-section,
.page-slot-games__security-section,
.page-slot-games__faq-section,
.page-slot-games__cta-section {
  padding: 60px 0;
  text-align: center;
}

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

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 20px;
  margin-top: -100px; /* Pull content up slightly, but NOT OVER THE IMAGE */
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent background for readability */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 15px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__description {
  font-size: 1.1em;
  line-height: 1.6;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__section-title {
  font-size: 2.2em;
  font-weight: 700;
  margin-bottom: 25px;
  color: #26A9E0;
}

.page-slot-games__text-block {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #f0f0f0;
  text-align: justify;
}

.page-slot-games__text-block a {
  color: #26A9E0;
  text-decoration: none;
}

.page-slot-games__text-block a:hover {
  text-decoration: underline;
}

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

.page-slot-games__light-bg {
  background-color: #1a1a1a;
  color: #f0f0f0;
}

.page-slot-games__white-bg {
  background-color: #FFFFFF;
  color: #333333;
}

/* Buttons */
.page-slot-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  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: #1e87b6;
  border-color: #1e87b6;
}

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

/* Image content */
.page-slot-games__image-content {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px;
  min-height: 200px;
}

/* Grid for types/promotions */
.page-slot-games__grid,
.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__card {
  background-color: #1a1a1a;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  box-sizing: border-box;
  color: #f0f0f0;
}

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

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

.page-slot-games__card-text {
  font-size: 0.95em;
  line-height: 1.6;
  color: #cccccc;
  flex-grow: 1;
}

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

/* Lists */
.page-slot-games__numbered-list,
.page-slot-games__bullet-list {
  list-style-position: inside;
  text-align: left;
  margin: 30px auto;
  max-width: 900px;
  padding-left: 0;
}

.page-slot-games__numbered-list li,
.page-slot-games__bullet-list li {
  font-size: 1.05em;
  line-height: 1.8;
  margin-bottom: 15px;
  color: #f0f0f0;
  padding-left: 10px;
}

.page-slot-games__numbered-list li strong {
  color: #26A9E0;
}

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

.page-slot-games__faq-item {
  background-color: #1a1a1a;
  border: 1px solid #26A9E0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #f0f0f0;
}

.page-slot-games__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px;
  font-size: 1.15em;
  font-weight: 600;
  color: #FFFFFF;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #26A9E0;
  border-bottom: 1px solid #1e87b6; /* Lighter border for contrast */
}

.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-qtext {
  flex-grow: 1;
  color: #FFFFFF;
}

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
  color: #FFFFFF;
}

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

.page-slot-games__faq-answer {
  padding: 20px;
  font-size: 1em;
  line-height: 1.6;
  color: #cccccc;
  background-color: #0a0a0a;
  border-top: 1px solid #1a1a1a;
}

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

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

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

  .page-slot-games__hero-image-wrapper {
    max-height: 400px;
  }

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

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

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

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

  .page-slot-games__text-block {
    font-size: 0.95em;
  }

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

  .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__grid,
  .page-slot-games__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-slot-games__card-image {
    height: auto;
  }

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

  .page-slot-games__numbered-list,
  .page-slot-games__bullet-list {
    margin: 20px auto;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games__numbered-list li,
  .page-slot-games__bullet-list li {
    font-size: 0.95em;
    padding-left: 0;
  }

  .page-slot-games__faq-list {
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

  /* Mobile image and video specific rules */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__hero-section,
  .page-slot-games__introduction-section,
  .page-slot-games__types-section,
  .page-slot-games__guide-section,
  .page-slot-games__strategy-section,
  .page-slot-games__promotions-section,
  .page-slot-games__security-section,
  .page-slot-games__faq-section,
  .page-slot-games__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* Padding already applied to .page-slot-games__container and sections */
    overflow-x: hidden !important;
  }

  /* Ensure no horizontal scroll from elements */
  .page-slot-games__hero-image-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}