/* style/slot-games.css */

/* Base styles for the page, ensuring text contrast with body background */
.page-slot-games {
  color: #ffffff; /* Body background is #000000 (dark), so use light text */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  font-size: 16px;
}

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

.page-slot-games__section {
  padding: 60px 0;
  text-align: center;
}

.page-slot-games__section-title {
  font-size: 2.8em;
  font-weight: 700;
  margin-bottom: 20px;
  color: #26A9E0; /* Brand color for titles */
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-slot-games__sub-title {
  font-size: 1.8em;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #26A9E0; /* Brand color for sub-titles */
}

.page-slot-games__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__list {
  list-style: none;
  padding: 0;
  margin: 20px auto;
  max-width: 900px;
  text-align: left;
}

.page-slot-games__list--numbered {
  list-style: decimal;
  padding-left: 25px;
}

.page-slot-games__list-item {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: #ffffff; /* Light text for dark background */
}

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

.page-slot-games__light-bg {
  background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
  color: #ffffff;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-tertiary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background-color: #EA7C07; /* Custom color for Login/Register */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
  margin: 10px;
}

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

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

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

.page-slot-games__btn-tertiary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
  margin-top: 20px;
  font-size: 1em;
  padding: 10px 20px;
}

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

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 0;
  padding-top: 10px; /* Small top padding */
  overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 70vh; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.page-slot-games__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size for H1 */
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.1;
}

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

.page-slot-games__cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

/* Grid for advantages and game types */
.page-slot-games__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__grid--two-cols {
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.page-slot-games__card {
  background-color: #1a1a1a; /* Light dark background for cards */
  color: #ffffff;
  padding: 25px;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  box-sizing: border-box;
}

.page-slot-games__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

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

.page-slot-games__card-text {
  font-size: 1em;
  flex-grow: 1;
}

/* How-to-play steps */
.page-slot-games__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__step-item {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  box-sizing: border-box;
}

.page-slot-games__step-number {
  font-size: 3em;
  font-weight: 900;
  color: #26A9E0;
  margin-bottom: 15px;
}

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

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

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

.page-slot-games__promo-card {
  background-color: #000000; /* Darker background for promo cards */
  color: #ffffff;
  padding: 25px;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Mobile App Section */
.page-slot-games__mobile-app-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  gap: 40px;
}

.page-slot-games__mobile-app-text {
  flex: 1;
}

.page-slot-games__mobile-app-image {
  flex: 0 0 400px; /* Fixed width for image on desktop */
  text-align: right;
}

.page-slot-games__mobile-app-image .page-slot-games__image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.page-slot-games__faq-item {
  background-color: #1a1a1a; /* Light dark background for FAQ item */
  color: #ffffff;
  margin-bottom: 15px;
  border-radius: 8px;
  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: 18px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: #26A9E0;
  cursor: pointer;
  background-color: #000000; /* Darker background for question */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-slot-games__faq-item[open] .page-slot-games__faq-question {
  border-bottom: 1px solid #26A9E0;
}

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #ffffff;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-toggle {
  transform: rotate(45deg);
}

.page-slot-games__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  color: #f0f0f0;
}

/* Reset default details/summary styles */
details > summary {
  list-style: none;
}
details > summary::-webkit-details-marker {
  display: none;
}

/* Final CTA */
.page-slot-games__cta-final .page-slot-games__section-title {
  color: #26A9E0;
}

/* Images responsiveness */
.page-slot-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Media Queries for responsiveness */
@media (max-width: 1024px) {
  .page-slot-games__section-title {
    font-size: 2.2em;
  }
  .page-slot-games__sub-title {
    font-size: 1.5em;
  }
  .page-slot-games__hero-image-wrapper {
    max-height: 50vh;
  }
  .page-slot-games__mobile-app-content {
    flex-direction: column;
    text-align: center;
  }
  .page-slot-games__mobile-app-image {
    flex: none;
    width: 80%;
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .page-slot-games {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-slot-games__section {
    padding: 40px 0;
  }

  .page-slot-games__section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

  .page-slot-games__sub-title {
    font-size: 1.3em;
    margin-top: 25px;
  }

  .page-slot-games__hero-section {
    padding: 40px 0;
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  .page-slot-games__main-title {
    font-size: clamp(2em, 8vw, 2.5em);
  }

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

  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games__btn-tertiary,
  .page-slot-games a[class*="button"],
  .page-slot-games a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px !important;
    margin: 5px 0 !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    font-size: 1em !important;
  }

  .page-slot-games__grid,
  .page-slot-games__grid--two-cols,
  .page-slot-games__steps-grid,
  .page-slot-games__promo-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games__card,
  .page-slot-games__step-item,
  .page-slot-games__promo-card {
    padding: 20px;
  }

  .page-slot-games__card-image {
    height: 180px;
  }

  /* Force responsive images for mobile */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Ensure all containers with images/videos/buttons are responsive */
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__hero-image-wrapper,
  .page-slot-games__mobile-app-image,
  .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;
    overflow: hidden !important;
  }

  .page-slot-games__mobile-app-image {
    width: 100%; /* Ensure mobile app image takes full width of padded container */
    flex: none;
  }

  .page-slot-games__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-slot-games__faq-answer {
    padding: 12px 20px 15px;
  }
}