/* =====================================================
   TOTOSLOT.TEAM - FAQ ACCORDION
===================================================== */

.toto-faq-wrap {
    width: 100%;
    max-width: 900px;
    margin: 50px auto;
    padding: 30px 20px;
    font-family: Arial, Helvetica, sans-serif;
    color: #ffffff;
}


/* =========================
   FAQ HEADER
========================= */

.toto-faq-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 32px;
}

.toto-faq-badge {
    display: inline-block;
    margin-bottom: 12px;
    padding: 7px 14px;

    border: 1px solid rgba(66, 181, 255, 0.35);
    border-radius: 50px;

    background: rgba(21, 151, 255, 0.08);

    color: #42b5ff;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px;
}

.toto-faq-head h2 {
    margin: 0 0 14px;

    color: #ffffff;

    font-size: clamp(26px, 5vw, 40px);
    line-height: 1.2;
    font-weight: 800;
}

.toto-faq-head p {
    margin: 0;

    color: #aebdd3;

    font-size: 15px;
    line-height: 1.8;
}


/* =========================
   FAQ ITEM
========================= */

.toto-faq-item {
    margin-bottom: 12px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            rgba(6, 26, 64, 0.96),
            rgba(4, 20, 45, 0.96)
        );

    border: 1px solid rgba(66, 181, 255, 0.16);
    border-radius: 16px;

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.18);

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.toto-faq-item:hover {
    border-color: rgba(66, 181, 255, 0.38);

    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.25);
}


/* =========================
   QUESTION BUTTON
========================= */

.toto-faq-question {
    width: 100%;

    display: flex;
    align-items: center;
    gap: 14px;

    padding: 20px;

    border: 0;
    outline: none;

    background: transparent;

    color: #ffffff;

    text-align: left;

    cursor: pointer;
}


/* NUMBER */

.toto-faq-number {
    flex: 0 0 42px;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background:
        linear-gradient(
            135deg,
            #075bc7,
            #1597ff
        );

    color: #ffffff;

    font-size: 13px;
    font-weight: 800;

    box-shadow:
        0 5px 18px rgba(21, 151, 255, 0.25);
}


/* QUESTION TITLE */

.toto-faq-title {
    flex: 1;

    font-size: 16px;
    line-height: 1.5;
    font-weight: 700;
}


/* =========================
   PLUS / MINUS ICON
========================= */

.toto-faq-icon {
    position: relative;

    flex: 0 0 34px;

    width: 34px;
    height: 34px;

    border-radius: 50%;

    background: rgba(21, 151, 255, 0.10);

    border: 1px solid rgba(66, 181, 255, 0.25);

    transition:
        background 0.25s ease,
        transform 0.3s ease;
}

.toto-faq-icon::before,
.toto-faq-icon::after {
    content: "";

    position: absolute;

    top: 50%;
    left: 50%;

    background: #42b5ff;

    border-radius: 10px;

    transform: translate(-50%, -50%);

    transition: transform 0.3s ease;
}

.toto-faq-icon::before {
    width: 14px;
    height: 2px;
}

.toto-faq-icon::after {
    width: 2px;
    height: 14px;
}


/* OPEN STATE */

.toto-faq-item.active {
    border-color: rgba(66, 181, 255, 0.50);

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.28),
        0 0 25px rgba(21, 151, 255, 0.06);
}

.toto-faq-item.active .toto-faq-icon {
    background: rgba(21, 151, 255, 0.18);

    transform: rotate(180deg);
}

.toto-faq-item.active .toto-faq-icon::after {
    transform:
        translate(-50%, -50%)
        rotate(90deg);
}


/* =========================
   ANSWER
========================= */

.toto-faq-answer {
    max-height: 0;

    overflow: hidden;

    opacity: 0;

    transition:
        max-height 0.4s ease,
        opacity 0.3s ease;
}

.toto-faq-answer-inner {
    margin: 0 20px 20px 76px;

    padding: 18px 20px;

    border-left: 2px solid #1597ff;

    border-radius: 0 10px 10px 0;

    background: rgba(2, 8, 23, 0.35);
}

.toto-faq-answer p {
    margin: 0;

    color: #b8c7da;

    font-size: 15px;
    line-height: 1.8;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

    .toto-faq-wrap {
        margin: 30px auto;
        padding: 20px 12px;
    }

    .toto-faq-head {
        margin-bottom: 24px;
    }

    .toto-faq-head h2 {
        font-size: 27px;
    }

    .toto-faq-head p {
        font-size: 14px;
        line-height: 1.7;
    }

    .toto-faq-question {
        gap: 11px;
        padding: 16px 14px;
    }

    .toto-faq-number {
        flex-basis: 36px;

        width: 36px;
        height: 36px;

        border-radius: 9px;

        font-size: 12px;
    }

    .toto-faq-title {
        font-size: 14px;
        line-height: 1.45;
    }

    .toto-faq-icon {
        flex-basis: 30px;

        width: 30px;
        height: 30px;
    }

    .toto-faq-answer-inner {
        margin:
            0
            14px
            16px
            61px;

        padding: 14px 15px;
    }

    .toto-faq-answer p {
        font-size: 14px;
        line-height: 1.7;
    }

}