@keyframes fadeIn {
  from {opacity:0; transform:translateY(20px);}
  to {opacity:1; transform:translateY(0);}
}
@keyframes cyberLine {
  0% { background-position: 0 0; }
  100% { background-position: 120px 0; }
}

.faq-item{
  position:relative;
  border-bottom:1px solid rgba(212, 175, 55, 0.2);
  background:linear-gradient(180deg, rgba(212, 175, 55, 0.03), rgba(255, 255, 255, 0.01));
  overflow:hidden;
}

.faq-item::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(120deg, transparent 0%, rgba(255, 215, 0, 0.06) 18%, transparent 36%),
    repeating-linear-gradient(
      90deg,
      rgba(212, 175, 55, 0.04) 0,
      rgba(212, 175, 55, 0.04) 1px,
      transparent 1px,
      transparent 24px
    );
  animation:cyberLine 7s linear infinite;
  opacity:.7;
}

.faq-question{
  width:100%;
  background:
    linear-gradient(135deg, rgba(58, 44, 12, 0.6), rgba(26, 20, 5, 0.8));
  padding:16px;
  font-size:18px;
  color:#f5e5c8;
  cursor:pointer;
  border:none;
  text-align:center;
  outline:none;
  transition:.3s ease;
  position:relative;
  z-index:1;
  font-weight:700;
  letter-spacing:.3px;
  box-shadow:
    inset 0 0 10px rgba(212, 175, 55, 0.1);
}

.faq-question:hover{
  background:
    linear-gradient(135deg, rgba(224, 40, 40, 0.25), rgba(58, 44, 12, 0.7));
  color:#fff0d4;
  box-shadow:
    0 0 16px rgba(212, 175, 55, 0.2),
    inset 0 0 12px rgba(255, 215, 0, 0.1);
  text-shadow:0 0 8px rgba(212, 175, 55, 0.3);
}

.faq-question.active,
.active{
  background:
    linear-gradient(135deg, rgba(212, 175, 55, 0.3), rgba(80, 60, 15, 0.8));
  color:#ffffff;
  box-shadow:
    0 0 18px rgba(224, 40, 40, 0.25),
    inset 0 0 12px rgba(255, 215, 0, 0.1);
}

.faq-answer{
  max-height:0;
  overflow:hidden;
  transition:max-height .4s ease, padding .3s ease;
  padding:0 18px;
  color:#f0e0c0;
  background:
    linear-gradient(180deg, rgba(20, 15, 5, 0.85), rgba(10, 8, 3, 0.92));
  position:relative;
  z-index:1;
  line-height:1.65;
  font-size:14px;
}

.active + .faq-answer{
  max-height:200px;
  padding:14px 18px;
  border-top:1px solid rgba(212, 175, 55, 0.2);
  box-shadow:
    inset 0 0 12px rgba(141, 158, 144, 0.103);
}

.grad-text{
  background:linear-gradient(90deg, #ffffff, #ffa600, #ff0000);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
  color:transparent;
  font-weight:bold;
  text-shadow:none;
}
