/* style/slot-games.css */

/* Base Styles for the page */
.page-slot-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css (#000000) */
}

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

.page-slot-games__section-title {
  font-size: 2.5em;
  color: #ffffff;
  text-align: center;
  margin-bottom: 20px;
  text-transform: uppercase;
}

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

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

.page-slot-games__btn-primary {
  background-color: #C30808; /* Register/Login button color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

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

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

.page-slot-games__btn-secondary:hover {
  background-color: #017439;
  color: #ffffff;
}

.page-slot-games__btn-tertiary {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.9em;
  padding: 8px 15px;
  border-radius: 5px;
}

.page-slot-games__btn-tertiary:hover {
  background-color: #017439;
  border-color: #017439;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px);
  box-sizing: border-box;
}

.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-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2;
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
  max-width: 900px;
}

.page-slot-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

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

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

/* About Section */
.page-slot-games__about-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-slot-games__about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-slot-games__about-text p {
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-slot-games__about-image-wrapper {
  text-align: center;
}

.page-slot-games__about-image {
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  height: auto;
  display: block;
}

/* Game Types Section */
.page-slot-games__types-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

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

.page-slot-games__game-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-slot-games__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-slot-games__card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-slot-games__card-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 10px;
}

.page-slot-games__card-title a {
  color: #017439;
  text-decoration: none;
}

.page-slot-games__card-title a:hover {
  text-decoration: underline;
}

.page-slot-games__card-text {
  color: #cccccc;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* How To Play Section */
.page-slot-games__how-to-play-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-slot-games__how-to-play-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-slot-games__how-to-play-list li {
  background-color: rgba(255, 255, 255, 0.05);
  border-left: 5px solid #017439;
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 5px;
  position: relative;
  padding-left: 60px;
}

.page-slot-games__how-to-play-list li::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 15px;
  top: 15px;
  background-color: #017439;
  color: #ffffff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1em;
}

.page-slot-games__list-title {
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.3em;
}

.page-slot-games__how-to-play-list p {
  color: #cccccc;
}

.page-slot-games__how-to-play-cta {
  text-align: center;
  margin-top: 40px;
}

/* Promotions Section */
.page-slot-games__promotions-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-slot-games__promotion-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-slot-games__promotion-text p {
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-slot-games__promotion-list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

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

.page-slot-games__promotion-list li strong {
  color: #017439;
}

.page-slot-games__promotion-image-wrapper {
  text-align: center;
}

.page-slot-games__promotion-image {
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  height: auto;
  display: block;
}

/* Security Section */
.page-slot-games__security-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-slot-games__security-content p {
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-slot-games__security-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-slot-games__security-list li {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 15px;
  margin-bottom: 10px;
  border-radius: 5px;
  border-left: 3px solid #017439;
  color: #cccccc;
}

.page-slot-games__security-list li strong {
  color: #017439;
}

/* Why Choose Section */
.page-slot-games__why-choose-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-slot-games__why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-slot-games__why-choose-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.page-slot-games__item-title {
  color: #017439;
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-slot-games__why-choose-item p {
  color: #cccccc;
}

.page-slot-games__why-choose-image-wrapper {
  text-align: center;
  margin-top: 40px;
}

.page-slot-games__why-choose-image {
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  height: auto;
  display: block;
}

/* FAQ Section */
.page-slot-games__faq-section {
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-slot-games__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

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

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-slot-games__faq-title {
  margin: 0;
  color: #ffffff;
}

.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;
  color: #cccccc;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 1000px !important; /* Use !important to ensure it overrides */
  padding: 15px 25px;
}

.page-slot-games__faq-answer p {
  margin: 0;
}

/* Final CTA Section */
.page-slot-games__cta-final {
  padding-top: 60px;
  padding-bottom: 60px;
  text-align: center;
}

.page-slot-games__cta-final .page-slot-games__section-description {
  margin-bottom: 40px;
}

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

.page-slot-games__video-wrapper {
  width: 100%;
  max-width: 800px;
  margin: 40px auto;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
}

.page-slot-games__video {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-slot-games__hero-title {
    font-size: 2.8em;
  }
  .page-slot-games__hero-description {
    font-size: 1.2em;
  }
  .page-slot-games__section-title {
    font-size: 2em;
  }
  .page-slot-games__about-grid,
  .page-slot-games__promotion-content {
    grid-template-columns: 1fr;
  }
  .page-slot-games__promotion-image-wrapper,
  .page-slot-games__about-image-wrapper {
    order: -1; /* Image first on smaller screens */
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    height: 500px;
  }
  .page-slot-games__hero-title {
    font-size: 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,
  .page-slot-games__btn-tertiary {
    padding: 12px 20px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-slot-games__section-title {
    font-size: 1.8em;
  }
  .page-slot-games__section-description {
    font-size: 0.95em;
  }
  .page-slot-games__content-area {
    padding: 20px 15px;
  }
  .page-slot-games__how-to-play-list li {
    padding-left: 50px;
  }
  .page-slot-games__how-to-play-list li::before {
    left: 10px;
  }

  /* Mobile image responsiveness */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-slot-games__about-image-wrapper,
  .page-slot-games__promotion-image-wrapper,
  .page-slot-games__why-choose-image-wrapper,
  .page-slot-games__video-wrapper,
  .page-slot-games__game-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* 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;
  }
  .page-slot-games__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }

  /* Mobile button responsiveness */
  .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-direction: column !important; /* Stack buttons vertically */
    gap: 10px !important;
  }
}

@media (max-width: 480px) {
  .page-slot-games__hero-section {
    height: 400px;
  }
  .page-slot-games__hero-title {
    font-size: 1.8em;
  }
  .page-slot-games__hero-description {
    font-size: 0.9em;
  }
  .page-slot-games__section-title {
    font-size: 1.5em;
  }
}