/* 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: #0a0a0a; /* Body background from shared.css */
}

.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: #ffffff;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.page-slot-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #017439;
  border-radius: 2px;
}

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

/* Color scheme application */
.page-slot-games__dark-bg {
  background-color: #0a0a0a;
  color: #ffffff;
}

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

.page-slot-games__light-bg .page-slot-games__section-title,
.page-slot-games__light-bg .page-slot-games__section-description {
  color: #333333;
}

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-step,
.page-slot-games__btn-play,
.page-slot-games__btn-promo,
.page-slot-games__btn-support,
.page-slot-games__btn-download {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  text-align: center;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

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

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

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

/* Specific button colors */
.page-slot-games__btn-step {
  background-color: #C30808; /* Register color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}
.page-slot-games__btn-step:hover {
  background-color: #9e0606;
  border-color: #9e0606;
}

.page-slot-games__btn-play {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
}
.page-slot-games__btn-play:hover {
  background-color: #005a2d;
  border-color: #005a2d;
}

.page-slot-games__btn-promo {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
}
.page-slot-games__btn-promo:hover {
  background-color: #005a2d;
  border-color: #005a2d;
}

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

.page-slot-games__btn-download {
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}
.page-slot-games__btn-download:hover {
  background-color: #9e0606;
  border-color: #9e0606;
}

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

.page-slot-games__hero-content {
  flex: 1;
  max-width: 600px;
  text-align: left;
  z-index: 1;
}

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

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

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

.page-slot-games__hero-image-wrapper {
  flex: 1;
  max-width: 600px;
  text-align: center;
  z-index: 1;
}

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

/* About Slots Section */
.page-slot-games__about-slots {
  padding: 80px 0;
}

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

.page-slot-games__feature-item {
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

.page-slot-games__feature-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-slot-games__feature-text {
  color: #555555;
  font-size: 1em;
}

/* How to Play Section */
.page-slot-games__how-to-play {
  padding: 80px 0;
}

.page-slot-games__steps-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

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

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

.page-slot-games__step-item p {
  color: #f0f0f0;
  margin-bottom: 20px;
}

.page-slot-games__btn-step {
  margin-top: 15px;
}

/* Popular Games Section */
.page-slot-games__popular-games {
  padding: 80px 0;
}

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

.page-slot-games__game-card {
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

.page-slot-games__game-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-slot-games__game-description {
  color: #555555;
  font-size: 0.95em;
  margin-bottom: 20px;
}

.page-slot-games__btn-play {
  width: calc(100% - 30px); /* Adjust for padding */
  max-width: 200px;
  margin: 0 auto;
}

.page-slot-games__view-all {
  text-align: center;
  margin-top: 50px;
}

/* Benefits Section */
.page-slot-games__benefits {
  padding: 80px 0;
}

.page-slot-games__benefits-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-slot-games__benefit-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__benefit-title {
  font-size: 1.4em;
  color: #ffffff;
  margin-bottom: 15px;
}

.page-slot-games__benefit-item p {
  color: #f0f0f0;
  margin-bottom: 20px;
}

.page-slot-games__btn-promo, .page-slot-games__btn-support {
  margin-top: 15px;
  width: calc(100% - 0px); /* Full width within item */
}

/* Video Section */
.page-slot-games__video-section {
  padding: 80px 0;
}

.page-slot-games__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  border-radius: 10px;
  margin: 50px auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.page-slot-games__video-cta {
  text-align: center;
  margin-top: 30px;
}

/* FAQ Section */
.page-slot-games__faq {
  padding: 80px 0;
}

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

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

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

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

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

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

.page-slot-games__faq-answer p {
  margin-bottom: 15px;
}

.page-slot-games__faq-answer .page-slot-games__btn-download {
  margin-top: 10px;
  width: auto;
}

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

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

/* Global image reset for content area */
.page-slot-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-slot-games__hero-section {
    flex-direction: column;
    text-align: center;
    padding: 60px 20px;
  }

  .page-slot-games__hero-content {
    max-width: 100%;
    text-align: center;
    margin-bottom: 40px;
  }

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

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

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

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

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

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

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games__btn-step,
  .page-slot-games__btn-play,
  .page-slot-games__btn-promo,
  .page-slot-games__btn-support,
  .page-slot-games__btn-download {
    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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  /* Mobile image and video responsive adaptation */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-slot-games__hero-image-wrapper,
  .page-slot-games__features-grid,
  .page-slot-games__steps-list,
  .page-slot-games__game-grid,
  .page-slot-games__benefits-list,
  .page-slot-games__video-section,
  .page-slot-games__video-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: hidden !important;
  }

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

  .page-slot-games__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-slot-games__feature-item,
  .page-slot-games__step-item,
  .page-slot-games__game-card,
  .page-slot-games__benefit-item,
  .page-slot-games__faq-item {
    padding: 20px;
  }

  .page-slot-games__faq-question,
  .page-slot-games__faq-answer {
    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.8em;
  }

  .page-slot-games__hero-description,
  .page-slot-games__section-description,
  .page-slot-games__feature-text,
  .page-slot-games__step-item p,
  .page-slot-games__game-description,
  .page-slot-games__benefit-item p,
  .page-slot-games__faq-answer p {
    font-size: 0.9em;
  }
}