/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* =========================
   BODY
========================= */

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    font-family: "Poppins", sans-serif;
    background: #e8e8e8;

    display: flex;
    justify-content: center;
}


/* =========================
   MAIN MOBILE LAYOUT
========================= */

.page {
    width: 100%;
    min-height: 100vh;

    position: relative;

    padding:
        clamp(30px, 7vw, 50px)
        clamp(18px, 5vw, 28px)
        25px;

    display: flex;
    flex-direction: column;

    /*
       BACKGROUND LEBIH JELAS
       Tidak lagi memakai overlay putih transparan
    */

    background-image: url("img/background.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


/* =========================
   PROFILE
========================= */

.profile {
    text-align: center;
}


.profile-logo {
    width: clamp(80px, 20vw, 90px);
    height: clamp(80px, 20vw, 90px);

    margin: 0 auto 14px;

    border-radius: 0%;
    overflow: hidden;


    display: flex;
    align-items: center;
    justify-content: center;
}


.profile-logo img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


.profile h1 {
    font-size: clamp(16px, 4.5vw, 21px);
    font-weight: 500;

    color: #2f3430;

    line-height: 1.4;

    margin-bottom: 8px;
}


.profile p {
    max-width: 330px;

    margin: 0 auto;

    font-size: clamp(9px, 2.8vw, 11px);

    line-height: 1.7;

    color: #4c504c;
}


/* =========================
   SOCIAL MEDIA
========================= */

.social-icons {
    display: flex;
    justify-content: center;

    gap: 17px;

    margin: 18px 0 25px;
}


.social-icons a {
    color: #333;

    font-size: 19px;

    text-decoration: none;

    transition: 0.3s;
}


.social-icons a:hover {
    color: #8FA13F;

    transform: scale(1.1);
}



/* =========================
   LINKS
========================= */

.links {
    width: 100%;

    display: flex;
    flex-direction: column;

    gap: clamp(11px, 3vw, 15px);
}


/* =========================
   LINK CARD
========================= */

.link-card {
    width: 100%;

    min-height: clamp(52px, 14vw, 62px);

    position: relative;

    display: flex;
    align-items: center;

    padding: 6px 12px;

    border-radius: 12px;

    background: #8FA13F;

    text-decoration: none;

    box-shadow:
        0 6px 15px rgba(0, 0, 0, 0.12);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


/* Hover hanya terasa di perangkat desktop */

@media (hover: hover) {

    .link-card:hover {
        transform: translateY(-2px);

        box-shadow:
            0 10px 20px rgba(0, 0, 0, 0.18);
    }

}


/* =========================
   LINK ICON
========================= */

.link-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;
}

.link-icon img {
    width: 40px;
    height: 40px;

    object-fit: contain;
    display: block;
}

/* =========================
   LINK TEXT
========================= */

.link-text {
    position: absolute;

    left: 50%;

    transform: translateX(-50%);

    font-size: clamp(10px, 3vw, 12px);
    font-weight: 600;

    color: #ffffff;

    white-space: nowrap;
}


/* =========================
   THREE DOTS
========================= */

.link-menu {
    margin-left: auto;

    width: 25px;

    text-align: center;

    font-size: 18px;

    line-height: 1;

    color: #ffffff;
}


/* =========================
   COPYRIGHT
========================= */

/* =========================
   FOOTER COPYRIGHT
========================= */

.footer {
    margin-top: auto;

    padding-top: 35px;
    padding-bottom: 10px;

    display: flex;
    justify-content: center;

    color: #3f4a25;

    text-align: center;

    text-shadow:
        0 1px 2px rgba(255, 255, 255, 0.9);
}


/* CONTAINER TEXT */

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 3px;
}


/* BARIS PERTAMA */

.footer-main {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    font-size: 12px;
    font-weight: 600;
}


/* COPYRIGHT ICON */

.copyright-icon {
    width: 20px;
    height: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1.5px solid #3f4a25;
    border-radius: 50%;

    font-size: 12px;
    font-weight: 500;

    flex-shrink: 0;
}


/* BARIS KEDUA */

.footer-credit {
    font-size: 9px;
    font-weight: 800;

    opacity: 0.85;
}
/* =========================
   MUSIC BUTTON
========================= */

.music-button {
    position: fixed;

    top: 20px;
    right: 20px;

    width: 42px;
    height: 42px;

    border: none;
    border-radius: 50%;

    background: #3f4a25;

    opacity: 0.8;

    color: white;

    font-size: 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    z-index: 999;

    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.15);

    backdrop-filter: blur(5px);

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.music-button:hover {
    transform: scale(1.08);
}


/* Animasi ketika musik sedang dimainkan */

.music-button.playing {
    animation: musicPulse 1.5s infinite;
}


@keyframes musicPulse {

    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }

}

/* =========================
   TABLET / DESKTOP
   TETAP MEMPERTAHANKAN
   LAYOUT MOBILE DI TENGAH
========================= */

@media (min-width: 600px) {

    body {
        padding: 20px;

        background: #e5e5e5;
    }


    .page {
        width: min(100%, 430px);

        min-height: calc(100vh - 40px);

        border-radius: 28px;

        overflow: hidden;

        box-shadow:
            0 10px 35px rgba(0, 0, 0, 0.15);
    }

}