/* assets/css/style.css */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Bengali:wght@400;500;600;700;800&display=swap');

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    margin: 0;
    min-height: 100%;
    background: #090323;
}

body {
    color: #fff;
    font-family: "Noto Sans Bengali", sans-serif;
    overflow-x: hidden;
}

button,
a {
    font: inherit;
}

button {
    border: 0;
}

.topbar {
    height: 70px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 10px 13px;
    background: #0d052c;
}

.back {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #fff;
    background: #21164c;
    font-size: 30px;
    line-height: 30px;
    cursor: pointer;
}

.brand-logo {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
}

.brand-logo svg {
    width: 100%;
    height: 100%;
}

.brand-name {
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
}

.counter {
    margin-left: auto;
    color: #ddd7ef;
    font-size: 12px;
}

.progress-wrap {
    position: relative;
    height: 25px;
    padding: 6px 0;
    background: #0d052c;
}

.progress-line {
    position: absolute;
    left: 0;
    right: 0;
    top: 6px;
    height: 12px;
    border-radius: 10px;
    background: #eeeaff;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg,#b6a7f2,#7561c8);
    border-radius: inherit;
}

.progress-dots {
    position: relative;
    height: 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4%;
}

.progress-dots span {
    width: 19px;
    height: 19px;
    border: 3px solid #a9a2bd;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 2px #ded9ec;
}

.progress-dots span.done {
    background: #fff;
    border-color: #9b83d5;
}

.page {
    min-height: calc(100vh - 95px);
    padding: 21px 16px 28px;
    display: flex;
    justify-content: center;
    background:
        radial-gradient(circle at 50% 75%,#24164b 0,#10062f 47%,#090323 100%);
}

.assessment-card {
    width: min(100%, 420px);
    min-height: calc(100vh - 140px);
    padding: 24px 13px 25px;
    border-radius: 23px;
    background:
        linear-gradient(145deg,#17102f 0%,#241847 65%,#33255b 100%);
    box-shadow: inset 0 0 45px rgba(180,150,255,.06);
}

.question-title {
    margin: 0 auto 27px;
    max-width: 330px;
    text-align: center;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 800;
}

.question-description {
    text-align: center;
    color: #c8c1d6;
    line-height: 1.7;
}

.options-form {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.option-button {
    min-height: 68px;
    width: 100%;
    padding: 13px 20px;
    border-radius: 26px;
    color: #fff;
    background:
        radial-gradient(circle at 50% 0,#342651,#17102f 72%);
    border: 2px solid rgba(151,128,193,.18);
    box-shadow:
        inset 0 2px 10px rgba(255,255,255,.025),
        0 5px 15px rgba(0,0,0,.08);
    cursor: pointer;
    font-size: 16px;
    line-height: 1.35;
    transition: .18s ease;
}

.option-button:active,
.option-button:hover {
    border-color: #9e7bd0;
    background:
        radial-gradient(circle at 50% 0,#443261,#21163e 75%);
    transform: scale(.99);
}

.emoji {
    margin-right: 7px;
}

.gender-card {
    text-align: center;
}

.hero-title {
    margin: 34px auto 24px;
    max-width: 290px;
    color: #b9a8e9;
    font-size: 31px;
    line-height: 1.35;
    font-weight: 800;
}

.hero-text {
    margin: 0 auto;
    max-width: 330px;
    font-size: 15px;
    line-height: 1.8;
    color: #eeeaf5;
}

.choose-title {
    margin: 25px 0 20px;
    color: #9990ad;
    font-size: 15px;
    font-weight: 700;
}

.gender-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.gender-option {
    min-height: 155px;
    padding: 13px 5px;
    border-radius: 24px;
    color: #fff;
    background:
        linear-gradient(145deg,#322650,#21173e);
    border: 2px solid rgba(172,151,214,.18);
    cursor: pointer;
}

.gender-icon {
    display: block;
    height: 105px;
}

.gender-icon svg {
    width: 90px;
    height: 110px;
    fill: none;
    stroke: #c3aaff;
    stroke-width: 7;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 8px #8d63ff);
}

.gender-option strong {
    font-size: 15px;
}

.intro-card {
    text-align: center;
    display: flex;
    flex-direction: column;
}

.intro-title {
    margin-top: 8px;
    color: #a99ad7;
    font-size: 27px;
    font-weight: 800;
    line-height: 1.35;
}

.intro-text {
    margin: 12px auto 0;
    max-width: 320px;
    color: #b9b1c9;
    font-size: 14px;
    line-height: 1.8;
}

.illustration {
    flex: 1;
    min-height: 290px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.illustration svg {
    width: min(82%,310px);
    max-height: 240px;
    filter: drop-shadow(0 8px 20px rgba(105,105,255,.25));
}

.next-button {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px 8px 28px;
    color: #fff;
    text-decoration: none;
    border-radius: 40px;
    background: linear-gradient(90deg,#8069bb,#c3b2ed);
    box-shadow: 0 4px 10px rgba(0,0,0,.25);
}

.next-button span {
    font-size: 16px;
    font-weight: 700;
}

.next-button b {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #9a89c4;
    background: #fff;
    font-size: 29px;
    font-weight: 400;
}

@media (min-width:700px) {
    .page {
        padding-top: 30px;
    }

    .assessment-card {
        min-height: 650px;
    }
}