/* style/slot-games.css */

/* Base styles for the page */
.page-slot-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
}

/* Section spacing and container */
.page-slot-games__section {
  padding: 60px 0;
  position: relative;
}

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

/* Hero Section */
.page-slot-games__hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 600px;
  padding-top: var(--header-offset, 120px);
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background-color: #0A1931;
}

.page-slot-games__hero-content {
  flex: 1;
  padding-right: 40px;
  z-index: 1;
}

.page-slot-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #E0B400; /* Highlight with accent color */
  line-height: 1.2;
}

.page-slot-games__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 600px;
}

.page-slot-games__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  max-width: 700px; /* Adjust based on design needs */
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* General Section Titles and Descriptions */
.page-slot-games__section-title {
  font-size: 2.5em;
  color: #0A1931;
  text-align: center;
  margin-bottom: 20px;
}

.page-slot-games__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #555555;
}

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

.page-slot-games__card, .page-slot-games__download-card, .page-slot-games__game-card, .page-slot-games__promo-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  display: flex;
  flex-direction: column;
  color: #333333;
}

.page-slot-games__card-title, .page-slot-games__game-title {
  font-size: 1.8em;
  color: #0A1931;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-slot-games__card-title a, .page-slot-games__game-title a {
  color: #0A1931;
  text-decoration: none;
}

.page-slot-games__card-title a:hover, .page-slot-games__game-title a:hover {
  color: #E0B400;
}

.page-slot-games__list {
  list-style: disc inside;
  margin-top: 15px;
  padding-left: 0;
}

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

.page-slot-games__list-numbered {
  list-style: decimal inside;
  margin-top: 15px;
  padding-left: 0;
}

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

/* Buttons */
.page-slot-games__cta-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

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

.page-slot-games__btn-primary, .page-slot-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%; /* Ensure responsiveness */
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background-color: #E0B400;
  color: #0A1931;
  border: 2px solid #E0B400;
}

.page-slot-games__btn-primary:hover {
  background-color: #0A1931;
  color: #E0B400;
  border-color: #E0B400;
}

.page-slot-games__btn-secondary {
  background-color: transparent;
  color: #E0B400;
  border: 2px solid #E0B400;
}

.page-slot-games__btn-secondary:hover {
  background-color: #E0B400;
  color: #0A1931;
}

.page-slot-games__btn-full-width {
  width: 100%;
  margin-top: auto;
}

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

/* Color Schemes */
.page-slot-games__dark-bg {
  background-color: #0A1931;
  color: #ffffff;
}

.page-slot-games__dark-bg .page-slot-games__section-title,
.page-slot-games__dark-bg .page-slot-games__card-title,
.page-slot-games__dark-bg .page-slot-games__game-title a {
  color: #E0B400;
}

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

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

.page-slot-games__light-bg .page-slot-games__section-title,
.page-slot-games__light-bg .page-slot-games__card-title {
  color: #0A1931;
}

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

/* Download Guide Section */
.page-slot-games__flex-container {
  display: flex;
  gap: 30px;
  justify-content: center;
  margin-top: 40px;
}

.page-slot-games__download-card {
  flex: 1;
  max-width: 500px;
  text-align: center;
}

.page-slot-games__download-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-height: 200px; /* Enforce min size */
}

.page-slot-games__note-box {
  background-color: #f0f8ff;
  border-left: 5px solid #E0B400;
  padding: 25px;
  margin-top: 50px;
  border-radius: 8px;
  color: #333333;
}

.page-slot-games__note-box .page-slot-games__card-title {
  color: #0A1931;
  margin-top: 0;
}

/* Featured Games Section */
.page-slot-games__game-card {
  text-align: center;
}

.page-slot-games__game-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  min-height: 200px; /* Enforce min size */
}

.page-slot-games__game-title {
  font-size: 1.5em;
  margin-bottom: 10px;
}

.page-slot-games__tips-section {
  margin-top: 60px;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 10px;
  color: #ffffff;
}

.page-slot-games__tips-section .page-slot-games__card-title {
  color: #E0B400;
}

.page-slot-games__tips-section .page-slot-games__list {
  list-style: circle inside;
}

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

/* Promotions Section */
.page-slot-games__promo-card {
  text-align: center;
}

.page-slot-games__promo-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  min-height: 200px; /* Enforce min size */
}

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

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

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #0A1931;
  color: #E0B400;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

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

.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;
  background-color: #0A1931;
  color: #f0f0f0;
}

.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-answer p {
  margin: 0;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__hero-title {
    font-size: 2.8em;
  }
  .page-slot-games__section-title {
    font-size: 2em;
  }
  .page-slot-games__hero-section {
    flex-direction: column;
    text-align: center;
    padding-bottom: 60px;
  }
  .page-slot-games__hero-content {
    padding-right: 0;
    padding-bottom: 40px;
  }
  .page-slot-games__cta-buttons {
    justify-content: center;
  }
  .page-slot-games__hero-image-wrapper {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    min-height: unset;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-slot-games__hero-title {
    font-size: 2em;
  }
  .page-slot-games__hero-description {
    font-size: 1em;
  }
  .page-slot-games__section {
    padding: 40px 0;
  }
  .page-slot-games__section-title {
    font-size: 1.8em;
  }
  .page-slot-games__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-slot-games__card-grid, .page-slot-games__game-grid, .page-slot-games__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-slot-games__flex-container {
    flex-direction: column;
  }
  .page-slot-games__download-card {
    max-width: 100%;
  }
  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-slot-games__btn-primary, .page-slot-games__btn-secondary {
    width: 100%;
    padding: 12px 20px;
    font-size: 1em;
  }
  /* Mandatory responsive image/video/button rules */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .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__flex-container,
  .page-slot-games__download-card,
  .page-slot-games__game-card,
  .page-slot-games__promo-card,
  .page-slot-games__tips-section,
  .page-slot-games__faq-item,
  .page-slot-games__note-box,
  .page-slot-games__hero-content,
  .page-slot-games__hero-image-wrapper,
  .page-slot-games__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }
  .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;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }
  .page-slot-games__cta-buttons {
    display: flex;
    flex-direction: column;
  }
  .page-slot-games__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-slot-games__faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-slot-games__hero-title {
    font-size: 1.8em;
  }
  .page-slot-games__section-title {
    font-size: 1.6em;
  }
  .page-slot-games__btn-large {
    font-size: 1.1em;
    padding: 15px 25px;
  }
  .page-slot-games__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }
}