/* style/slot-games.css */

/* General Styles */
.page-slot-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main, #F2FFF6); /* Default text color for dark backgrounds */
  background-color: var(--background, #08160F); /* Default background color */
}

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

.page-slot-games__section-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: bold;
  color: var(--gold, #F2C14E);
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.page-slot-games__subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-secondary, #A7D9B8);
  text-align: center;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__text-block {
  font-size: 16px;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 20px;
  text-align: justify;
}

/* Background Colors */
.page-slot-games__dark-bg {
  background-color: var(--background, #08160F);
  color: var(--text-main, #F2FFF6);
}

.page-slot-games__light-bg {
  background-color: var(--card-bg, #11271B);
  color: var(--text-secondary, #A7D9B8);
}

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

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-slot-games__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
}

.page-slot-games__btn-secondary {
  background-color: transparent;
  color: var(--main-color, #11A84E);
  border: 2px solid var(--main-color, #11A84E);
}

.page-slot-games__btn-secondary:hover {
  background-color: var(--main-color, #11A84E);
  color: #ffffff;
}

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

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

.page-slot-games__btn-small {
  padding: 8px 15px;
  font-size: 16px;
}

/* Links */
.page-slot-games__link-text {
  color: var(--main-color, #11A84E);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-slot-games__link-text:hover {
  color: var(--glow, #57E38D);
  text-decoration: underline;
}

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

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

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 20px;
  max-width: 900px;
  margin-top: 40px; /* Space below image */
}

.page-slot-games__main-title {
  font-size: clamp(36px, 5vw, 64px);
  color: var(--gold, #F2C14E);
  margin-bottom: 15px;
  line-height: 1.1;
  font-weight: 900;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

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

.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: var(--card-bg, #11271B);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--divider, #1E3A2A);
}

.page-slot-games__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

.page-slot-games__card-title {
  font-size: 24px;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-slot-games__card-text {
  font-size: 15px;
  color: var(--text-secondary, #A7D9B8);
}

/* How-to-play Section */
.page-slot-games__how-to-play-section {
  padding: 60px 0;
}

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

.page-slot-games__step-card {
  background-color: var(--card-bg, #11271B);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--divider, #1E3A2A);
}

.page-slot-games__step-number {
  width: 60px;
  height: 60px;
  background-color: var(--main-color, #11A84E);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: bold;
  margin: 0 auto 20px auto;
}

/* Game Showcase Section */
.page-slot-games__game-showcase-section {
  padding: 60px 0;
}

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

.page-slot-games__game-card {
  background-color: var(--card-bg, #11271B);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--divider, #1E3A2A);
}

.page-slot-games__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

.page-slot-games__view-all-games {
  text-align: center;
  margin-top: 50px;
}

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

.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: var(--card-bg, #11271B);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--divider, #1E3A2A);
}

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

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

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

.page-slot-games__tips-list li {
  background-color: var(--card-bg, #11271B);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: var(--text-secondary, #A7D9B8);
  font-size: 16px;
  border-left: 5px solid var(--main-color, #11A84E);
}

.page-slot-games__tips-list li strong {
  color: var(--text-main, #F2FFF6);
}

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

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

.page-slot-games__faq-item {
  background-color: var(--card-bg, #11271B);
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--divider, #1E3A2A);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 18px;
  font-weight: bold;
  color: var(--text-main, #F2FFF6);
  cursor: pointer;
  background-color: var(--deep-green, #0A4B2C);
  user-select: none;
  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;
  margin-left: 15px;
  color: var(--gold, #F2C14E);
}

.page-slot-games__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 16px;
  color: var(--text-secondary, #A7D9B8);
  line-height: 1.7;
}

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

/* Final CTA Section */
.page-slot-games__final-cta-section {
  padding: 60px 0 80px 0;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-slot-games {
    font-size: 16px;
    line-height: 1.6;
  }

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

  .page-slot-games__main-title {
    font-size: 32px;
  }

  .page-slot-games__section-title {
    font-size: 28px;
  }

  .page-slot-games__subtitle {
    font-size: 16px;
  }

  .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;
    padding: 12px 15px !important; /* Adjust padding for smaller screens */
  }

  .page-slot-games__hero-section {
    padding-bottom: 40px;
  }

  .page-slot-games__hero-content {
    margin-top: 20px;
  }

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

  .page-slot-games__feature-icon,
  .page-slot-games__game-image,
  .page-slot-games__promo-image {
    height: 180px; /* Adjust image height for mobile cards */
  }

  .page-slot-games img {
    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__hero-image-wrapper,
  .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;
    overflow: hidden !important;
  }

  .page-slot-games__video-section {
    padding-top: 10px !important; /* body handles header offset */
  }

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

  .page-slot-games__faq-answer {
    font-size: 15px;
    padding: 0 15px 15px 15px;
  }
}

/* Ensure no image filters are used */
.page-slot-games img {
  filter: none !important;
}