/* style/slot-games.css */

/* Base styles for the slot games 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; /* Inherited from body, explicit for clarity */
}

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

.page-slot-games__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

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

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px);
  background-color: #0a0a0a;
  overflow: hidden;
  flex-wrap: wrap;
}

.page-slot-games__hero-content {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  text-align: left;
  z-index: 10;
  padding-right: 30px;
}

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

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

.page-slot-games__hero-image-wrapper {
  flex: 1;
  min-width: 400px;
  max-width: 800px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5;
}

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

/* CTA Buttons */
.page-slot-games__cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.page-slot-games__cta-buttons--centered {
  justify-content: center;
  margin-top: 40px;
}

.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;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

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

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

/* About Slots Section */
.page-slot-games__about-slots {
  background-color: #1a1a1a;
  color: #f0f0f0;
}

/* Game Types Section */
.page-slot-games__game-types {
  background-color: #0a0a0a;
  color: #ffffff;
}

.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.08);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-slot-games__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-slot-games__card-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-slot-games__card-description {
  font-size: 1em;
  color: #e0e0e0;
}

/* How to Play Section */
.page-slot-games__how-to-play {
  background-color: #1a1a1a;
  color: #f0f0f0;
}

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

.page-slot-games__steps-list li {
  background-color: rgba(255, 255, 255, 0.05);
  margin-bottom: 15px;
  padding: 20px;
  border-left: 5px solid #26A9E0;
  border-radius: 5px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-slot-games__step-title {
  color: #26A9E0;
  font-size: 1.2em;
  margin-bottom: 5px;
  display: block;
}

/* Promo Video Section */
.page-slot-games__promo-video {
  background-color: #0a0a0a;
  color: #ffffff;
}

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

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

/* Bonuses Section */
.page-slot-games__bonuses {
  background-color: #1a1a1a;
  color: #f0f0f0;
}

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

.page-slot-games__promo-list li {
  background-color: rgba(255, 255, 255, 0.05);
  margin-bottom: 15px;
  padding: 20px;
  border-left: 5px solid #EA7C07; /* Login color for highlight */
  border-radius: 5px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-slot-games__promo-item-title {
  color: #EA7C07;
  font-size: 1.2em;
  margin-bottom: 5px;
  display: block;
}

/* FAQ Section */
.page-slot-games__faq-section {
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-slot-games__faq-list {
  margin-top: 30px;
}

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

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

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

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #ffffff;
  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-out, padding 0.3s ease-out;
  color: #e0e0e0;
}

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

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

/* Final CTA Section */
.page-slot-games__cta-final {
  background-color: #1a1a1a;
  color: #f0f0f0;
  text-align: center;
}

.page-slot-games__cta-final-content {
  padding: 60px 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__hero-title {
    font-size: 3em;
  }
  .page-slot-games__hero-description {
    font-size: 1.2em;
  }
  .page-slot-games__hero-content {
    padding-right: 15px;
  }
  .page-slot-games__hero-image-wrapper {
    min-width: unset;
    max-width: 600px;
  }
  .page-slot-games__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    flex-direction: column;
    text-align: center;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-slot-games__hero-content {
    padding-right: 0;
    margin-bottom: 40px;
    max-width: 100%;
  }
  .page-slot-games__hero-title {
    font-size: 2.5em;
  }
  .page-slot-games__hero-description {
    font-size: 1.1em;
  }
  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-slot-games__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mobile image and video responsiveness */
  .page-slot-games img {
    max-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__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-slot-games__promo-video .page-slot-games__container {
    padding-top: var(--header-offset, 120px) !important; 
  }

  .page-slot-games__card-grid {
    grid-template-columns: 1fr;
  }

  .page-slot-games__card-image {
    min-width: unset;
    min-height: unset;
  }
  
  .page-slot-games__hero-section {
    padding-top: var(--header-offset, 120px) !important; 
  }
}

@media (max-width: 480px) {
  .page-slot-games__hero-title {
    font-size: 2em;
  }
  .page-slot-games__hero-description {
    font-size: 1em;
  }
  .page-slot-games__section-title {
    font-size: 1.8em;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    font-size: 1em;
    padding: 12px 20px;
  }
  .page-slot-games__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-slot-games__faq-answer {
    padding: 0 20px;
  }
  .page-slot-games__faq-item.active .page-slot-games__faq-answer {
    padding: 10px 20px;
  }
}