.page-newbie-guide-game-rules {
  font-family: 'Arial', sans-serif;
  color: #f5e6ce; /* Light text for dark background */
  background-color: #0A1931; /* Main dark background */
  line-height: 1.6;
}

.page-newbie-guide-game-rules .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-newbie-guide-game-rules .hero-section {
  background: linear-gradient(135deg, #0A1931 0%, #1a325d 100%);
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-newbie-guide-game-rules .hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #E6B325; /* Accent color for main title */
  font-weight: bold;
  line-height: 1.2;
}

.page-newbie-guide-game-rules .hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f5e6ce;
}

.page-newbie-guide-game-rules .hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-newbie-guide-game-rules .btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: 1.1em;
}

.page-newbie-guide-game-rules .btn-primary {
  background-color: #E6B325; /* Accent color */
  color: #0A1931;
  border: 2px solid #E6B325;
}

.page-newbie-guide-game-rules .btn-primary:hover {
  background-color: #f5e6ce;
  border-color: #f5e6ce;
  color: #0A1931;
}

.page-newbie-guide-game-rules .btn-secondary {
  background-color: transparent;
  color: #E6B325;
  border: 2px solid #E6B325;
}

.page-newbie-guide-game-rules .btn-secondary:hover {
  background-color: #E6B325;
  color: #0A1931;
}

.page-newbie-guide-game-rules .content-section {
  padding: 60px 0;
}

.page-newbie-guide-game-rules .section-title {
  font-size: 2.5em;
  color: #E6B325;
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
  position: relative;
  padding-bottom: 15px;
}

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

.page-newbie-guide-game-rules .sub-section-title {
  font-size: 2em;
  color: #f5e6ce;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: bold;
  border-left: 5px solid #E6B325;
  padding-left: 15px;
}

.page-newbie-guide-game-rules p {
  margin-bottom: 20px;
  color: #f5e6ce;
  font-size: 1.1em;
}

.page-newbie-guide-game-rules ul,
.page-newbie-guide-game-rules ol {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #f5e6ce;
}

.page-newbie-guide-game-rules ul li,
.page-newbie-guide-game-rules ol li {
  margin-bottom: 10px;
  color: #f5e6ce;
  font-size: 1.1em;
}

.page-newbie-guide-game-rules ol {
  list-style-type: decimal;
}

.page-newbie-guide-game-rules .inline-link {
  color: #E6B325;
  text-decoration: none;
  font-weight: bold;
}

.page-newbie-guide-game-rules .inline-link:hover {
  text-decoration: underline;
  color: #f5e6ce;
}

.page-newbie-guide-game-rules .content-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-newbie-guide-game-rules .rule-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-newbie-guide-game-rules .rule-card {
  background-color: #1a325d; /* Darker blue for cards */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-newbie-guide-game-rules .rule-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-newbie-guide-game-rules .rule-card h3 {
  color: #E6B325;
  font-size: 1.5em;
  margin-bottom: 15px;
}

.page-newbie-guide-game-rules .rule-card p {
  color: #f5e6ce;
  font-size: 1em;
}

.page-newbie-guide-game-rules .cta-buttons {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 50px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-newbie-guide-game-rules .btn-large {
  padding: 18px 35px;
  font-size: 1.2em;
  border-radius: 10px;
}

.page-newbie-guide-game-rules .faq-accordion {
  margin-top: 40px;
}

.page-newbie-guide-game-rules .faq-item {
  background-color: #1a325d;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.page-newbie-guide-game-rules .faq-question {
  padding: 20px 25px;
  background-color: #0A1931;
  color: #E6B325;
  font-size: 1.3em;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-newbie-guide-game-rules .faq-question::after {
  content: '+';
  font-size: 1.5em;
  color: #E6B325;
  transition: transform 0.3s ease;
}

.page-newbie-guide-game-rules .faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-newbie-guide-game-rules .faq-question:hover {
  background-color: #1a325d;
}

.page-newbie-guide-game-rules .faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-newbie-guide-game-rules .faq-answer.active {
  max-height: 300px; /* Adjust based on content */
  padding: 20px 25px;
}

.page-newbie-guide-game-rules .faq-answer p {
  color: #f5e6ce;
  font-size: 1em;
  margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-newbie-guide-game-rules .hero-title {
    font-size: 2.5em;
  }

  .page-newbie-guide-game-rules .hero-description {
    font-size: 1em;
  }

  .page-newbie-guide-game-rules .hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-newbie-guide-game-rules .btn {
    width: 80%;
    margin: 0 auto;
  }

  .page-newbie-guide-game-rules .section-title {
    font-size: 2em;
  }

  .page-newbie-guide-game-rules .sub-section-title {
    font-size: 1.5em;
  }

  .page-newbie-guide-game-rules p,
  .page-newbie-guide-game-rules ul li,
  .page-newbie-guide-game-rules ol li {
    font-size: 0.95em;
  }

  .page-newbie-guide-game-rules .rule-card-grid {
    grid-template-columns: 1fr;
  }

  .page-newbie-guide-game-rules .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-newbie-guide-game-rules .btn-large {
    width: 90%;
  }

  .page-newbie-guide-game-rules .faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-newbie-guide-game-rules .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-newbie-guide-game-rules .hero-title {
    font-size: 2em;
  }

  .page-newbie-guide-game-rules .hero-description {
    font-size: 0.9em;
  }

  .page-newbie-guide-game-rules .section-title {
    font-size: 1.8em;
  }

  .page-newbie-guide-game-rules .sub-section-title {
    font-size: 1.3em;
  }

  .page-newbie-guide-game-rules .btn {
    font-size: 1em;
    padding: 12px 25px;
  }

  .page-newbie-guide-game-rules .btn-large {
    font-size: 1.1em;
    padding: 15px 30px;
  }
}