/* ==================================================
   ASAMOUZ LINK-IN-BIO
   ================================================== */


/* ==================================================
   BRAND COLORS
   ================================================== */

:root {

    color-scheme: only light;

    --black: #000000;
    --white: #FFFFFF;
    --electric-blue: #00C8FF;

    --button-gray: #343B3F;
    --button-gray-hover: #3F474A;

    /*
     * Desktop content width:
     * buttons and footer/divider use the same width.
     */
    --desktop-content-width: 77%;

}


/* ==================================================
   RESET
   ================================================== */

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

    /*
     * Seluruh konten halaman tidak dapat dipilih atau di-drag.
     * Link tetap dapat diklik normal.
     */
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-drag: none;
}

/* ==================================================
   INTERACTION HIGHLIGHT
   ================================================== */
::selection {
    background: transparent;
    color: inherit;
}

::-moz-selection {
    background: transparent;
    color: inherit;
}


/* ==================================================
   HTML / BODY
   ================================================== */

html {
    min-height: 100%;
}

body {
    min-height: 100vh;

    margin: 0;

    background: var(--black);
    color: var(--white);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    -webkit-font-smoothing: antialiased;

    overflow-x: hidden;
    overflow-y: auto;
}


/* ==================================================
   MAIN PAGE
   ================================================== */

.page {
    width: min(
        calc(100% - 32px),
        680px
    );

    margin: 0 auto;

    padding-top: 28px;
    padding-bottom: 24px;

    text-align: center;
}


/* ==================================================
   PROFILE
   ================================================== */

.profile {
    margin-bottom: 14px;
}


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

.logo {
    display: block;

    width: 90px;
    height: 90px;

    object-fit: contain;

    /*
     * Logo bukan link dan tidak perlu dapat
     * dipilih atau di-drag oleh browser.
     */
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;

    margin: 0 auto 18px;

    /*
     * Sedikit diperbesar secara visual tanpa mengubah
     * posisi elemen ASAMOUZ di bawahnya.
     */
    transform: scale(1.08);
}


/* ==================================================
   BRAND NAME
   ================================================== */

h1 {
    margin: 0 0 5px;

    color: var(--white);

    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: 27px;
    font-weight: 500;

    letter-spacing: 0;
    line-height: 1.1;
}


/* ==================================================
   TAGLINE
   ================================================== */

.tagline {
    color: var(--white);

    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: 17px;
    font-weight: 400;

    line-height: 1.3;
}


/* ==================================================
   SOCIAL ICONS
   ================================================== */

.social-icons {
    display: flex;

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

    gap: 20px;

    margin-top: 18px;
    margin-bottom: 40px;
}


/* ==================================================
   SOCIAL ICON
   ================================================== */

.social-icon {
    display: flex;

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

    width: 30px;
    height: 30px;

    color: var(--white);

    font-size: 29px;

    text-decoration: none;

    /*
     * Icon tidak perlu dapat dipilih atau di-drag.
     * Tetap dapat diklik normal.
     */
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    -webkit-tap-highlight-color: transparent;
    outline: none;

    transition:
        color 0.20s ease,
        transform 0.20s ease;
}


/* ==================================================
   SOCIAL ICON HOVER
   ================================================== */

.social-icon:hover {
    color: #00C8FF !important;

    transform: translateY(-2px);
}

.social-icon:hover > i {
    color: #00C8FF !important;
}

.social-icon:focus,
.social-icon:active {
    outline: none;
}


/* ==================================================
   LINK BUTTON CONTAINER
   ================================================== */

.link-buttons {
    display: flex;

    flex-direction: column;

    gap: 14px;
}


/* ==================================================
   LINK BUTTON
   ================================================== */

.link-button {
    display: flex;

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

    width: 100%;

    min-height: 65px;

    padding:
        14px
        30px;

    background: var(--button-gray);

    border-radius: 999px;

    color: var(--white);

    text-decoration: none;

    /*
     * Hilangkan highlight bawaan browser saat tombol
     * diklik/ditahan, agar bentuk tombol tetap lonjong.
     */
    -webkit-tap-highlight-color: transparent;
    outline: none;

    /*
     * Mencegah browser menampilkan selection
     * saat tombol di-klik lalu di-drag.
     * Tombol tetap dapat diklik normal.
     */
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;

    transition:
        background 0.20s ease,
        transform 0.20s ease;
}


/* ==================================================
   LINK BUTTON INTERACTION
   ================================================== */
.link-button:focus,
.link-button:active {
    outline: none;
}

/* ==================================================
   LINK BUTTON TEXT
   ================================================== */

.link-text {
    color: var(--white);

    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: 20px;
    font-weight: 500;

    line-height: 1;

    transition:
        color 0.20s ease;
}


/* ==================================================
   LINK BUTTON HOVER
   ================================================== */

.link-button:hover {
    background: var(--button-gray-hover);
    color: #00C8FF !important;

    transform: translateY(-1px);
}


/* ==================================================
   TEXT HOVER
   ================================================== */

.link-button:hover > .link-text {
    color: #00C8FF !important;
}


/* ==================================================
   BUSINESS CONTACT
   ================================================== */

.business {
    margin-top: 50px;
    width: 78%;
    margin-left: 10%;
    margin-right: auto;
}


/* ==================================================
   DIVIDER
   ================================================== */

.divider {
    width: 100%;
    height: 1px;

    margin-left: auto;
    margin-right: auto;
    margin-bottom: 16px;

    background:
        rgba(
            255,
            255,
            255,
            0.15
        );
}


/* ==================================================
   BUSINESS TITLE
   ================================================== */

.business-title {
    margin-bottom: 6px;

    color: var(--white);

    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 400;

    opacity: 0.55;
}


/* ==================================================
   EMAIL
   ================================================== */

.email {
    color: var(--white);

    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: 14px;

    text-decoration: none;

    word-break: break-word;

    /*
     * Email tetap dapat diklik, tetapi tidak dapat
     * dipilih atau di-drag sebagai teks/link.
     */
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    -webkit-tap-highlight-color: transparent;
    outline: none;

    transition:
        color 0.20s ease;
}


/* ==================================================
   EMAIL HOVER
   ================================================== */

.email:hover {
    color: #00C8FF !important;

    text-decoration: none;
}

.email:focus,
.email:active {
    outline: none;
}


/* ==================================================
   FOOTER
   ================================================== */

footer {
    margin-top: 21px;

    color: var(--white);

    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: 11px;

    letter-spacing: 1px;

    opacity: 0.30;
}


/* ==================================================
   DESKTOP BUTTON WIDTH
   ================================================== */

@media (min-width: 701px) {

    /*
     * Vertical center:
     * seluruh komposisi ASAMOUZ dipusatkan otomatis
     * terhadap tinggi viewport desktop.
     */
    .page {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .link-buttons {
        /*
         * Lebar tombol desktop dikendalikan oleh satu variable.
         */
        width: var(--desktop-content-width);
        margin-left: auto;
        margin-right: auto;
    }

    .business {
        /*
         * Area footer mengikuti lebar tombol desktop.
         */
        width: var(--desktop-content-width);
        margin-left: auto;
        margin-right: auto;
    }

    .divider {
        /*
         * Divider mengisi penuh area .business,
         * sehingga otomatis sama panjang dengan tombol.
         */
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

}


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

@media (max-width: 700px) {

    .page {
        width: calc(100% - 28px);

        padding-top: 28px;
        padding-bottom: 24px;
    }


    .social-icons {
        gap: 24px;

        margin-top: 18px;
        margin-bottom: 28px;
    }


    .link-button {
        min-height: 68px;
    }

}


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

@media (max-width: 520px) {
    .page {
        width: calc(100% - 20px);
        min-height: 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: max(16px, env(safe-area-inset-top));
        padding-bottom: max(16px, env(safe-area-inset-bottom));
    }

    .logo {
        width: 90px;
        height: 90px;
        margin: 0 auto 15px;
    }

    h1 {
        font-size: 27px;
        margin-bottom: 5px;
    }

    .tagline {
        font-size: 17px;
    }

    .social-icons {
        gap: 20px;
        margin-top: 18px;
        margin-bottom: 30px;
    }

    .social-icon {
        width: 30px;
        height: 30px;
        font-size: 29px;
    }

    .link-buttons {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        gap: 12px;
    }

    .link-button {
        width: 100%;
        min-height: 65px;
        padding: 14px 30px;
    }

    .link-text {
        font-size: 20px;
    }

    .business {
        margin-top: 35px;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .divider {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 15px;
    }

    .business-title {
        margin-bottom: 6px;
        font-size: 13px;
    }

    .email {
        font-size: 14px;
    }

    footer {
        margin-top: 18px;
        font-size: 11px;
    }
}

/* ==================================================
   MOBILE VERTICAL CENTERING
   844px and above = centered.
   843px and below = top-aligned / scrollable.
   ================================================== */

@media (max-width: 520px) and (min-height: 844px) {
    .page {
        height: 100vh;
        min-height: 0;
        justify-content: center;
    }
}

/* Mobile <=843px: keep natural content height so the page can scroll. */
@media (max-width: 520px) and (max-height: 843px) {
    .page {
        height: auto;
        min-height: 0;
        justify-content: flex-start;
    }
}


/* ==================================================
   FINAL CLICKABLE HOVER COLOR
   --------------------------------------------------
   Only the visible clickable text/icon changes on hover.
   Brand electric blue is #00C8FF.
   ================================================== */

.social-icon:hover,
.social-icon:hover > i,
.link-button:hover,
.link-button:hover > .link-text,
.email:hover {
    color: #00C8FF !important;
}
