/* style/sic-bo.css */

/* Base styles for the page-sic-bo content */
.page-sic-bo {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #121212; /* Inherited from body, explicit for clarity */
}

.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: 50px;
  color: #E44D26; /* Brand color for titles */
}

.page-sic-bo__subtitle {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  color: #f0f0f0;
}

/* Section backgrounds for contrast */
.page-sic-bo__dark-section {
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-sic-bo__light-section {
  background-color: #f0f0f0;
  color: #333333;
}

.page-sic-bo__light-section .page-sic-bo__section-title {
  color: #336699; /* Auxiliary brand color for titles on light background */
}

.page-sic-bo__link {
  color: #E44D26;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-sic-bo__link:hover {
  color: #ff6f4d;
  text-decoration: underline;
}

/* Buttons */
.page-sic-bo__btn-primary {
  display: inline-block;
  background-color: #E44D26;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

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

.page-sic-bo__btn-primary--large {
  padding: 20px 40px;
  font-size: 22px;
}

.page-sic-bo__btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  border: 2px solid #ffffff;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

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

.page-sic-bo__btn-text {
  display: inline-block;
  color: #E44D26;
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
  transition: color 0.3s ease;
}

.page-sic-bo__btn-text:hover {
  color: #ff6f4d;
  text-decoration: underline;
}

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

/* Hero Banner Section */
.page-sic-bo__hero-banner {
  position: relative;
  padding-top: 10px; /* Fixed nav spacing */
  margin-top: 0;
  padding-bottom: 80px;
  overflow: hidden;
}

.page-sic-bo__hero-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 0 20px;
}

.page-sic-bo__hero-image {
  width: 55%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-sic-bo__hero-content {
  width: 45%;
  text-align: left;
}

.page-sic-bo__hero-title {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 20px;
  color: #ffd700; /* Gold color for impact */
  line-height: 1.2;
}

.page-sic-bo__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page-sic-bo__hero-actions {
  display: flex;
  gap: 20px;
}

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

.page-sic-bo__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-sic-bo__content-wrapper--reversed {
  flex-direction: row-reverse;
}

.page-sic-bo__text-block {
  flex: 1;
  font-size: 17px;
}

.page-sic-bo__text-block h3 {
  font-size: 24px;
  color: #336699;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-sic-bo__text-block p {
  margin-bottom: 15px;
}

.page-sic-bo__text-block ul {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 15px;
}

.page-sic-bo__text-block li {
  margin-bottom: 8px;
}

.page-sic-bo__image-block {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-sic-bo__content-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Advantages Section */
.page-sic-bo__advantages {
  padding: 80px 0;
}

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

.page-sic-bo__card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for dark background */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px 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__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-sic-bo__card-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px auto;
  object-fit: contain;
}

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

.page-sic-bo__card-description {
  font-size: 16px;
  color: #e0e0e0;
}

/* Registration Section */
.page-sic-bo__registration {
  padding: 80px 0;
  text-align: center;
}

.page-sic-bo__registration-container {
  max-width: 1000px;
}

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

.page-sic-bo__step-card {
  background-color: rgba(51, 102, 153, 0.15); /* Auxiliary brand color, slightly transparent */
  border-radius: 12px;
  padding: 35px 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #ffffff;
  border: 1px solid rgba(51, 102, 153, 0.3);
}

.page-sic-bo__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: #E44D26;
  color: #ffffff;
  border-radius: 50%;
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-sic-bo__step-title {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #ffd700;
}

.page-sic-bo__step-description {
  font-size: 16px;
  color: #e0e0e0;
}

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

.page-sic-bo__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-sic-bo__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-sic-bo__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  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: #f5f5f5;
  border-color: #d0d0d0;
}

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

.page-sic-bo__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #333333; /* Dark text for light background */
  pointer-events: none;
}

.page-sic-bo__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 20px;
  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: #E44D26;
  transform: rotate(180deg);
}

.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, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
}

.page-sic-bo__faq-item.active .page-sic-bo__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  background: #fdfdfd;
  border-radius: 0 0 8px 8px;
  color: #333333; /* Dark text for light background */
  border-left: 1px solid #e0e0e0;
  border-right: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}

.page-sic-bo__faq-answer p {
  margin-bottom: 10px;
}

/* Call to Action Section */
.page-sic-bo__call-to-action {
  padding: 100px 0;
  text-align: center;
  background-image: url('[GALLERY:bg:cta-sic-bo,tt88 bắn cá nổ hũ,banca30,banca28]');
  background-size: cover;
  background-position: center;
  position: relative;
}

.page-sic-bo__call-to-action::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* Dark overlay */
}

.page-sic-bo__cta-container {
  position: relative;
  z-index: 1;
}

.page-sic-bo__cta-title {
  font-size: 42px;
  font-weight: bold;
  color: #ffd700;
  margin-bottom: 25px;
}

.page-sic-bo__cta-description {
  font-size: 20px;
  color: #e0e0e0;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-sic-bo__hero-container {
    flex-direction: column;
    text-align: center;
  }

  .page-sic-bo__hero-image,
  .page-sic-bo__hero-content {
    width: 100%;
  }

  .page-sic-bo__hero-content {
    padding-top: 30px;
  }

  .page-sic-bo__hero-actions {
    justify-content: center;
  }

  .page-sic-bo__content-wrapper {
    flex-direction: column;
  }

  .page-sic-bo__content-wrapper--reversed {
    flex-direction: column;
  }

  .page-sic-bo__section-title {
    font-size: 32px;
  }

  .page-sic-bo__cta-title {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .page-sic-bo__container {
    padding: 30px 15px;
  }

  .page-sic-bo__hero-banner {
    padding-top: 10px; /* Mobile fixed nav spacing */
    padding-bottom: 50px;
  }

  .page-sic-bo__hero-title {
    font-size: 36px;
  }

  .page-sic-bo__hero-description {
    font-size: 18px;
  }

  .page-sic-bo__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-sic-bo__btn-primary,
  .page-sic-bo__btn-secondary {
    width: 100%;
    box-sizing: border-box;
  }

  .page-sic-bo__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-sic-bo__text-block {
    font-size: 16px;
  }

  .page-sic-bo__text-block h3 {
    font-size: 22px;
  }

  .page-sic-bo__card {
    padding: 25px;
  }

  .page-sic-bo__card-title {
    font-size: 20px;
  }

  .page-sic-bo__step-card {
    padding: 30px 20px;
  }

  .page-sic-bo__step-number {
    width: 50px;
    height: 50px;
    font-size: 28px;
  }

  .page-sic-bo__step-title {
    font-size: 22px;
  }

  .page-sic-bo__faq-question {
    padding: 15px 20px;
  }

  .page-sic-bo__faq-question h3 {
    font-size: 16px;
  }

  .page-sic-bo__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
    margin-left: 15px;
  }

  .page-sic-bo__faq-item.active .page-sic-bo__faq-answer {
    padding: 15px 20px !important;
  }

  .page-sic-bo__cta-title {
    font-size: 30px;
  }

  .page-sic-bo__cta-description {
    font-size: 17px;
  }

  /* Ensure all images and their containers are responsive */
  .page-sic-bo img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-sic-bo__hero-image,
  .page-sic-bo__image-block,
  .page-sic-bo__card-icon,
  .page-sic-bo__content-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}