/* * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
} */

/* body {
    background: #000;
    color: #fff;
    font-family: "Poppins", sans-serif;
} */
@font-face {
    font-family: "Neue Machina";
    src: url("../../public/assets/fonts/neue-machina-free-for-personal-use/NeueMachina-Light.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Tiempos Headline Light Italic";
    src: url("../../public/assets/fonts/tiemposHeadline-semi/TiemposHeadline-LightItalic.otf") format("opentype");
    font-style: normal;
}

@font-face {
    font-family: "Tiempos Headline medium";
    src: url("../../public/assets/fonts/tiemposHeadline-semi/TiemposHeadline-Medium.otf") format("opentype");
    font-style: normal;
}

@font-face {
    font-family: "Neue Haas Grotesk Text Pro";
    src: url("../../public/assets/fonts/Neue-Haas-Grotesk-Font/NHaasGroteskTXPro-55Rg.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Space Grotesk";
    src: url("../../public/assets/fonts/SpaceGrotesk/SpaceGrotesk-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

.question-section {
    position: relative;
    overflow: hidden;
    background-image: url("../../public/assets/images/Content.png");
    padding: 3% 5% 0% 5%;
    min-height: 88vh;
}

.question-bg {
    margin-left: 3%;
}

.question-section::before {
    content: "";
    position: absolute;
    right: -200px;
    bottom: -200px;
    width: 600px;
    height: 600px;
    /* background: radial-gradient(circle, #8a2be2, transparent 60%); */
    opacity: .35;
}

.question-container {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 60px;
    height: 100%;

}

/* LEFT SIDE */

.question-left {
    flex: 1;
    position: relative;
    height: 100%;
}

.question-title {
    font-size: 90px;
    line-height: 1.05;
    font-family: serif;
}

.thin {
    font-family: Tiempos Headline Light Italic;
    font-weight: 300;
    /* font-style: Light Italic; */
    font-size: 90px;
    leading-trim: NONE;
    font-style: italic;
    line-height: 88px;
    letter-spacing: 0px;
}

.gradient {
    font-family: Tiempos Headline medium;
    /* font-style: italic; */
    font-size: 90px;
    leading-trim: NONE;
    line-height: 88px;
    letter-spacing: 0px;
    background: linear-gradient(90deg, #27c6ff, #9b4dff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.question-subtitle {
    margin: 20px 0 0 50px;
    font-size: 26px;
    /* font-family: serif; */
    opacity: .9;
    font-family: Tiempos Headline Light Italic;
    font-weight: 300;
    font-style: italic;
    font-size: 40px;
    leading-trim: NONE;
    line-height: 55px;
    letter-spacing: 0px;
    text-align: end;
}

.question-cube {
    position: absolute;
    left: 1%;
    bottom: 5%;
    margin-top: 60px;
    width: 200px;
    animation: float 5s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-15px)
    }
}

/* RIGHT SIDE */

.question-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* QUESTION CARD */

.question-item {
    /* border-radius: 16px; */
    overflow: auto;
    backdrop-filter: blur(10px);
    /* border: 1px solid rgba(255, 255, 255, 0.15); */
    /* background: linear-gradient(120deg,
            rgba(255, 255, 255, 0.05),
            rgba(255, 255, 255, 0.01)); */
    transition: .3s;
    position: relative;
    border-radius: 18px;
    padding: 1px;
    /* important for gradient border */
    /* background: linear-gradient(90deg, #2cc4ff, #9c3dff); */
    transition: all .35s ease;
}

/* QUESTION BUTTON */

.question-box {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;

    background: none;
    border: none;
    margin: 0;
    padding: 24px 28px;

    color: #dcdcdc;
    font-size: 18px;
    font-weight: 500;

    cursor: pointer;
}

/* .question-box:hover {
    background: #101018;
} */

/* PLUS ICON */
.question-inner {
    background: #0c0c10;
    border-radius: 18px;
    overflow: hidden;

    border: 1px solid #2ac3ff
        /* 1px solid gray */
}

.icon {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    border: 1px solid #3ec9ff;

    font-size: 20px;
    color: #AD46FF80;

    transition: .3s;
}

/* ANSWER */

.question-answer {
    max-height: 0;
    overflow: hidden;

    color: #cfcfcf;
    line-height: 1.7;
    font-size: 16px;

    opacity: 0;
    font-family: Space Grotesk;
    transition: all .35s ease;
}

/* ACTIVE - question bottom radius 0 for sharp join with answer */
.question-item.active .question-inner {
    /* border-radius: 17px 17px 0 0; */

}

.question-item.active .question-answer {
    max-height: 300px;
    opacity: 1;
    margin-top: 0;
    padding: 0 26px 22px;
}

.question-item.active .icon {
    transform: rotate(45deg);
}

/* .question-item.active {
    box-shadow: 0 0 40px rgba(160, 80, 255, 0.15);
} */

/* ===============================
   QUESTIONS MOBILE VIEW
   - Vertical stacked, centered
   - Dark gradient background
   - Glossy accordion buttons
=================================*/

@media (max-width: 768px) {
    .question-section {
        padding: 2rem 2rem 4rem;
        min-height: auto;
        background: linear-gradient(180deg, #0a0a0f 0%, #0c0c10 40%, #12081a 70%, #15091e 100%);
        position: relative;
        height: 100vh;
    }

    .question-section::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: repeating-linear-gradient(-45deg,
                transparent,
                transparent 20px,
                rgba(255, 255, 255, 0.02) 20px,
                rgba(255, 255, 255, 0.02) 21px);
        pointer-events: none;
    }

    .question-container {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        position: relative;
        z-index: 1;
        height: auto;
    }

    /* Title - stacked, centered */
    .question-left {
        /* text-align: center; */
        width: 100%;
    }

    .question-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .question-title .thin {
        font-size: 2rem;
        line-height: 1.2;
    }

    .question-title .gradient {
        font-size: 2.25rem;
        line-height: 1.2;
    }

    .question-subtitle {
        margin: 0.5rem 0 0;
        font-size: 1.125rem;
        text-align: center;
        color: rgba(255, 255, 255, 0.9);
    }

    /* Questions - full width, centered stack */
    .question-right {
        width: 100%;
        max-width: 100%;
        gap: 12px;
    }

    .question-item {
        border-radius: 14px;
    }

    .question-inner {
        border-radius: 13px 13px;
    }

    .question-box {
        font-size: 10px;
        line-height: 1.4;
        text-align: left;
        padding-right: 0 0.3rem;
    }

    .question-answer {
        font-size: 10px;
    }

    .icon {
        width: 20px;
        height: 20px;
        font-size: 18px;
        flex-shrink: 0;
        border-radius: 20%;
        box-shadow: 0 0 12px rgba(100, 150, 255, 0.25);
    }

    .question-item.active .icon {
        box-shadow: 0 0 16px rgba(155, 77, 255, 0.4);
    }

    /* 3D cube - bottom left */
    .question-cube {
        width: 120px;
        left: -29px;
        bottom: 15%;
        opacity: 0.9;
    }

    .question-item.active .question-answer {
        max-height: 250px;
        padding: 0 20px 18px;
    }
}