/* style/card-games-doudizhu-rules.css */
.page-card-games-doudizhu-rules {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for readability on light backgrounds */
  background-color: #F8F8F8;
}

.page-card-games-doudizhu-rules__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-card-games-doudizhu-rules__hero {
  background: linear-gradient(135deg, #0A2463 0%, #E3B23C 100%);
  color: #FFFFFF;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-card-games-doudizhu-rules__title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

.page-card-games-doudizhu-rules__subtitle {
  font-size: 1.4em;
  margin-bottom: 40px;
  font-weight: 300;
}

.page-card-games-doudizhu-rules__section {
  padding: 60px 0;
  border-bottom: 1px solid #EEEEEE;
}

.page-card-games-doudizhu-rules__section:last-of-type {
  border-bottom: none;
}

.page-card-games-doudizhu-rules__section-title {
  font-size: 2.5em;
  color: #0A2463; /* Main brand color */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 600;
}

.page-card-games-doudizhu-rules__sub-title {
  font-size: 1.8em;
  color: #0A2463;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 500;
}

.page-card-games-doudizhu-rules p {
  font-size: 1.1em;
  margin-bottom: 15px;
}

.page-card-games-doudizhu-rules__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
}

.page-card-games-doudizhu-rules__list li {
  font-size: 1.1em;
  margin-bottom: 8px;
}

.page-card-games-doudizhu-rules__image-wrapper {
  text-align: center;
  margin: 40px 0;
}

.page-card-games-doudizhu-rules__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.page-card-games-doudizhu-rules__note {
  font-style: italic;
  color: #555555;
  text-align: center;
  margin-top: 30px;
}

.page-card-games-doudizhu-rules__cta-button {
  display: inline-block;
  background-color: #E3B23C; /* Accent color */
  color: #0A2463; /* Dark text for contrast */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-card-games-doudizhu-rules__cta-button:hover {
  background-color: #f0c970; /* Lighter accent on hover */
  transform: translateY(-3px);
}

.page-card-games-doudizhu-rules__cta-button--secondary {
  background-color: #0A2463;
  color: #E3B23C;
  border: 2px solid #E3B23C;
  margin-left: 20px;
}

.page-card-games-doudizhu-rules__cta-button--secondary:hover {
  background-color: #1a3a7c;
  border-color: #f0c970;
}

.page-card-games-doudizhu-rules__cta-button--small {
  padding: 10px 20px;
  font-size: 1em;
  margin-top: 20px;
}

.page-card-games-doudizhu-rules__cta-group {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 30px;
}

.page-card-games-doudizhu-rules .highlight {
  color: #E3B23C;
  font-weight: bold;
}

/* Grid for combinations */
.page-card-games-doudizhu-rules__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-card-games-doudizhu-rules__grid-item {
  background-color: #FFFFFF;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.page-card-games-doudizhu-rules__grid-item:hover {
  transform: translateY(-5px);
}

.page-card-games-doudizhu-rules__grid-item h3 {
  color: #0A2463;
  font-size: 1.5em;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-card-games-doudizhu-rules__grid-item p {
  font-size: 1em;
  color: #555555;
}

/* FAQ Accordion */
.page-card-games-doudizhu-rules__accordion {
  margin-top: 40px;
}

.page-card-games-doudizhu-rules__accordion-item {
  background-color: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-card-games-doudizhu-rules__accordion-title {
  padding: 20px 25px;
  background-color: #0A2463;
  color: #FFFFFF;
  font-size: 1.3em;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-card-games-doudizhu-rules__accordion-title:hover {
  background-color: #1a3a7c;
}

.page-card-games-doudizhu-rules__accordion-title::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-card-games-doudizhu-rules__accordion-title.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-card-games-doudizhu-rules__accordion-content {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
  background-color: #FDFDFD;
  color: #444444;
}

.page-card-games-doudizhu-rules__accordion-content.active {
  max-height: 300px; /* Adjust based on expected content */
  padding: 20px 25px;
}

.page-card-games-doudizhu-rules__accordion-content p {
  margin-bottom: 10px;
}

.page-card-games-doudizhu-rules__link-text {
  color: #0A2463;
  text-decoration: underline;
  font-weight: 500;
}

.page-card-games-doudizhu-rules__link-text:hover {
  color: #E3B23C;
}

/* Responsible Gaming Section */
.page-card-games-doudizhu-rules__responsible-gaming {
  background-color: #F0F0F0;
  padding: 50px 0;
  text-align: center;
}

.page-card-games-doudizhu-rules__responsible-gaming .page-card-games-doudizhu-rules__section-title {
  color: #0A2463;
  margin-bottom: 20px;
}

.page-card-games-doudizhu-rules__responsible-gaming p {
  max-width: 800px;
  margin: 0 auto 15px auto;
  color: #555555;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-card-games-doudizhu-rules__title {
    font-size: 2.5em;
  }

  .page-card-games-doudizhu-rules__subtitle {
    font-size: 1.2em;
  }

  .page-card-games-doudizhu-rules__section-title {
    font-size: 2em;
  }

  .page-card-games-doudizhu-rules__sub-title {
    font-size: 1.5em;
  }

  .page-card-games-doudizhu-rules__cta-group {
    flex-direction: column;
  }

  .page-card-games-doudizhu-rules__cta-button--secondary {
    margin-left: 0;
    margin-top: 15px;
  }

  .page-card-games-doudizhu-rules__grid {
    grid-template-columns: 1fr;
  }

  .page-card-games-doudizhu-rules__accordion-title {
    font-size: 1.1em;
  }

  .page-card-games-doudizhu-rules__accordion-content {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-card-games-doudizhu-rules__title {
    font-size: 2em;
  }

  .page-card-games-doudizhu-rules__subtitle {
    font-size: 1em;
  }

  .page-card-games-doudizhu-rules__hero {
    padding: 80px 0;
  }

  .page-card-games-doudizhu-rules__section {
    padding: 40px 0;
  }

  .page-card-games-doudizhu-rules__section-title {
    font-size: 1.8em;
  }

  .page-card-games-doudizhu-rules__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
}