/* style/slot-games.css */
.page-slot-games {
  font-family: 'Arial', sans-serif;
  color: #F2FFF6; /* Main text color for dark background */
  background-color: #08160F; /* Custom background color */
}

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

.page-slot-games__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #F2FFF6;
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

.page-slot-games__text-block {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #A7D9B8;
  text-align: center;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 0;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
}

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

.page-slot-games__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-slot-games__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 800;
  color: #F2FFF6;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-slot-games__description {
  font-size: 1.15em;
  line-height: 1.7;
  color: #A7D9B8;
  margin-bottom: 40px;
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 30px;
  font-size: 1.1em;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-slot-games__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

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

.page-slot-games__btn-secondary:hover {
  background: rgba(42, 209, 111, 0.1);
  color: #2AD16F;
  transform: translateY(-2px);
}

/* Intro Section */
.page-slot-games__intro-section {
  padding: 60px 0;
  background-color: #08160F;
}

/* Game Types Section */
.page-slot-games__game-types {
  padding: 60px 0;
  background-color: #0A4B2C; /* Deep Green for a subtle contrast */
}

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

.page-slot-games__card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  height: 100%;
  color: #F2FFF6;
  border: 1px solid #2E7A4E;
}

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

.page-slot-games__card-title {
  font-size: 1.4em;
  font-weight: 700;
  color: #F2FFF6;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-slot-games__card-description {
  font-size: 0.95em;
  line-height: 1.5;
  color: #A7D9B8;
  padding: 0 15px;
  flex-grow: 1;
}

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

/* Why Choose Us Section */
.page-slot-games__why-choose-us {
  padding: 60px 0;
  background-color: #08160F;
}

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

.page-slot-games__feature-item {
  text-align: center;
  padding: 30px;
  background-color: #11271B;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid #2E7A4E;
  color: #F2FFF6;
}

.page-slot-games__feature-icon {
  width: 100%; /* Ensure max-width: 100% applies */
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-slot-games__feature-title {
  font-size: 1.3em;
  font-weight: 700;
  color: #F2FFF6;
  margin-bottom: 10px;
}

.page-slot-games__feature-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: #A7D9B8;
}

/* Promotions Section */
.page-slot-games__promotions {
  padding: 60px 0;
  background-color: #0A4B2C;
}

.page-slot-games__promo-card {
  padding: 0;
}

.page-slot-games__promo-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #2E7A4E;
  margin-bottom: 20px;
}

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

.page-slot-games__promo-card .page-slot-games__btn-primary {
  margin: 20px;
  width: calc(100% - 40px);
}

.page-slot-games__btn-small {
  padding: 10px 20px;
  font-size: 0.95em;
}

/* How To Play Section */
.page-slot-games__how-to-play {
  padding: 60px 0;
  background-color: #08160F;
}

.page-slot-games__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-slot-games__list-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 20px;
  text-align: center;
  color: #F2FFF6;
}

.page-slot-games__list-title {
  font-size: 1.5em;
  font-weight: 700;
  color: #F2FFF6;
  margin-bottom: 15px;
}

.page-slot-games__list-description {
  font-size: 1em;
  line-height: 1.6;
  color: #A7D9B8;
  margin-bottom: 20px;
}

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

/* FAQ Section */
.page-slot-games__faq-section {
  padding: 60px 0;
  background-color: #0A4B2C;
}

.page-slot-games__faq-list {
  margin-top: 40px;
}

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

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15em;
  font-weight: 600;
  color: #F2FFF6;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.page-slot-games__faq-question::-webkit-details-marker {
  display: none;
}

.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: 0 20px 20px;
  font-size: 1em;
  line-height: 1.6;
  color: #A7D9B8;
}

.page-slot-games__faq-answer p {
  margin-bottom: 10px;
  color: #A7D9B8;
}

.page-slot-games__faq-answer .page-slot-games__btn-secondary {
  margin-top: 10px;
  display: inline-flex;
}

/* Final CTA Section */
.page-slot-games__cta-final {
  padding: 60px 0;
  background-color: #08160F;
  text-align: center;
}

/* Floating CTA */
.page-slot-games__floating-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

.page-slot-games__floating-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 45px;
  border-radius: 25px;
  font-size: 1em;
  font-weight: 700;
  text-decoration: none;
  color: #ffffff;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.page-slot-games__floating-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(42, 209, 111, 0.6);
}

/* Dark/Light Background Classes for contrast management */
.page-slot-games__dark-section {
  color: #F2FFF6;
}

.page-slot-games__light-bg {
  color: #F2FFF6; /* Still use light text as main background is dark */
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-slot-games__section-title {
    font-size: 2em;
  }
  .page-slot-games__main-title {
    font-size: clamp(1.8em, 5vw, 3em);
  }
  .page-slot-games__hero-image {
    height: 500px;
  }
}

@media (max-width: 768px) {
  .page-slot-games {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-slot-games__hero-section {
    padding: 40px 0;
    padding-top: 10px !important;
  }
  .page-slot-games__hero-image {
    height: 300px;
  }
  .page-slot-games__main-title {
    font-size: clamp(1.5em, 6vw, 2.5em);
  }
  .page-slot-games__description {
    font-size: 1em;
  }
  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    padding: 0 15px;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-slot-games__container,
  .page-slot-games__hero-content,
  .page-slot-games__grid-3-col,
  .page-slot-games__grid-2-col,
  .page-slot-games__steps-list,
  .page-slot-games__faq-list {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-slot-games__card-image,
  .page-slot-games__promo-image,
  .page-slot-games__feature-icon,
  .page-slot-games__list-image {
    height: auto !important; /* Allow images to scale freely */
    max-height: 250px;
  }
  .page-slot-games__floating-cta {
    flex-direction: row;
    width: calc(100% - 40px);
    left: 20px;
    right: 20px;
    justify-content: space-around;
  }
  .page-slot-games__floating-btn {
    width: 48%;
  }
}

@media (max-width: 480px) {
  .page-slot-games__section-title {
    font-size: 1.8em;
  }
  .page-slot-games__card-title {
    font-size: 1.2em;
  }
  .page-slot-games__feature-title {
    font-size: 1.1em;
  }
}