/* style/slot-games.css */

/* Base styles for the slot games page */
.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background #f4f4f4 */
  background-color: #f4f4f4; /* Ensure consistency, though body handles main BG */
}

/* Sections */
.page-slot-games__section {
  padding: 60px 20px;
  margin-bottom: 20px;
}

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

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #08160F; /* Background for the hero section */
  padding-top: 10px; /* Small top padding, body handles header offset */
}

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

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: none; /* Ensure no color filters */
}

.page-slot-games__hero-content {
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Overlap slightly for visual effect */
  background-color: rgba(17, 47, 27, 0.9); /* Darker background for text on hero */
  border-radius: 10px;
  z-index: 1; /* Ensure content is above image */
  color: #F2FFF6; /* Main text color for dark backgrounds */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Use clamp for H1 */
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #F2C14E; /* Gold color for main title */
  letter-spacing: 0.05em;
}

.page-slot-games__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #A7D9B8; /* Secondary text color */
}

/* Section Titles */
.page-slot-games__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: #11A84E; /* Primary brand color for titles */
}

.page-slot-games__dark-section .page-slot-games__section-title {
  color: #F2C14E; /* Gold for titles on dark background */
}

.page-slot-games__sub-title {
  font-size: clamp(1.4em, 2.5vw, 2em);
  font-weight: bold;
  margin-top: 25px;
  margin-bottom: 15px;
  color: #11A84E;
}

.page-slot-games__dark-section .page-slot-games__sub-title {
  color: #F2FFF6;
}

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

.page-slot-games__dark-section .page-slot-games__text-block {
  color: #A7D9B8;
}

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

.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: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow text to break words */
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__btn-secondary {
  background: #ffffff;
  color: #11A84E;
  border: 2px solid #11A84E;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-slot-games__btn-secondary:hover {
  background: #f0f0f0;
  color: #0A4B2C;
  border-color: #0A4B2C;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Image Text Block */
.page-slot-games__image-text-block {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin-top: 40px;
}

.page-slot-games__image-text-block .page-slot-games__content-image {
  flex: 0 0 40%;
  max-width: 40%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  filter: none; /* Ensure no color filters */
  min-width: 200px; /* Minimum size for content images */
  min-height: 200px;
}

.page-slot-games__text-content {
  flex: 1;
}

/* List Styles */
.page-slot-games__list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-slot-games__list-item {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #e0e0e0;
}

.page-slot-games__list-item .page-slot-games__list-title {
  color: #11A84E;
  font-size: 1.3em;
  margin-bottom: 10px;
}

/* Advantages Section (Dark Background) */
.page-slot-games__advantages {
  background-color: #08160F; /* Background color for dark sections */
  color: #F2FFF6; /* Main text color for dark background */
}

.page-slot-games__advantages .page-slot-games__text-block {
  color: #A7D9B8;
}

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

.page-slot-games__card {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #F2FFF6; /* Text Main for card */
  border: 1px solid #2E7A4E; /* Border */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  filter: none; /* Ensure no color filters */
  min-width: 200px; /* Minimum size for card images */
  min-height: 200px;
}

.page-slot-games__card-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #F2C14E; /* Gold for card titles */
}

.page-slot-games__card-text {
  font-size: 0.95em;
  color: #A7D9B8; /* Text Secondary for card text */
}

/* How-to-play Steps */
.page-slot-games__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__step-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  border: 1px solid #e0e0e0;
}

.page-slot-games__step-number {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #11A84E;
  color: #ffffff;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(17, 168, 78, 0.3);
}

.page-slot-games__step-title {
  font-size: 1.3em;
  font-weight: bold;
  color: #11A84E;
  margin-bottom: 10px;
}

.page-slot-games__step-text {
  font-size: 0.95em;
  color: #555555;
}

/* Strategy Section (Dark Background) */
.page-slot-games__strategies {
  background-color: #0A4B2C; /* Deep Green background */
  color: #F2FFF6;
}

.page-slot-games__strategies .page-slot-games__text-block {
  color: #A7D9B8;
}

.page-slot-games__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-slot-games__strategy-item {
  background-color: #11271B; /* Card BG */
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 15px;
  border-left: 5px solid #F2C14E; /* Gold accent */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__strategy-title {
  font-size: 1.2em;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}

.page-slot-games__strategy-item p {
  color: #A7D9B8;
}

.page-slot-games__image-wrapper {
  margin-top: 40px;
  text-align: center;
}

.page-slot-games__image-wrapper .page-slot-games__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  filter: none; /* Ensure no color filters */
  min-width: 200px; /* Minimum size for content images */
  min-height: 200px;
}

/* FAQ Section */
.page-slot-games__faq-list {
  margin-top: 30px;
}

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

.page-slot-games__faq-item summary {
  list-style: none; /* Remove default marker */
  cursor: pointer;
  padding: 20px 25px;
  font-weight: bold;
  font-size: 1.1em;
  color: #11A84E;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f8f8f8;
  transition: background-color 0.3s ease;
}

.page-slot-games__faq-item summary:hover {
  background-color: #f0f0f0;
}

.page-slot-games__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-slot-games__faq-qtext {
  flex-grow: 1;
}

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

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
  content: '−'; /* Change to minus when open */
}

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

/* Bottom CTA */
.page-slot-games__cta-bottom {
  background-color: #08160F;
  text-align: center;
  color: #F2FFF6;
  padding: 80px 20px;
}

.page-slot-games__cta-bottom .page-slot-games__section-title {
  color: #F2C14E;
}

.page-slot-games__cta-bottom .page-slot-games__text-block {
  color: #A7D9B8;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-slot-games__hero-content {
    margin-top: -50px;
    padding: 30px 15px;
  }

  .page-slot-games__image-text-block {
    flex-direction: column;
    align-items: center;
  }

  .page-slot-games__image-text-block .page-slot-games__content-image {
    max-width: 100%;
    width: 100%;
    flex: none;
  }
}

@media (max-width: 768px) {
  .page-slot-games__section {
    padding: 40px 15px;
  }

  .page-slot-games__hero-section {
    padding-top: 10px !important; /* body handles --header-offset, this is for small decorative top space */
  }

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

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

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

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

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

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

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

  /* Image responsiveness for mobile */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    filter: none; /* Ensure no color filters */
  }
  
  /* Video responsiveness for mobile (if any, though not in this HTML) */
  .page-slot-games video,
  .page-slot-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Containers for mobile */
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__hero-section,
  .page-slot-games__image-text-block,
  .page-slot-games__image-wrapper,
  .page-slot-games__video-section,
  .page-slot-games__video-container,
  .page-slot-games__video-wrapper,
  .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;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  .page-slot-games__card-image {
    height: auto !important; /* Allow card images to adapt height */
    max-height: 250px;
  }

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

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

@media (max-width: 480px) {
  .page-slot-games__main-title {
    font-size: 1.7em;
  }

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

  .page-slot-games__hero-content {
    margin-top: -20px;
  }
}