/* /css/faq/faq.css */

/* =========================
   FAQ PAGE
========================= */

.faqPage{
    position:relative;
    min-height:100vh;
    background:
    linear-gradient(
        rgba(7,10,16,.88),
        rgba(7,10,16,.96)
    ),
    url('/assets/images/spirit.jpg')
    center/cover fixed;
    color:#fff;
    overflow:hidden;
}

/* =========================
   HERO
========================= */

.faqHero{
    position:relative;
    min-height:360px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:
    150px 20px
    100px;
}

.faqHeroOverlay{
    position:absolute;
    inset:0;
    background:
    radial-gradient(
        circle at top,
        rgba(255,194,88,.18),
        transparent 45%
    ),
    linear-gradient(
        to bottom,
        rgba(0,0,0,.15),
        rgba(7,10,16,.88)
    );
}

.faqHeroContent{
    position:relative;
    z-index:2;
    max-width:900px;
}

.faqBadge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:8px 16px;
    border-radius:999px;
    background:
    rgba(255,196,90,.08);
    border:
    1px solid
    rgba(255,196,90,.22);
    color:#e8c57a;
    letter-spacing:1px;
    font-size:11px;
    text-transform:uppercase;
}

.faqHero h1{
    margin:18px 0 14px;
    font-size:
    clamp(34px,5vw,58px);
    line-height:1.05;
    font-weight:800;
    text-transform:uppercase;
    color:#fff;
    text-shadow:
    0 0 20px
    rgba(255,196,90,.10);
}

.faqHero p{
    max-width:720px;
    margin:auto;
    color:#bcc0cb;
    font-size:19px;
    line-height:1.8;
}

.faqHeroButtons{
    margin-top:35px;
    display:flex;
    justify-content:center;
    gap:16px;
    flex-wrap:wrap;
}

/* =========================
   BUTTONS
========================= */

.faqBtn{
    padding:16px 30px;
    border-radius:18px;
    text-decoration:none;
    font-weight:700;
    transition:.25s ease;
    display:inline-flex;
    align-items:center;
    justify-content:center;
}

.faqPrimary{
    background:
    linear-gradient(
        135deg,
        #f7d488,
        #c28a2c
    );
    color:#151515;
    box-shadow:
    0 12px 40px
    rgba(255,196,90,.18);
}

.faqPrimary:hover{
    transform:
    translateY(-3px);
}

.faqSecondary{
    border:
    1px solid
    rgba(255,255,255,.08);
    background:
    rgba(255,255,255,.04);
    backdrop-filter:
    blur(12px);
    color:#fff;
}

.faqSecondary:hover{
    background:
    rgba(255,255,255,.08);
}

/* =========================
   SEARCH
========================= */

.faqSearchSection{
    max-width:1300px;
    margin:auto;
    padding:0 20px 40px;
}

.faqSearchBox{
    position:relative;
    margin-top:-40px;
    z-index:5;
}

#faqSearch{
    width:100%;
    padding:
    24px 28px
    24px 70px;
    border:none;
    outline:none;
    border-radius:26px;
    font-size:18px;
    color:#fff;
    background:
    rgba(20,24,35,.95);
    border:
    1px solid
    rgba(255,255,255,.08);
    backdrop-filter:
    blur(18px);
    box-shadow:
    0 15px 45px
    rgba(0,0,0,.35);
}

#faqSearch::placeholder{
    color:#9ea4b1;
}

.faqSearchIcon{
    position:absolute;
    left:26px;
    top:50%;
    transform:
    translateY(-50%);
    width:24px;
    color:#d3a955;
}

/* =========================
   FAQ GRID
========================= */

.faqGrid{
    max-width:1300px;
    margin:auto;
    padding:20px;
    display:grid;
    grid-template-columns:
    repeat(2,1fr);
    gap:24px;
}

.faqCard{
    position:relative;
    border-radius:30px;
    overflow:hidden;
    background:
    linear-gradient(
        180deg,
        rgba(26,30,42,.96),
        rgba(16,20,30,.96)
    );
    border:
    1px solid
    rgba(255,196,90,.12);
    transition:.25s ease;
    backdrop-filter:
    blur(18px);
}

.faqCard::before{
    content:'';
    position:absolute;
    top:0;
    left:0;
    right:0;
    height:2px;
    background:
    linear-gradient(
        90deg,
        transparent,
        rgba(255,196,90,.6),
        transparent
    );
}

.faqCard:hover{
    transform:
    translateY(-4px);
    border-color:
    rgba(255,196,90,.25);
    box-shadow:
    0 20px 50px
    rgba(0,0,0,.28);
}

.faqTop{
    padding:28px;
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:20px;
    cursor:pointer;
}

.faqLeft{
    display:flex;
    gap:20px;
}

.faqIconBox{
    min-width:72px;
    width:72px;
    height:72px;
    border-radius:22px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:30px;
    background:
    radial-gradient(
        circle,
        rgba(255,196,90,.22),
        rgba(255,196,90,.06)
    );
    border:
    1px solid
    rgba(255,196,90,.22);
}

.faqSmallTitle{
    display:block;
    margin-bottom:8px;
    color:#c99d4d;
    font-size:12px;
    letter-spacing:2px;
    text-transform:uppercase;
}

.faqTop h3{
    font-size:24px;
    line-height:1.3;
    color:#fff;
    margin:0;
}

.faqToggle{
    border:none;
    min-width:54px;
    width:54px;
    height:54px;
    border-radius:50%;
    cursor:pointer;
    background:
    rgba(255,196,90,.08);
    border:
    1px solid
    rgba(255,196,90,.22);
    color:#e4ba66;
    font-size:28px;
    transition:.3s ease;
}

.faqAnswer{
    max-height:0;
    overflow:hidden;
    transition:.35s ease;
    color:#b7bcc8;
    line-height:1.8;
    padding:0 28px;
}

.faqCard.active .faqAnswer{
    max-height:260px;
    padding:
    0 28px 28px;
}

.faqCard.active
.faqToggle{
    transform:
    rotate(45deg);
}

/* =========================
   BOTTOM CTA
========================= */

.faqBottom{
    padding:
    70px 20px
    120px;
}

.faqBottomCard{
    max-width:1100px;
    margin:auto;
    border-radius:36px;
    text-align:center;
    padding:70px;
    background:
    linear-gradient(
        135deg,
        rgba(255,196,90,.10),
        rgba(255,255,255,.04)
    );
    border:
    1px solid
    rgba(255,196,90,.18);
}

.faqBottomCard h2{
    font-size:48px;
    margin-bottom:15px;
}

.faqBottomCard p{
    color:#bcc1cb;
    margin-bottom:30px;
}

/* =========================
   MOBILE
========================= */

@media(max-width:900px){

    .faqGrid{
        grid-template-columns:1fr;
    }

    .faqHero{
        min-height:430px;
        padding-top:120px;
    }

    .faqHero h1{
        font-size:56px;
    }

    .faqTop h3{
        font-size:20px;
    }

    .faqIconBox{
        width:60px;
        height:60px;
        min-width:60px;
        font-size:24px;
    }

    .faqBottomCard{
        padding:45px 25px;
    }

    .faqBottomCard h2{
        font-size:34px;
    }

}

/* =========================
   CARD ANIMATION
========================= */

.faqCard{
    opacity:0;
    transform:translateY(35px);
}

.faqCard.show{
    opacity:1;
    transform:translateY(0);
}

/* =========================
   FAQ INFO BAR
========================= */

.faqPage .faqInfoBar{
    width:100%;
    max-width:1300px;
    margin:60px auto;
    padding:0 20px;

    display:grid;
    grid-template-columns:
    repeat(3,1fr);

    border-radius:22px;
    overflow:hidden;

    background:
    linear-gradient(
        180deg,
        rgba(12,18,28,.95),
        rgba(8,12,20,.96)
    );

    border:
    1px solid
    rgba(255,193,80,.12);

    box-shadow:
    0 0 40px
    rgba(0,0,0,.25);
}

.faqPage .faqInfoCard{
    display:flex;
    align-items:center;
    gap:20px;

    padding:28px 34px;

    border-right:
    1px solid
    rgba(255,255,255,.08);

    min-height:120px;

    text-align:left;
}

.faqPage .faqInfoCard:last-child{
    border-right:none;
}

.faqPage .faqInfoIcon{
    width:70px;
    min-width:70px;
    height:70px;

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

    font-size:42px;
    border-radius:20px;

    background:
    radial-gradient(
        circle,
        rgba(255,193,80,.12),
        transparent
    );
}

.faqPage .discord{
    color:#7289da;
}

.faqPage .website{
    color:#6681ff;
}

.faqPage .thank{
    color:#7c69ff;
}

.faqPage .faqInfoCard h3{
    margin:0 0 6px;
    font-size:26px;
    color:#e0b85f;
    font-weight:800;
    text-transform:uppercase;
}

.faqPage .faqInfoCard p{
    margin:0;
    color:#d5d8df;
    font-size:16px;
    line-height:1.4;
}

/* MOBILE INFO BAR */

@media(max-width:900px){

    .faqPage .faqInfoBar{
        grid-template-columns:1fr;
    }

    .faqPage .faqInfoCard{
        border-right:none;
        border-bottom:
        1px solid
        rgba(255,255,255,.08);
    }

    .faqPage .faqInfoCard:last-child{
        border-bottom:none;
    }

}