.page-bn-c {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f8f8;
}

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

.page-bn-c section {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-bn-c section:nth-of-type(even) {
  background-color: #f0f0f0;
}

.page-bn-c h1, .page-bn-c h2, .page-bn-c h3 {
  color: var(--primary-color, #FFD700);
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-bn-c h1 {
  font-size: 3.2em;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-bn-c h2 {
  font-size: 2.5em;
  color: var(--secondary-color, #B22222);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.page-bn-c h3 {
  font-size: 1.8em;
  color: #333;
  margin-bottom: 15px;
}

.page-bn-c p {
  margin-bottom: 15px;
  text-align: justify;
}

.page-bn-c .button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  text-align: center;
  margin-top: 20px;
}

.page-bn-c .primary-button {
  background-color: var(--primary-color, #FFD700);
  color: #333;
  border: 2px solid var(--primary-color, #FFD700);
}

.page-bn-c .primary-button:hover {
  background-color: #e6c200;
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-bn-c .secondary-button {
  background-color: var(--secondary-color, #B22222);
  color: #fff;
  border: 2px solid var(--secondary-color, #B22222);
}

.page-bn-c .secondary-button:hover {
  background-color: #991e1e;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.page-bn-c .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  overflow: hidden;
  background-color: #002244; /* Dark blue for ocean feel */
}

.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%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-bn-c .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  margin-top: -80px; /* Overlap image slightly */
  background-color: rgba(0, 0, 0, 0.5); /* Dark overlay for text readability */
  padding: 40px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-bn-c .hero-content h1 {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-bn-c .hero-content p {
  font-size: 1.3em;
  color: #e0e0e0;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-bn-c .cta-button {
  background: linear-gradient(90deg, var(--primary-color, #FFD700), #e6c200);
  color: #333;
  padding: 18px 45px;
  border-radius: 50px;
  font-size: 1.5em;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  border: none;
}

.page-bn-c .cta-button:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
  background: linear-gradient(90deg, #e6c200, var(--primary-color, #FFD700));
}

/* Introduction Section */
.page-bn-c .introduction-section p {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
}

.page-bn-c .introduction-section .button {
  display: block;
  width: fit-content;
  margin: 30px auto 0 auto;
}

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

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

.page-bn-c .game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.page-bn-c .game-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-bn-c .game-card h3 {
  font-size: 1.5em;
  margin: 20px 15px 10px 15px;
  color: var(--secondary-color, #B22222);
  text-align: center;
}

.page-bn-c .game-card h3 a {
  color: var(--secondary-color, #B22222);
  text-decoration: none;
}

.page-bn-c .game-card h3 a:hover {
  text-decoration: underline;
}

.page-bn-c .game-card p {
  font-size: 0.95em;
  color: #555;
  padding: 0 15px 20px 15px;
  text-align: justify;
}

/* How to Play Section */
.page-bn-c .how-to-play-section ol {
  list-style: none;
  counter-reset: step-counter;
  padding: 0;
  margin-top: 40px;
}

.page-bn-c .how-to-play-section li {
  background-color: #fff;
  margin-bottom: 20px;
  padding: 25px 30px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  position: relative;
  padding-left: 80px;
}

.page-bn-c .how-to-play-section li::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--primary-color, #FFD700);
  color: #333;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
}

.page-bn-c .how-to-play-section li h3 {
  text-align: left;
  margin-top: 0;
  color: var(--secondary-color, #B22222);
}

.page-bn-c .how-to-play-section li h3 a {
  color: var(--secondary-color, #B22222);
  text-decoration: none;
}

.page-bn-c .how-to-play-section li h3 a:hover {
  text-decoration: underline;
}

.page-bn-c .how-to-play-section li p {
  text-align: justify;
  margin-bottom: 0;
}

.page-bn-c .how-to-play-section .button {
  display: block;
  width: fit-content;
  margin: 40px auto 0 auto;
}

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

.page-bn-c .strategy-item {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
}

.page-bn-c .strategy-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-bn-c .strategy-item h3 {
  font-size: 1.4em;
  margin: 0 15px 10px 15px;
  color: var(--secondary-color, #B22222);
}

.page-bn-c .strategy-item p {
  font-size: 0.95em;
  color: #555;
  padding: 0 15px;
  text-align: justify;
}

.page-bn-c .strategies-section .button {
  display: block;
  width: fit-content;
  margin: 40px auto 0 auto;
}

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

.page-bn-c .promo-item {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
}

.page-bn-c .promo-item h3 {
  color: var(--primary-color, #FFD700);
  font-size: 1.6em;
  margin-bottom: 15px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.page-bn-c .promo-item p {
  color: #555;
  font-size: 1em;
  text-align: justify;
}

.page-bn-c .promotions-section .button {
  display: block;
  width: fit-content;
  margin: 40px auto 0 auto;
}

/* Security & Support Section */
.page-bn-c .security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-bn-c .feature-item {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
}

.page-bn-c .feature-item h3 {
  color: var(--secondary-color, #B22222);
  font-size: 1.6em;
  margin-bottom: 15px;
}

.page-bn-c .feature-item p {
  color: #555;
  font-size: 1em;
  text-align: justify;
}

.page-bn-c .security-support-section .button {
  display: block;
  width: fit-content;
  margin: 40px auto 0 auto;
}

/* FAQ Section */
.page-bn-c .faq-section {
  background-color: #f8f8f8;
}

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

.faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

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

.faq-question:hover {
  background: #f5f5f5;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.25em;
  color: #333;
  text-align: left;
}

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

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #f9f9f9;
  color: #555;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 15px 25px;
  border-top: 1px solid #e0e0e0;
}

.faq-answer p {
  margin-bottom: 0;
  text-align: justify;
}

/* Latest News Section */
.page-bn-c .news-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-bn-c .news-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-bn-c .news-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.page-bn-c .news-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.page-bn-c .news-card h3 {
  font-size: 1.4em;
  margin: 20px 15px 10px 15px;
  color: var(--secondary-color, #B22222);
  text-align: left;
}

.page-bn-c .news-card h3 a {
  color: var(--secondary-color, #B22222);
  text-decoration: none;
}

.page-bn-c .news-card h3 a:hover {
  text-decoration: underline;
}

.page-bn-c .news-card p {
  font-size: 0.95em;
  color: #555;
  padding: 0 15px;
  margin-bottom: 15px;
  text-align: justify;
}

.page-bn-c .read-more {
  display: inline-block;
  color: var(--primary-color, #FFD700);
  text-decoration: none;
  font-weight: bold;
  padding: 0 15px 20px 15px;
  transition: color 0.3s ease;
}

.page-bn-c .read-more:hover {
  color: var(--secondary-color, #B22222);
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-bn-c .hero-content h1 {
    font-size: 3em;
  }
  .page-bn-c .hero-content p {
    font-size: 1.1em;
  }
  .page-bn-c .cta-button {
    padding: 15px 35px;
    font-size: 1.3em;
  }
  .page-bn-c h2 {
    font-size: 2em;
  }
  .page-bn-c h3 {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-bn-c section {
    padding: 40px 0;
  }
  .page-bn-c .hero-section {
    padding: 60px 15px;
  }
  .page-bn-c .hero-image {
    margin-bottom: 20px;
  }
  .page-bn-c .hero-content {
    margin-top: -60px;
    padding: 30px 15px;
  }
  .page-bn-c .hero-content h1 {
    font-size: 2.5em;
  }
  .page-bn-c .hero-content p {
    font-size: 1em;
  }
  .page-bn-c .cta-button {
    padding: 12px 25px;
    font-size: 1.1em;
  }
  .page-bn-c h2 {
    font-size: 1.8em;
  }
  .page-bn-c h3 {
    font-size: 1.4em;
  }
  .page-bn-c .game-cards-grid, .page-bn-c .strategy-grid, .page-bn-c .promo-list, .page-bn-c .security-features, .page-bn-c .news-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-bn-c .how-to-play-section li {
    padding-left: 60px;
  }
  .page-bn-c .how-to-play-section li::before {
    left: 15px;
    width: 35px;
    height: 35px;
    font-size: 1.3em;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 20px;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-bn-c .hero-section {
    padding: 40px 10px;
  }
  .page-bn-c .hero-content h1 {
    font-size: 2em;
  }
  .page-bn-c .hero-content p {
    font-size: 0.9em;
  }
  .page-bn-c .cta-button {
    padding: 10px 20px;
    font-size: 1em;
  }
  .page-bn-c h2 {
    font-size: 1.5em;
  }
  .page-bn-c h3 {
    font-size: 1.2em;
  }
  .page-bn-c .introduction-section p {
    font-size: 0.9em;
  }
  .page-bn-c .game-card h3, .page-bn-c .strategy-item h3, .page-bn-c .promo-item h3, .page-bn-c .feature-item h3, .page-bn-c .news-card h3 {
    font-size: 1.3em;
  }
  .page-bn-c .game-card p, .page-bn-c .strategy-item p, .page-bn-c .promo-item p, .page-bn-c .feature-item p, .page-bn-c .news-card p {
    font-size: 0.85em;
  }
  .faq-question h3 {
    font-size: 1em;
  }
  .faq-toggle {
    font-size: 18px;
  }
}