/* style/slot-games.css */

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

.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: clamp(28px, 3.5vw, 48px);
  font-weight: bold;
  margin-bottom: 20px;
  color: #F2FFF6; /* Text Main */
  line-height: 1.2;
}

.page-slot-games__text-block {
  font-size: 18px;
  margin-bottom: 30px;
  color: #A7D9B8; /* Text Secondary */
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__text-main {
  color: #F2FFF6;
}

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

.page-slot-games__highlight {
  color: #F2C14E; /* Gold */
  font-weight: bold;
}

.page-slot-games__text-center {
  text-align: center;
}

/* Background Colors */
.page-slot-games__dark-bg {
  background-color: #08160F; /* Background */
  color: #F2FFF6; /* Text Main */
}

.page-slot-games__dark-section {
  background-color: #0A4B2C; /* Deep Green */
  color: #F2FFF6; /* Text Main */
}

.page-slot-games__card-bg {
  background-color: #11271B; /* Card BG */
}

.page-slot-games__light-bg {
  background-color: #ffffff;
  color: #333333;
}

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #F2FFF6; /* Text Main */
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

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

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

.page-slot-games__btn-secondary:hover {
  background-color: rgba(87, 227, 141, 0.1);
  color: #F2FFF6; /* Text Main */
  border-color: #F2FFF6; /* Text Main */
}

.page-slot-games__btn-center {
  margin-left: auto;
  margin-right: auto;
  display: block; /* For single centered button */
  width: fit-content;
  min-width: 250px; /* Ensure a minimum width */
}

.page-slot-games__btn-large {
  padding: 16px 40px;
  font-size: 20px;
}

.page-slot-games__btn-small {
  padding: 10px 20px;
  font-size: 16px;
  min-width: unset; /* Override min-width for smaller buttons */
}

.page-slot-games__link {
  color: #57E38D; /* Glow */
  text-decoration: none;
  font-weight: bold;
}

.page-slot-games__link:hover {
  text-decoration: underline;
  color: #F2C14E; /* Gold */
}

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

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for aesthetic */
  overflow: hidden;
  margin-bottom: 40px;
}

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
  padding: 0 20px;
}

.page-slot-games__main-title {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #F2FFF6;
}

.page-slot-games__hero-description {
  font-size: 20px;
  margin-bottom: 40px;
  color: #A7D9B8;
}

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

/* Why Choose Section */
.page-slot-games__why-choose {
  padding-top: 80px;
  padding-bottom: 80px;
}

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

.page-slot-games__feature-card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #2E7A4E; /* Border */
}

.page-slot-games__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.page-slot-games__feature-image {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-slot-games__card-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #F2FFF6; /* Text Main */
}

/* Popular Games Section */
.page-slot-games__popular-games {
  background-color: #08160F; /* Background */
}

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

.page-slot-games__game-card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border */
}

.page-slot-games__game-image {
  width: 100%;
  height: 180px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* Guide Section */
.page-slot-games__guide-section {
  text-align: left;
}

.page-slot-games__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__guide-list li {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  font-size: 17px;
  color: #A7D9B8; /* Text Secondary */
  position: relative;
  padding-left: 50px;
}

.page-slot-games__guide-list li strong {
  color: #F2FFF6; /* Text Main */
}

.page-slot-games__guide-list li::before {
  content: counter(list-item);
  counter-increment: list-item;
  position: absolute;
  left: 15px;
  top: 15px;
  background-color: #2AD16F;
  color: #F2FFF6;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 16px;
}

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

.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: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 20px;
  text-align: left;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border */
}

.page-slot-games__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* Tips Section */
.page-slot-games__tips-section {
  text-align: left;
}

.page-slot-games__tips-list {
  list-style: disc;
  padding-left: 40px;
  margin-top: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #A7D9B8; /* Text Secondary */
}

.page-slot-games__tips-list li {
  margin-bottom: 10px;
  font-size: 17px;
}

.page-slot-games__tips-list li strong {
  color: #F2FFF6; /* Text Main */
}

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

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

.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-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  color: #F2FFF6; /* Text Main */
  list-style: none; /* For details/summary */
}

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

.page-slot-games__faq-toggle {
  font-size: 24px;
  line-height: 1;
  color: #57E38D; /* Glow */
}

.page-slot-games__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary */
  max-height: 0; /* Initial state for JS-controlled */
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

/* Details tag specific styling */
.page-slot-games__faq-item[open] .page-slot-games__faq-answer {
  max-height: 500px; /* Sufficient height for expanded content */
  transition: max-height 0.5s ease-in;
}

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

/* Final CTA Section */
.page-slot-games__cta-final {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__main-title {
    font-size: clamp(30px, 4vw, 48px);
  }
  .page-slot-games__hero-description {
    font-size: 18px;
  }
  .page-slot-games__section-title {
    font-size: clamp(26px, 3.2vw, 40px);
  }
  .page-slot-games__text-block {
    font-size: 16px;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    font-size: 16px;
    padding: 12px 25px;
  }
  .page-slot-games__btn-large {
    font-size: 18px;
    padding: 14px 35px;
  }
}

@media (max-width: 768px) {
  .page-slot-games__section {
    padding: 40px 0;
  }
  .page-slot-games__hero-section {
    padding-bottom: 40px;
  }
  .page-slot-games__main-title {
    font-size: clamp(28px, 8vw, 40px);
  }
  .page-slot-games__hero-description {
    font-size: 16px;
  }
  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-slot-games__btn-secondary {
    margin-left: 0;
  }
  .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 !important;
    padding-right: 15px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-slot-games__features-grid,
  .page-slot-games__games-grid,
  .page-slot-games__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-slot-games__feature-card,
  .page-slot-games__game-card,
  .page-slot-games__promo-card {
    padding: 20px;
  }
  .page-slot-games__feature-image {
    max-width: 150px;
  }
  .page-slot-games__card-title {
    font-size: 20px;
  }
  .page-slot-games__guide-list,
  .page-slot-games__tips-list,
  .page-slot-games__faq-list {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-slot-games__guide-list li {
    font-size: 16px;
    padding-left: 45px;
  }
  .page-slot-games__guide-list li::before {
    width: 25px;
    height: 25px;
    font-size: 14px;
    left: 10px;
    top: 12px;
  }
  .page-slot-games__tips-list li {
    font-size: 16px;
  }
  .page-slot-games__faq-question {
    font-size: 16px;
    padding: 15px;
  }
  .page-slot-games__faq-toggle {
    font-size: 20px;
  }
  .page-slot-games__faq-answer {
    font-size: 15px;
    padding: 0 15px 15px 15px;
  }

  /* Mobile image and video responsive */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !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;
  }
  .page-slot-games__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
}