.page-xs {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Main text color */
  background-color: #08160F; /* Background color */
}

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

.page-xs__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 40px;
  padding-top: 10px; /* Small top padding */
}

.page-xs__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for hero image */
  overflow: hidden;
}

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

.page-xs__hero-content {
  position: relative;
  z-index: 1;
  padding: 20px;
  margin-top: -80px; /* Pull content up slightly over image */
  background: linear-gradient(180deg, rgba(8, 22, 15, 0.8) 0%, #08160F 100%); /* Gradient for text readability */
  border-radius: 10px;
  max-width: 900px;
  width: 100%;
  box-sizing: border-box;
}

.page-xs__hero-title {
  color: #F2C14E; /* Gold color for main title */
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 15px;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
  font-size: clamp(2rem, 5vw, 3.5rem); /* Responsive font size */
}

.page-xs__hero-description {
  color: #A7D9B8; /* Secondary text color */
  font-size: 1.1em;
  margin-bottom: 30px;
}

.page-xs__hero-cta-button,
.page-xs__game-card-button,
.page-xs__main-cta-button,
.page-xs__promo-card-button,
.page-xs__final-cta-button {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #FFFFFF;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-xs__hero-cta-button:hover,
.page-xs__game-card-button:hover,
.page-xs__main-cta-button:hover,
.page-xs__promo-card-button:hover,
.page-xs__final-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
  opacity: 0.9;
}

.page-xs__section-title {
  color: #F2C14E; /* Gold color for section titles */
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 25px;
  padding-top: 40px;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

.page-xs__section-description {
  color: #A7D9B8; /* Secondary text color */
  font-size: 1.05em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-xs__about-section,
.page-xs__benefits-section,
.page-xs__security-section,
.page-xs__faq-section {
  padding: 60px 0;
}

.page-xs__dark-section {
  background-color: #0A4B2C; /* Deep Green background for contrast sections */
}

.page-xs__image-inline {
  display: block;
  margin: 40px auto;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.page-xs__game-card,
.page-xs__promo-card {
  background-color: #11271B; /* Card BG */
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #2E7A4E; /* Border color */
}

.page-xs__game-card:hover,
.page-xs__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-xs__game-card-image,
.page-xs__promo-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-xs__game-card-title,
.page-xs__promo-card-title {
  color: #F2FFF6; /* Main text color */
  font-size: 1.5em;
  margin: 20px 15px 10px;
}

.page-xs__game-card-description,
.page-xs__promo-card-description {
  color: #A7D9B8; /* Secondary text color */
  font-size: 0.95em;
  padding: 0 15px;
  margin-bottom: 20px;
}

.page-xs__game-card-button,
.page-xs__promo-card-button {
  margin-bottom: 20px;
  padding: 10px 25px;
  font-size: 1em;
}

.page-xs__benefits-list,
.page-xs__guide-list,
.page-xs__tips-list,
.page-xs__security-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-xs__benefit-item,
.page-xs__guide-item,
.page-xs__tip-item,
.page-xs__feature-item {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  border: 1px solid #2E7A4E; /* Border color */
}

.page-xs__benefit-title,
.page-xs__guide-step-title,
.page-xs__tip-title,
.page-xs__feature-title {
  color: #57E38D; /* Glow color for sub-titles */
  font-size: 1.3em;
  margin-bottom: 10px;
}

.page-xs__benefit-description,
.page-xs__guide-step-description,
.page-xs__tip-description,
.page-xs__feature-description {
  color: #A7D9B8; /* Secondary text color */
  font-size: 1em;
}

.page-xs__guide-list {
  counter-reset: step-counter;
}

.page-xs__guide-item {
  position: relative;
  padding-left: 60px;
  text-align: left;
}

.page-xs__guide-item::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 50%;
  background-color: #13994A; /* Darker green */
  color: #FFFFFF;
  font-weight: bold;
  text-align: center;
  font-size: 1.2em;
}

.page-xs__faq-section {
  padding-bottom: 80px;
}

.page-xs__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-xs__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  color: #F2FFF6; /* Main text color */
  font-size: 1.1em;
  list-style: none;
}

.page-xs__faq-question::-webkit-details-marker {
  display: none;
}

.page-xs__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #57E38D; /* Glow color */
}

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

.page-xs__faq-answer {
  padding: 0 25px 20px;
  color: #A7D9B8; /* Secondary text color */
  font-size: 1em;
  line-height: 1.7;
}

.page-xs__cta-final-section {
  background: linear-gradient(90deg, #11A84E, #22C768); /* Brand color gradient */
  padding: 80px 0;
  text-align: center;
}

.page-xs__cta-final-section .page-xs__section-title {
  color: #FFFFFF;
  text-shadow: none;
}

.page-xs__cta-final-section .page-xs__section-description {
  color: #F2FFF6;
}

.page-xs__final-cta-button {
  background: #F2C14E; /* Gold button */
  color: #08160F;
  box-shadow: 0 4px 20px rgba(242, 193, 78, 0.6);
}

.page-xs__final-cta-button:hover {
  background: #F2C14E;
  box-shadow: 0 6px 25px rgba(242, 193, 78, 0.8);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-xs__hero-content {
    margin-top: -60px;
  }
  .page-xs__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-xs__hero-section {
    padding-bottom: 20px;
  }
  .page-xs__hero-content {
    margin-top: -40px;
    padding: 15px;
  }
  .page-xs__hero-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }
  .page-xs__hero-description {
    font-size: 1em;
  }
  .page-xs__hero-cta-button,
  .page-xs__game-card-button,
  .page-xs__main-cta-button,
  .page-xs__promo-card-button,
  .page-xs__final-cta-button {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-xs__section-title {
    font-size: 1.8em;
    padding-top: 30px;
  }
  .page-xs__section-description {
    font-size: 0.95em;
  }
  .page-xs__game-cards-grid,
  .page-xs__promo-cards-grid {
    grid-template-columns: 1fr;
  }
  .page-xs__benefits-list,
  .page-xs__guide-list,
  .page-xs__tips-list,
  .page-xs__security-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-xs__benefit-item,
  .page-xs__guide-item,
  .page-xs__tip-item,
  .page-xs__feature-item {
    padding: 20px;
  }
  .page-xs__guide-item {
    padding-left: 50px;
  }
  .page-xs__guide-item::before {
    width: 35px;
    height: 35px;
    line-height: 35px;
    font-size: 1.1em;
  }
  .page-xs__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-xs__faq-answer {
    padding: 0 20px 15px;
  }
  .page-xs__cta-final-section {
    padding: 60px 0;
  }
  .page-xs img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-xs__section,
  .page-xs__card,
  .page-xs__container,
  .page-xs__game-card,
  .page-xs__promo-card,
  .page-xs__benefits-list,
  .page-xs__guide-list,
  .page-xs__tips-list,
  .page-xs__security-features,
  .page-xs__faq-list,
  .page-xs__cta-buttons,
  .page-xs__button-group,
  .page-xs__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
  .page-xs__hero-section {
    padding-top: 10px !important;
  }
}

@media (max-width: 480px) {
  .page-xs__hero-content {
    margin-top: -20px;
  }
  .page-xs__hero-title {
    font-size: clamp(1.6rem, 8vw, 2rem);
  }
  .page-xs__section-title {
    font-size: 1.5em;
  }
  .page-xs__hero-cta-button,
  .page-xs__game-card-button,
  .page-xs__main-cta-button,
  .page-xs__promo-card-button,
  .page-xs__final-cta-button {
    font-size: 0.95em;
  }
}