/* ===== Opplex IPTV - FAQ Section Styles ===== */
.faq-area {
    padding-top: 40px;
    padding-bottom: 70px;
}

/* Animated angle used by the moving glow */
@property --faq-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

.faq-item {
    position: relative;
    z-index: 0;
    border: 1px solid #e8e8ef;
    border-radius: 10px;
    margin-bottom: 14px;
    padding: 0 22px;
    background: #fff;
    transition: box-shadow .25s ease;
}

/* Crisp moving light on the outline */
.faq-item::before,
/* Soft blurred glow underneath (halo) */
.faq-item::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 12px;
    padding: 2px;
    background: conic-gradient(from var(--faq-angle),
        rgba(214, 51, 132, 0) 0deg,
        rgba(214, 51, 132, 0) 250deg,
        #d63384 300deg,
        #f06baf 330deg,
        #ffe3f1 350deg,
        #f06baf 360deg);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    animation: faq-glow-rotate 4s linear infinite;
    pointer-events: none;
    z-index: -1;
}

/* the halo layer */
.faq-item::after {
    filter: blur(9px);
    opacity: .75;
}

@keyframes faq-glow-rotate {
    to { --faq-angle: 360deg; }
}

.faq-item[open] {
    box-shadow: 0 8px 24px rgba(20, 30, 80, .07);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 34px 18px 0;
    font-size: 17px;
    font-weight: 600;
    color: #111a3a;
    position: relative;
    outline: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 2px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 26px;
    font-weight: 400;
    color: #1a76d2;
    line-height: 1;
    transition: transform .2s;
}

.faq-item[open] summary::after {
    content: "\2212";
}

.faq-item .faq-answer {
    margin: 0;
    padding: 0 0 20px;
    color: #556;
    font-size: 15px;
    line-height: 1.75;
}

/* Mobile responsive */
@media (max-width: 767px) {
    .faq-area {
        padding-bottom: 50px;
    }
    .faq-item {
        padding: 0 16px;
    }
    .faq-item summary {
        font-size: 15px;
        padding: 15px 30px 15px 0;
    }
    .faq-item .faq-answer {
        font-size: 14.5px;
    }
    .faq-item::after { filter: blur(6px); }
}

/* Respect users who prefer no motion */
@media (prefers-reduced-motion: reduce) {
    .faq-item::before,
    .faq-item::after { animation: none; }
}