.page-slot-games {
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 60px;
  text-align: center;
  overflow: hidden; /* Ensure content doesn't overflow */
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* 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;
}

.page-slot-games__hero-content {
  position: relative; /* Ensure content is above image but not overlapping its visible area */
  z-index: 1;
  max-width: 900px;
  margin-top: 20px; /* Space between image and content */
  padding: 0 20px;
}

.page-slot-games__main-title {
  font-size: clamp(2em, 5vw, 3.5em); /* Responsive font size for H1 */
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

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

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__card-btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text breaking */
  box-sizing: border-box; /* Include padding in width */
  text-align: center;
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Text Main */
  border: none;
}

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

.page-slot-games__btn-secondary {
  background-color: transparent;
  color: #2AD16F; /* Main color */
  border: 2px solid #2AD16F; /* Main color as border */
}

.page-slot-games__btn-secondary:hover {
  background-color: #2AD16F;
  color: #08160F; /* Background color for hover text */
  transform: translateY(-2px);
}

/* General Section Styling */
.page-slot-games__section {
  padding: 60px 0;
  border-bottom: 1px solid #1E3A2A; /* Divider */
}

.page-slot-games__section:last-of-type {
  border-bottom: none;
}

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

.page-slot-games__section-title {
  font-size: 2.5em;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-slot-games__section-title--light {
  color: #F2FFF6;
}

.page-slot-games__section-title--dark {
  color: #08160F; /* Dark text for light backgrounds */
}

.page-slot-games__text {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-slot-games__text--dark {
  color: #333333; /* Darker text for light backgrounds */
}

/* Why Choose Section */
.page-slot-games__why-choose {
  background-color: #08160F;
}

.page-slot-games__features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-slot-games__feature-item {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #2E7A4E; /* Border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__feature-title {
  font-size: 1.5em;
  color: #57E38D; /* Glow */
  margin-bottom: 15px;
}

.page-slot-games__feature-description {
  color: #A7D9B8; /* Text Secondary */
}

/* Game Types Section */
.page-slot-games__game-types {
  background-color: #11A84E; /* Main color */
  background-image: linear-gradient(to bottom right, #11A84E, #0A4B2C); /* Deep Green */
}

.page-slot-games__game-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;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-slot-games__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-slot-games__card-title {
  font-size: 1.3em;
  color: #F2FFF6; /* Text Main */
  padding: 15px 20px 5px;
}

.page-slot-games__card-description {
  font-size: 0.95em;
  color: #A7D9B8; /* Text Secondary */
  padding: 0 20px 15px;
}

.page-slot-games__card-btn {
  display: block;
  width: calc(100% - 40px);
  margin: 0 20px 20px;
  padding: 10px 15px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-slot-games__card-btn:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

/* Promotions Section */
.page-slot-games__promotions {
  background-color: #08160F;
}

.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 {
  /* Inherits from .page-slot-games__card */
}

/* How to Play Section */
.page-slot-games__how-to-play {
  background-color: #F2FFF6; /* Text Main for light background */
}

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

.page-slot-games__guide-item {
  background-color: #ffffff; /* White background for light section */
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
}

.page-slot-games__guide-image {
  width: 100%;
  height: 200px;
  object-fit: contain; /* Use contain for instructional images */
  margin-bottom: 20px;
  display: block;
}

.page-slot-games__guide-title {
  font-size: 1.4em;
  color: #11A84E; /* Main color */
  margin-bottom: 10px;
}

.page-slot-games__guide-description {
  color: #333333; /* Dark text for light background */
  font-size: 0.95em;
}

/* Tips & Strategies Section */
.page-slot-games__tips-strategies {
  background-color: #08160F;
}

.page-slot-games__tips-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0;
  max-width: 800px;
}

.page-slot-games__tip-item {
  background-color: #11271B; /* Card BG */
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  border: 1px solid #2E7A4E; /* Border */
}

.page-slot-games__tip-title {
  font-size: 1.4em;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}

.page-slot-games__tip-description {
  color: #A7D9B8; /* Text Secondary */
}

/* Security Section */
.page-slot-games__security {
  background-color: #0A4B2C; /* Deep Green */
  background-image: linear-gradient(to top left, #0A4B2C, #11A84E); /* Main color */
}

.page-slot-games__security-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 40px auto 0;
}

.page-slot-games__security-item {
  background-color: rgba(17, 39, 27, 0.7); /* Semi-transparent Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #2E7A4E; /* Border */
}

.page-slot-games__security-title {
  font-size: 1.5em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
}

.page-slot-games__security-description {
  color: #A7D9B8; /* Text Secondary */
}

/* FAQ Section */
.page-slot-games__faq {
  background-color: #08160F;
}

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

.page-slot-games__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-slot-games__faq-item summary {
  list-style: none; /* Remove default marker */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  background-color: #1e3a2a; /* Slightly lighter than card BG */
  color: #F2FFF6; /* Text Main */
  font-weight: bold;
  font-size: 1.1em;
  outline: none;
}

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

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

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

.page-slot-games__faq-answer {
  padding: 15px 25px 20px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 1em;
  border-top: 1px solid #2E7A4E; /* Border */
}

.page-slot-games__faq-answer p {
  margin: 0;
}

/* Final CTA Section */
.page-slot-games__cta-final {
  background-color: #F2FFF6; /* Text Main for light background */
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__hero-content {
    max-width: 768px;
  }
  .page-slot-games__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    padding-bottom: 40px;
  }
  .page-slot-games__hero-content {
    margin-top: 10px;
  }
  .page-slot-games__main-title {
    font-size: clamp(1.8em, 8vw, 2.5em);
  }
  .page-slot-games__description {
    font-size: 1em;
  }
  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px; /* Add padding for buttons */
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games__card-btn {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-slot-games__section {
    padding: 40px 0;
  }
  .page-slot-games__container {
    padding: 0 15px;
  }
  .page-slot-games__section-title {
    font-size: 1.8em;
  }
  .page-slot-games__text {
    font-size: 0.95em;
  }
  .page-slot-games__features-list,
  .page-slot-games__game-grid,
  .page-slot-games__promo-grid,
  .page-slot-games__guide-grid,
  .page-slot-games__security-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-slot-games__card-image {
    height: 200px;
  }
  .page-slot-games__guide-image {
    height: 150px;
  }

  /* Image and Video responsive rules */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-slot-games video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-slot-games__hero-image-wrapper,
  .page-slot-games__container,
  .page-slot-games__game-card,
  .page-slot-games__promo-card,
  .page-slot-games__guide-item,
  .page-slot-games__tip-item,
  .page-slot-games__security-item,
  .page-slot-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }
  .page-slot-games__hero-image-wrapper {
      padding-left: 0;
      padding-right: 0;
  }
  .page-slot-games__video-section {
    padding-top: 10px !important;
  }
}

/* Ensure no filter on images */
.page-slot-games img {
  filter: none;
}