/* style/faq-game-rules.css */

.page-faq-game-rules {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #1A2E47; /* Dark blue for main text */
  background-color: #f8f9fa;
}

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

.page-faq-game-rules__hero {
  background: linear-gradient(135deg, #1A2E47, #3a506b);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.page-faq-game-rules__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700;
  font-weight: bold;
  line-height: 1.2;
}

.page-faq-game-rules__hero-subtitle {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  opacity: 0.9;
}

.page-faq-game-rules__btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  margin: 10px;
  font-size: 1.1em;
}

.page-faq-game-rules__btn--primary {
  background-color: #FFD700;
  color: #1A2E47;
  border: 2px solid #FFD700;
}

.page-faq-game-rules__btn--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  transform: translateY(-2px);
}

.page-faq-game-rules__section {
  padding: 60px 0;
  border-bottom: 1px solid #eee;
}

.page-faq-game-rules__section:last-of-type {
  border-bottom: none;
}

.page-faq-game-rules__section-title {
  font-size: 2.5em;
  color: #1A2E47;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

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

.page-faq-game-rules__sub-title {
  font-size: 1.8em;
  color: #1A2E47;
  margin-top: 30px;
  margin-bottom: 15px;
  border-left: 5px solid #FFD700;
  padding-left: 15px;
}

.page-faq-game-rules__overview p,
.page-faq-game-rules__game-types p,
.page-faq-game-rules__fairness p,
.page-faq-game-rules__other-questions p {
  font-size: 1.1em;
  margin-bottom: 15px;
}

.page-faq-game-rules__overview ul,
.page-faq-game-rules__game-types ul {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
}

.page-faq-game-rules__overview li,
.page-faq-game-rules__game-types li {
  margin-bottom: 8px;
  font-size: 1.05em;
}

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

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

.page-faq-game-rules__grid-item:hover {
  transform: translateY(-5px);
}

.page-faq-game-rules__grid-title {
  font-size: 1.5em;
  color: #1A2E47;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-faq-game-rules__image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 30px 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-faq-game-rules__image--full-width {
  max-width: 100%;
}

.page-faq-game-rules__accordion-item {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-faq-game-rules__accordion-header {
  width: 100%;
  background-color: #1A2E47;
  color: #fff;
  padding: 18px 25px;
  font-size: 1.2em;
  text-align: left;
  border: none;
  cursor: pointer;
  outline: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-faq-game-rules__accordion-header:hover {
  background-color: #3a506b;
}

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

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

.page-faq-game-rules__accordion-content {
  padding: 0 25px;
  background-color: #fdfdfd;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-faq-game-rules__accordion-content p {
  padding: 15px 0;
  margin: 0;
  color: #333;
}

.page-faq-game-rules__cta {
  background-color: #1A2E47;
  color: #fff;
  text-align: center;
  padding: 80px 0;
}

.page-faq-game-rules__cta-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 20px;
}

.page-faq-game-rules__cta-text {
  font-size: 1.2em;
  max-width: 700px;
  margin: 0 auto 40px auto;
  opacity: 0.9;
}

.page-faq-game-rules__btn--secondary {
  background-color: #FFD700;
  color: #1A2E47;
  border: 2px solid #FFD700;
}

.page-faq-game-rules__btn--secondary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  transform: translateY(-2px);
}

.page-faq-game-rules__btn--outline {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-faq-game-rules__btn--outline:hover {
  background-color: #FFD700;
  color: #1A2E47;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-faq-game-rules__hero-title {
    font-size: 2.5em;
  }

  .page-faq-game-rules__hero-subtitle {
    font-size: 1.1em;
  }

  .page-faq-game-rules__section-title {
    font-size: 2em;
  }

  .page-faq-game-rules__sub-title {
    font-size: 1.5em;
  }

  .page-faq-game-rules__grid {
    grid-template-columns: 1fr;
  }

  .page-faq-game-rules__btn {
    padding: 10px 20px;
    font-size: 1em;
    margin: 8px;
  }

  .page-faq-game-rules__cta-title {
    font-size: 2em;
  }

  .page-faq-game-rules__cta-text {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-faq-game-rules__hero-title {
    font-size: 2em;
  }

  .page-faq-game-rules__section-title {
    font-size: 1.8em;
  }

  .page-faq-game-rules__sub-title {
    font-size: 1.3em;
  }

  .page-faq-game-rules__accordion-header {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-faq-game-rules__cta-title {
    font-size: 1.8em;
  }
}