/* style/slot-games.css */

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

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

.page-slot-games__section {
  padding: 60px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-slot-games__dark-bg {
  background-color: var(--page-slot-games-background);
  color: var(--page-slot-games-text-main);
}

.page-slot-games__light-bg {
  background-color: #ffffff;
  color: #333333; /* Deep dark text for light background */
}

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

.page-slot-games__text-center {
  text-align: center;
}

/* Hero Section */
.page-slot-games__hero-section {
  padding: 0; /* Image above text, no padding on the section itself */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 600px;
  overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  height: auto;
  max-height: 70vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim the image for text contrast, allowed as it's not changing color */
}

.page-slot-games__hero-content {
  position: relative;
  padding: 40px 20px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  color: var(--page-slot-games-text-main);
  z-index: 2;
  background-color: var(--page-slot-games-card-bg); /* Dark background for text content */
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.5);
  transform: translateY(-50%); /* Pull content up slightly over image */
  margin-bottom: -100px; /* Adjust to prevent double padding */
}

.page-slot-games__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--page-slot-games-gold);
  margin-bottom: 15px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size for H1 */
}

.page-slot-games__intro-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--page-slot-games-text-secondary);
}

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

/* Titles */
.page-slot-games__section-title {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--page-slot-games-gold);
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.page-slot-games__light-bg .page-slot-games__section-title {
  color: var(--page-slot-games-primary);
}

.page-slot-games__sub-title {
  font-size: 1.8em;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--page-slot-games-glow);
}

.page-slot-games__light-bg .page-slot-games__sub-title {
  color: var(--page-slot-games-deep-green);
}

/* Text elements */
.page-slot-games__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  color: var(--page-slot-games-text-main);
}

.page-slot-games__light-bg .page-slot-games__text-block,
.page-slot-games__light-bg p,
.page-slot-games__light-bg li {
  color: #333333; /* Ensure deep dark text on light background */
}

.page-slot-games__highlight {
  color: var(--page-slot-games-gold);
  font-weight: bold;
}

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  display: inline-block;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background: var(--page-slot-games-button-gradient);
  color: var(--page-slot-games-text-main);
  border: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.page-slot-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  filter: brightness(1.1);
}

.page-slot-games__btn-secondary {
  background-color: transparent;
  color: var(--page-slot-games-glow);
  border: 2px solid var(--page-slot-games-glow);
}

.page-slot-games__btn-secondary:hover {
  background-color: var(--page-slot-games-glow);
  color: var(--page-slot-games-background);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.page-slot-games__btn-lg {
  padding: 18px 40px;
  font-size: 1.2em;
}

.page-slot-games__btn-inline {
  margin-top: 20px;
  margin-right: 10px;
}

/* Links */
.page-slot-games__text-link {
  color: var(--page-slot-games-glow);
  text-decoration: none;
  font-weight: 600;
}

.page-slot-games__text-link:hover {
  text-decoration: underline;
  color: var(--page-slot-games-gold);
}

/* Lists */
.page-slot-games__list {
  list-style-type: disc;
  margin-left: 20px;
  text-align: left;
  margin-bottom: 20px;
  color: var(--page-slot-games-text-main);
}

.page-slot-games__light-bg .page-slot-games__list {
  color: #333333;
}

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

/* Grid Layouts */
.page-slot-games__grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  text-align: left;
  margin-top: 40px;
}

.page-slot-games__grid-container--reverse {
  grid-template-columns: 1fr 1fr;
}

/* Images */
.page-slot-games__image-content,
.page-slot-games__gallery-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  object-fit: cover;
}

.page-slot-games__image-gallery {
  margin-top: 40px;
}

/* Video Section */
.page-slot-games__video-section {
  padding: 10px 20px 60px 20px; /* Small top padding, body handles header offset */
  background-color: var(--page-slot-games-background);
  color: var(--page-slot-games-text-main);
}

.page-slot-games__video-container {
  width: 100%;
  max-width: 960px; /* Example max width for video */
  margin: 0 auto;
  box-sizing: border-box;
  position: relative;
}

.page-slot-games__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.page-slot-games__video,
.page-slot-games__video-link-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-slot-games__video-link-overlay {
  z-index: 10; /* Make overlay clickable */
  cursor: pointer;
}

.page-slot-games__video-description {
  margin-top: 20px;
  font-style: italic;
  color: var(--page-slot-games-text-secondary);
}

/* FAQ Section */
.page-slot-games__faq-list {
  max-width: 800px;
  margin: 40px auto 0 auto;
  text-align: left;
}

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

.page-slot-games__light-bg .page-slot-games__faq-item {
  background-color: #ffffff;
  border-color: #e0e0e0;
  color: #333333;
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-weight: 600;
  font-size: 1.1em;
  cursor: pointer;
  background-color: var(--page-slot-games-deep-green);
  color: var(--page-slot-games-text-main);
  border-bottom: 1px solid var(--page-slot-games-divider);
}

.page-slot-games__light-bg .page-slot-games__faq-question {
  background-color: #f5f5f5;
  color: #333333;
  border-color: #e0e0e0;
}

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 10px;
  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: 20px;
  font-size: 0.95em;
  color: var(--page-slot-games-text-secondary);
  text-align: left;
}

.page-slot-games__light-bg .page-slot-games__faq-answer {
  color: #555555;
}

/* Hide default details marker */
.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: 992px) {
  .page-slot-games__grid-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .page-slot-games__grid-container--reverse {
    grid-template-columns: 1fr;
  }
  .page-slot-games__hero-content {
    transform: translateY(-30%);
    margin-bottom: -60px;
  }
}

@media (max-width: 768px) {
  .page-slot-games__section {
    padding: 40px 15px;
  }
  .page-slot-games__content-area {
    padding: 0 15px;
  }
  .page-slot-games__hero-content {
    padding: 30px 15px;
    transform: translateY(-20%);
    margin-bottom: -40px;
  }
  .page-slot-games__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em) !important;
  }
  .page-slot-games__section-title {
    font-size: 2em !important;
  }
  .page-slot-games__sub-title {
    font-size: 1.5em !important;
  }
  .page-slot-games__intro-text,
  .page-slot-games__text-block,
  .page-slot-games__list,
  .page-slot-games__faq-answer {
    font-size: 1em !important;
  }
  .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;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-slot-games__btn-inline {
    margin-right: 0;
  }
  .page-slot-games img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-slot-games video,
  .page-slot-games__video {
    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__video-section,
  .page-slot-games__video-container,
  .page-slot-games__video-wrapper,
  .page-slot-games__cta-buttons,
  .page-slot-games__button-group,
  .page-slot-games__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-slot-games__video-section {
    padding-top: 10px !important;
  }
  .page-slot-games__faq-list {
    padding: 0 15px;
  }
  .page-slot-games__hero-image-wrapper {
    max-height: 40vh;
  }
}

@media (max-width: 480px) {
  .page-slot-games__section-title {
    font-size: 1.8em !important;
  }
  .page-slot-games__sub-title {
    font-size: 1.3em !important;
  }
  .page-slot-games__hero-content {
    transform: translateY(-10%);
    margin-bottom: -20px;
  }
  .page-slot-games__btn-lg {
    font-size: 1.1em !important;
    padding: 15px 25px !important;
  }
}