/* style/slot-games.css */

/* General Styles */
.page-slot-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--secondary-color); /* Assuming shared.css sets --secondary-color to #FFFFFF */
}

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

.page-slot-games__section-title {
  font-size: 2.5rem;
  color: #017439; /* Brand primary color for titles */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-slot-games__section-description {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #555555;
}

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

.page-slot-games__dark-section {
  background-color: #017439;
  color: #ffffff;
  padding: 80px 0;
}

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

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

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

.page-slot-games__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px;
  overflow: hidden;
}

.page-slot-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-slot-games__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 2;
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
  max-width: 900px;
}

.page-slot-games__hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-slot-games__hero-description {
  font-size: 1.3rem;
  margin-bottom: 40px;
  line-height: 1.5;
}

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

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-slot-games__btn-primary {
  background-color: #C30808; /* Register/Login red */
  color: #FFFF00; /* Register/Login font yellow */
  border: 2px solid #C30808;
}

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

.page-slot-games__btn-secondary {
  background-color: #ffffff;
  color: #017439; /* Brand primary color */
  border: 2px solid #017439;
}

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

/* Intro Section */
.page-slot-games__intro-section .page-slot-games__text-block:first-of-type {
  margin-top: 20px;
}

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

.page-slot-games__card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
  color: #333333;
}

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

.page-slot-games__card-title {
  font-size: 1.8rem;
  color: #017439;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-slot-games__card-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
}

/* Guide Section */
.page-slot-games__ordered-list {
  list-style: none;
  padding-left: 0;
  margin-top: 40px;
}

.page-slot-games__ordered-list li {
  background-color: #f9f9f9;
  margin-bottom: 15px;
  padding: 20px;
  border-left: 5px solid #017439;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  font-size: 1.05rem;
  color: #333333;
}

.page-slot-games__ordered-list li strong {
  color: #017439;
  font-size: 1.15rem;
}

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

/* Promotions Section */
.page-slot-games__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-slot-games__promo-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease;
  color: #333333;
}

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

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

.page-slot-games__promo-card .page-slot-games__card-title {
  padding: 20px 20px 0;
  text-align: left;
}

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

/* Features Section */
.page-slot-games__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-slot-games__feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.page-slot-games__feature-title {
  font-size: 1.8rem;
  margin-bottom: 15px;
  font-weight: bold;
  color: #FFFF00; /* Yellow for important features */
}

.page-slot-games__feature-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-slot-games__feature-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px auto;
  display: block;
}

/* 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-color: #f9f9f9;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15rem;
  font-weight: bold;
  color: #017439;
  cursor: pointer;
  background-color: #e6f7ed; /* Light green background for questions */
  border-bottom: 1px solid #d4edda;
}

.page-slot-games__faq-question:hover {
  background-color: #d4edda;
}

.page-slot-games__faq-question h3 {
  margin: 0;
  font-size: 1.15rem;
  color: #017439;
}

.page-slot-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-slot-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show all content */
  padding: 15px 20px 20px;
}

.page-slot-games__faq-image-wrapper {
  margin-top: 60px;
}

/* Final CTA Section */
.page-slot-games__cta-final-section {
  text-align: center;
  padding: 100px 0;
}

.page-slot-games__cta-final-section .page-slot-games__section-description {
  margin-bottom: 50px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__hero-title {
    font-size: 3rem;
  }
  .page-slot-games__hero-description {
    font-size: 1.1rem;
  }
  .page-slot-games__section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    min-height: 500px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }
  .page-slot-games__hero-title {
    font-size: 2.2rem;
  }
  .page-slot-games__hero-description {
    font-size: 1rem;
  }
  .page-slot-games__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-slot-games__container {
    padding: 0 15px;
  }
  .page-slot-games__dark-section,
  .page-slot-games__light-bg {
    padding: 50px 0;
  }
  .page-slot-games__section-title {
    font-size: 1.8rem;
  }
  .page-slot-games__section-description {
    font-size: 0.95rem;
  }
  .page-slot-games__text-block {
    font-size: 0.95rem;
  }
  .page-slot-games__card,
  .page-slot-games__promo-card,
  .page-slot-games__feature-item {
    padding: 20px;
  }
  .page-slot-games__card-title,
  .page-slot-games__feature-title {
    font-size: 1.5rem;
  }
  .page-slot-games__ordered-list li {
    padding: 15px;
    font-size: 0.95rem;
  }
  .page-slot-games__ordered-list li strong {
    font-size: 1.05rem;
  }

  /* Mobile image responsiveness */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-slot-games__promo-image {
    height: 200px;
  }
  .page-slot-games__image-wrapper,
  .page-slot-games__promo-grid,
  .page-slot-games__features-grid,
  .page-slot-games__grid,
  .page-slot-games__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-slot-games__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column;
    gap: 10px;
  }
  .page-slot-games__video-section {
    padding-top: var(--header-offset, 120px) !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}