/* style/slot-games.css */

/* Base styles for the page-slot-games scope */
.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: transparent; /* 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__dark-bg {
  background-color: #1a1a1a; /* Slightly lighter dark for contrast with #121212 body */
  color: #ffffff;
}

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

/* Sections */
.page-slot-games__section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 25px;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: inherit;
}

.page-slot-games__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.5;
  color: inherit;
}

.page-slot-games__text-block {
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: inherit;
}

.page-slot-games__highlight {
  color: #26A9E0;
  font-weight: bold;
}

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
}

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

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

.page-slot-games__btn-secondary {
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-slot-games__btn-secondary:hover {
  background-color: #c96806;
  border-color: #c96806;
}

.page-slot-games__btn-card {
  background-color: #26A9E0;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  font-size: 15px;
}

.page-slot-games__btn-card:hover {
  background-color: #1e87b5;
}

.page-slot-games__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  width: 100%; /* Ensure container takes full width */
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  padding: 80px 20px 60px; /* Adjust padding-top for header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 40px;
  box-sizing: border-box;
}

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

.page-slot-games__hero-content {
  max-width: 900px;
}

.page-slot-games__hero-description {
  font-size: 20px;
  line-height: 1.7;
  margin-bottom: 30px;
}

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

/* Game Types Section */
.page-slot-games__game-types-section {
  padding: 80px 0;
}

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

.page-slot-games__game-card {
  background-color: #1a1a1a; /* Dark background for cards on dark section */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  color: #ffffff;
}

.page-slot-games__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 15px;
}

.page-slot-games__game-card .page-slot-games__card-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #ffffff;
  padding: 0 15px;
}

.page-slot-games__game-card .page-slot-games__card-text {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
  padding: 0 15px;
}

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

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

.page-slot-games__advantage-item {
  text-align: center;
  background-color: #f8f8f8;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  color: #333333;
}

.page-slot-games__advantage-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin: 0 auto 20px auto;
}

.page-slot-games__advantage-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-slot-games__advantage-text {
  font-size: 16px;
  line-height: 1.6;
  flex-grow: 1;
}

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

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

.page-slot-games__step-card {
  background-color: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  color: #ffffff;
}

.page-slot-games__step-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 15px;
}

.page-slot-games__step-card .page-slot-games__card-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #ffffff;
  padding: 0 15px;
}

.page-slot-games__step-card .page-slot-games__card-text {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
  padding: 0 15px;
}

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

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

.page-slot-games__promo-card {
  background-color: #f8f8f8;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  color: #333333;
}

.page-slot-games__promo-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  margin-bottom: 15px;
}

.page-slot-games__promo-card .page-slot-games__card-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #26A9E0;
  padding: 0 15px;
}

.page-slot-games__promo-card .page-slot-games__card-text {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
  padding: 0 15px;
}

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

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

.page-slot-games__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__faq-item {
  background-color: #1a1a1a; /* Darker background for FAQ items */
  border: 1px solid #333333;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-slot-games__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  list-style: none; /* Remove default marker */
  color: #ffffff;
}

.page-slot-games__faq-item summary::-webkit-details-marker {
  display: none; /* Remove default marker for Webkit browsers */
}

.page-slot-games__faq-question {
  flex-grow: 1;
  color: #ffffff;
}

.page-slot-games__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
}

.page-slot-games__faq-answer {
  padding: 0 25px 20px;
  font-size: 16px;
  line-height: 1.6;
  color: #e0e0e0;
}

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

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

.page-slot-games__cta-content {
  max-width: 900px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__hero-section {
    padding: 60px 20px 40px;
  }

  .page-slot-games__section-title {
    font-size: clamp(26px, 4vw, 38px);
  }

  .page-slot-games__section-description {
    font-size: 17px;
  }

  .page-slot-games__game-grid,
  .page-slot-games__advantage-list,
  .page-slot-games__step-grid,
  .page-slot-games__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
  }

  .page-slot-games__game-image,
  .page-slot-games__step-image,
  .page-slot-games__promo-image {
    height: 180px;
  }

  .page-slot-games__advantage-icon {
    width: 80px;
    height: 80px;
  }

  .page-slot-games__faq-item summary {
    padding: 18px 20px;
    font-size: 17px;
  }

  .page-slot-games__faq-answer {
    padding: 0 20px 18px;
  }
}

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

  .page-slot-games__container {
    padding: 0 15px;
  }

  .page-slot-games__hero-section {
    padding: 40px 15px 30px;
  }

  .page-slot-games__hero-image-wrapper {
    margin-bottom: 30px;
  }

  .page-slot-games__hero-description {
    font-size: 18px;
  }

  .page-slot-games__section-title {
    font-size: clamp(24px, 5vw, 32px);
    margin-bottom: 20px;
  }

  .page-slot-games__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

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

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games__btn-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-slot-games__game-grid,
  .page-slot-games__advantage-list,
  .page-slot-games__step-grid,
  .page-slot-games__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-slot-games__game-image,
  .page-slot-games__step-image,
  .page-slot-games__promo-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-slot-games img {
    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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games__hero-image-wrapper,
  .page-slot-games__game-card,
  .page-slot-games__step-card,
  .page-slot-games__promo-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-slot-games__faq-item summary {
    padding: 15px 18px;
    font-size: 16px;
  }

  .page-slot-games__faq-answer {
    padding: 0 18px 15px;
  }
}