/* style/slot-games.css */

/* Base styles for the page content, considering dark body background from shared.css */
.page-slot-games {
  background-color: #08160F; /* Custom background color for main content */
  color: #F2FFF6; /* Main text color for dark background */
  font-family: 'Arial', sans-serif;
  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-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #F2C14E; /* Gold color for section titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-slot-games__section-title--light {
  color: #F2FFF6; /* Lighter title for dark sections */
}

.page-slot-games__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-align: justify;
}

/* 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, larger bottom padding */
  overflow: hidden;
  box-sizing: border-box;
}

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

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

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

.page-slot-games__main-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem); /* Responsive H1 font size */
  color: #F2C14E; /* Gold color for main title */
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.1;
  text-shadow: 0 0 15px rgba(242, 193, 78, 0.5);
}

.page-slot-games__hero-description {
  font-size: 1.25rem;
  color: #F2FFF6;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
  box-sizing: border-box;
  max-width: 100%;
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Light text for dark button */
  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%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-slot-games__btn-secondary {
  background: #11271B; /* Card BG color */
  color: #F2FFF6; /* Light text for dark button */
  border: 2px solid #2E7A4E; /* Border color */
}

.page-slot-games__btn-secondary:hover {
  background: #2E7A4E; /* Border color as background on hover */
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(46, 122, 78, 0.5);
}

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

/* Introduction Section */
.page-slot-games__introduction-section,
.page-slot-games__game-types-section,
.page-slot-games__advantages-section,
.page-slot-games__how-to-play-section,
.page-slot-games__strategy-section,
.page-slot-games__conclusion-section {
  padding: 60px 0;
}

.page-slot-games__introduction-section .page-slot-games__container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__image-container {
  margin-top: 30px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.page-slot-games__image-container--full-width .page-slot-games__image {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-slot-games__game-card {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #F2FFF6;
}

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

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

.page-slot-games__game-card-title {
  font-size: 1.5rem;
  color: #F2C14E; /* Gold color */
  margin-bottom: 10px;
}

.page-slot-games__game-card-description {
  font-size: 1rem;
  color: #A7D9B8; /* Secondary text color */
}

/* Advantages Section */
.page-slot-games__advantages-section {
  background-color: #0A4B2C; /* Deep Green background */
}

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

.page-slot-games__advantage-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #F2FFF6;
}

.page-slot-games__advantage-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 15px;
  object-fit: contain;
}

.page-slot-games__advantage-title {
  font-size: 1.4rem;
  color: #F2C14E; /* Gold color */
  margin-bottom: 10px;
}

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

/* How-to-Play Section */
.page-slot-games__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  counter-reset: step-counter;
}

.page-slot-games__step-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #F2FFF6;
  position: relative;
  padding-top: 60px; /* Space for number */
}

.page-slot-games__step-number {
  counter-increment: step-counter;
  position: absolute;
  top: 15px;
  left: 25px;
  width: 40px;
  height: 40px;
  background-color: #2AD16F; /* Primary button color */
  color: #F2FFF6;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(42, 209, 111, 0.4);
}

.page-slot-games__step-title {
  font-size: 1.3rem;
  color: #F2C14E; /* Gold color */
  margin-bottom: 10px;
}

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

/* Strategy Section */
.page-slot-games__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-slot-games__strategy-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #F2FFF6;
}

.page-slot-games__strategy-subtitle {
  font-size: 1.4rem;
  color: #2AD16F; /* Primary green */
  margin-bottom: 10px;
}

.page-slot-games__strategy-description {
  font-size: 1.05rem;
  color: #A7D9B8; /* Secondary text color */
}

/* FAQ Section */
.page-slot-games__faq-section {
  background-color: #11A84E; /* Main brand color for dark section */
  padding: 60px 0;
  color: #F2FFF6; /* Light text for dark background */
}

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

.page-slot-games__faq-item {
  background-color: #0A4B2C; /* Deep Green */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #F2FFF6;
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: bold;
  cursor: pointer;
  background-color: #11271B; /* Card BG for question header */
  color: #F2FFF6;
  border-bottom: 1px solid #2E7A4E;
  list-style: none; /* For details/summary */
}

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

.page-slot-games__faq-question:hover {
  background-color: #2E7A4E; /* Border color on hover */
}

.page-slot-games__faq-toggle {
  font-size: 1.5rem;
  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: 15px 25px;
  font-size: 1rem;
  color: #A7D9B8; /* Secondary text color */
  background-color: #0A4B2C; /* Deep Green for answer body */
}

/* Conclusion Section */
.page-slot-games__conclusion-section {
  text-align: center;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-slot-games__main-title {
    font-size: clamp(2rem, 4.5vw, 3.8rem);
  }
  .page-slot-games__hero-description {
    font-size: 1.15rem;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    padding: 10px 0 40px 0;
  }
  .page-slot-games__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 15px;
  }
  .page-slot-games__hero-description {
    font-size: 1rem;
    margin-bottom: 30px;
  }
  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-slot-games__section-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
    margin-bottom: 30px;
  }
  .page-slot-games__text-block {
    font-size: 0.95rem;
  }

  .page-slot-games__introduction-section,
  .page-slot-games__game-types-section,
  .page-slot-games__advantages-section,
  .page-slot-games__how-to-play-section,
  .page-slot-games__strategy-section,
  .page-slot-games__faq-section,
  .page-slot-games__conclusion-section {
    padding: 40px 0;
  }
  .page-slot-games__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  /* Image responsiveness */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-slot-games__image-container,
  .page-slot-games__game-card-image,
  .page-slot-games__advantage-icon {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-slot-games__game-card-image {
    height: auto; /* Allow height to adjust */
  }

  .page-slot-games__game-cards,
  .page-slot-games__advantage-list,
  .page-slot-games__steps {
    grid-template-columns: 1fr;
  }
  .page-slot-games__game-card,
  .page-slot-games__advantage-item,
  .page-slot-games__step-item {
    padding: 20px;
  }
  .page-slot-games__step-item {
    padding-top: 50px;
  }
  .page-slot-games__step-number {
    width: 35px;
    height: 35px;
    font-size: 1.3rem;
    top: 10px;
    left: 20px;
  }
  .page-slot-games__faq-question {
    font-size: 1.05rem;
    padding: 15px 20px;
  }
  .page-slot-games__faq-answer {
    padding: 12px 20px;
    font-size: 0.95rem;
  }
}