.page-slot-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main, #F2FFF6); /* Default light text for dark background */
  background-color: var(--background-color, #08160F); /* Ensure consistency */
}

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

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  text-align: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
  overflow: hidden; /* Ensure nothing overflows */
}

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

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

.page-slot-games__hero-content {
  padding: 40px 20px;
  max-width: 900px;
  margin-top: 20px;
  color: var(--text-main, #F2FFF6);
}

.page-slot-games__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive H1, not fixed large */
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--gold, #F2C14E); /* Using gold for main title */
  line-height: 1.2;
  letter-spacing: 1px;
}

.page-slot-games__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--text-secondary, #A7D9B8);
}

.page-slot-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  width: 100%; /* Important for mobile button responsiveness */
  max-width: 500px; /* Limit button group width */
  margin: 0 auto;
  box-sizing: border-box;
}

/* 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;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box; /* Crucial for button max-width */
  max-width: 100%; /* For mobile button responsiveness */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Text Main for contrast */
  border: none;
  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);
}

.page-slot-games__btn-secondary {
  background: transparent;
  color: var(--main-color, #11A84E);
  border: 2px solid var(--main-color, #11A84E);
}

.page-slot-games__btn-secondary:hover {
  background: var(--main-color, #11A84E);
  color: #F2FFF6;
  transform: translateY(-2px);
}

/* General Sections */
.page-slot-games__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--gold, #F2C14E); /* Using gold for section titles */
}

.page-slot-games__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  color: var(--text-secondary, #A7D9B8);
  text-align: justify;
}

.page-slot-games__text-link {
  color: var(--main-color, #11A84E);
  text-decoration: none;
  font-weight: bold;
}

.page-slot-games__text-link:hover {
  text-decoration: underline;
  color: var(--aux-color, #22C768);
}

/* Dark Section styling */
.page-slot-games__dark-section {
  background-color: var(--background-color, #08160F);
  padding: 80px 0;
  color: var(--text-main, #F2FFF6);
}
.page-slot-games__dark-section .page-slot-games__section-title {
  color: var(--gold, #F2C14E);
}
.page-slot-games__dark-section .page-slot-games__text-block {
  color: var(--text-secondary, #A7D9B8);
}

/* Light Section styling */
.page-slot-games__light-bg {
  background-color: #ffffff; /* Explicitly white for light section */
  padding: 80px 0;
  color: #333333; /* Dark text for light background */
}
.page-slot-games__light-bg .page-slot-games__section-title {
  color: var(--main-color, #11A84E);
}
.page-slot-games__light-bg .page-slot-games__text-block {
  color: #555555;
}
.page-slot-games__light-bg .page-slot-games__card {
  background-color: #f8f8f8; /* Slightly off-white for cards on light background */
  border: 1px solid #e0e0e0;
}
.page-slot-games__light-bg .page-slot-games__card h3 {
  color: var(--main-color, #11A84E);
}
.page-slot-games__light-bg .page-slot-games__card p {
  color: #333333;
}


/* Feature Grid */
.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-item {
  text-align: center;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  background-color: var(--card-bg, #11271B); /* Dark card background */
  color: var(--text-main, #F2FFF6);
}

.page-slot-games__feature-icon {
  width: 100%; /* Ensure images fill card width */
  max-width: 250px; /* Smaller max width for icons */
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
  border-radius: 8px; /* Slightly rounded corners for images */
}

.page-slot-games__feature-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--gold, #F2C14E);
}

.page-slot-games__feature-description {
  font-size: 0.95em;
  color: var(--text-secondary, #A7D9B8);
}

/* Step-by-Step Guide */
.page-slot-games__step-by-step {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.page-slot-games__step-item {
  background-color: var(--card-bg, #11271B);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  padding-top: 60px; /* Space for number */
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Push button to bottom */
}

.page-slot-games__step-number {
  position: absolute;
  top: 0px;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  background: var(--main-color, #11A84E);
  color: #F2FFF6;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8em;
  font-weight: bold;
  border: 4px solid var(--background-color, #08160F);
  box-shadow: 0 0 0 4px var(--aux-color, #22C768); /* Glow effect */
}

.page-slot-games__step-title {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--gold, #F2C14E);
}

.page-slot-games__step-description {
  font-size: 0.95em;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 20px;
  flex-grow: 1; /* Allow description to take available space */
}

.page-slot-games__step-button {
  margin-top: auto; /* Push button to bottom */
  display: block; /* Ensure button takes full width of its container */
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

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

.page-slot-games__game-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  background-color: var(--card-bg, #11271B);
}

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

.page-slot-games__game-title {
  font-size: 1.3em;
  font-weight: bold;
  margin: 20px 15px 10px 15px;
  color: var(--gold, #F2C14E);
}

.page-slot-games__game-description {
  font-size: 0.95em;
  color: var(--text-secondary, #A7D9B8);
  padding: 0 15px 20px 15px;
  flex-grow: 1;
}

.page-slot-games__game-button {
  margin-top: auto;
  margin-bottom: 20px;
  margin-left: auto;
  margin-right: auto;
}


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

.page-slot-games__strategy-item {
  background-color: var(--card-bg, #11271B);
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.page-slot-games__strategy-heading {
  font-size: 1.25em;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--gold, #F2C14E);
}

.page-slot-games__strategy-description {
  font-size: 0.95em;
  color: var(--text-secondary, #A7D9B8);
}

/* Promotions Section */
.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 {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  background-color: var(--card-bg, #11271B);
}

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

.page-slot-games__promo-title {
  font-size: 1.3em;
  font-weight: bold;
  margin: 20px 15px 10px 15px;
  color: var(--gold, #F2C14E);
}

.page-slot-games__promo-description {
  font-size: 0.95em;
  color: var(--text-secondary, #A7D9B8);
  padding: 0 15px 20px 15px;
  flex-grow: 1;
}

.page-slot-games__promo-button {
  margin-top: auto;
  margin-bottom: 20px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__promo-note {
  margin-top: 40px;
  font-style: italic;
  text-align: center;
}

/* Security Section */
.page-slot-games__security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__security-item {
  text-align: center;
  padding: 25px;
  border-radius: 10px;
  background-color: var(--card-bg, #11271B);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.page-slot-games__security-icon {
  width: 100px; /* Fixed size for security icons */
  height: 100px;
  object-fit: contain;
  margin-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__security-title {
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--gold, #F2C14E);
}

.page-slot-games__security-description {
  font-size: 0.9em;
  color: var(--text-secondary, #A7D9B8);
}

/* CTA Section */
.page-slot-games__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: var(--main-color, #11A84E); /* Using main color for CTA section background */
  color: #F2FFF6; /* Light text for main color background */
}
.page-slot-games__cta-section .page-slot-games__section-title {
  color: #F2FFF6; /* White title on main color background */
}
.page-slot-games__cta-section .page-slot-games__text-block {
  color: #F2FFF6;
}
.page-slot-games__cta-section .page-slot-games__btn-secondary {
  border-color: #F2FFF6; /* White border for secondary button */
  color: #F2FFF6; /* White text for secondary button */
}
.page-slot-games__cta-section .page-slot-games__btn-secondary:hover {
  background: #F2FFF6;
  color: var(--main-color, #11A84E);
}


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

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

.page-slot-games__faq-item {
  background-color: var(--card-bg, #11271B);
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden; /* For smooth transition on details */
}

.page-slot-games__faq-item summary {
  list-style: none; /* Hide default marker */
  cursor: pointer;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 1.1em;
  color: var(--gold, #F2C14E);
  position: relative;
  outline: none;
}

.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;
  padding-right: 15px;
}

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--aux-color, #22C768);
  transition: transform 0.3s ease;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
  transform: rotate(45deg); /* Rotate plus to form an X */
}

.page-slot-games__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 0.95em;
  color: var(--text-secondary, #A7D9B8);
}

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


/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__container {
    padding: 0 15px;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    padding-bottom: 40px;
  }

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

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

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

  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px; /* Add padding to container of buttons */
  }

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100% !important; /* Ensure buttons take full width */
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games__section-title {
    font-size: clamp(1.5em, 6vw, 2em);
    margin-bottom: 30px;
  }

  .page-slot-games__dark-section,
  .page-slot-games__light-bg,
  .page-slot-games__cta-section {
    padding: 60px 0;
  }

  .page-slot-games__text-block {
    font-size: 0.95em;
  }

  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Ensure containers with images/buttons/videos are also responsive */
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__hero-image-wrapper,
  .page-slot-games__cta-buttons,
  .page-slot-games__promo-grid,
  .page-slot-games__game-grid,
  .page-slot-games__feature-grid,
  .page-slot-games__step-by-step,
  .page-slot-games__security-grid,
  .page-slot-games__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent overflow */
  }

  .page-slot-games__hero-image-wrapper {
    max-height: 300px; /* Adjust hero image height for mobile */
  }

  .page-slot-games__feature-icon,
  .page-slot-games__security-icon {
    max-width: 100px;
    height: auto;
  }

  .page-slot-games__game-image,
  .page-slot-games__promo-image {
    height: 150px; /* Adjust card image height for mobile */
  }

  /* Specific padding for video section if it were here */
  .page-slot-games__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
}

@media (max-width: 480px) {
  .page-slot-games__main-title {
    font-size: clamp(1.5em, 8vw, 2em);
  }
  .page-slot-games__section-title {
    font-size: clamp(1.3em, 7vw, 1.8em);
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    padding: 12px 20px;
  }
}

/* Color contrast enforcement - fallback/override */
/* If a section has specific background that makes default text unreadable, override */
.page-slot-games__cta-section {
    background-color: var(--main-color, #11A84E); /* Main color is dark enough for white text */
    color: #F2FFF6;
}
.page-slot-games__cta-section .page-slot-games__section-title {
    color: #F2FFF6;
}
.page-slot-games__cta-section .page-slot-games__text-block {
    color: #F2FFF6;
}
.page-slot-games__cta-section .page-slot-games__btn-secondary {
    border-color: #F2FFF6;
    color: #F2FFF6;
}
.page-slot-games__cta-section .page-slot-games__btn-secondary:hover {
    background: #F2FFF6;
    color: var(--main-color, #11A84E);
}

/* Ensure all images maintain original color, no filters */
.page-slot-games img {
  filter: none !important;
}