/* style/bn-c.css */
:root {
  --primary-color: #FFD700; /* Vàng sang trọng */
  --secondary-color: #8B0000; /* Đỏ đô sâu */
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --bg-light: #f5f5f5;
  --bg-dark: #2a2a2a;
  --border-color: #e0e0e0;
}

.page-bn-c {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark);
  background-color: #ffffff;
}

.page-bn-c-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-bn-c-heading {
  font-size: 36px;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  position: relative;
}

.page-bn-c-heading::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  margin: 10px auto 0;
  border-radius: 2px;
}

.page-bn-c-subheading {
  font-size: 24px;
  color: var(--secondary-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-bn-c-paragraph {
  font-size: 17px;
  margin-bottom: 20px;
  text-align: justify;
}

.page-bn-c-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-bn-c-list li {
  background-color: var(--bg-light);
  margin-bottom: 10px;
  padding: 15px 20px;
  border-left: 5px solid var(--primary-color);
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-bn-c-list li p {
  margin-bottom: 0;
}

/* Hero Banner */
.page-bn-c .hero-banner {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(139, 0, 0, 0.1));
}

.page-bn-c .hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-bn-c .hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-bn-c .hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.page-bn-c .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.page-bn-c-title {
  font-size: 48px;
  color: var(--secondary-color);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-bn-c-description {
  font-size: 20px;
  color: var(--text-color-dark);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-bn-c-cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--text-color-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.page-bn-c-cta-button:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

/* Section Intro */
.page-bn-c .section-intro {
  padding: 60px 0;
  background-color: #ffffff;
}

/* Section Lobbies */
.page-bn-c .section-lobbies {
  padding: 60px 0;
  background-color: var(--bg-light);
}

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

.page-bn-c-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-bn-c-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.page-bn-c-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-bn-c-card-title {
  font-size: 22px;
  color: var(--secondary-color);
  margin: 15px 10px 10px;
  font-weight: bold;
}

.page-bn-c-card-title a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-bn-c-card-title a:hover {
  color: var(--primary-color);
}

.page-bn-c-card-text {
  font-size: 16px;
  color: var(--text-color-dark);
  padding: 0 20px;
  text-align: justify;
}

/* Section Guide */
.page-bn-c .section-guide {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-bn-c .section-guide ol {
  list-style: decimal;
  padding-left: 20px;
}

.page-bn-c .section-guide ol li {
  background-color: transparent;
  border-left: none;
  box-shadow: none;
  margin-bottom: 20px;
  padding: 0;
}

.page-bn-c .section-guide ol li h3 {
  font-size: 22px;
  color: var(--secondary-color);
  margin-top: 0;
  margin-bottom: 10px;
}

/* Section Strategy */
.page-bn-c .section-strategy {
  padding: 60px 0;
  background-color: var(--bg-light);
}

/* Section Promotions */
.page-bn-c .section-promotions {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-bn-c-promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-bn-c-promo-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-bn-c-promo-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.page-bn-c-promo-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-bn-c-promo-title {
  font-size: 22px;
  color: var(--secondary-color);
  margin: 15px 10px 10px;
  font-weight: bold;
}

.page-bn-c-promo-text {
  font-size: 16px;
  color: var(--text-color-dark);
  padding: 0 20px;
  text-align: justify;
}

.page-bn-c-promo-button {
  display: inline-block;
  padding: 10px 25px;
  background: var(--primary-color);
  color: var(--text-color-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  margin-top: 15px;
  transition: all 0.3s ease;
}

.page-bn-c-promo-button:hover {
  background: var(--secondary-color);
  transform: translateY(-1px);
}

/* Section Features */
.page-bn-c .section-features {
  padding: 60px 0;
  background-color: var(--bg-light);
}

.page-bn-c-feature-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.page-bn-c-feature-list li {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.page-bn-c-feature-list li:hover {
  transform: translateY(-5px);
}

.page-bn-c-feature-list li h3 {
  font-size: 22px;
  color: var(--secondary-color);
  margin-top: 0;
  margin-bottom: 10px;
}

.page-bn-c-feature-list li p {
  font-size: 16px;
  margin-bottom: 0;
  text-align: justify;
}

/* Section FAQ */
.page-bn-c .section-faq {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-bn-c .faq-list {
  margin-top: 40px;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: var(--bg-light);
}

.faq-question h3 {
  margin: 0;
  font-size: 18px;
  color: var(--text-color-dark);
}

.faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
  line-height: 1;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 20px;
  background: var(--bg-light);
  color: var(--text-color-dark);
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Đủ cao để chứa nội dung */
  padding: 15px 20px;
  border-top: 1px solid var(--border-color);
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-bn-c-heading {
    font-size: 30px;
  }
  .page-bn-c-subheading {
    font-size: 20px;
  }
  .page-bn-c-title {
    font-size: 38px;
  }
  .page-bn-c-description {
    font-size: 18px;
  }
  .page-bn-c-game-cards, .page-bn-c-promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-bn-c-feature-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-bn-c .hero-banner {
    padding: 40px 15px;
  }
  .page-bn-c .hero-image {
    margin-bottom: 20px;
  }
  .page-bn-c .hero-content {
    padding: 15px;
  }
  .page-bn-c-title {
    font-size: 32px;
  }
  .page-bn-c-description {
    font-size: 16px;
  }
  .page-bn-c-cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-bn-c-heading {
    font-size: 26px;
    margin-bottom: 30px;
  }
  .page-bn-c-subheading {
    font-size: 18px;
  }
  .page-bn-c-paragraph {
    font-size: 15px;
  }
  .page-bn-c-game-cards, .page-bn-c-promo-grid, .page-bn-c-feature-list {
    grid-template-columns: 1fr;
  }
  .page-bn-c-card-img, .page-bn-c-promo-img {
    height: 180px;
  }
  .faq-question {
    padding: 12px 15px;
  }
  .faq-question h3 {
    font-size: 16px;
  }
  .faq-toggle {
    font-size: 20px;
  }
  .faq-answer {
    padding: 0 15px;
  }
  .faq-item.active .faq-answer {
    padding: 12px 15px;
  }
}