/* style/slot-games.css */

/* Custom color variables */
:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --background: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border: #2E7A4E;
  --glow: #57E38D;
  --gold: #F2C14E;
  --divider: #1E3A2A;
  --deep-green: #0A4B2C;
}

/* Base styles for the page-slot-games context */
.page-slot-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Light text for dark background */
  background-color: var(--background); /* Dark background */
}

/* Global container for content sections */
.page-slot-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Section styling */
.page-slot-games__section {
  padding: 60px 0;
  background-color: var(--background); /* Default section background */
  border-bottom: 1px solid var(--divider);
}

.page-slot-games__section:last-of-type {
  border-bottom: none;
}

/* Titles */
.page-slot-games__section-title {
  font-size: 2.5rem;
  color: var(--text-main);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.05em;
}

.page-slot-games__main-title {
  font-size: clamp(2rem, 5vw, 3.5rem); /* Responsive H1 font size */
  color: var(--text-main);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.05em;
  max-width: 900px; /* Limit width for better readability */
  margin-left: auto;
  margin-right: auto;
}

/* Text blocks */
.page-slot-games__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-align: justify;
  color: var(--text-secondary); /* Secondary text color */
}

/* Highlighted text */
.page-slot-games__highlight {
  color: var(--gold); /* Gold color for highlights */
  font-weight: bold;
}

/* --- Hero Section --- */
.page-slot-games__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--deep-green); /* Use a darker green for hero background */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px; /* Ensure hero section has a decent height */
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Limit image width */
  margin-bottom: 30px; /* Space between image and content */
}

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

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

.page-slot-games__hero-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

/* CTA Buttons */
.page-slot-games__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.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;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons don't exceed container width */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
  text-align: center;
}

.page-slot-games__btn-primary {
  background: var(--button-gradient); /* Custom button gradient */
  color: #ffffff; /* White text for contrast */
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-slot-games__btn-secondary {
  background-color: transparent;
  color: var(--glow); /* Green Glow for secondary button text */
  border: 2px solid var(--glow);
}

.page-slot-games__btn-secondary:hover {
  background-color: var(--glow);
  color: var(--deep-green); /* Dark text on hover */
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__btn-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 30px;
  max-width: 300px; /* Limit width for single buttons */
}

/* Image content within sections */
.page-slot-games__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.page-slot-games__faq-section {
  background-color: var(--card-bg); /* Card background color for FAQ section */
  padding: 80px 0;
}

.page-slot-games__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-slot-games__faq-item {
  background-color: var(--deep-green); /* Slightly darker background for each FAQ item */
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.15rem;
  color: var(--text-main);
  background-color: var(--deep-green);
  transition: background-color 0.3s ease;
  list-style: none; /* Remove default marker for details summary */
}

.page-slot-games__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-slot-games__faq-question:hover {
  background-color: var(--divider); /* Lighter on hover */
}

.page-slot-games__faq-qtext {
  flex-grow: 1;
}

.page-slot-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--glow); /* Green Glow for toggle icon */
  margin-left: 15px;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
  content: '−'; /* Change to minus when open (handled by JS for non-details) */
}

.page-slot-games__faq-answer {
  padding: 0 25px 20px;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  background-color: var(--card-bg); /* Answer background */
}

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

@media (max-width: 768px) {
  .page-slot-games__section {
    padding: 40px 0;
  }
  .page-slot-games__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  .page-slot-games__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }
  .page-slot-games__hero-section {
    padding-top: 10px !important; /* Ensure small padding */
    min-height: auto;
    padding-bottom: 40px;
  }
  .page-slot-games__hero-image-wrapper {
    margin-bottom: 20px;
  }
  .page-slot-games__hero-description {
    font-size: 1rem;
  }
  .page-slot-games__text-block {
    font-size: 1rem;
  }
  .page-slot-games__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    padding: 0 15px;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    padding: 12px 20px;
    font-size: 1rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-slot-games__btn-center {
    max-width: 100%;
    width: 100%;
    margin-top: 20px;
  }

  /* Images responsiveness */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Video responsiveness (if any, though none used here) */
  .page-slot-games video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Content containers mobile padding */
  .page-slot-games__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* FAQ specific mobile styles */
  .page-slot-games__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-slot-games__faq-answer {
    padding: 0 20px 15px;
  }
}