.page-game-demo-slot-x-trial {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f8f8;
}

.page-game-demo-slot-x-trial .page-game-demo-slot-x-trial__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-game-demo-slot-x-trial .highlight {
  color: #CC0000;
  font-weight: bold;
}

/* Hero Section */
.page-game-demo-slot-x-trial__hero {
  background: linear-gradient(135deg, #CC0000, #b30000);
  color: #fff;
  padding: 80px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 500px;
}

.page-game-demo-slot-x-trial__hero-content {
  z-index: 1;
  max-width: 800px;
  margin-bottom: 30px;
}

.page-game-demo-slot-x-trial__title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Adjusted for contrast */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-game-demo-slot-x-trial__subtitle {
  font-size: 1.4em;
  margin-bottom: 40px;
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-game-demo-slot-x-trial__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;
  margin: 10px;
  cursor: pointer;
}

.page-game-demo-slot-x-trial__btn--primary {
  background-color: #FFD700;
  color: #CC0000; /* Adjusted for contrast */
  border: 2px solid #FFD700;
}

.page-game-demo-slot-x-trial__btn--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  transform: translateY(-2px);
}

.page-game-demo-slot-x-trial__btn--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-game-demo-slot-x-trial__btn--secondary:hover {
  background-color: #FFD700;
  color: #CC0000; /* Adjusted for contrast */
  transform: translateY(-2px);
}

.page-game-demo-slot-x-trial__hero-image-wrapper {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1000px;
  opacity: 0.7;
  z-index: 0;
}

.page-game-demo-slot-x-trial__hero-image {
  width: 100%;
  height: auto;
  display: block;
}

/* General Section Styling */
.page-game-demo-slot-x-trial__section {
  padding: 60px 0;
  text-align: center;
}

.page-game-demo-slot-x-trial__section:nth-of-type(even) {
  background-color: #f0f0f0;
}

.page-game-demo-slot-x-trial__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  color: #CC0000;
  position: relative;
  padding-bottom: 15px;
}

.page-game-demo-slot-x-trial__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

/* About Section */
.page-game-demo-slot-x-trial__about .page-game-demo-slot-x-trial__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  text-align: left;
}

.page-game-demo-slot-x-trial__about .page-game-demo-slot-x-trial__text-content p {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #444;
}

.page-game-demo-slot-x-trial__about .page-game-demo-slot-x-trial__image-right {
  text-align: center;
}

.page-game-demo-slot-x-trial__about .page-game-demo-slot-x-trial__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Benefits Section */
.page-game-demo-slot-x-trial__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-game-demo-slot-x-trial__benefit-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-game-demo-slot-x-trial__benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-game-demo-slot-x-trial__benefit-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.page-game-demo-slot-x-trial__benefit-item h3 {
  font-size: 1.5em;
  color: #CC0000;
  margin-bottom: 15px;
}

.page-game-demo-slot-x-trial__benefit-item p {
  font-size: 1em;
  color: #555;
}

/* How-to-Play Section */
.page-game-demo-slot-x-trial__steps {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
}

.page-game-demo-slot-x-trial__steps li {
  background-color: #fff;
  margin-bottom: 20px;
  padding: 25px 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: flex-start;
  position: relative;
}

.page-game-demo-slot-x-trial__steps li::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  background-color: #FFD700;
  color: #CC0000; /* Adjusted for contrast */
  font-weight: bold;
  font-size: 1.5em;
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-game-demo-slot-x-trial__steps h3 {
  font-size: 1.4em;
  color: #CC0000;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-game-demo-slot-x-trial__steps p {
  font-size: 1.05em;
  color: #555;
}

/* Why kv999 Section */
.page-game-demo-slot-x-trial__why-kv999-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: center;
  text-align: left;
}

.page-game-demo-slot-x-trial__why-kv999-content .page-game-demo-slot-x-trial__image-left {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-game-demo-slot-x-trial__why-kv999-content .page-game-demo-slot-x-trial__text-content h3 {
  font-size: 1.8em;
  color: #CC0000;
  margin-top: 25px;
  margin-bottom: 15px;
}

.page-game-demo-slot-x-trial__why-kv999-content .page-game-demo-slot-x-trial__text-content p {
  font-size: 1.1em;
  color: #444;
  margin-bottom: 15px;
}

/* Other Games Section */
.page-game-demo-slot-x-trial__game-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-game-demo-slot-x-trial__game-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-game-demo-slot-x-trial__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-game-demo-slot-x-trial__game-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.page-game-demo-slot-x-trial__game-card h3 {
  font-size: 1.5em;
  color: #CC0000;
  margin: 20px 0 10px;
}

.page-game-demo-slot-x-trial__game-card p {
  font-size: 1em;
  color: #555;
  padding: 0 20px 20px;
}

.page-game-demo-slot-x-trial__btn--small {
  padding: 10px 20px;
  font-size: 0.95em;
  margin-bottom: 20px;
}

/* CTA Register Section */
.page-game-demo-slot-x-trial__cta-register {
  background-color: #CC0000;
  color: #fff;
  padding: 80px 0;
}

.page-game-demo-slot-x-trial__cta-register .page-game-demo-slot-x-trial__section-title {
  color: #FFD700;
}

.page-game-demo-slot-x-trial__cta-register .page-game-demo-slot-x-trial__section-title::after {
  background-color: #FFD700;
}

.page-game-demo-slot-x-trial__cta-register p {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #fff;
}

.page-game-demo-slot-x-trial__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-game-demo-slot-x-trial__promo-text {
  margin-top: 30px;
  font-style: italic;
  font-size: 1.1em;
  color: #FFD700 !important; /* Important for contrast */
}

/* FAQ Section */
.page-game-demo-slot-x-trial__faq-item {
  background-color: #fff;
  margin-bottom: 15px;
  padding: 25px 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  text-align: left;
}

.page-game-demo-slot-x-trial__faq-item h3 {
  font-size: 1.3em;
  color: #CC0000;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-game-demo-slot-x-trial__faq-item p {
  font-size: 1em;
  color: #555;
}

/* Call to Action Bottom */
.page-game-demo-slot-x-trial__cta-bottom {
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-game-demo-slot-x-trial__hero {
    padding: 60px 0;
    min-height: 400px;
  }

  .page-game-demo-slot-x-trial__title {
    font-size: 2.8em;
  }

  .page-game-demo-slot-x-trial__subtitle {
    font-size: 1.2em;
  }

  .page-game-demo-slot-x-trial__about .page-game-demo-slot-x-trial__content-grid,
  .page-game-demo-slot-x-trial__why-kv999-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .page-game-demo-slot-x-trial__about .page-game-demo-slot-x-trial__image-right,
  .page-game-demo-slot-x-trial__why-kv999-content .page-game-demo-slot-x-trial__image-left {
    order: -1;
    margin-bottom: 30px;
  }

  .page-game-demo-slot-x-trial__section-title {
    font-size: 2em;
  }

  .page-game-demo-slot-x-trial__benefits-grid,
  .page-game-demo-slot-x-trial__game-cards {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .page-game-demo-slot-x-trial__steps li {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .page-game-demo-slot-x-trial__steps li::before {
    margin-right: 0;
    margin-bottom: 15px;
  }
}

@media (max-width: 768px) {
  .page-game-demo-slot-x-trial__hero {
    padding: 50px 0;
    min-height: 350px;
  }

  .page-game-demo-slot-x-trial__title {
    font-size: 2.2em;
  }

  .page-game-demo-slot-x-trial__subtitle {
    font-size: 1em;
  }

  .page-game-demo-slot-x-trial__btn {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-game-demo-slot-x-trial__section {
    padding: 40px 0;
  }

  .page-game-demo-slot-x-trial__section-title {
    font-size: 1.8em;
  }

  .page-game-demo-slot-x-trial__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-game-demo-slot-x-trial__btn--small {
    padding: 8px 15px;
    font-size: 0.9em;
  }
}

@media (max-width: 480px) {
  .page-game-demo-slot-x-trial__hero {
    padding: 40px 0;
    min-height: 300px;
  }

  .page-game-demo-slot-x-trial__title {
    font-size: 1.8em;
  }

  .page-game-demo-slot-x-trial__subtitle {
    font-size: 0.9em;
  }

  .page-game-demo-slot-x-trial__btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }

  .page-game-demo-slot-x-trial__container {
    padding: 0 15px;
  }

  .page-game-demo-slot-x-trial__benefits-grid,
  .page-game-demo-slot-x-trial__game-cards {
    grid-template-columns: 1fr;
  }

  .page-game-demo-slot-x-trial__faq-item h3 {
    font-size: 1.1em;
  }

  .page-game-demo-slot-x-trial__faq-item p {
    font-size: 0.9em;
  }
}