/* style/game-demos-trials.css */
.page-game-demos-trials {
  font-family: 'Arial', sans-serif;
  color: #e5dfca; /* Light text for dark background */
  background-color: #1A2035; /* Main dark background */
  line-height: 1.6;
}

.page-game-demos-trials__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-game-demos-trials__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Accent color for titles */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
  position: relative;
}

.page-game-demos-trials__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  margin: 10px auto 0;
}

.page-game-demos-trials__hero {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1A2035, #3a456e);
  padding: 80px 0;
  min-height: 500px;
  position: relative;
  overflow: hidden;
}

.page-game-demos-trials__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.3;
}

.page-game-demos-trials__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-game-demos-trials__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  color: #e5dfca;
}

.page-game-demos-trials__hero-title {
  font-size: 3.8em;
  color: #FFD700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-game-demos-trials__hero-subtitle {
  font-size: 1.5em;
  margin-bottom: 40px;
  color: #e5dfca;
}

.page-game-demos-trials__hero-cta {
  display: inline-block;
  background-color: #FFD700; /* Accent color for CTA */
  color: #1A2035; /* Dark text for accent background */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-game-demos-trials__hero-cta:hover {
  background-color: #e5c100;
  transform: translateY(-3px);
}

.page-game-demos-trials__intro,
.page-game-demos-trials__features,
.page-game-demos-trials__game-types,
.page-game-demos-trials__how-to,
.page-game-demos-trials__detail-pages,
.page-game-demos-trials__faq,
.page-game-demos-trials__responsible-gaming {
  padding: 60px 0;
}

.page-game-demos-trials__intro p,
.page-game-demos-trials__how-to p,
.page-game-demos-trials__responsible-gaming p {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-demos-trials__button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A2035;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 20px;
  text-align: center;
}

.page-game-demos-trials__button:hover {
  background-color: #e5c100;
  transform: translateY(-2px);
}

.page-game-demos-trials__button--primary {
  background-color: #FFD700;
  color: #1A2035;
}

.page-game-demos-trials__button--secondary {
  background-color: #3a456e; /* A darker shade of blue */
  color: #e5dfca;
}

.page-game-demos-trials__button--secondary:hover {
  background-color: #5f6372;
}

.page-game-demos-trials__text-center {
  text-align: center;
  margin-top: 30px;
  font-size: 1.1em;
}

.page-game-demos-trials__link-inline {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-game-demos-trials__link-inline:hover {
  color: #e5c100;
  text-decoration: underline;
}

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

.page-game-demos-trials__feature-item {
  background-color: #2a3450; /* Slightly lighter dark blue */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-game-demos-trials__feature-item:hover {
  transform: translateY(-10px);
}

.page-game-demos-trials__feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: invert(80%) sepia(100%) saturate(700%) hue-rotate(10deg) brightness(100%) contrast(100%); /* Gold tint */
}

.page-game-demos-trials__feature-heading {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-game-demos-trials__feature-item p {
  color: #e5dfca;
  font-size: 1em;
  text-align: center;
}

.page-game-demos-trials__game-types .page-game-demos-trials__container > p {
  text-align: center;
  margin-bottom: 40px;
}

.page-game-demos-trials__type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-game-demos-trials__type-item {
  background-color: #2a3450;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-game-demos-trials__type-item:hover {
  transform: translateY(-10px);
}

.page-game-demos-trials__type-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-game-demos-trials__type-heading {
  font-size: 1.4em;
  color: #FFD700;
  padding: 15px 20px 5px;
}

.page-game-demos-trials__type-item p {
  color: #e5dfca;
  padding: 0 20px 20px;
  font-size: 0.95em;
}

.page-game-demos-trials__steps {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  counter-reset: step-counter;
}

.page-game-demos-trials__steps li {
  background-color: #2a3450;
  margin-bottom: 25px;
  padding: 30px;
  border-radius: 10px;
  position: relative;
  padding-left: 80px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.page-game-demos-trials__steps li::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 30px;
  top: 30px;
  background-color: #FFD700;
  color: #1A2035;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.5em;
}

.page-game-demos-trials__step-heading {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-game-demos-trials__step-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: 20px auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-game-demos-trials__cta-banner {
  background: linear-gradient(90deg, #FFD700, #e5c100); /* Gold gradient */
  padding: 80px 0;
  text-align: center;
  color: #1A2035;
}

.page-game-demos-trials__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #1A2035;
}

.page-game-demos-trials__cta-text {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-demos-trials__detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-game-demos-trials__detail-item {
  background-color: #2a3450;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-game-demos-trials__detail-heading {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-game-demos-trials__detail-heading a {
  color: #FFD700;
  text-decoration: none;
}

.page-game-demos-trials__detail-heading a:hover {
  text-decoration: underline;
}

.page-game-demos-trials__detail-description {
  color: #e5dfca;
  font-size: 0.95em;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-game-demos-trials__accordion {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-demos-trials__accordion-item {
  background-color: #2a3450;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-game-demos-trials__accordion-header {
  background-color: #3a456e; /* Slightly lighter dark blue for header */
  color: #FFD700;
  padding: 20px 25px;
  width: 100%;
  text-align: left;
  border: none;
  font-size: 1.3em;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-game-demos-trials__accordion-header:hover {
  background-color: #4c5a80;
}

.page-game-demos-trials__accordion-header::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-game-demos-trials__accordion-header.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-game-demos-trials__accordion-content {
  padding: 0 25px;
  background-color: #2a3450;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-game-demos-trials__accordion-content p {
  padding-top: 15px;
  padding-bottom: 15px;
  margin: 0;
  color: #e5dfca;
  font-size: 1.05em;
  text-align: left;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-game-demos-trials__hero-title {
    font-size: 3em;
  }
  .page-game-demos-trials__hero-subtitle {
    font-size: 1.2em;
  }
  .page-game-demos-trials__section-title {
    font-size: 2em;
  }
  .page-game-demos-trials__cta-title {
    font-size: 2.2em;
  }
  .page-game-demos-trials__cta-text {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-game-demos-trials__hero {
    flex-direction: column;
    text-align: center;
    padding: 60px 0;
  }
  .page-game-demos-trials__hero-content {
    padding: 0 20px;
  }
  .page-game-demos-trials__hero-title {
    font-size: 2.5em;
  }
  .page-game-demos-trials__hero-subtitle {
    font-size: 1em;
  }
  .page-game-demos-trials__feature-grid,
  .page-game-demos-trials__type-grid,
  .page-game-demos-trials__detail-list {
    grid-template-columns: 1fr;
  }
  .page-game-demos-trials__steps li {
    padding: 20px;
    padding-left: 60px;
  }
  .page-game-demos-trials__steps li::before {
    left: 20px;
    top: 20px;
    width: 35px;
    height: 35px;
    font-size: 1.2em;
  }
  .page-game-demos-trials__section-title {
    font-size: 1.8em;
  }
  .page-game-demos-trials__cta-title {
    font-size: 1.8em;
  }
  .page-game-demos-trials__cta-text {
    font-size: 1em;
  }
  .page-game-demos-trials__accordion-header {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-game-demos-trials__accordion-content p {
    font-size: 0.95em;
  }
}

@media (max-width: 480px) {
  .page-game-demos-trials__hero-title {
    font-size: 2em;
  }
  .page-game-demos-trials__hero-subtitle {
    font-size: 0.9em;
  }
  .page-game-demos-trials__hero-cta {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-game-demos-trials__section-title {
    font-size: 1.5em;
  }
  .page-game-demos-trials__cta-title {
    font-size: 1.5em;
  }
  .page-game-demos-trials__cta-text {
    font-size: 0.9em;
  }
}