.page-index-brand-story {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0; /* Màu chữ sáng trên nền tối */
  background-color: #0A1931; /* Màu nền chính */
  line-height: 1.6;
}

.page-index-brand-story .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-index-brand-story h1, .page-index-brand-story h2, .page-index-brand-story h3 {
  color: #FFD700; /* Màu vàng phụ đạo cho tiêu đề */
  margin-bottom: 20px;
  font-weight: bold;
}

.page-index-brand-story h1 {
  font-size: 3.2em;
  text-align: center;
  margin-top: 20px;
  line-height: 1.2;
}

.page-index-brand-story h2 {
  font-size: 2.5em;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 30px;
}

.page-index-brand-story h3 {
  font-size: 1.8em;
  margin-top: 25px;
  margin-bottom: 15px;
  color: #FFD700;
}

.page-index-brand-story p {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #C0C0C0;
}

.page-index-brand-story a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index-brand-story a:hover {
  color: #FFEA00; /* Màu vàng sáng hơn khi hover */
  text-decoration: underline;
}

/* Hero Section */
.page-index-brand-story .hero-section {
  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, #0A1931, #2A3B5B); /* Nền gradient cho hero */
}

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

.page-index-brand-story .hero-image {
  width: 100%;
  margin-bottom: 30px;
}

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

.page-index-brand-story .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-index-brand-story .hero-content h1 {
  color: #FFD700;
  font-size: 3.8em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  margin-bottom: 20px;
}

.page-index-brand-story .hero-content p {
  font-size: 1.3em;
  color: #F0F0F0;
  max-width: 800px;
  margin: 0 auto 30px;
}

.page-index-brand-story .cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: #FFD700; /* Màu vàng nổi bật */
  color: #0A1931; /* Chữ màu tối trên nền vàng */
  text-decoration: none;
  border-radius: 50px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(255, 215, 0, 0.4);
  text-transform: uppercase;
}

.page-index-brand-story .cta-button:hover {
  background: #FFEA00;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
}

/* Intro Section */
.page-index-brand-story .intro-section {
  padding: 80px 0;
  background-color: #1A2A43;
  text-align: center;
}

.page-index-brand-story .intro-section p {
  max-width: 900px;
  margin: 0 auto 15px;
}

/* Quick Access Section */
.page-index-brand-story .quick-access-section {
  padding: 80px 0;
  background-color: #0A1931;
}

.page-index-brand-story .access-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-brand-story .access-link-item {
  background-color: #1A2A43;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #FFD700;
}

.page-index-brand-story .access-link-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(255, 215, 0, 0.3);
}

.page-index-brand-story .access-link-item .link-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 50%;
  padding: 10px;
  background-color: #0A1931;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.page-index-brand-story .access-link-item h3 {
  color: #FFD700;
  font-size: 1.5em;
  margin-bottom: 10px;
}

.page-index-brand-story .access-link-item p {
  color: #C0C0C0;
  font-size: 0.95em;
}

/* Games Section */
.page-index-brand-story .games-section {
  padding: 80px 0;
  background-color: #1A2A43;
}

.page-index-brand-story .game-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-brand-story .game-item {
  background-color: #0A1931;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-index-brand-story .game-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

.page-index-brand-story .game-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 3px solid #FFD700;
}

.page-index-brand-story .game-item h3 {
  padding: 20px 20px 10px;
  color: #FFD700;
  font-size: 1.6em;
}

.page-index-brand-story .game-item p {
  padding: 0 20px 20px;
  color: #C0C0C0;
  flex-grow: 1;
}

.page-index-brand-story .game-item .btn-small {
  display: inline-block;
  padding: 12px 25px;
  background: #FFD700;
  color: #0A1931;
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.95em;
  font-weight: bold;
  margin: 0 20px 20px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  text-align: center;
}

.page-index-brand-story .game-item .btn-small:hover {
  background: #FFEA00;
  transform: translateY(-2px);
}

/* Promotions Section */
.page-index-brand-story .promotions-section {
  padding: 80px 0;
  background-color: #0A1931;
}

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

.page-index-brand-story .promo-item {
  background-color: #1A2A43;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-index-brand-story .promo-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

.page-index-brand-story .promo-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 2px solid #FFD700;
}

.page-index-brand-story .promo-item h3 {
  padding: 20px 20px 10px;
  color: #FFD700;
  font-size: 1.6em;
}

.page-index-brand-story .promo-item p {
  padding: 0 20px 20px;
  color: #C0C0C0;
  flex-grow: 1;
}

.page-index-brand-story .promo-item .btn-small {
  display: inline-block;
  padding: 12px 25px;
  background: #FFD700;
  color: #0A1931;
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.95em;
  font-weight: bold;
  margin: 0 20px 20px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  text-align: center;
}

.page-index-brand-story .promo-item .btn-small:hover {
  background: #FFEA00;
  transform: translateY(-2px);
}

/* Security & Service Section */
.page-index-brand-story .security-service-section {
  padding: 80px 0;
  background-color: #1A2A43;
}

.page-index-brand-story .security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-brand-story .security-item {
  background-color: #0A1931;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #FFD700;
}

.page-index-brand-story .security-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(255, 215, 0, 0.3);
}

.page-index-brand-story .security-item img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 50%;
  padding: 10px;
  background-color: #1A2A43;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.page-index-brand-story .security-item h3 {
  color: #FFD700;
  font-size: 1.5em;
  margin-bottom: 10px;
}

.page-index-brand-story .security-item p {
  color: #C0C0C0;
  font-size: 0.95em;
}

/* FAQ Section */
.page-index-brand-story .faq-section {
  padding: 80px 0;
  background-color: #0A1931;
}

.page-index-brand-story .faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-brand-story .faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-index-brand-story .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #1A2A43;
  border: 1px solid #FFD700;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-index-brand-story .faq-question:hover {
  background: #2A3B5B;
  border-color: #FFEA00;
}

.page-index-brand-story .faq-question h3 {
  margin: 0;
  color: #FFD700;
  font-size: 1.25em;
  flex-grow: 1;
  text-align: left;
}

.page-index-brand-story .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFD700;
  transition: transform 0.3s ease;
  margin-left: 15px;
}

.page-index-brand-story .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: #FFEA00;
}

.page-index-brand-story .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #0A1931;
  border-radius: 0 0 8px 8px;
}

.page-index-brand-story .faq-item.active .faq-answer {
  max-height: 500px; /* Đủ lớn để chứa nội dung */
  padding: 20px 25px;
  border: 1px solid #FFD700;
  border-top: none;
  background: #0A1931;
}

.page-index-brand-story .faq-item.active .faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

/* Blog Section */
.page-index-brand-story .blog-section {
  padding: 80px 0;
  background-color: #1A2A43;
}

.page-index-brand-story .blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-brand-story .blog-post-card {
  background-color: #0A1931;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-index-brand-story .blog-post-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

.page-index-brand-story .blog-post-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 2px solid #FFD700;
}

.page-index-brand-story .blog-post-card .card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-index-brand-story .blog-post-card h3 {
  margin-top: 0;
  font-size: 1.5em;
  line-height: 1.3;
  margin-bottom: 10px;
}

.page-index-brand-story .blog-post-card h3 a {
  color: #FFD700;
  transition: color 0.3s ease;
}

.page-index-brand-story .blog-post-card h3 a:hover {
  color: #FFEA00;
  text-decoration: underline;
}

.page-index-brand-story .blog-post-card .post-date {
  font-size: 0.9em;
  color: #888;
  margin-bottom: 15px;
}

.page-index-brand-story .blog-post-card p {
  font-size: 1em;
  color: #C0C0C0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-index-brand-story .blog-post-card .read-more {
  display: inline-block;
  padding: 8px 15px;
  background-color: #FFD700;
  color: #0A1931;
  border-radius: 5px;
  font-weight: bold;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

.page-index-brand-story .blog-post-card .read-more:hover {
  background-color: #FFEA00;
  text-decoration: none;
}

.page-index-brand-story .text-center {
  text-align: center;
  margin-top: 50px;
}

.page-index-brand-story .btn-primary {
  display: inline-block;
  padding: 15px 35px;
  background: #FFD700;
  color: #0A1931;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

.page-index-brand-story .btn-primary:hover {
  background: #FFEA00;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 215, 0, 0.5);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-brand-story .hero-content h1 {
    font-size: 3em;
  }
  .page-index-brand-story h2 {
    font-size: 2em;
  }
  .page-index-brand-story .cta-button {
    padding: 15px 35px;
    font-size: 18px;
  }
  .page-index-brand-story .game-category-grid, .page-index-brand-story .promo-grid, .page-index-brand-story .security-grid, .page-index-brand-story .blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-index-brand-story .hero-section, .page-index-brand-story .intro-section, .page-index-brand-story .quick-access-section, .page-index-brand-story .games-section, .page-index-brand-story .promotions-section, .page-index-brand-story .security-service-section, .page-index-brand-story .faq-section, .page-index-brand-story .blog-section {
    padding: 40px 0;
  }
  .page-index-brand-story .hero-content h1 {
    font-size: 2.5em;
  }
  .page-index-brand-story .hero-content p {
    font-size: 1.1em;
  }
  .page-index-brand-story h2 {
    font-size: 1.8em;
  }
  .page-index-brand-story h3 {
    font-size: 1.4em;
  }
  .page-index-brand-story .cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-index-brand-story .access-link-item .link-icon,
  .page-index-brand-story .security-item img {
    width: 80px;
    height: 80px;
  }
  .page-index-brand-story .faq-question {
    padding: 15px 20px;
  }
  .page-index-brand-story .faq-question h3 {
    font-size: 1.1em;
  }
  .page-index-brand-story .faq-toggle {
    font-size: 20px;
  }
  .page-index-brand-story .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-index-brand-story .hero-content h1 {
    font-size: 2em;
  }
  .page-index-brand-story h2 {
    font-size: 1.5em;
  }
  .page-index-brand-story .game-category-grid, .page-index-brand-story .promo-grid, .page-index-brand-story .security-grid, .page-index-brand-story .blog-grid {
    grid-template-columns: 1fr;
  }
  .page-index-brand-story .access-links-grid {
    grid-template-columns: 1fr;
  }
  .page-index-brand-story .container {
    padding: 15px;
  }
  .page-index-brand-story .cta-button {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
  .page-index-brand-story .faq-question h3 {
    font-size: 1em;
  }
}