/* style/slot-games.css */

/* General styles */
.page-slot-games {
  font-family: Arial, sans-serif;
  color: #333333; /* Dark text for light body background */
  line-height: 1.6;
  background-color: #f9f9f9; /* Light background for the main content area */
}

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

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

.page-slot-games__section:nth-child(even) {
  background-color: #f0f0f0;
}

.page-slot-games__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #26A9E0; /* Brand color for titles */
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

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

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

.page-slot-games__text-link {
  color: #26A9E0;
  text-decoration: underline;
}

/* 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: 18px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons don't overflow */
}

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

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

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

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

.page-slot-games__btn-large {
  padding: 18px 40px;
  font-size: 20px;
}

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

/* Hero Section */
.page-slot-games__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #FFFFFF;
  overflow: hidden;
}

.page-slot-games__hero-image-container {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

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

.page-slot-games__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px 60px;
  text-align: center;
}

.page-slot-games__main-title {
  font-size: 48px;
  font-weight: 900;
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-slot-games__description {
  font-size: 20px;
  color: #555555;
  margin-bottom: 30px;
}

.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 */
  width: 100%; /* Ensure container takes full width */
  max-width: 100%; /* Ensure container takes full width */
  box-sizing: border-box;
}

/* About Slots Section */
.page-slot-games__about-slots .page-slot-games__container {
  text-align: center;
}

/* Features Section */
.page-slot-games__features-grid {
  display: flex;
  align-items: center;
  gap: 40px;
}

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

.page-slot-games__feature-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.page-slot-games__feature-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-slot-games__feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-slot-games__feature-item {
  background-color: #FFFFFF;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  border-left: 5px solid #26A9E0;
}

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

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

.page-slot-games__step-item {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-slot-games__step-number {
  position: absolute;
  top: -15px;
  left: -15px;
  background-color: #26A9E0;
  color: #FFFFFF;
  font-size: 36px;
  font-weight: bold;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.page-slot-games__step-number::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.page-slot-games__step-title {
  font-size: 20px;
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 15px;
  min-height: 50px; /* Ensure consistent height for titles */
}

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

/* Promotions Section */
.page-slot-games__promotions-flex {
  display: flex;
  align-items: center;
  gap: 40px;
}

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

.page-slot-games__promo-image-wrapper {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-slot-games__promo-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* FAQ Section */
details.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
  color: #333333; /* Ensure text is dark on light background */
}
details.page-slot-games__faq-item summary.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-slot-games__faq-item summary.page-slot-games__faq-question::-webkit-details-marker {
  display: none;
}
details.page-slot-games__faq-item summary.page-slot-games__faq-question:hover {
  background: #f5f5f5;
}
.page-slot-games__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333; /* Dark text for question */
}
.page-slot-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-slot-games__faq-item .page-slot-games__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}
.page-slot-games__faq-answer p {
  margin: 0;
  color: #555555;
}


/* Responsive styles for tablet and mobile */
@media (max-width: 1024px) {
  .page-slot-games__section-title {
    font-size: 32px;
  }
  .page-slot-games__main-title {
    font-size: 40px;
  }
  .page-slot-games__description {
    font-size: 18px;
  }
  .page-slot-games__features-grid,
  .page-slot-games__promotions-flex {
    flex-direction: column;
    gap: 30px;
  }
  .page-slot-games__feature-content,
  .page-slot-games__feature-image-wrapper,
  .page-slot-games__promo-content,
  .page-slot-games__promo-image-wrapper {
    flex: none;
    width: 100%;
  }
  .page-slot-games__feature-item {
    padding: 20px;
  }
  .page-slot-games__feature-title {
    font-size: 20px;
  }
  .page-slot-games__step-title {
    font-size: 18px;
  }
  .page-slot-games__faq-qtext {
    font-size: 17px;
  }
}

/* Responsive styles for mobile */
@media (max-width: 768px) {
  /* General mobile styles */
  .page-slot-games__container {
    padding: 0 15px !important; /* Ensure padding for containers */
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-slot-games__section {
    padding: 40px 0 !important;
  }

  .page-slot-games__section-title {
    font-size: 28px !important;
    margin-bottom: 30px !important;
  }

  .page-slot-games__text-block {
    font-size: 16px !important;
  }

  /* Hero Section Mobile */
  .page-slot-games__hero-section {
    padding-top: 10px !important; /* Fixed header top padding */
  }

  .page-slot-games__hero-content {
    padding: 30px 15px 40px !important;
  }

  .page-slot-games__main-title {
    font-size: 32px !important;
    margin-bottom: 15px !important;
  }

  .page-slot-games__description {
    font-size: 16px !important;
    margin-bottom: 25px !important;
  }

  .page-slot-games__cta-buttons {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px !important;
    padding: 0 15px !important; /* Add padding to button container */
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Buttons mobile */
  .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: 12px 20px !important;
    font-size: 16px !important;
  }

  /* Images mobile */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-slot-games__hero-image-container,
  .page-slot-games__feature-image-wrapper,
  .page-slot-games__promo-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px !important; /* Add padding to image wrappers */
  }


  /* Features Section Mobile */
  .page-slot-games__feature-item {
    padding: 18px !important;
    margin-bottom: 15px !important;
  }
  .page-slot-games__feature-title {
    font-size: 18px !important;
  }

  /* How to Play Section Mobile */
  .page-slot-games__steps-wrapper {
    grid-template-columns: 1fr !important; /* Single column for steps */
    gap: 20px !important;
  }
  .page-slot-games__step-item {
    padding: 25px !important;
  }
  .page-slot-games__step-number {
    font-size: 30px !important;
    width: 60px !important;
    height: 60px !important;
    top: -10px !important;
    left: -10px !important;
  }
  .page-slot-games__step-title {
    font-size: 17px !important;
    margin-top: 25px !important;
    min-height: auto !important;
  }
  .page-slot-games__cta-center {
    margin-top: 30px !important;
  }
}