/* style/slot-games.css */
.page-slot-games {
  font-family: 'Arial', sans-serif;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  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-spacing {
  padding: 60px 0;
}

.page-slot-games__section-title {
  font-size: 2.5rem;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

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

.page-slot-games__text-block {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #A7D9B8; /* Text Secondary */
}

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

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

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

.page-slot-games__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 0 15px #57E38D; /* Glow */
}

.page-slot-games__btn-secondary {
  background-color: transparent;
  color: #11A84E; /* Primary Color */
  border: 2px solid #11A84E; /* Primary Color */
}

.page-slot-games__btn-secondary:hover {
  background-color: #11A84E; /* Primary Color */
  color: #F2FFF6; /* Text Main */
  box-shadow: 0 0 15px rgba(17, 168, 78, 0.6);
}

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

.page-slot-games__cta-center {
  text-align: center;
  margin-top: 50px;
}

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

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-slot-games__hero-content {
  text-align: center;
  max-width: 900px;
  margin-top: 40px;
  padding: 0 20px;
}

.page-slot-games__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
}

.page-slot-games__hero-description {
  font-size: 1.2rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

/* About Section */
.page-slot-games__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

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

.page-slot-games__feature-title {
  font-size: 1.6rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
}

.page-slot-games__feature-description {
  color: #A7D9B8; /* Text Secondary */
  font-size: 1rem;
}

/* Games Showcase Section */
.page-slot-games__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-slot-games__game-card {
  text-align: center;
  overflow: hidden;
}

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

.page-slot-games__game-title {
  font-size: 1.4rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
}

.page-slot-games__game-description {
  color: #A7D9B8; /* Text Secondary */
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.page-slot-games__btn-play {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button Gradient */
  color: #F2FFF6; /* Text Main */
  padding: 10px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
  transition: background 0.3s ease;
  display: inline-block;
}

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

/* Promotions Section */
.page-slot-games__promotion-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-slot-games__promo-card {
  text-align: center;
  overflow: hidden;
}

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

.page-slot-games__promo-title {
  font-size: 1.5rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
}

.page-slot-games__promo-description {
  color: #A7D9B8; /* Text Secondary */
  font-size: 1rem;
  margin-bottom: 20px;
}

.page-slot-games__btn-detail {
  background-color: transparent;
  color: #11A84E; /* Primary Color */
  border: 2px solid #11A84E;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.page-slot-games__btn-detail:hover {
  background-color: #11A84E;
  color: #F2FFF6;
}

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

.page-slot-games__step-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__step-number {
  width: 60px;
  height: 60px;
  background-color: #11A84E; /* Primary Color */
  color: #F2FFF6; /* Text Main */
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(17, 168, 78, 0.4);
}

.page-slot-games__step-title {
  font-size: 1.6rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
}

.page-slot-games__step-description {
  color: #A7D9B8; /* Text Secondary */
  font-size: 1rem;
}

/* FAQ Section */
.page-slot-games__faq-list {
  margin-top: 50px;
}

.page-slot-games__faq-item {
  margin-bottom: 20px;
  overflow: hidden;
  border: 1px solid #2E7A4E; /* Border */
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2rem;
  color: #F2FFF6; /* Text Main */
  font-weight: bold;
  background-color: #0A4B2C; /* Deep Green */
  border-radius: 12px;
  margin: -30px; /* Counteracts card padding */
  position: relative;
  z-index: 1;
}

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

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

.page-slot-games__faq-toggle {
  font-size: 1.8rem;
  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: 20px 0 0 0;
  color: #A7D9B8; /* Text Secondary */
  font-size: 1rem;
  line-height: 1.6;
}

.page-slot-games__faq-answer p {
  margin: 0;
  text-align: left;
}

/* Contact CTA Section */
.page-slot-games__contact-cta .page-slot-games__card {
  background-color: #0A4B2C; /* Deep Green */
  border: 1px solid #11A84E; /* Primary Color */
  padding: 50px;
  text-align: center;
}

.page-slot-games__contact-cta .page-slot-games__section-title {
  margin-bottom: 20px;
}

.page-slot-games__contact-cta .page-slot-games__text-block {
  margin-bottom: 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-slot-games__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }

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

  .page-slot-games__hero-image-wrapper {
    max-height: 500px;
  }
}

@media (max-width: 768px) {
  .page-slot-games__section-spacing {
    padding: 40px 0;
  }

  .page-slot-games__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .page-slot-games__text-block {
    font-size: 1rem;
    margin-bottom: 40px;
  }

  .page-slot-games__hero-image-wrapper {
    max-height: 400px;
  }

  .page-slot-games__hero-content {
    margin-top: 30px;
    padding: 0 15px;
  }

  .page-slot-games__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-slot-games__hero-description {
    font-size: 1.1rem;
  }

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

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games__btn-play,
  .page-slot-games__btn-detail,
  .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;
    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;
    flex-wrap: wrap !important;
    gap: 10px;
    overflow: hidden !important;
  }

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

  .page-slot-games__game-image,
  .page-slot-games__promo-image {
    height: auto !important;
    max-width: 100% !important;
    width: 100% !important;
    display: block !important;
  }

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

  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games__hero-section {
    padding-top: 10px !important;
  }

  .page-slot-games__faq-question {
    font-size: 1.1rem;
    padding: 15px;
  }

  .page-slot-games__faq-answer {
    font-size: 0.9rem;
  }

  .page-slot-games__contact-cta .page-slot-games__card {
    padding: 30px 15px;
  }
}

@media (max-width: 480px) {
  .page-slot-games__main-title {
    font-size: clamp(1.5rem, 7vw, 2.2rem);
  }

  .page-slot-games__section-title {
    font-size: 1.6rem;
  }

  .page-slot-games__hero-image-wrapper {
    max-height: 300px;
  }

  .page-slot-games__hero-description {
    font-size: 1rem;
  }

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

  .page-slot-games__faq-question {
    font-size: 1rem;
  }

  .page-slot-games__step-number {
    width: 50px;
    height: 50px;
    font-size: 1.8rem;
  }
}