.page-x-s-gameplay-guide {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #2C3E50;
  background-color: #f8f9fa;
}

.page-x-s-gameplay-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-x-s-gameplay-guide__hero {
  background: linear-gradient(135deg, #2C3E50 0%, #4a627a 100%); /* Dark blue-gray to slightly lighter for depth */
  color: #ffffff;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-x-s-gameplay-guide__hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('[GALLERY:bg:lottery_abstract_pattern,geometric,subtle_texture]');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: 0;
}

.page-x-s-gameplay-guide__hero .page-x-s-gameplay-guide__container {
  position: relative;
  z-index: 1;
}

.page-x-s-gameplay-guide__title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #E74C3C; /* Accent color for main title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-x-s-gameplay-guide__subtitle {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #e0e0e0;
}

.page-x-s-gameplay-guide__cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-x-s-gameplay-guide__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.page-x-s-gameplay-guide__btn--primary {
  background-color: #E74C3C; /* Secondary color for primary action */
  color: #ffffff;
}

.page-x-s-gameplay-guide__btn--primary:hover {
  background-color: #c0392b;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.page-x-s-gameplay-guide__btn--secondary {
  background-color: #6c7a89; /* A lighter shade of primary for secondary action */
  color: #ffffff;
}

.page-x-s-gameplay-guide__btn--secondary:hover {
  background-color: #576574;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.page-x-s-gameplay-guide__section {
  padding: 60px 0;
  background-color: #ffffff;
  margin-bottom: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  border-radius: 10px;
}

.page-x-s-gameplay-guide__section:nth-of-type(even) {
  background-color: #f2f4f6;
}

.page-x-s-gameplay-guide__section-title {
  font-size: 2.5em;
  color: #2C3E50;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

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

.page-x-s-gameplay-guide__sub-title {
  font-size: 1.8em;
  color: #2C3E50;
  margin-top: 40px;
  margin-bottom: 20px;
  border-left: 5px solid #E74C3C;
  padding-left: 15px;
}

.page-x-s-gameplay-guide__content-block p {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #34495e;
}

.page-x-s-gameplay-guide__list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-x-s-gameplay-guide__list li {
  background-color: #fdfdfd;
  margin-bottom: 10px;
  padding: 15px 20px;
  border-left: 4px solid #E74C3C;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  font-size: 1.05em;
  color: #34495e;
}

.page-x-s-gameplay-guide__list li strong {
  color: #2C3E50;
}

.page-x-s-gameplay-guide__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 30px 0;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.page-x-s-gameplay-guide__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-x-s-gameplay-guide__card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-x-s-gameplay-guide__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.page-x-s-gameplay-guide__card-title {
  font-size: 1.6em;
  color: #E74C3C;
  margin-bottom: 15px;
}

.page-x-s-gameplay-guide__card-image {
  max-width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-top: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.page-x-s-gameplay-guide__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-x-s-gameplay-guide__feature-item {
  text-align: center;
  background-color: #fdfdfd;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease;
}

.page-x-s-gameplay-guide__feature-item:hover {
  transform: translateY(-5px);
}

.page-x-s-gameplay-guide__feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-x-s-gameplay-guide__feature-title {
  font-size: 1.4em;
  color: #2C3E50;
  margin-bottom: 10px;
}

.page-x-s-gameplay-guide__cta-bottom {
  text-align: center;
  margin-top: 60px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-x-s-gameplay-guide__accordion {
  margin-top: 30px;
}

.page-x-s-gameplay-guide__accordion-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-x-s-gameplay-guide__accordion-header {
  background-color: #f2f4f6;
  color: #2C3E50;
  padding: 20px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-x-s-gameplay-guide__accordion-header:hover {
  background-color: #e0e0e0;
}

.page-x-s-gameplay-guide__accordion-header::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-x-s-gameplay-guide__accordion-header.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-x-s-gameplay-guide__accordion-content {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  background-color: #ffffff;
}

.page-x-s-gameplay-guide__accordion-content p {
  padding: 15px 0;
  margin: 0;
  color: #34495e;
  font-size: 1.05em;
}

.page-x-s-gameplay-guide__cta-final {
  background: linear-gradient(90deg, #E74C3C 0%, #c0392b 100%); /* Red gradient for final CTA */
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}

.page-x-s-gameplay-guide__cta-content {
  max-width: 900px;
}

.page-x-s-gameplay-guide__section-title--light {
  color: #ffffff;
}

.page-x-s-gameplay-guide__text--light {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-x-s-gameplay-guide__btn--hero {
  background-color: #2C3E50; /* Dark blue-gray for contrast */
  color: #ffffff;
  padding: 18px 40px;
  font-size: 1.2em;
  border-radius: 50px;
}

.page-x-s-gameplay-guide__btn--hero:hover {
  background-color: #1a252f;
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-x-s-gameplay-guide__title {
    font-size: 2.8em;
  }
  .page-x-s-gameplay-guide__section-title {
    font-size: 2em;
  }
  .page-x-s-gameplay-guide__grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-x-s-gameplay-guide__hero {
    padding: 80px 0;
  }
  .page-x-s-gameplay-guide__title {
    font-size: 2.2em;
  }
  .page-x-s-gameplay-guide__subtitle {
    font-size: 1.1em;
  }
  .page-x-s-gameplay-guide__section {
    padding: 40px 0;
  }
  .page-x-s-gameplay-guide__section-title {
    font-size: 1.8em;
  }
  .page-x-s-gameplay-guide__sub-title {
    font-size: 1.5em;
  }
  .page-x-s-gameplay-guide__grid,
  .page-x-s-gameplay-guide__features-grid {
    grid-template-columns: 1fr;
  }
  .page-x-s-gameplay-guide__cta-group,
  .page-x-s-gameplay-guide__cta-bottom {
    flex-direction: column;
    gap: 15px;
  }
  .page-x-s-gameplay-guide__btn {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .page-x-s-gameplay-guide__title {
    font-size: 1.8em;
  }
  .page-x-s-gameplay-guide__subtitle {
    font-size: 1em;
  }
  .page-x-s-gameplay-guide__section-title {
    font-size: 1.5em;
  }
  .page-x-s-gameplay-guide__sub-title {
    font-size: 1.3em;
  }
  .page-x-s-gameplay-guide__card,
  .page-x-s-gameplay-guide__feature-item {
    padding: 20px;
  }
  .page-x-s-gameplay-guide__accordion-header {
    font-size: 1em;
    padding: 15px;
  }
  .page-x-s-gameplay-guide__accordion-content p {
    font-size: 0.95em;
  }
}