
/* =========================================
   SISTEM PENGADUAN MASYARAKAT
   HALAMAN AWAL
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html,
body {
    width: 100%;
    height: 100%;
}

body {
    overflow: hidden;
}


/* =========================================
   HALAMAN UTAMA
========================================= */

.landing {
    position: relative;

    width: 100vw;
    height: 100vh;

    min-height: 600px;

    overflow: hidden;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;

    background-image: url("images/background.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


/* =========================================
   LAPISAN CAHAYA
========================================= */

.landing::before {
    content: "";

    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at 50% 20%,
            rgba(255,255,255,0.18),
            transparent 35%
        );

    pointer-events: none;

    z-index: 1;
}


/* =========================================
   LOGO
========================================= */

.logo {
    position: relative;

    z-index: 3;

    width: clamp(100px, 12vw, 180px);

    height: auto;

    object-fit: contain;

    margin-top: clamp(30px, 6vh, 70px);

    filter:
        drop-shadow(
            0 8px 15px rgba(0,0,0,0.35)
        );
}


/* =========================================
   JUDUL
========================================= */

.title {
    position: relative;

    z-index: 3;

    margin-top: 18px;
}


/* SISTEM PENGADUAN */

.title h1 {
    color: white;

    /* DIPERKECIL */
    font-size: clamp(
        24px,
        3.2vw,
        48px
    );

    line-height: 1.15;

    font-weight: 800;

    letter-spacing: 1px;

    text-shadow:
        0 4px 12px rgba(0,0,0,0.45);
}


/* MASYARAKAT */

.title h2 {
    margin-top: -5px;

    /* DIPERKECIL */
    font-size: clamp(
        32px,
        4.6vw,
        65px
    );

    line-height: 1.1;

    font-weight: 800;

    letter-spacing: 2px;

    background:
        linear-gradient(
            180deg,
            #fffbd1 0%,
            #ffd84d 50%,
            #d99b00 100%
        );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    text-shadow:
        0 5px 15px rgba(0,0,0,0.35);
}


/* =========================================
   ORNAMEN
========================================= */

.ornament {
    margin-top: 5px;

    color: #ffd84d;

    /* DIPERKECIL */
    font-size: clamp(
        10px,
        1.2vw,
        18px
    );

    text-shadow:
        0 2px 8px rgba(0,0,0,0.4);
}


/* =========================================
   NAMA KELURAHAN
========================================= */

.title p {
    margin-top: 5px;

    color: white;

    /* DIPERKECIL */
    font-size: clamp(
        14px,
        1.6vw,
        23px
    );

    font-weight: 500;

    text-shadow:
        0 3px 10px rgba(0,0,0,0.5);
}


/* =========================================
   TOMBOL MASUK
========================================= */

.btn {
    position: relative;

    z-index: 6;

    display: flex;

    align-items: center;
    justify-content: center;

    width: clamp(
        230px,
        32vw,
        450px
    );

    margin-top: clamp(
        30px,
        5vh,
        60px
    );

    padding: clamp(
        13px,
        1.2vw,
        20px
    );

    border-radius: 50px;

    border: 2px solid #ffd84d;

    background:
        linear-gradient(
            135deg,
            #168cff,
            #0647c9,
            #00226f
        );

    color: white;

    text-decoration: none;

    /* DIPERKECIL */
    font-size: clamp(
        14px,
        1.4vw,
        22px
    );

    font-weight: 700;

    box-shadow:
        0 0 18px rgba(60,185,255,0.8),
        0 10px 30px rgba(0,0,0,0.35),
        inset 0 2px 8px rgba(255,255,255,0.4);

    transition: all 0.3s ease;
}


/* =========================================
   EFEK HOVER
========================================= */

.btn:hover {
    transform:
        translateY(-4px)
        scale(1.02);

    box-shadow:
        0 0 30px rgba(80,195,255,1),
        0 15px 35px rgba(0,0,0,0.4);
}


/* =========================================
   KARAKTER WANITA PALEMBANG
========================================= */

.character {
    position: absolute;

    z-index: 4;

    right: clamp(
        -40px,
        2vw,
        70px
    );

    bottom: -20px;

    width: clamp(
        200px,
        25vw,
        430px
    );

    height: auto;

    object-fit: contain;

    filter:
        drop-shadow(
            0 10px 20px rgba(0,0,0,0.4)
        );

    pointer-events: none;
}


/* =========================================
   LAPTOP / LAYAR SEDANG
========================================= */

@media (max-width: 1100px) {

    .logo {
        width: 150px;
    }

    .title h1 {
        font-size: 36px;
    }

    .title h2 {
        font-size: 50px;
    }

    .character {
        width: 320px;
    }
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 768px) {

    .landing {
        min-height: 100vh;
    }

    .logo {
        width: 125px;

        margin-top: 35px;
    }

    .title {
        margin-top: 15px;
    }

    .title h1 {
        font-size: 25px;
    }

    .title h2 {
        font-size: 38px;
    }

    .title p {
        font-size: 16px;
    }

    .btn {
        width: 250px;

        margin-top: 30px;

        font-size: 15px;
    }

    .character {
        width: 220px;

        right: -30px;

        bottom: -10px;
    }
}


/* =========================================
   HP
========================================= */

@media (max-width: 480px) {

    .landing {
        min-height: 100vh;
    }

    .logo {
        width: 105px;

        margin-top: 30px;
    }

    .title {
        margin-top: 10px;
    }

    .title h1 {
        font-size: 20px;
    }

    .title h2 {
        font-size: 30px;
    }

    .title p {
        font-size: 13px;
    }

    .ornament {
        font-size: 9px;
    }

    .btn {
        width: 220px;

        padding: 13px;

        font-size: 15px;

        margin-top: 25px;
    }

    .character {
        width: 175px;

        right: -35px;

        bottom: -5px;
    }
}


/* =========================================
   HP KECIL
========================================= */

@media (max-width: 360px) {

    .logo {
        width: 85px;
    }

    .title h1 {
        font-size: 18px;
    }

    .title h2 {
        font-size: 27px;
    }

    .title p {
        font-size: 12px;
    }

    .btn {
        width: 200px;
    }

    .character {
        width: 150px;
    }
}