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

/* Base styles for the page content, assuming body has --background-color from shared.css */
/* Since --background-color is likely dark (e.g., #08160F or similar deep green), use light text colors */
.page-slot-games {
  font-family: 'Arial', sans-serif;
  color: var(--bc1-text-main); /* Light text for dark background */
  background-color: var(--bc1-background); /* Specific page background if needed, but body takes precedence */
  line-height: 1.6;
  padding: 20px 0;
}

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

.page-slot-games__section {
  padding: 60px 0;
  border-bottom: 1px solid var(--bc1-divider);
}

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

.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  background-color: var(--bc1-background);
  overflow: hidden;
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  max-height: 600px; /* Adjust as needed for visual balance */
  margin-bottom: 30px;
}

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

.page-slot-games__main-title {
  font-size: clamp(2.2em, 4vw, 3.2em); /* Responsive font size */
  color: var(--bc1-text-main);
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-slot-games__description {
  font-size: 1.1em;
  color: var(--bc1-text-secondary);
  margin-bottom: 30px;
  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;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  max-width: 100%;
}

.page-slot-games__btn-primary {
  background: var(--bc1-button-gradient);
  color: var(--bc1-text-main);
  border: none;
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-slot-games__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(42, 209, 111, 0.6);
}

.page-slot-games__btn-secondary {
  background: transparent;
  color: var(--bc1-secondary);
  border: 2px solid var(--bc1-secondary);
  box-shadow: 0 0 10px rgba(34, 199, 104, 0.3);
}

.page-slot-games__btn-secondary:hover {
  background: var(--bc1-secondary);
  color: var(--bc1-background);
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(34, 199, 104, 0.5);
}

.page-slot-games__section-title {
  font-size: 2.5em;
  color: var(--bc1-gold);
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

.page-slot-games__sub-title {
  font-size: 1.8em;
  color: var(--bc1-primary);
  margin-bottom: 20px;
  font-weight: bold;
}

.page-slot-games__content-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.page-slot-games__content-grid.reverse {
  flex-direction: row-reverse;
}

.page-slot-games__text-block {
  flex: 1;
}

.page-slot-games__text-block p {
  margin-bottom: 15px;
  color: var(--bc1-text-main);
}

.page-slot-games__text-block a {
  color: var(--bc1-glow);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-slot-games__text-block a:hover {
  color: var(--bc1-gold);
  text-decoration: underline;
}

.page-slot-games__image-block {
  flex: 1;
  min-width: 300px; /* Ensure image block has a min-width */
}

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

.page-slot-games__list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--bc1-text-main);
}

.page-slot-games__list li {
  margin-bottom: 10px;
}

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

.page-slot-games__card {
  background-color: var(--bc1-card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  color: var(--bc1-text-main);
}

.page-slot-games__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-slot-games__card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-slot-games__card-title {
  font-size: 1.5em;
  color: var(--bc1-gold);
  margin-bottom: 15px;
}

.page-slot-games__card-content p {
  font-size: 0.95em;
  color: var(--bc1-text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-slot-games__card-content .page-slot-games__btn-primary {
  align-self: flex-start;
  padding: 10px 20px;
  font-size: 0.9em;
}

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

.page-slot-games__faq-item {
  background-color: var(--bc1-card-bg);
  border: 1px solid var(--bc1-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: var(--bc1-text-main);
  cursor: pointer;
  background-color: var(--bc1-deep-green);
  transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
  background-color: var(--bc1-primary);
}

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--bc1-gold);
}

.page-slot-games__faq-item[open] .page-slot-games__faq-question {
  background-color: var(--bc1-primary);
}

.page-slot-games__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: var(--bc1-text-secondary);
}

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

.page-slot-games__faq-answer a {
  color: var(--bc1-glow);
  text-decoration: none;
}

.page-slot-games__faq-answer a:hover {
  text-decoration: underline;
}

/* Details element native styles reset for summary */
.page-slot-games__faq-item summary {
  list-style: none;
}

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

/* Responsive styles */
@media (max-width: 1024px) {
  .page-slot-games__main-title {
    font-size: clamp(2em, 5vw, 2.8em);
  }
  .page-slot-games__section-title {
    font-size: 2em;
  }
  .page-slot-games__sub-title {
    font-size: 1.6em;
  }
  .page-slot-games__content-grid {
    flex-direction: column;
  }
  .page-slot-games__content-grid.reverse {
    flex-direction: column;
  }
  .page-slot-games__image-block {
    order: -1; /* Image appears above text on smaller screens */
  }
}

@media (max-width: 768px) {
  .page-slot-games {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-slot-games__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }
  .page-slot-games__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }
  .page-slot-games__description {
    font-size: 1em;
  }
  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px;
    font-size: 0.95em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-slot-games__section {
    padding: 40px 0;
  }
  .page-slot-games__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-slot-games__sub-title {
    font-size: 1.4em;
  }
  .page-slot-games__content-grid {
    gap: 30px;
  }
  .page-slot-games__image-block img,
  .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__content-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-slot-games__game-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-slot-games__card-image {
    height: 200px;
  }
  .page-slot-games__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-slot-games__faq-answer {
    padding: 0 20px 15px;
  }
  /* Ensure content area images are not smaller than 200px (this is a general rule, not specific to card-image) */
  .page-slot-games img:not(.page-slot-games__card-image) {
    min-width: 200px;
    min-height: 200px;
  }
}