
/* =================================
   QUICKLOAN SPLASH PAGE
   MOBILE + DESKTOP RESPONSIVE
================================= */

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

html, body {
    width: 100%;
    min-height: 100%;
    font-family: Arial, sans-serif;
}

body {
    min-height: 100vh;
    background: #310b78;
    overflow-x: hidden;
}

/* =================================
   MAIN CONTAINER
================================= */

.phone {
    width: 100%;
    min-height: 100vh;
    height: 100vh;
    height: 100dvh;

    position: relative;
    overflow: hidden;

    color: white;
    text-align: center;

    background:
        radial-gradient(
            ellipse at 50% 57%,
            #8738f5 0%,
            #6020c4 48%,
            #310b78 100%
        );
}

/* BOTTOM BACKGROUND CURVE */

.phone:after {
    content: "";
    position: absolute;

    bottom: -65px;
    left: -15%;

    width: 130%;
    height: 220px;

    border-radius: 50% 50% 0 0;

    background: linear-gradient(
        180deg,
        #4d1aab,
        #27065f
    );

    z-index: 0;
}

/* =================================
   STATUS BAR HIDE
================================= */

.status {
    display: none !important;
}

/* =================================
   LOGO
================================= */

.logo {
    margin-top: 35px;

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

    gap: 7px;

    font-size: 22px;
    font-weight: 800;
    font-style: italic;

    position: relative;
    z-index: 2;
}

.bolt {
    font-size: 35px;
    color: #bda0ff;
}

/* =================================
   MAIN HEADING
================================= */

.heading {
    margin-top: 43px;

    position: relative;
    z-index: 2;
}

.heading h1 {
    font-size: 32px;
    line-height: 1.12;

    font-weight: 800;
    letter-spacing: -1px;
}

.heading p {
    margin-top: 12px;

    font-size: 14px;
    line-height: 1.5;

    color: #f4eaff;
}

/* =================================
   MONEY ILLUSTRATION
================================= */

.illustration {
    height: 255px;
    position: relative;
    z-index: 2;

    margin-top: 10px;
}

/* MONEY BAG */

.bag {
    position: absolute;

    top: 64px;
    left: 50%;

    transform: translateX(-50%);

    width: 145px;
}

.bag-body {
    height: 145px;
    width: 145px;

    background: linear-gradient(
        135deg,
        #e3caff,
        #a46aee 40%,
        #6021b9
    );

    border-radius: 45% 45% 38% 38%;

    box-shadow:
        inset 9px 5px 15px #ffffff65,
        0 18px 25px #21005255;

    display: grid;
    place-items: center;
}

.bag-body span {
    font-size: 70px;
    font-weight: bold;
    color: white;

    text-shadow: 0 3px 8px #5721a4;
}

/* BAG KNOT */

.knot {
    width: 52px;
    height: 25px;

    background: linear-gradient(
        135deg,
        #e4c9ff,
        #8750d9
    );

    position: absolute;

    top: -13px;
    left: 46px;

    border-radius: 9px 9px 15px 15px;

    z-index: 2;

    transform: rotate(-5deg);
}

.knot:before,
.knot:after {
    content: "";

    position: absolute;

    width: 32px;
    height: 23px;

    background: #a879ec;

    border-radius: 50%;
    top: -8px;
}

.knot:before {
    left: -16px;
    transform: rotate(-25deg);
}

.knot:after {
    right: -16px;
    transform: rotate(25deg);
}

/* COINS */

.coin-stack {
    position: absolute;

    left: calc(50% - 113px);
    top: 169px;

    z-index: 3;
}

.coin {
    width: 43px;
    height: 18px;

    border-radius: 50%;

    background: linear-gradient(
        #ffe77b,
        #ffae00
    );

    border: 2px solid #ffe47a;

    color: #ad6500;
    font-size: 11px;
    font-weight: bold;

    margin-top: -4px;

    box-shadow: 0 3px 0 #c87800;
}

/* CHECK ICON */

.check {
    position: absolute;

    top: 170px;
    left: calc(50% + 54px);

    height: 55px;
    width: 55px;

    border-radius: 50%;

    display: grid;
    place-items: center;

    font-size: 34px;
    font-weight: bold;

    background: linear-gradient(
        135deg,
        #c6a3ff,
        #8043df
    );

    border: 3px solid #dfcaff;

    box-shadow: 0 5px 15px #21005255;
}

/* SPARKLES */

.sparkle {
    position: absolute;

    left: 25%;
    top: 20px;

    color: #ffdc48;
    font-size: 27px;
}

.shine {
    position: absolute;

    right: 24%;
    top: 42px;

    font-size: 29px;
    transform: rotate(30deg);
}

/* =================================
   SLIDER DOTS
================================= */

.dots {
    display: flex;
    justify-content: center;
    gap: 9px;

    position: relative;
    z-index: 3;

    margin-top: -2px;
}

.dots span {
    width: 10px;
    height: 10px;

    border-radius: 50%;
    background: #a78adf;
}

.dots .selected {
    background: white;
}

/* =================================
   GET STARTED BUTTON
================================= */

.start-button {
    position: relative;
    z-index: 3;

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

    gap: 12px;

    height: 53px;

    margin: 35px 28px 25px;

    border-radius: 35px;

    background: white;
    color: #21103e;

    text-decoration: none;

    font-size: 15px;
    font-weight: 800;

    transition: 0.3s;
}

.start-button:hover {
    background: #eee5ff;
    transform: translateY(-2px);
}

.start-button span {
    font-size: 20px;
}

/* =================================
   DESKTOP WEBSITE LAYOUT
================================= */

@media screen and (min-width: 768px) {

    body {
        width: 100%;
        min-height: 100vh;
        background: #310b78;
    }

    .phone {
        width: 100%;
        height: 100vh;
        min-height: 650px;

        border: none;
        border-radius: 0;

        box-shadow: none;

        display: grid;

        grid-template-columns: 1fr 1fr;
        grid-template-rows: 80px 1fr 90px;

        align-items: center;

        padding: 25px 10%;
    }

    .phone:after {
        height: 180px;
        bottom: -100px;
    }

    .logo {
        grid-column: 1 / 3;
        grid-row: 1;

        justify-content: flex-start;

        font-size: 28px;
        margin: 0;
    }

    .heading {
        grid-column: 1;
        grid-row: 2;

        text-align: left;

        margin: 0;
        align-self: center;
    }

    .heading h1 {
        font-size: clamp(42px, 5vw, 65px);
    }

    .heading p {
        font-size: 18px;
        line-height: 1.8;
    }

    .illustration {
        grid-column: 2;
        grid-row: 2;

        height: 380px;
        width: 100%;

        transform: scale(1.25);
        margin: 0;
    }

    .dots {
        grid-column: 1;
        grid-row: 3;

        justify-content: flex-start;
        margin: 0;
    }

    .start-button {
        grid-column: 1;
        grid-row: 3;

        width: 230px;
        margin: 35px 0 0;
    }

    .phone:after {
        pointer-events: none;
    }
}

/* =================================
   TABLET
================================= */

@media screen and (min-width: 601px)
and (max-width: 767px) {

    .heading h1 {
        font-size: 38px;
    }

    .illustration {
        transform: scale(1.1);
    }
}

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

@media screen and (max-width: 380px) {

    .logo {
        font-size: 20px;
    }

    .heading {
        margin-top: 35px;
    }

    .heading h1 {
        font-size: 28px;
    }

    .heading p {
        font-size: 13px;
    }

    .illustration {
        transform: scale(.93);
        transform-origin: top center;
    }

    .start-button {
        margin-top: 20px;
    }
}

/* =================================
   SHORT MOBILE SCREEN
================================= */

@media screen and (max-width: 600px)
and (max-height: 700px) {

    .logo {
        margin-top: 20px;
    }

    .heading {
        margin-top: 25px;
    }

    .illustration {
        height: 220px;
        transform: scale(.9);
        transform-origin: top center;
    }

    .start-button {
        margin-top: 15px;
    }
}
