/* style/slot-games.css */

/* Common styles for page-slot-games */
.page-slot-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-slot-games__section-title {
  font-size: 2.5em;
  color: #FFC107; /* Auxiliary color for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-slot-games__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-slot-games__inline-link {
  color: #FFC107; /* Highlight links with auxiliary color */
  text-decoration: none;
  font-weight: bold;
}

.page-slot-games__inline-link:hover {
  text-decoration: underline;
}

/* Color Contrast Classes */
.page-slot-games__dark-bg {
  background-color: var(--dark-bg, #0d0d0d); /* Use shared dark background variable */
  color: #ffffff; /* Light text for dark background */
  padding: 80px 0;
}

.page-slot-games__light-bg {
  background-color: #ffffff; /* White background */
  color: #333333; /* Dark text for light background */
  padding: 80px 0;
}

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-link {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
}

.page-slot-games__btn-primary {
  background-color: #007BFF; /* Main color */
  color: #ffffff;
  border: 2px solid #007BFF;
}

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

.page-slot-games__btn-secondary {
  background-color: transparent;
  color: #FFC107; /* Auxiliary color */
  border: 2px solid #FFC107;
}

.page-slot-games__btn-secondary:hover {
  background-color: #FFC107;
  color: #000000;
}

.page-slot-games__btn-link {
  background-color: #FFC107;
  color: #000000;
  border: 2px solid #FFC107;
}

.page-slot-games__btn-link:hover {
  background-color: #e0a800;
  border-color: #e0a800;
}

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

/* Image Styles */
.page-slot-games__image-content {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  min-height: 600px;
  padding-top: var(--header-offset, 120px); /* Ensure header offset is applied */
}

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for readability */
  border-radius: 10px;
}

.page-slot-games__hero-title {
  font-size: 3.8em;
  color: #FFC107;
  margin-bottom: 20px;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
}

.page-slot-games__hero-description {
  font-size: 1.3em;
  color: #ffffff;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Intro Section */
.page-slot-games__intro-section .page-slot-games__text-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Game Types Section */
.page-slot-games__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__card {
  background-color: rgba(255, 255, 255, 0.1); /* Light transparent background for dark section */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  color: #ffffff;
  transition: transform 0.3s ease;
}

.page-slot-games__card:hover {
  transform: translateY(-10px);
}

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

.page-slot-games__card-text {
  font-size: 1em;
  line-height: 1.6;
}

/* Features Section */
.page-slot-games__feature-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 40px auto;
}

.page-slot-games__feature-list li {
  background-color: #f9f9f9;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  font-size: 1.1em;
  color: #333333;
}

.page-slot-games__feature-list li strong {
  color: #007BFF;
}

/* Guide Section */
.page-slot-games__step-by-step {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__step-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  color: #ffffff;
  text-align: center;
}

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

.page-slot-games__step-text {
  font-size: 1em;
  margin-bottom: 20px;
}

/* Promotions Section */
.page-slot-games__promo-list {
  list-style: disc;
  padding-left: 20px;
  max-width: 900px;
  margin: 40px auto;
  color: #333333;
}

.page-slot-games__promo-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

/* Security Section */
.page-slot-games__security-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 40px auto;
}

.page-slot-games__security-list li {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  font-size: 1.1em;
  color: #ffffff;
  position: relative;
  padding-left: 40px;
}

.page-slot-games__security-list li::before {
  content: '✅';
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
}

/* FAQ Section */
.page-slot-games__faq-list {
  max-width: 900px;
  margin: 40px auto;
}

.page-slot-games__faq-item {
  background-color: #f9f9f9;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #007BFF;
  cursor: pointer;
  background-color: #e0f2ff; /* Lighter blue for question background */
  border-bottom: 1px solid #cceeff;
}

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

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #007BFF;
  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 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #333333;
  background-color: #ffffff;
}

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

/* Conclusion Section */
.page-slot-games__conclusion-section .page-slot-games__text-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__conclusion-section .page-slot-games__btn-primary {
  margin-top: 30px;
}

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

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

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

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

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

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

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

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games__btn-link,
  .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-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games__hero-buttons,
  .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;
    flex-wrap: wrap !important;
    gap: 10px;
  }

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

  .page-slot-games__text-block,
  .page-slot-games__feature-list li,
  .page-slot-games__promo-list li,
  .page-slot-games__security-list li,
  .page-slot-games__card-text,
  .page-slot-games__step-text,
  .page-slot-games__faq-question {
    font-size: 1em;
  }

  .page-slot-games__card-grid,
  .page-slot-games__step-by-step {
    grid-template-columns: 1fr;
  }

  /* Mobile image and video responsiveness */
  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-slot-games__hero-section {
    padding-left: 0;
    padding-right: 0;
  }

  .page-slot-games__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-slot-games__hero-title {
    font-size: 2em;
  }

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

  .page-slot-games__btn-large {
    font-size: 1em;
    padding: 12px 25px;
  }
}