/* style/game-demo.css */

/* Base styles for the page-game-demo content area */
.page-game-demo {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f8f8;
}

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

/* Section spacing */
.page-game-demo__section {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-game-demo__section:nth-of-type(odd) {
  background-color: #ffffff;
}

.page-game-demo__section-title {
  font-size: 2.5em;
  color: #CC0000; /* Main brand color */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  position: relative;
  padding-bottom: 15px;
}

.page-game-demo__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700; /* Auxiliary brand color */
  border-radius: 2px;
}

.page-game-demo__section-intro {
  text-align: center;
  font-size: 1.1em;
  color: #555;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-game-demo__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  font-size: 1em;
}

.page-game-demo__button--primary {
  background-color: #CC0000; /* Main brand color */
  color: #FFFFFF; /* White text for contrast */
  box-shadow: 0 4px 15px rgba(204, 0, 0, 0.3);
}

.page-game-demo__button--primary:hover {
  background-color: #a30000;
  box-shadow: 0 6px 20px rgba(204, 0, 0, 0.5);
  transform: translateY(-2px);
}

.page-game-demo__button--secondary {
  background-color: #FFD700; /* Auxiliary brand color */
  color: #333333; /* Dark text for contrast */
  border: 2px solid #FFD700;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.page-game-demo__button--secondary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
  transform: translateY(-2px);
}

.page-game-demo__button--small {
  padding: 8px 18px;
  font-size: 0.9em;
  border-radius: 5px;
}

/* Hero Section */
.page-game-demo__hero-section {
  background: linear-gradient(135deg, #CC0000 0%, #FFD700 100%); /* Gradient with brand colors */
  color: #FFFFFF;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-game-demo__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('[GALLERY:bg:abstract_casino_pattern,golden_red_gradient,luxury]');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: 0;
}

.page-game-demo__hero-section .page-game-demo__container {
  position: relative;
  z-index: 1;
}

.page-game-demo__hero-title {
  font-size: 3.8em;
  margin-bottom: 20px;
  font-weight: 900;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-game-demo__hero-description {
  font-size: 1.3em;
  max-width: 900px;
  margin: 0 auto 40px auto;
  line-height: 1.5;
}

.page-game-demo__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Content Wrapper for text and image side-by-side */
.page-game-demo__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.page-game-demo__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-game-demo__text-content {
  flex: 1;
}

.page-game-demo__text-content p {
  margin-bottom: 15px;
  font-size: 1.05em;
  color: #444;
}

.page-game-demo__text-content ul {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
}

.page-game-demo__text-content ul li {
  margin-bottom: 10px;
  color: #444;
}

.page-game-demo__image-content {
  flex: 1;
  text-align: center;
}

.page-game-demo__image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Why Try Section */
.page-game-demo__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-game-demo__feature-item {
  background-color: #fefefe;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-game-demo__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-game-demo__feature-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  filter: drop-shadow(0 3px 5px rgba(204, 0, 0, 0.2));
}

.page-game-demo__feature-title {
  font-size: 1.5em;
  color: #CC0000; /* Main brand color */
  margin-bottom: 15px;
}

.page-game-demo__feature-item p {
  color: #666;
}

/* Trial Games List */
.page-game-demo__game-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-game-demo__game-item {
  background-color: #fefefe;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-game-demo__game-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-game-demo__game-thumbnail {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.page-game-demo__game-item h3 {
  font-size: 1.4em;
  color: #CC0000; /* Main brand color */
  margin: 20px 20px 10px 20px;
}

.page-game-demo__game-item h3 a {
  color: #CC0000;
  text-decoration: none;
}

.page-game-demo__game-item h3 a:hover {
  text-decoration: underline;
}

.page-game-demo__game-description {
  padding: 0 20px;
  color: #555;
  font-size: 0.95em;
  flex-grow: 1;
}

.page-game-demo__game-item .page-game-demo__button {
  margin: 20px;
  align-self: flex-start;
}

/* How To Start Section */
.page-game-demo__steps-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-game-demo__steps-list li {
  display: flex;
  align-items: flex-start;
  background-color: #fefefe;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.page-game-demo__step-number {
  font-size: 1.8em;
  font-weight: bold;
  color: #FFD700; /* Auxiliary brand color */
  margin-right: 15px;
  flex-shrink: 0;
  line-height: 1;
}

.page-game-demo__steps-list li p {
  font-size: 1.1em;
  color: #444;
  margin: 0;
}

.page-game-demo__pro-tip {
  background-color: #fffacd; /* Light gold/yellow background */
  border-left: 5px solid #FFD700;
  padding: 20px 25px;
  border-radius: 8px;
  margin-top: 30px;
  font-size: 1.1em;
  color: #665200; /* Darker text for contrast */
}

.page-game-demo__pro-tip strong {
  color: #998100;
}

.page-game-demo__cta-center {
  text-align: center;
  margin-top: 40px;
}

/* Benefits Register Section */
.page-game-demo__benefits-register ul {
  list-style: none;
  padding: 0;
}

.page-game-demo__benefits-register ul li {
  background-color: #fff;
  border-left: 4px solid #CC0000;
  margin-bottom: 15px;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  font-size: 1.05em;
  color: #444;
}

.page-game-demo__benefits-register ul li strong {
  color: #CC0000;
}

/* FAQ Section */
.page-game-demo__faq-items {
  margin-top: 40px;
}

.page-game-demo__faq-item {
  background-color: #fefefe;
  border: 1px solid #eee;
  border-radius: 10px;
  margin-bottom: 20px;
  padding: 25px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.page-game-demo__faq-question {
  font-size: 1.3em;
  color: #CC0000; /* Main brand color */
  margin-top: 0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-game-demo__faq-answer {
  font-size: 1.05em;
  color: #555;
  line-height: 1.7;
}

/* Final Call to Action Section */
.page-game-demo__call-to-action {
  background-color: #CC0000; /* Main brand color */
  color: #FFFFFF;
  padding: 80px 0;
  text-align: center;
  border-radius: 15px;
  margin-bottom: 40px;
}

.page-game-demo__call-to-action .page-game-demo__section-title {
  color: #FFD700; /* Auxiliary brand color */
}

.page-game-demo__call-to-action .page-game-demo__section-title::after {
  background-color: #FFFFFF;
}

.page-game-demo__cta-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

.page-game-demo__cta-actions {
  display: flex;
  justify-content: center;
  gap: 25px;
}

.page-game-demo__cta-actions .page-game-demo__button--primary {
  background-color: #FFD700;
  color: #CC0000; /* Darker text for contrast */
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-game-demo__cta-actions .page-game-demo__button--primary:hover {
  background-color: #e6c200;
  color: #a30000;
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-game-demo__cta-actions .page-game-demo__button--secondary {
  background-color: transparent;
  border: 2px solid #FFFFFF;
  color: #FFFFFF;
}

.page-game-demo__cta-actions .page-game-demo__button--secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #FFD700;
  color: #FFD700;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-game-demo__hero-title {
    font-size: 3em;
  }
  .page-game-demo__section-title {
    font-size: 2em;
  }
  .page-game-demo__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }
  .page-game-demo__content-wrapper--reverse {
    flex-direction: column;
  }
  .page-game-demo__image-content {
    order: -1; /* Image first on smaller screens for reverse layout */
  }
}

@media (max-width: 768px) {
  .page-game-demo__hero-title {
    font-size: 2.5em;
  }
  .page-game-demo__hero-description {
    font-size: 1.1em;
  }
  .page-game-demo__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-game-demo__button {
    width: 80%;
    margin: 0 auto;
  }
  .page-game-demo__section {
    padding: 40px 0;
  }
  .page-game-demo__section-title {
    font-size: 1.8em;
  }
  .page-game-demo__features-grid, .page-game-demo__game-list, .page-game-demo__steps-list {
    grid-template-columns: 1fr;
  }
  .page-game-demo__cta-actions {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .page-game-demo__hero-title {
    font-size: 2em;
  }
  .page-game-demo__hero-description {
    font-size: 1em;
  }
  .page-game-demo__button {
    width: 90%;
    padding: 10px 20px;
  }
  .page-game-demo__section-title {
    font-size: 1.5em;
  }
  .page-game-demo__feature-title {
    font-size: 1.3em;
  }
  .page-game-demo__game-item h3 {
    font-size: 1.2em;
  }
  .page-game-demo__faq-question {
    font-size: 1.1em;
  }
  .page-game-demo__step-number {
    font-size: 1.5em;
  }
  .page-game-demo__steps-list li p {
    font-size: 1em;
  }
  .page-game-demo__pro-tip {
    font-size: 1em;
  }
}