/* style/sic-bo.css */
.page-sic-bo {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: #000; /* Body background is black */
}

/* Fixed Navbar Spacing */
.page-sic-bo__introduction-section {
  padding-top: 120px; /* Adjust for fixed header */
}

.page-sic-bo__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

.page-sic-bo__hero-section {
  position: relative;
  width: 100%;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
}

.page-sic-bo__hero-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.page-sic-bo__hero-image {
  width: 100%;
  margin: 0;
}

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

.page-sic-bo__main-title {
  font-size: 44px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: #ffd700; /* Gold color for main title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-sic-bo__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: #ffd700; /* Gold color for section titles */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-sic-bo__sub-title {
  font-size: 28px;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #007bff; /* Primary brand color */
}

.page-sic-bo__text-content {
  font-size: 18px;
  margin-bottom: 20px;
  line-height: 1.8;
  color: #f0f0f0; /* Light text for dark sections */
}

.page-sic-bo__highlight {
  color: #ffd700;
  font-weight: bold;
}

.page-sic-bo__btn-primary {
  display: inline-block;
  background: linear-gradient(90deg, #007bff, #28a745); /* Gradient brand colors */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.4);
}

.page-sic-bo__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 123, 255, 0.6);
}

.page-sic-bo__btn-secondary {
  display: inline-block;
  background: #ffffff;
  color: #007bff;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: all 0.3s ease;
  border: 2px solid #007bff;
  cursor: pointer;
}

.page-sic-bo__btn-secondary:hover {
  background: #007bff;
  color: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.page-sic-bo__link-inline {
  color: #28a745; /* Auxiliary brand color */
  text-decoration: underline;
  font-weight: bold;
}

.page-sic-bo__link-inline:hover {
  color: #ffd700;
}

.page-sic-bo__call-to-action {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 30px;
}

.page-sic-bo__list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #f0f0f0; /* Light text for dark sections */
}

.page-sic-bo__list-item {
  margin-bottom: 10px;
  font-size: 17px;
}

.page-sic-bo__image-wrapper {
  margin: 40px 0;
  text-align: center;
}

.page-sic-bo__image-full-width {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Section Specific Styles */
.page-sic-bo__introduction-section {
  background-color: #0d0d0d; /* Slightly lighter dark background */
  padding: 80px 0;
}

.page-sic-bo__rules-section {
  background-color: #1a1a1a;
  padding: 80px 0;
  color: #f0f0f0;
}

.page-sic-bo__rules-section .page-sic-bo__sub-title {
  color: #ffd700;
}

.page-sic-bo__betting-options-section {
  background-color: #0d0d0d;
  padding: 80px 0;
}

.page-sic-bo__strategy-section {
  background-color: #1a1a1a;
  padding: 80px 0;
  color: #f0f0f0;
}

.page-sic-bo__strategy-section .page-sic-bo__sub-title {
  color: #ffd700;
}

.page-sic-bo__why-choose-section {
  background-color: #0d0d0d;
  padding: 80px 0;
}

.page-sic-bo__download-section {
  background-color: #1a1a1a;
  padding: 80px 0;
  color: #f0f0f0;
}

.page-sic-bo__download-section .page-sic-bo__sub-title {
  color: #ffd700;
}

.page-sic-bo__conclusion-section {
  background-color: #0d0d0d;
  padding: 80px 0;
}

/* Card Styles */
.page-sic-bo__card {
  background: rgba(255, 255, 255, 0.08); /* Slightly transparent white on dark background */
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #f0f0f0;
}

.page-sic-bo__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-sic-bo__card-text {
  font-size: 16px;
  line-height: 1.7;
  color: #e0e0e0;
}

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

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

.page-sic-bo__card--step {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

.page-sic-bo__card--step .page-sic-bo__btn-secondary {
  margin-top: auto;
}

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

.page-sic-bo__faq-list {
  margin-top: 40px;
}

.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;
  color: #e0e0e0;
}

.page-sic-bo__faq-item.active .page-sic-bo__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 0 5px 5px;
}

.page-sic-bo__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  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: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.page-sic-bo__faq-question:active {
  background: rgba(255, 255, 255, 0.2);
}

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

.page-sic-bo__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #28a745;
  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: #007bff;
  transform: rotate(45deg);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-sic-bo__main-title {
    font-size: 38px;
  }

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

  .page-sic-bo__sub-title {
    font-size: 24px;
  }

  .page-sic-bo__text-content {
    font-size: 17px;
  }

  .page-sic-bo__grid-3-columns, .page-sic-bo__grid-2-columns {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .page-sic-bo__introduction-section {
    padding-top: 100px; /* Adjust for fixed header on mobile */
  }

  .page-sic-bo__container {
    padding: 15px;
  }

  .page-sic-bo__main-title {
    font-size: 32px;
    margin-bottom: 20px;
  }

  .page-sic-bo__section-title {
    font-size: 26px;
    margin-bottom: 20px;
  }

  .page-sic-bo__sub-title {
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 15px;
  }

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

  .page-sic-bo__btn-primary {
    padding: 12px 25px;
    font-size: 16px;
  }

  .page-sic-bo__btn-secondary {
    padding: 10px 20px;
    font-size: 14px;
  }

  .page-sic-bo__grid-3-columns, .page-sic-bo__grid-2-columns {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

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

  .page-sic-bo__card-text {
    font-size: 15px;
  }

  .page-sic-bo__image-wrapper {
    margin: 30px 0;
  }

  /* FAQ Mobile Styles */
  .page-sic-bo__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-sic-bo__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-sic-bo__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-sic-bo__faq-answer {
    padding: 0 15px;
  }
  
  .page-sic-bo__faq-item.active .page-sic-bo__faq-answer {
    padding: 15px !important;
  }

  /* Mobile image responsiveness */
  .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__hero-section,
  .page-sic-bo__hero-container,
  .page-sic-bo__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .page-sic-bo__hero-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}