/* FAQ SBOBET88 */

.sbo-faq-rainbow {
  max-width: 760px;
  margin: 40px auto;
  padding: 30px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  font-family: Arial, sans-serif;
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 255, 255, 0.22), transparent 18%),
    radial-gradient(circle at 85% 15%, rgba(0, 120, 220, 0.28), transparent 25%),
    radial-gradient(circle at 20% 90%, rgba(0, 80, 180, 0.25), transparent 25%),
    linear-gradient(135deg, #1B3A6B, #24508C, #0B2340);
  border: 2px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    0 0 25px rgba(0, 80, 180, 0.45),
    0 0 55px rgba(0, 43, 92, 0.35),
    inset 0 0 35px rgba(255, 255, 255, 0.12);
}

.sbo-shine {
  position: absolute;
  top: -90px;
  left: -120px;
  width: 260px;
  height: 520px;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: rotate(25deg);
  animation: sboFaqShine 4s infinite;
  pointer-events: none;
}

@keyframes sboFaqShine {
  0% {
    left: -180px;
  }
  55% {
    left: 110%;
  }
  100% {
    left: 110%;
  }
}

.sbo-faq-top {
  position: relative;
  text-align: center;
  margin-bottom: 24px;
}

.sbo-faq-top span {
  display: inline-block;
  padding: 8px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 0 14px rgba(255, 255, 255, 0.25);
}

.sbo-faq-top h2 {
  margin: 16px 0 8px;
  color: #ffffff;
  font-size: 24px;
  line-height: 1.35;
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.9),
    0 0 22px rgba(74, 154, 212, 0.55);
}

.sbo-faq-top p {
  margin: 0;
  color: #f3ffff;
  font-size: 15px;
  line-height: 1.85;
}

.sbo-rainbow-item {
  position: relative;
  overflow: hidden;
  margin-bottom: 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.48);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 10px 25px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.sbo-rainbow-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 45%;
  background: linear-gradient(rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.04));
  pointer-events: none;
}

.sbo-rainbow-item button {
  width: 100%;
  padding: 16px 52px 16px 18px;
  border: 0;
  background: transparent;
  color: #ffffff;
  text-align: left;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  font-family: inherit;
  line-height: 1.5;
}

.sbo-rainbow-item button::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff, #b8d4f0);
  color: #1B3A6B;
  text-align: center;
  line-height: 28px;
  font-size: 18px;
  font-weight: 900;
  box-shadow:
    0 0 14px rgba(100, 180, 255, 0.55),
    inset 0 -4px 8px rgba(0, 0, 0, 0.18);
}

.sbo-rainbow-item.active button::after {
  content: "−";
  background: linear-gradient(135deg, #5eb3ff, #ffffff);
}

.sbo-rainbow-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  position: relative;
  z-index: 2;
}

.sbo-rainbow-item.active .sbo-rainbow-answer {
  max-height: 360px;
}

.sbo-rainbow-answer p {
  margin: 0;
  padding: 0 18px 16px;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.85;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.35);
}

@media (max-width: 600px) {
  .sbo-faq-rainbow {
    margin: 25px 12px;
    padding: 22px;
    border-radius: 24px;
  }

  .sbo-faq-top h2 {
    font-size: 21px;
  }

  .sbo-faq-top p {
    font-size: 15px;
  }

  .sbo-rainbow-item button {
    font-size: 14px;
    padding-right: 48px;
  }

  .sbo-rainbow-answer p {
    font-size: 14px;
  }
}
