/* style/slot-games.css */
.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with body background */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-slot-games__section {
  padding: 60px 0;
  text-align: center;
}

.page-slot-games__section-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for titles */
  font-weight: bold;
}

.page-slot-games__section-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  min-height: 600px;
  overflow: hidden;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%); /* Dark background gradient */
}

.page-slot-games__hero-content {
  z-index: 10;
  max-width: 900px;
  text-align: center;
  margin-bottom: 40px;
}

.page-slot-games__hero-title {
  font-size: 3.8em;
  color: #FFD700; /* Gold */
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.page-slot-games__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 40px;
}

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

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

.page-slot-games__hero-video {
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  filter: brightness(0.4); /* Darken video for text readability */
}

/* General Buttons */
.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.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background-color: #FFD700; /* Gold */
  color: #000000; /* Black text for contrast */
  border: 2px solid #FFD700;
}

.page-slot-games__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-slot-games__btn-secondary {
  background-color: #ffffff; /* White background */
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
}

.page-slot-games__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #e6c200;
  border-color: #e6c200;
}

.page-slot-games__btn-small {
  padding: 10px 20px;
  font-size: 1em;
}

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

/* Light Background Section */
.page-slot-games__light-bg {
  background-color: #1a1a1a; /* Darker grey for contrast with main body */
  color: #ffffff;
}

.page-slot-games__light-bg .page-slot-games__section-title {
  color: #FFD700;
}

.page-slot-games__light-bg .page-slot-games__section-description {
  color: #f0f0f0;
}

/* Dark Background Section */
.page-slot-games__dark-bg {
  background-color: #0d0d0d; /* Slightly lighter than body for subtle distinction */
  color: #ffffff;
}

.page-slot-games__dark-bg .page-slot-games__section-title {
  color: #FFD700;
}

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

/* Cards */
.page-slot-games__card {
  background-color: #1E90FF; /* Dodger Blue background */
  color: #ffffff; /* White text for contrast */
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__card-image {
  width: 100%;
  max-width: 400px; /* Constrain image width within card */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-slot-games__card-title {
  font-size: 1.8em;
  color: #FFD700; /* Gold */
  margin-bottom: 15px;
}

.page-slot-games__card-text {
  font-size: 1em;
  color: #f0f0f0;
}

/* How-To Steps */
.page-slot-games__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__step-item {
  background-color: #1a1a1a;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__step-icon {
  background-color: #FFD700; /* Gold */
  color: #000000; /* Black */
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-slot-games__step-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-slot-games__step-description {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 20px;
}

/* Promotions */
.page-slot-games__promotion-banner {
  width: 100%;
  max-width: 1000px;
  height: auto;
  border-radius: 10px;
  margin-bottom: 40px;
  object-fit: cover;
}

.page-slot-games__promo-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
}

.page-slot-games__promo-list li {
  background-color: #0d0d0d;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__promo-item-title {
  font-size: 1.5em;
  color: #1E90FF; /* Dodger Blue */
  margin-bottom: 10px;
}

.page-slot-games__promo-list p {
  color: #f0f0f0;
}

.page-slot-games__cta-center {
  margin-top: 40px;
}

/* Tips & Strategies */
.page-slot-games__tip-card {
  background-color: #1a1a1a;
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games__tip-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-slot-games__tip-description {
  font-size: 1em;
  color: #f0f0f0;
}

/* Security Section */
.page-slot-games__security-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  margin-bottom: 40px;
  object-fit: cover;
}

.page-slot-games__security-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
}

.page-slot-games__security-list li {
  background-color: #0d0d0d;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__security-item-title {
  font-size: 1.5em;
  color: #1E90FF;
  margin-bottom: 10px;
}

.page-slot-games__security-list p {
  color: #f0f0f0;
}

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

.page-slot-games__faq-item {
  background-color: #1a1a1a;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #1E90FF; /* Dodger Blue for question background */
  color: #ffffff;
  font-size: 1.2em;
  font-weight: bold;
  border-radius: 10px;
}

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

.page-slot-games__faq-title {
  margin: 0;
  color: #ffffff;
  font-size: 1.2em;
}

.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 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #0d0d0d;
  color: #f0f0f0;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 1000px !important; /* Sufficient height for content */
  padding: 15px 25px;
}

.page-slot-games__faq-answer p {
  margin: 0;
  padding-bottom: 10px;
}

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

/* Global Image/Video/Button Responsive */
.page-slot-games img,
.page-slot-games video {
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__video-wrapper,
.page-slot-games__hero-buttons,
.page-slot-games__cta-center {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .page-slot-games {
    font-size: 14px;
    line-height: 1.5;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  }

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

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

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

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

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

  .page-slot-games__hero-section {
    padding: 60px 15px;
  }

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

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games a[class*="button"],
  .page-slot-games a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .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: 0 15px;
    overflow: hidden !important;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-slot-games__cta-buttons {
    flex-direction: column;
  }

  .page-slot-games img,
  .page-slot-games video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-slot-games__video-wrapper,
  .page-slot-games__video-container,
  .page-slot-games__video-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-slot-games__card,
  .page-slot-games__step-item,
  .page-slot-games__tip-card,
  .page-slot-games__promo-list li,
  .page-slot-games__security-list li,
  .page-slot-games__faq-item {
    padding: 20px;
  }

  .page-slot-games__card-image,
  .page-slot-games__promotion-banner,
  .page-slot-games__security-image {
    max-width: 100%;
  }

  .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;
  }
}