/* style/slot-games.css */

/* --- Base Styles --- */
.page-slot-games {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light background */
  background-color: #ffffff; /* Assuming body default white background */
  line-height: 1.6;
}

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

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

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

/* --- Buttons --- */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-play,
.page-slot-games__btn-details {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

.page-slot-games__btn-secondary {
  background-color: transparent;
  color: #017439; /* Brand color */
  border: 2px solid #017439;
  margin-left: 15px;
}

.page-slot-games__btn-secondary:hover {
  background-color: #017439;
  color: #ffffff;
}

.page-slot-games__btn-play {
  background-color: #017439; /* Brand color */
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
}

.page-slot-games__btn-play:hover {
  background-color: #005a2e;
}

.page-slot-games__btn-details {
  background-color: transparent;
  color: #017439;
  border: 1px solid #017439;
  padding: 8px 15px;
  font-size: 0.9em;
  border-radius: 5px;
}

.page-slot-games__btn-details:hover {
  background-color: #017439;
  color: #ffffff;
}

.page-slot-games__btn-large {
  padding: 15px 35px;
  font-size: 1.1rem;
}

.page-slot-games__center-cta {
  text-align: center;
  margin-top: 50px;
}

/* --- Hero Section --- */
.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  display: flex;
  flex-direction: column; /* Ensure image is above content */
  align-items: center;
  justify-content: center;
  overflow: hidden; /* For responsive image */
}

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

.page-slot-games__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
  background-color: #ffffff; /* Light background for text */
  color: #333333;
}

.page-slot-games__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem); /* Responsive H1 font size */
  font-weight: 800;
  color: #017439; /* Brand green for H1 */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-slot-games__hero-description {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #555555;
}

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

/* --- Features Section --- */
.page-slot-games__features-section {
  padding: 80px 0;
}

.page-slot-games__dark-section {
  background-color: #017439; /* Brand primary color */
  color: #ffffff;
}

.page-slot-games__dark-section .page-slot-games__section-title {
  color: #ffffff; /* White title on dark background */
}

.page-slot-games__dark-section .page-slot-games__section-description {
  color: #f0f0f0;
}

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

.page-slot-games__feature-card {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white on green */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.page-slot-games__feature-icon {
  width: 100%;
  height: auto;
  max-width: 150px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
  min-width: 200px; /* Enforce min size for content images */
  min-height: 200px;
  object-fit: cover;
}

.page-slot-games__feature-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffffff;
}

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

/* --- Game Showcase Section --- */
.page-slot-games__game-showcase {
  padding: 80px 0;
  background-color: #f8f8f8;
}

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

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

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

.page-slot-games__game-thumbnail {
  width: 100%;
  height: 200px; /* Fixed height for thumbnails */
  object-fit: cover;
  display: block;
  min-width: 200px; /* Enforce min size for content images */
  min-height: 200px;
}

.page-slot-games__game-card h3,
.page-slot-games__game-card p {
  padding: 0 20px;
}

.page-slot-games__game-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #017439;
  margin-top: 20px;
  margin-bottom: 10px;
}

.page-slot-games__game-provider {
  font-size: 0.9rem;
  color: #777777;
  margin-bottom: 20px;
}

.page-slot-games__btn-play {
  display: block;
  width: calc(100% - 40px);
  margin: 0 20px 20px;
}

/* --- Guide Section --- */
.page-slot-games__guide-section {
  padding: 80px 0;
}

.page-slot-games__light-bg {
  background-color: #f0f8f0; /* Light green tint */
  color: #333333;
}

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

.page-slot-games__guide-step {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.page-slot-games__guide-icon {
  width: 100%;
  height: auto;
  max-width: 120px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px; /* Enforce min size for content images */
  min-height: 200px;
  object-fit: cover;
}

.page-slot-games__guide-step-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #017439;
  margin-bottom: 15px;
}

.page-slot-games__guide-text {
  font-size: 1rem;
  color: #555555;
}

/* --- Promotions Section --- */
.page-slot-games__promotions-section {
  padding: 80px 0;
}

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

.page-slot-games__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.page-slot-games__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  min-width: 200px; /* Enforce min size for content images */
  min-height: 200px;
}

.page-slot-games__promo-card h3,
.page-slot-games__promo-card p,
.page-slot-games__promo-card a {
  padding: 0 20px;
}

.page-slot-games__promo-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 20px;
  margin-bottom: 10px;
}

.page-slot-games__promo-text {
  font-size: 0.95rem;
  color: #f0f0f0;
  margin-bottom: 20px;
}

.page-slot-games__btn-details {
  display: inline-block;
  margin-bottom: 20px;
  background-color: #ffffff;
  color: #017439;
  border: none;
}

.page-slot-games__btn-details:hover {
  background-color: #e0e0e0;
}

/* --- FAQ Section --- */
.page-slot-games__faq-section {
  padding: 80px 0;
}

.page-slot-games__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

.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-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #017439;
  cursor: pointer;
  background-color: #f9f9f9;
}

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

.page-slot-games__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  color: #017439;
  margin-left: 10px;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
  content: "−";
}

.page-slot-games__faq-answer {
  padding: 0 20px 20px;
  font-size: 1rem;
  color: #555555;
}

/* --- CTA Banner --- */
.page-slot-games__cta-banner {
  padding: 80px 0;
  text-align: center;
}

.page-slot-games__banner-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
}

.page-slot-games__banner-description {
  font-size: 1.1rem;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-slot-games__main-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
  }
  .page-slot-games__section-title {
    font-size: 2.2rem;
  }
}

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

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

  .page-slot-games__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-slot-games__hero-description {
    font-size: 1rem;
  }

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

  .page-slot-games__btn-secondary {
    margin-left: 0;
  }

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

  .page-slot-games__section-description {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .page-slot-games__features-section,
  .page-slot-games__game-showcase,
  .page-slot-games__guide-section,
  .page-slot-games__promotions-section,
  .page-slot-games__faq-section,
  .page-slot-games__cta-banner {
    padding: 40px 0;
  }

  .page-slot-games__feature-grid,
  .page-slot-games__game-grid,
  .page-slot-games__guide-steps,
  .page-slot-games__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games__game-thumbnail,
  .page-slot-games__promo-image {
    height: 180px;
  }

  .page-slot-games__game-title,
  .page-slot-games__feature-title,
  .page-slot-games__guide-step-title,
  .page-slot-games__promo-title {
    font-size: 1.2rem;
  }

  .page-slot-games__banner-title {
    font-size: 1.8rem;
  }

  /* Mobile specific image/video/button responsiveness */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important; /* Ensure content images are not too small */
    min-height: 200px !important;
  }
  
  .page-slot-games video,
  .page-slot-games__video {
    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__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__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__cta-buttons {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 10px !important;
  }

  .page-slot-games__video-section {
    padding-top: 10px !important; /* Small top padding for video section */
  }
}