/* style/slot-games.css */

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

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

.page-slot-games__section {
  padding: 60px 0;
  text-align: center;
}

.page-slot-games__section-title {
  font-size: 2.5em;
  color: #F2C14E; /* Gold color for main titles */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

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

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  background-color: #08160F;
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 500px; /* Limit hero image height */
}

.page-slot-games__hero-content {
  padding: 40px 20px;
  text-align: center;
  max-width: 900px;
  margin-top: -100px; /* Adjust to slightly overlap the image for visual flow */
  position: relative;
  z-index: 1;
  background: rgba(8, 22, 15, 0.85); /* Semi-transparent background for readability */
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.page-slot-games__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

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

/* 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;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Main text color */
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-slot-games__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}

.page-slot-games__btn-secondary {
  background-color: transparent;
  color: #2AD16F; /* Green color */
  border: 2px solid #2AD16F;
  margin-left: 20px;
}

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

.page-slot-games__cta-button {
  margin-top: 20px;
}

.page-slot-games__cta-button + .page-slot-games__cta-button {
  margin-left: 15px;
}

/* Cards */
.page-slot-games__card {
  background-color: #11271B; /* Card background color */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  text-align: left;
  color: #F2FFF6;
  border: 1px solid #2E7A4E; /* Border color */
  height: 100%; /* Ensure equal height in grids */
  box-sizing: border-box;
}

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

.page-slot-games__card-title,
.page-slot-games__feature-title,
.page-slot-games__promo-title,
.page-slot-games__guide-step-title,
.page-slot-games__security-feature-title {
  font-size: 1.5em;
  color: #F2C14E; /* Gold for card titles */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-slot-games__card p {
  color: #A7D9B8;
  font-size: 1em;
}

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

/* Game Types */
.page-slot-games__type-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-slot-games__type-card {
  text-align: center;
}

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

.page-slot-games__guide-list li {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  text-align: left;
  color: #F2FFF6;
}

.page-slot-games__guide-list li p {
  color: #A7D9B8;
}

/* Security List */
.page-slot-games__security-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.page-slot-games__security-list li {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 10px;
  padding: 25px;
  text-align: left;
  color: #F2FFF6;
  height: 100%;
  box-sizing: border-box;
}

.page-slot-games__security-list li p {
  color: #A7D9B8;
}

/* FAQ Section */
.page-slot-games__faq-list {
  margin-top: 40px;
  text-align: left;
}

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

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #F2C14E; /* Gold for FAQ questions */
  cursor: pointer;
  user-select: none;
  list-style: none; /* For details/summary */
}

.page-slot-games__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome */
}

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

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

.page-slot-games__faq-answer {
  padding: 0 25px 20px;
  font-size: 1.1em;
  color: #A7D9B8;
  line-height: 1.5;
}

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

/* Final CTA Section */
.page-slot-games__cta-final {
  padding-bottom: 80px;
}

.page-slot-games__cta-final .page-slot-games__cta-button {
  margin-top: 30px;
}

/* Image responsiveness */
.page-slot-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-slot-games__hero-content {
    margin-top: -50px;
    padding: 30px 15px;
  }
  .page-slot-games__main-title {
    font-size: clamp(1.8em, 5vw, 3em);
  }
  .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: -30px;
    padding: 25px 15px;
  }
  .page-slot-games__main-title {
    font-size: clamp(1.5em, 6vw, 2.5em);
  }
  .page-slot-games__hero-description {
    font-size: 1em;
  }
  .page-slot-games__section-title {
    font-size: 1.8em;
  }
  .page-slot-games__text-block {
    font-size: 0.95em;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100% !important;
    margin: 10px 0 0 0 !important; /* Reset margins for stack */
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-slot-games__cta-button + .page-slot-games__cta-button {
    margin-left: 0 !important;
  }
  .page-slot-games__hero-content .page-slot-games__btn-secondary {
    margin-top: 15px !important;
  }
  .page-slot-games__cta-final .page-slot-games__btn-secondary {
    margin-top: 15px !important;
  }

  .page-slot-games__features-grid,
  .page-slot-games__promo-grid,
  .page-slot-games__type-cards,
  .page-slot-games__security-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games__section {
    padding: 40px 0;
  }

  .page-slot-games__container {
    padding: 0 15px;
  }

  /* Mobile specific image overrides */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Ensure all image containers are responsive */
  .page-slot-games__hero-section,
  .page-slot-games__about-slots,
  .page-slot-games__game-types,
  .page-slot-games__guide,
  .page-slot-games__promotions,
  .page-slot-games__security,
  .page-slot-games__faq,
  .page-slot-games__cta-final,
  .page-slot-games__card,
  .page-slot-games__feature-item,
  .page-slot-games__promo-card,
  .page-slot-games__type-card,
  .page-slot-games__faq-item,
  .page-slot-games__guide-list li,
  .page-slot-games__security-list li {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-slot-games__hero-section {
    padding-left: 0;
    padding-right: 0;
  }
  .page-slot-games__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-slot-games__section:not(.page-slot-games__hero-section) {
    padding-left: 0;
    padding-right: 0;
  }
  .page-slot-games__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-slot-games__faq-answer {
    padding: 0 20px 15px;
    font-size: 1em;
  }
}