/* style/slot-games.css */

/* --- Color Variables --- */
:root {
  --main-color: #11A84E;
  --accent-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 --- */
.page-slot-games {
  font-family: 'Arial', sans-serif;
  color: var(--text-main); /* Default text color from color scheme */
  background-color: var(--background); /* Default background from color scheme */
  line-height: 1.6;
}

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

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

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

.page-slot-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability, not changing color */
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  color: var(--text-main); /* Ensure text is bright on darkened image */
  max-width: 800px;
  padding: 20px;
}

.page-slot-games__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--gold); /* Use Gold for main title highlight */
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-slot-games__hero-description {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--text-main);
}

/* --- General Section Styles --- */
.page-slot-games__section {
  padding: 60px 0;
  background-color: var(--background);
}

.page-slot-games__section-title {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--main-color); /* Use main color for section titles */
}

.page-slot-games__text-block {
  margin-bottom: 20px;
  color: var(--text-secondary); /* Ensure contrast */
  text-align: justify;
}

.page-slot-games__highlight {
  color: var(--accent-color); /* Highlight important keywords */
  font-weight: bold;
}

/* --- Dark Section Styles --- */
.page-slot-games__dark-section {
  background-color: var(--deep-green); /* Darker background for contrast */
  color: var(--text-main);
}

.page-slot-games__dark-section .page-slot-games__section-title {
  color: var(--gold);
}

.page-slot-games__dark-section .page-slot-games__text-block {
  color: var(--text-secondary);
}

/* --- List Styles --- */
.page-slot-games__list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.page-slot-games__list-item {
  background-color: var(--card-bg); /* Card background for list items */
  border-left: 5px solid var(--main-color);
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--text-main);
}

.page-slot-games__list-title {
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 10px;
}

.page-slot-games__list-item p {
  color: var(--text-secondary);
}

.page-slot-games__numbered-list {
  list-style-type: decimal;
  padding-left: 20px;
  margin: 0 0 30px 0;
}

.page-slot-games__numbered-list .page-slot-games__list-item {
  list-style: decimal;
  margin-left: 20px;
  background-color: transparent; /* No card background for numbered list items */
  border-left: none;
  box-shadow: none;
  padding: 0;
  margin-bottom: 20px;
}
.page-slot-games__numbered-list .page-slot-games__list-item:last-child {
  margin-bottom: 0;
}
.page-slot-games__numbered-list .page-slot-games__list-item .page-slot-games__list-title {
  color: var(--main-color);
  font-size: 1.3rem;
}
.page-slot-games__numbered-list .page-slot-games__list-item p {
  color: var(--text-main);
}


/* --- Image Styles --- */
.page-slot-games__image-wrapper {
  margin: 40px auto;
  text-align: center;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-slot-games__content-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px;
}

/* --- CTA Button Styles --- */
.page-slot-games__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--button-gradient); /* Button gradient */
  color: var(--text-main); /* Text main for button text */
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow long words to break */
  max-width: 100%; /* Ensure button doesn't overflow */
  box-sizing: border-box;
}

.page-slot-games__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  filter: brightness(1.1);
}

.page-slot-games__cta-button--secondary {
  background: var(--card-bg); /* Use card background for secondary button */
  border: 2px solid var(--main-color);
  color: var(--main-color);
}

.page-slot-games__cta-button--secondary:hover {
  background: var(--main-color);
  color: var(--text-main);
}

.page-slot-games__cta-button--large {
  padding: 20px 40px;
  font-size: 1.3rem;
}

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

.page-slot-games__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--gold); /* FAQ question color */
  cursor: pointer;
  background-color: var(--deep-green); /* Darker background for question */
  border-bottom: 1px solid var(--divider);
}

.page-slot-games__faq-question:hover {
  filter: brightness(1.1);
}

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

.page-slot-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--text-main);
}

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
  content: '−';
}

.page-slot-games__faq-answer {
  padding: 20px 25px;
  color: var(--text-secondary);
  font-size: 1rem;
  border-top: 1px solid var(--divider);
}

.page-slot-games__faq-answer p:last-child {
  margin-bottom: 0;
}

/* Hide default details arrow */
.page-slot-games__faq-item summary::-webkit-details-marker {
  display: none;
}
.page-slot-games__faq-item summary {
  list-style: none;
}

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

@media (max-width: 768px) {
  /* Mobile specific adjustments */
  .page-slot-games__hero-section {
    min-height: 400px;
    padding-top: 10px !important; /* body handles header offset */
    padding-bottom: 40px;
  }

  .page-slot-games__hero-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

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

  .page-slot-games__section {
    padding: 40px 0;
  }

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

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

  /* Image responsiveness */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important; /* Enforce minimum size */
    min-height: 200px !important;
  }
  
  .page-slot-games__image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    margin: 20px auto !important;
  }

  /* Button responsiveness */
  .page-slot-games__cta-button,
  .page-slot-games__cta-button--secondary,
  .page-slot-games__cta-button--large {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 15px 20px !important; /* Adjust padding for smaller screens */
    font-size: 1rem !important;
    margin-bottom: 15px; /* Add space between stacked buttons */
  }

  .page-slot-games__cta-button:last-child {
    margin-bottom: 0;
  }

  .page-slot-games__cta-button-group { /* If multiple buttons are grouped */
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

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

  .page-slot-games__faq-answer {
    padding: 15px 20px;
    font-size: 0.95rem;
  }

  .page-slot-games__list-item {
    padding: 15px;
  }
  .page-slot-games__list-title {
    font-size: 1.2rem;
  }
}

/* No CSS filters on images */
.page-slot-games img {
  filter: none; /* Ensure no color-changing filters are applied to content images */
}

/* Ensure hero image is large enough for its purpose */
@media (min-width: 769px) {
  .page-slot-games__hero-image {
    min-width: 1000px;
    min-height: 500px;
  }
}