/* style/slot-games.css */

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

.page-slot-games a {
  color: #2AD16F; /* Link color, derived from button color for consistency */
  text-decoration: none;
}

.page-slot-games a:hover {
  text-decoration: underline;
}

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

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

.page-slot-games__light-bg {
  background-color: #11271B; /* Card BG, used for sections to provide contrast */
  color: #F2FFF6; /* Text Main */
}

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

/* Hero Section */
.page-slot-games__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: #08160F;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-slot-games__hero-content {
  max-width: 1200px;
  width: 100%;
  padding: 40px 20px;
  box-sizing: border-box;
  text-align: center;
  background-color: #08160F;
  color: #F2FFF6;
}

/* Video Section */
.page-slot-games__video-section {
  padding-top: 10px; /* body handles --header-offset */
  padding-bottom: 60px;
}

.page-slot-games__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin: 0 auto 30px auto;
  max-width: 1000px;
  background-color: #000;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-slot-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  object-fit: cover;
  border-radius: 12px;
}

/* Titles */
.page-slot-games__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  font-weight: bold;
  color: #F2FFF6;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-slot-games__section-title {
  font-size: 2.5em;
  color: #F2FFF6;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 10px;
}

.page-slot-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #2AD16F;
  border-radius: 2px;
}

.page-slot-games__subsection-title {
  font-size: 1.8em;
  color: #F2FFF6;
  margin-top: 25px;
  margin-bottom: 15px;
}

/* Text */
.page-slot-games__intro-text,
.page-slot-games__text-block,
.page-slot-games__guide-text {
  font-size: 1.1em;
  color: #A7D9B8;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-slot-games__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-slot-games__cta-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__cta-button--secondary {
  background: none;
  border: 2px solid #2AD16F;
  color: #2AD16F;
}

.page-slot-games__cta-button--secondary:hover {
  background: rgba(42, 209, 111, 0.1);
  color: #F2FFF6;
}

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

/* Cards */
.page-slot-games__card {
  background-color: #11271B;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  text-align: center;
  color: #F2FFF6;
  border: 1px solid #2E7A4E;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.page-slot-games__game-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

/* Game Category List */
.page-slot-games__game-category {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
}

.page-slot-games__game-category li {
  margin-bottom: 30px;
  padding-left: 20px;
  position: relative;
}

.page-slot-games__game-category li::before {
  content: '▶';
  color: #2AD16F;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.8em;
  line-height: 1.6;
}

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

.page-slot-games__guide-step .page-slot-games__subsection-title {
  color: #2AD16F;
}

/* Promo List */
.page-slot-games__promo-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__promo-list li {
  background-color: #11271B;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  border-left: 5px solid #2AD16F;
  color: #A7D9B8;
}

.page-slot-games__promo-list li strong {
  color: #F2FFF6;
}

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

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

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  background-color: #11271B;
  color: #F2FFF6;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
  background-color: #1E3A2A;
}

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

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

.page-slot-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  background-color: #08160F;
  color: #A7D9B8;
  padding: 0 25px;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 2000px;
  padding-top: 15px;
  padding-bottom: 25px;
}

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

/* Conclusion Section */
.page-slot-games__conclusion-section {
  padding-bottom: 80px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-slot-games__hero-image-wrapper {
    max-height: 500px;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    padding-top: 10px !important;
  }

  .page-slot-games__main-title {
    font-size: 2.2em;
  }

  .page-slot-games__section-title {
    font-size: 2em;
  }

  .page-slot-games__subsection-title {
    font-size: 1.5em;
  }

  .page-slot-games__intro-text,
  .page-slot-games__text-block,
  .page-slot-games__guide-text,
  .page-slot-games__promo-list li p,
  .page-slot-games__faq-answer p {
    font-size: 1em;
  }

  .page-slot-games__cta-button {
    padding: 12px 20px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-slot-games__section,
  .page-slot-games__content-area,
  .page-slot-games__feature-list,
  .page-slot-games__guide-steps,
  .page-slot-games__promo-list,
  .page-slot-games__faq-list {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .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__video-section {
    padding-top: 10px !important;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
    max-width: 100% !important;
    width: 100% !important;
    overflow: hidden !important;
  }

  .page-slot-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    padding-bottom: 56.25% !important;
    margin: 0 auto 20px auto !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-slot-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
  }

  .page-slot-games__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-slot-games__faq-answer {
    padding: 0 20px;
  }

  .page-slot-games__faq-item.active .page-slot-games__faq-answer {
    padding-top: 10px;
    padding-bottom: 20px;
  }
}