/* Base styles for the slot-games page content */
.page-slot-games {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light body background */
  background: #ffffff;
  line-height: 1.6;
}

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

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

.page-slot-games__section:nth-of-type(even) {
  background-color: #f9f9f9;
}

.page-slot-games__section-title {
  font-size: clamp(28px, 4vw, 36px);
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-slot-games__section-intro {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #555555;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles header offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #FFFFFF;
  max-width: 900px;
  padding: 30px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for readability */
  border-radius: 10px;
}

.page-slot-games__main-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-slot-games__hero-description {
  font-size: clamp(18px, 2vw, 22px);
  margin-bottom: 30px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

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

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

.page-slot-games__btn-primary:hover {
  background: #1e87c2;
  border-color: #1e87c2;
  transform: translateY(-2px);
}

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

.page-slot-games__btn-secondary:hover {
  background: #e0e0e0;
  color: #1e87c2;
  transform: translateY(-2px);
}

.page-slot-games__btn-play {
  background: #EA7C07;
  color: #FFFFFF;
  border: 2px solid #EA7C07;
  padding: 12px 25px;
  font-size: 16px;
  border-radius: 5px;
}

.page-slot-games__btn-play:hover {
  background: #d46f00;
  border-color: #d46f00;
  transform: translateY(-1px);
}

.page-slot-games__btn-small {
  background: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
  padding: 10px 20px;
  font-size: 15px;
  border-radius: 5px;
  margin-top: 15px;
}

.page-slot-games__btn-small:hover {
  background: #1e87c2;
  border-color: #1e87c2;
  transform: translateY(-1px);
}

.page-slot-games__btn-wrapper {
  text-align: center;
  margin-top: 30px;
}

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

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

.page-slot-games__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-slot-games__feature-icon {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-slot-games__feature-title {
  font-size: 22px;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-slot-games__feature-description {
  font-size: 16px;
  color: #555555;
}

/* Product Grid (Popular Games) */
.page-slot-games__products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__product-card {
  background: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

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

.page-slot-games__product-title {
  font-size: 20px;
  color: #26A9E0;
  margin: 20px 15px 10px 15px;
  font-weight: 700;
}

.page-slot-games__product-description {
  font-size: 15px;
  color: #555555;
  padding: 0 15px 20px 15px;
  min-height: 75px;
}

.page-slot-games__btn-play {
  display: block;
  width: calc(100% - 30px);
  margin: 0 15px 20px 15px;
}

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

.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: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
}

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

.page-slot-games__step-description {
  font-size: 16px;
  color: #555555;
}

/* Promotions Section */
.page-slot-games__promotion-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 30px auto;
  font-size: 17px;
  color: #333333;
}

.page-slot-games__promotion-list li {
  background: #eaf7ff;
  margin-bottom: 10px;
  padding: 15px 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
}

.page-slot-games__promotion-list li::before {
  content: '★';
  color: #26A9E0;
  font-size: 20px;
  margin-right: 10px;
  line-height: 1;
}

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

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

details.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

details.page-slot-games__faq-item summary.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  font-weight: 600;
  color: #333333;
}

details.page-slot-games__faq-item summary.page-slot-games__faq-question::-webkit-details-marker {
  display: none;
}

details.page-slot-games__faq-item summary.page-slot-games__faq-question:hover {
  background: #f5f5f5;
}

.page-slot-games__faq-qtext {
  flex: 1;
  font-size: 17px;
  line-height: 1.5;
  text-align: left;
}

.page-slot-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #26A9E0;
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
  line-height: 1;
}

details.page-slot-games__faq-item .page-slot-games__faq-answer {
  padding: 0 25px 20px;
  background: #f9f9f9;
  border-radius: 0 0 8px 8px;
  color: #555555;
  font-size: 16px;
}

details.page-slot-games__faq-item .page-slot-games__faq-answer p {
  margin-top: 0;
  margin-bottom: 0;
}

/* Conclusion Section */
.page-slot-games__conclusion {
  background-color: #26A9E0;
  color: #FFFFFF;
  text-align: center;
  padding: 60px 0;
}

.page-slot-games__conclusion .page-slot-games__section-title,
.page-slot-games__conclusion .page-slot-games__section-intro {
  color: #FFFFFF;
}

.page-slot-games__conclusion .page-slot-games__btn-primary {
  background: #FFFFFF;
  color: #26A9E0;
  border-color: #FFFFFF;
}

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

.page-slot-games__conclusion .page-slot-games__btn-secondary {
  background: transparent;
  color: #FFFFFF;
  border-color: #FFFFFF;
}

.page-slot-games__conclusion .page-slot-games__btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  border-color: #FFFFFF;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-slot-games__container {
    padding: 20px 30px;
  }

  .page-slot-games__main-title {
    font-size: clamp(32px, 4.5vw, 50px);
  }

  .page-slot-games__hero-description {
    font-size: clamp(16px, 1.8vw, 20px);
  }

  .page-slot-games__btn-primary, .page-slot-games__btn-secondary {
    padding: 12px 25px;
    font-size: 16px;
  }

  .page-slot-games__feature-title {
    font-size: 20px;
  }

  .page-slot-games__product-title {
    font-size: 18px;
  }

  .page-slot-games__faq-qtext {
    font-size: 16px;
  }
}

@media (max-width: 849px) {
  .page-slot-games__hero-image {
    object-fit: contain !important;
    aspect-ratio: unset !important;
    position: relative;
    height: auto;
    min-height: 250px;
    max-height: 400px;
  }

  .page-slot-games__hero-image-wrapper {
    position: relative;
    height: auto;
    width: 100%;
  }

  .page-slot-games__hero-content {
    position: relative;
    width: 100%;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6); /* Slightly darker overlay for readability */
    border-radius: 0;
  }

  .page-slot-games__hero-section {
    min-height: auto;
    padding-top: 10px; /* Ensure small top padding */
  }
}

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

  .page-slot-games__container {
    padding: 0 15px !important; /* Force padding for content containers */
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }

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

  .page-slot-games__section-title {
    font-size: clamp(24px, 6vw, 32px);
    padding: 0 10px;
  }

  .page-slot-games__section-intro {
    font-size: 16px;
    padding: 0 10px;
  }

  /* Hero Section */
  .page-slot-games__main-title {
    font-size: clamp(28px, 7vw, 40px);
  }

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

  .page-slot-games__cta-buttons {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 10px;
  }

  /* Buttons */
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games__btn-play,
  .page-slot-games__btn-small {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 15px;
    font-size: 16px;
  }

  /* Product Grid */
  .page-slot-games__products-grid,
  .page-slot-games__features-grid,
  .page-slot-games__steps-grid {
    grid-template-columns: 1fr 1fr; /* 2 columns for smaller screens */
    gap: 20px;
    padding: 0 10px;
    overflow-x: hidden;
  }

  .page-slot-games__products-grid .page-slot-games__product-card {
    margin-bottom: 0; /* Remove extra margin if any */
  }

  .page-slot-games__product-image {
    height: 150px;
  }

  .page-slot-games__product-description {
    min-height: 60px;
    font-size: 14px;
  }

  /* Article body / Text blocks */
  .page-slot-games__article-body, /* Assuming content uses this for long text */
  .page-slot-games__text-block {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 15px;
    box-sizing: border-box !important;
  }

  /* General Images */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* FAQ */
  details.page-slot-games__faq-item summary.page-slot-games__faq-question {
    padding: 15px 20px;
  }

  .page-slot-games__faq-qtext {
    font-size: 15px;
  }

  .page-slot-games__faq-toggle {
    font-size: 24px;
    width: 25px;
  }

  details.page-slot-games__faq-item .page-slot-games__faq-answer {
    padding: 0 20px 15px;
    font-size: 15px;
  }

  .page-slot-games__promotion-list {
    padding: 0 10px;
    font-size: 15px;
  }

  .page-slot-games__promotion-list li {
    padding: 12px 15px;
  }
}