/* style/slot-games.css */

:root {
  --page-primary-color: #26A9E0;
  --page-secondary-color: #FFFFFF;
  --page-dark-text: #333333;
  --page-light-text: #FFFFFF;
  --page-login-color: #EA7C07;
}

.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--page-light-text); /* Default text color for dark body background */
  background-color: #000000; /* Assuming body background is black from shared.css */
}

.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is not covered by fixed header */
  min-height: 600px;
  overflow: hidden;
  color: var(--page-light-text);
  background-color: var(--page-primary-color);
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-bottom: 30px;
}

.page-slot-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--page-light-text);
}

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

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

.page-slot-games__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)); /* Dark overlay for text readability */
}

.page-slot-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7); /* Subtle darkening for contrast, not changing color */
}

.page-slot-games__video-section {
  position: relative;
  width: 100%;
  padding: 60px 20px;
  color: var(--page-light-text);
  background-color: #1a1a1a; /* Slightly lighter dark background for video */
  text-align: center;
}

.page-slot-games__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 960px;
  margin: 0 auto 30px auto;
  background-color: #000;
  border-radius: 10px;
}

.page-slot-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.page-slot-games__video-link {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
}

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

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

.page-slot-games__intro-section .page-slot-games__image,
.page-slot-games__game-types-section .page-slot-games__image,
.page-slot-games__how-to-play-section .page-slot-games__image,
.page-slot-games__strategy-section .page-slot-games__image,
.page-slot-games__promotions-section .page-slot-games__image,
.page-slot-games__mobile-app-section .page-slot-games__image,
.page-slot-games__conclusion-section .page-slot-games__image {
  margin-top: 40px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-slot-games__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: var(--page-light-text);
}

.page-slot-games__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: var(--page-light-text);
}

.page-slot-games__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--page-light-text);
}

.page-slot-games__light-bg {
  background-color: var(--page-secondary-color);
  color: var(--page-dark-text);
}

.page-slot-games__dark-bg {
  background-color: #1a1a1a; /* Darker background for sections */
  color: var(--page-light-text);
}

.page-slot-games__text-contrast-fix {
  color: var(--page-dark-text);
}

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

.page-slot-games__grid--2-col {
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.page-slot-games__card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
  color: var(--page-light-text);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 250px;
}

.page-slot-games__light-bg .page-slot-games__card {
  background: var(--page-secondary-color);
  color: var(--page-dark-text);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
}

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

.page-slot-games__light-bg .page-slot-games__card-title {
  color: var(--page-dark-text);
}

.page-slot-games__card-text {
  font-size: 1em;
  color: var(--page-light-text);
}

.page-slot-games__light-bg .page-slot-games__card-text {
  color: var(--page-dark-text);
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  font-size: 1.05em;
  text-align: center;
}

.page-slot-games__btn-primary {
  background-color: var(--page-primary-color);
  color: var(--page-light-text);
  border: 2px solid var(--page-primary-color);
}

.page-slot-games__btn-primary:hover {
  background-color: darken(var(--page-primary-color), 10%);
  border-color: darken(var(--page-primary-color), 10%);
}

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

.page-slot-games__btn-secondary:hover {
  background-color: var(--page-primary-color);
  color: var(--page-light-text);
}

.page-slot-games__btn--center {
  display: block;
  margin: 40px auto 0 auto;
  max-width: 250px;
}

.page-slot-games__btn--small {
  padding: 8px 15px;
  font-size: 0.9em;
  margin-top: 20px;
}

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

.page-slot-games__cta-buttons--center {
  justify-content: center;
}

.page-slot-games__numbered-list,
.page-slot-games__bullet-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-slot-games__list-item {
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 15px;
  padding: 25px;
  border-radius: 8px;
  border-left: 5px solid var(--page-primary-color);
  color: var(--page-light-text);
}

.page-slot-games__light-bg .page-slot-games__list-item {
  background: #f9f9f9;
  color: var(--page-dark-text);
  border-left-color: var(--page-primary-color);
}

.page-slot-games__list-title {
  font-size: 1.3em;
  margin-bottom: 10px;
  color: var(--page-light-text);
}

.page-slot-games__light-bg .page-slot-games__list-title {
  color: var(--page-dark-text);
}

.page-slot-games__list-description {
  font-size: 1em;
  color: var(--page-light-text);
}

.page-slot-games__light-bg .page-slot-games__list-description {
  color: var(--page-dark-text);
}

.page-slot-games__image {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-slot-games__image--full-width {
  width: 100%;
}

.page-slot-games__image--center {
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__faq-section {
  background-color: #1a1a1a;
  color: var(--page-light-text);
}

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

.page-slot-games__faq-item {
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  background-color: #262626;
  color: var(--page-light-text);
  transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
  background-color: #333333;
}

.page-slot-games__faq-title {
  margin: 0;
  color: var(--page-light-text);
}

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
  transform: rotate(45deg);
}

.page-slot-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 30px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--page-light-text);
  background-color: #2c2c2c;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 20px 30px;
}

.page-slot-games__faq-text {
  margin: 0;
  font-size: 1em;
  color: var(--page-light-text);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__hero-title {
    font-size: 3em;
  }

  .page-slot-games__section-title {
    font-size: 2em;
  }

  .page-slot-games__grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .page-slot-games__grid--2-col {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important;
    min-height: 500px;
  }

  .page-slot-games__hero-title {
    font-size: 2.2em;
  }

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

  .page-slot-games__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px;
  }

  .page-slot-games__video-section {
    padding: 40px 15px;
  }

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

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

  .page-slot-games__paragraph,
  .page-slot-games__section-description {
    font-size: 0.95em;
  }

  .page-slot-games__grid,
  .page-slot-games__grid--2-col {
    grid-template-columns: 1fr;
  }

  .page-slot-games__card {
    padding: 20px;
  }

  .page-slot-games__card-title {
    font-size: 1.3em;
  }

  .page-slot-games__list-item {
    padding: 20px;
  }

  .page-slot-games__list-title {
    font-size: 1.2em;
  }

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

  .page-slot-games__faq-answer {
    padding: 0 20px;
  }

  .page-slot-games__faq-item.active .page-slot-games__faq-answer {
    padding: 15px 20px;
  }

  /* Mobile image responsiveness */
  .page-slot-games img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mobile video responsiveness */
  .page-slot-games video,
  .page-slot-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-slot-games__video-section,
  .page-slot-games__video-container,
  .page-slot-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* If buttons use flex layout, ensure in mobile they wrap or stack */
  .page-slot-games__hero-cta-buttons,
  .page-slot-games__cta-buttons {
    display: flex;
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 10px;
  }
}