/* style/slot-games.css */

/* Base styles for the page */
.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;
}

.page-slot-games__section-title {
  font-size: 2.5em;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-slot-games__section-title strong {
  color: #57E38D; /* Glow */
}

.page-slot-games__card-title,
.page-slot-games__feature-title,
.page-slot-games__step-title,
.page-slot-games__promo-title {
  font-size: 1.5em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  font-weight: bold;
}

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

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games a[class*="button"],
.page-slot-games a[class*="btn"] {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #F2FFF6; /* Text Main */
  border: none;
}

.page-slot-games__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.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);
  transform: translateY(-2px);
}

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

.page-slot-games__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

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

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

.page-slot-games__main-title {
  font-weight: 800;
  line-height: 1.1;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  /* No fixed font-size, rely on responsive scaling */
}

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

/* Dark Section */
.page-slot-games__dark-section {
  background-color: #0A4B2C; /* Deep Green */
  padding: 80px 0;
}

/* Card Styles */
.page-slot-games__card {
  background-color: #11271B; /* Card B G */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
  height: 100%; /* Ensure cards in a grid have equal height */
  display: flex;
  flex-direction: column;
}

.page-slot-games__card p {
  color: #A7D9B8; /* Text Secondary */
  flex-grow: 1;
}

.page-slot-games__card-button {
  margin-top: 20px;
  align-self: flex-start;
}

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

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

/* Why Choose Section */
.page-slot-games__why-choose-section {
  padding: 80px 0;
  background-color: #08160F; /* Background */
}

.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-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* Video Section */
.page-slot-games__video-section {
  padding: 60px 0;
}

.page-slot-games__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto 30px auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
  aspect-ratio: 16 / 9; /* For responsive video height */
}

.page-slot-games__video-link {
  display: block;
  width: 100%;
  height: 100%;
}

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

.page-slot-games__video-description {
  text-align: center;
  margin-bottom: 40px;
  color: #A7D9B8; /* Text Secondary */
}

/* Types Section */
.page-slot-games__types-section {
  padding: 80px 0;
  background-color: #08160F; /* Background */
}

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

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

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

.page-slot-games__step-item {
  text-align: center;
}

.page-slot-games__step-number {
  width: 60px;
  height: 60px;
  background-color: #57E38D; /* Glow */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  color: #08160F; /* Background - contrast */
  margin: 0 auto 20px auto;
}

.page-slot-games__list {
  list-style-type: disc;
  text-align: left;
  padding-left: 20px;
  margin-top: 15px;
  color: #A7D9B8; /* Text Secondary */
}

.page-slot-games__list li {
  margin-bottom: 8px;
}

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

/* Promotions Section */
.page-slot-games__promotions-section {
  padding: 80px 0;
  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-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

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

.page-slot-games__faq-item {
  background-color: #11271B; /* Card B G */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-slot-games__faq-item summary {
  list-style: none; /* Remove default marker */
  cursor: pointer;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  font-size: 1.1em;
  position: relative;
}

.page-slot-games__faq-item summary::-webkit-details-marker {
  display: none; /* Remove default marker for Webkit */
}

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #57E38D; /* Glow */
  transition: transform 0.3s ease;
}

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

.page-slot-games__faq-answer {
  padding: 0 25px 20px 25px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 1em;
}

.page-slot-games__faq-answer p {
  margin-top: 10px;
}

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

/* Conclusion Section */
.page-slot-games__conclusion-section {
  padding: 80px 0;
  text-align: center;
  background-color: #0A4B2C; /* Deep Green */
}

.page-slot-games__conclusion-section p {
  max-width: 800px;
  margin: 20px auto 40px auto;
  color: #A7D9B8; /* Text Secondary */
  font-size: 1.1em;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__section-title {
    font-size: 2em;
  }

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

@media (max-width: 768px) {
  .page-slot-games__container {
    padding: 0 15px;
  }

  .page-slot-games__main-title {
    font-size: 2em; /* Adjusted for mobile */
  }

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

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

  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games a[class*="button"],
  .page-slot-games a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: 0 !important; /* Remove margin-left for secondary button */
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .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;
    flex-wrap: wrap !important;
    gap: 10px;
  }

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

  .page-slot-games__hero-image-wrapper,
  .page-slot-games__feature-item,
  .page-slot-games__promo-card,
  .page-slot-games__card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .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,
  .page-slot-games__video-container,
  .page-slot-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  /* Video section specific top padding for mobile */
  .page-slot-games__video-section {
    padding-top: 10px !important;
  }

  .page-slot-games__hero-section,
  .page-slot-games__introduction-section,
  .page-slot-games__why-choose-section,
  .page-slot-games__types-section,
  .page-slot-games__guide-section,
  .page-slot-games__promotions-section,
  .page-slot-games__faq-section,
  .page-slot-games__conclusion-section {
    padding: 40px 0;
  }

  .page-slot-games__card-grid,
  .page-slot-games__features-grid,
  .page-slot-games__grid-3-col,
  .page-slot-games__guide-steps,
  .page-slot-games__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games__card,
  .page-slot-games__feature-item,
  .page-slot-games__promo-card,
  .page-slot-games__step-item {
    padding: 20px;
  }

  .page-slot-games__list {
    padding-left: 15px;
  }
}

@media (max-width: 480px) {
  .page-slot-games__main-title {
    font-size: 1.8em;
  }

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

  .page-slot-games__card-title,
  .page-slot-games__feature-title,
  .page-slot-games__step-title,
  .page-slot-games__promo-title {
    font-size: 1.3em;
  }
}