/* style/sic-bo.css */

/* Đảm bảo nội dung không bị che bởi header cố định */
.page-sic-bo {
  padding-top: 100px; /* Giá trị mặc định cho desktop */
  color: #ffffff; /* Màu chữ mặc định cho nền tối */
  background-color: var(--dark-bg-1);
}

@media (max-width: 768px) {
  .page-sic-bo {
    padding-top: 80px; /* Giá trị cho mobile */
  }
}

/* HERO Section */
.page-sic-bo__hero-section {
  position: relative;
  padding: 80px 20px;
  text-align: center;
  background: linear-gradient(135deg, #0A246A 0%, #0A246A 60%, #FFD700 100%); /* Chủ đạo với màu thương hiệu */
  overflow: hidden;
  border-bottom: 5px solid #FFD700;
}

.page-sic-bo__hero-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-sic-bo__hero-title {
  font-size: 48px;
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-sic-bo__hero-description {
  font-size: 18px;
  color: #f0f0f0;
  margin-bottom: 40px;
  line-height: 1.6;
}

.page-sic-bo__hero-btn {
  display: inline-block;
  background-color: #FFD700;
  color: #0A246A;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-sic-bo__hero-btn:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .page-sic-bo__hero-section {
    padding: 60px 15px;
  }
  .page-sic-bo__hero-title {
    font-size: 36px;
  }
  .page-sic-bo__hero-description {
    font-size: 16px;
  }
  .page-sic-bo__hero-btn {
    font-size: 18px;
    padding: 12px 25px;
  }
}

/* General Section Styling */
.page-sic-bo__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-sic-bo__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #FFD700;
}

.page-sic-bo__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  color: #f0f0f0;
  line-height: 1.6;
}

.page-sic-bo__sub-title {
  font-size: 24px;
  font-weight: bold;
  color: #FFD700;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-sic-bo__dark-section {
  background-color: var(--dark-bg-2);
}

.page-sic-bo__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-sic-bo__text-link {
  color: #FFD700;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-sic-bo__text-link:hover {
  color: #e6c200;
}

/* Buttons */
.page-sic-bo__btn-primary {
  display: inline-block;
  background-color: #FFD700;
  color: #0A246A;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
  border: none;
}

.page-sic-bo__btn-primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-sic-bo__btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: #FFD700;
  padding: 10px 20px;
  border: 2px solid #FFD700;
  border-radius: 8px;
  text-decoration: none;
  font-size: 15px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  margin-top: 15px;
}

.page-sic-bo__btn-secondary:hover {
  background-color: #FFD700;
  color: #0A246A;
  transform: translateY(-2px);
}

.page-sic-bo__btn-large {
  padding: 18px 35px;
  font-size: 22px;
}

/* Introduction Section */
.page-sic-bo__introduction-section {
  padding: 60px 0;
}

.page-sic-bo__content-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

.page-sic-bo__text-block p {
  margin-bottom: 15px;
  line-height: 1.7;
  color: #f0f0f0;
}

.page-sic-bo__list {
  list-style: disc;
  margin-left: 20px;
  padding-left: 0;
  margin-top: 20px;
}

.page-sic-bo__list li {
  margin-bottom: 10px;
  color: #f0f0f0;
  line-height: 1.6;
}

.page-sic-bo__list li strong {
  color: #FFD700;
}

.page-sic-bo__image-block {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-sic-bo__image-block img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

@media (min-width: 1024px) {
  .page-sic-bo__content-wrapper {
    grid-template-columns: 1.5fr 1fr; /* Image on right for larger screens */
  }
}

@media (max-width: 768px) {
  .page-sic-bo__section-title {
    font-size: 28px;
  }
  .page-sic-bo__section-description {
    font-size: 16px;
  }
  .page-sic-bo__sub-title {
    font-size: 20px;
  }
  .page-sic-bo__introduction-section {
    padding: 40px 0;
  }
  .page-sic-bo__content-wrapper {
    gap: 30px;
  }
  .page-sic-bo__text-block p, .page-sic-bo__list li {
    font-size: 15px;
  }
  .page-sic-bo__btn-primary, .page-sic-bo__btn-secondary {
    font-size: 14px;
    padding: 10px 20px;
  }
}

/* Why Play Section */
.page-sic-bo__why-play-section {
  padding: 60px 0;
  background-color: var(--dark-bg-1);
}

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

.page-sic-bo__feature-card {
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #1A3A7A; /* Nền tối hơn cho card */
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-sic-bo__feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.page-sic-bo__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-sic-bo__card-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFD700;
}

.page-sic-bo__feature-card p {
  font-size: 16px;
  line-height: 1.7;
  color: #f0f0f0;
}

.page-sic-bo__cta-block {
  text-align: center;
  margin-top: 50px;
}

@media (max-width: 768px) {
  .page-sic-bo__why-play-section {
    padding: 40px 0;
  }
  .page-sic-bo__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-sic-bo__feature-card {
    padding: 25px;
  }
  .page-sic-bo__feature-icon {
    width: 60px;
    height: 60px;
  }
  .page-sic-bo__card-title {
    font-size: 20px;
  }
  .page-sic-bo__feature-card p {
    font-size: 15px;
  }
}

/* Strategy Section */
.page-sic-bo__strategy-section {
  padding: 60px 0;
}

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

.page-sic-bo__strategy-card {
  background-color: #1A3A7A;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-sic-bo__strategy-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.page-sic-bo__strategy-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-sic-bo__strategy-card .page-sic-bo__card-title {
  padding: 20px 20px 0;
  margin-bottom: 10px;
  color: #FFD700;
  text-align: left;
}

.page-sic-bo__strategy-card p {
  padding: 0 20px 20px;
  font-size: 16px;
  line-height: 1.7;
  color: #f0f0f0;
  text-align: left;
}

@media (max-width: 768px) {
  .page-sic-bo__strategy-section {
    padding: 40px 0;
  }
  .page-sic-bo__strategy-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-sic-bo__strategy-image {
    height: 180px;
  }
  .page-sic-bo__strategy-card .page-sic-bo__card-title {
    font-size: 20px;
    padding: 15px 15px 0;
  }
  .page-sic-bo__strategy-card p {
    font-size: 15px;
    padding: 0 15px 15px;
  }
}

/* Versions Section */
.page-sic-bo__versions-section {
  padding: 60px 0;
  background-color: var(--dark-bg-1);
}

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

.page-sic-bo__version-card {
  background-color: #1A3A7A;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-sic-bo__version-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.page-sic-bo__version-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-sic-bo__version-card .page-sic-bo__card-title {
  padding: 20px 20px 0;
  margin-bottom: 10px;
  color: #FFD700;
  text-align: left;
}

.page-sic-bo__version-card p {
  padding: 0 20px 20px;
  font-size: 16px;
  line-height: 1.7;
  color: #f0f0f0;
  text-align: left;
}

@media (max-width: 768px) {
  .page-sic-bo__versions-section {
    padding: 40px 0;
  }
  .page-sic-bo__version-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-sic-bo__version-image {
    height: 180px;
  }
  .page-sic-bo__version-card .page-sic-bo__card-title {
    font-size: 20px;
    padding: 15px 15px 0;
  }
  .page-sic-bo__version-card p {
    font-size: 15px;
    padding: 0 15px 15px;
  }
}

/* Guide Section */
.page-sic-bo__guide-section {
  padding: 60px 0;
}

.page-sic-bo__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-sic-bo__step-card {
  background-color: #1A3A7A;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-sic-bo__step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.page-sic-bo__step-number {
  width: 60px;
  height: 60px;
  line-height: 60px;
  background-color: #FFD700;
  color: #0A246A;
  border-radius: 50%;
  font-size: 32px;
  font-weight: bold;
  margin: 0 auto 20px;
}

.page-sic-bo__step-card .page-sic-bo__card-title {
  color: #FFD700;
  margin-bottom: 10px;
}

.page-sic-bo__step-card p {
  font-size: 16px;
  line-height: 1.7;
  color: #f0f0f0;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .page-sic-bo__guide-section {
    padding: 40px 0;
  }
  .page-sic-bo__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-sic-bo__step-card {
    padding: 25px;
  }
  .page-sic-bo__step-number {
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 28px;
  }
  .page-sic-bo__step-card .page-sic-bo__card-title {
    font-size: 20px;
  }
  .page-sic-bo__step-card p {
    font-size: 15px;
  }
}

/* Promotion Section */
.page-sic-bo__promo-section {
  padding: 60px 0;
  background-color: var(--dark-bg-1);
}

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

.page-sic-bo__promo-card {
  background-color: #1A3A7A;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.page-sic-bo__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.page-sic-bo__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-sic-bo__promo-card .page-sic-bo__card-title {
  padding: 20px 20px 0;
  margin-bottom: 10px;
  color: #FFD700;
}

.page-sic-bo__promo-card p {
  padding: 0 20px 20px;
  font-size: 16px;
  line-height: 1.7;
  color: #f0f0f0;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .page-sic-bo__promo-section {
    padding: 40px 0;
  }
  .page-sic-bo__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-sic-bo__promo-image {
    height: 180px;
  }
  .page-sic-bo__promo-card .page-sic-bo__card-title {
    font-size: 20px;
    padding: 15px 15px 0;
  }
  .page-sic-bo__promo-card p {
    font-size: 15px;
    padding: 0 15px 15px;
  }
}

/* FAQ Section */
.page-sic-bo__faq-section {
  padding: 60px 0;
}

.page-sic-bo__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-sic-bo__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-sic-bo__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-sic-bo__faq-item.active .page-sic-bo__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #1A3A7A; /* Nền tối hơn cho câu trả lời */
  border-radius: 0 0 5px 5px;
  color: #f0f0f0;
}

.page-sic-bo__faq-answer p {
  margin-bottom: 10px;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-sic-bo__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #0A246A; /* Màu nền câu hỏi */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-sic-bo__faq-question:hover {
  background: #1A3A7A;
  border-color: #FFD700;
}

.page-sic-bo__faq-question:active {
  background: #0A246A;
}

.page-sic-bo__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #FFD700;
}

.page-sic-bo__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-sic-bo__faq-item.active .page-sic-bo__faq-toggle {
  color: #ffffff;
  transform: rotate(45deg); /* Thêm hiệu ứng xoay cho dấu + thành X */
}

@media (max-width: 768px) {
  .page-sic-bo__faq-section {
    padding: 40px 0;
  }
  .page-sic-bo__faq-list {
    margin-top: 30px;
  }
  .page-sic-bo__faq-question {
    padding: 15px;
  }
  .page-sic-bo__faq-question h3 {
    font-size: 16px;
  }
  .page-sic-bo__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }
  .page-sic-bo__faq-item.active .page-sic-bo__faq-answer {
    padding: 15px !important;
  }
}

/* Conclusion Section */
.page-sic-bo__conclusion-section {
  padding: 60px 20px;
  text-align: center;
  background-color: var(--dark-bg-2);
  border-top: 5px solid #FFD700;
}

.page-sic-bo__conclusion-section .page-sic-bo__section-title {
  color: #FFD700;
}

.page-sic-bo__conclusion-section .page-sic-bo__section-description {
  font-size: 20px;
  margin-bottom: 50px;
  color: #f0f0f0;
}

@media (max-width: 768px) {
  .page-sic-bo__conclusion-section {
    padding: 40px 15px;
  }
  .page-sic-bo__conclusion-section .page-sic-bo__section-description {
    font-size: 18px;
  }
}

/* Responsive image fix */
.page-sic-bo img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-sic-bo__section,
.page-sic-bo__card,
.page-sic-bo__container,
.page-sic-bo__content-wrapper,
.page-sic-bo__image-block,
.page-sic-bo__text-block,
.page-sic-bo__features-grid,
.page-sic-bo__feature-card,
.page-sic-bo__strategy-grid,
.page-sic-bo__strategy-card,
.page-sic-bo__versions-section,
.page-sic-bo__version-cards,
.page-sic-bo__version-card,
.page-sic-bo__guide-section,
.page-sic-bo__steps-grid,
.page-sic-bo__step-card,
.page-sic-bo__promo-section,
.page-sic-bo__promo-grid,
.page-sic-bo__promo-card,
.page-sic-bo__faq-list,
.page-sic-bo__faq-item {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .page-sic-bo img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-sic-bo__section,
  .page-sic-bo__card,
  .page-sic-bo__container,
  .page-sic-bo__content-wrapper,
  .page-sic-bo__image-block,
  .page-sic-bo__text-block,
  .page-sic-bo__features-grid,
  .page-sic-bo__feature-card,
  .page-sic-bo__strategy-grid,
  .page-sic-bo__strategy-card,
  .page-sic-bo__versions-section,
  .page-sic-bo__version-cards,
  .page-sic-bo__version-card,
  .page-sic-bo__guide-section,
  .page-sic-bo__steps-grid,
  .page-sic-bo__step-card,
  .page-sic-bo__promo-section,
  .page-sic-bo__promo-grid,
  .page-sic-bo__promo-card,
  .page-sic-bo__faq-list,
  .page-sic-bo__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}