body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: url("/assets/images/bg/bac22.gif") center fixed;

}

.web {
    position: relative;
    z-index: 1;
}

.web {
    width: 800px;
    max-width: 100%;
    margin: 20px auto;
    background: #14172A;
    border: 2px solid #9D00FF;
    box-sizing: border-box;
}

.atas {
    background: #000;
    color: #00FFC6;
    padding: 10px 0;
    text-align: center;
}

.menu {
    background: #1A1E33; 
    padding: 12px 0;
    text-align: center;
}

.menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-flex;
    gap: 25px;
}

.menu li a {
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    color: #00E5FF; /* WARNA BERANDA */
    display: flex;
    align-items: center;
    gap: 6px;
    transition: 0.3s;
}

.menu li img {
    height: 20px;
    width: auto;
    display: block;
}

.menu li a:hover{
    color: #ff00ff;
}

.menu ul li a.active {
    color: #ff00ff;
    text-shadow: 0 0 3px #ff00ff;
}

.guestbook-box {
    padding: 20px;
    box-sizing: border-box;
}

#messageForm {
    width: 100%;
    max-width: 500px; 
    margin: 0 auto;
    margin-top: 10px;
    background: rgba(0, 0, 0, 0.35);
    border: 2px solid #9D00FF;
    padding: 15px;
    border-radius: 6px;
    box-shadow: none;
}

#messageForm label {
    display: block;
    margin: 10px 0 5px;
    color: #dca4ff;
}


#messageForm input,
#messageForm textarea {
    width: 100%;
    padding: 10px;
    background: #0d0f1c;
    color: #dca4ff;
    border: 1px solid #9D00FF;
    border-radius: 4px;
    box-sizing: border-box;
    box-shadow: none;
}

#messageForm textarea {
    height: 120px;
    resize: vertical;
}

#note{
    color: #fff;
    font-size: 12px;
}

#messageForm button {
    width: 100%;
    padding: 10px;
    font-size: 18px;
    background: #9D00FF;
    font-weight: bold;
    border: none;
    color: #000;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
    box-shadow: none;
}

#messageForm button:hover {
    background: #b300ff;
}

#output {
    max-height: 300px; 
    overflow-y: auto; 
    margin-bottom: 15px; 
    padding-right: 5px;
    box-sizing: border-box;
}


#output .bubble {
    background: #14172A;
    border: 2px dotted #9D00FF;
    padding: 10px;
    margin-bottom: 12px;
    border-radius: 15px;
    box-sizing: border-box;
    display: flex;
    gap: 6px;
    align-items: flex-start;
    flex-wrap: wrap;

}

#output .bubble strong {
    color: #BD7DFF;
    margin-right: 5px;
}

#output .bubble .nama {
    color: #dca4ff;
    font-weight: bold;
}

#output .bubble .pesan{
    color: #dca4ff;
}

#output .bubble p {
    margin: 0;
    padding: 0;
    display: inline;
}

.bubble .waktu {
    display: block;
    font-size: 11px;
    color: #aaa;
    margin-top: 4px;
}

.captcha-box {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
    font-family: 'Courier New', monospace;
}

#captcha-text {
    padding: 8px 14px;
    font-size: 18px;
    letter-spacing: 3px;
    background: none;
    border: 1px solid #BD7DFF;
    color: #BD7DFF;
    border-radius: 4px;
    text-shadow: none;
}

#refresh-captcha {
    width: auto !important;
    padding: 5px;
    cursor: pointer;
    background: none;
    color: #BD7DFF;
    border: 1px solid #BD7DFF;
    border-radius: 4px;
    display: inline-block;
    font-size: 16px;
}

#refresh-captcha:hover {
    background: #BD7DFF;
    color: #000;
}

.footer {
    background: #26013c;
    padding: 10px 0;
    margin-top: 10px;
    text-align: center;
}

.footer p{
    color: #c972ff;
    margin: auto;
    padding-top: 5px;
    font-size: 12px;
}

#neocities{
    width: 80px;
    margin-top: 10px;
}

#tombolKeAtas {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #333;
    color: white;
    border: none;
    padding: 10px 14px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 6px;
    display: none;
}

/* =========================
   RESPONSIVE GUESTBOOK
========================= */

@media (max-width: 768px) {

    /* CONTAINER */
    .web {
        width: 100%;
        margin: 0;
        border-left: none;
        border-right: none;
    }

    /* MENU */
    .menu {
        padding: 10px 0;
    }

    .menu ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .menu li a {
        font-size: 16px;
    }

    /* CONTENT */
    .guestbook-box {
        padding: 10px;
    }

    /* FORM */
    #messageForm {
        max-width: 100%;
        margin: 0;
        padding: 12px;
        border-radius: 4px;
    }

    #messageForm label {
        font-size: 14px;
    }

    #messageForm input,
    #messageForm textarea {
        font-size: 14px;
        padding: 8px;
    }

    #messageForm textarea {
        min-height: 100px;
    }

    #messageForm button {
        font-size: 16px;
        padding: 10px;
    }

    /* OUTPUT */
    #output {
        max-height: none;
        overflow: visible;
    }

    #output .bubble {
        flex-direction: column;
        gap: 4px;
        border-radius: 8px;
        word-break: break-word;
    }

    .bubble .nama,
    .bubble .pesan {
        font-size: 14px;
    }

    .bubble .waktu {
        font-size: 10px;
    }

    /* CAPTCHA */
    .captcha-box {
        flex-wrap: wrap;
        gap: 6px;
    }

    #captcha-text {
        font-size: 16px;
        padding: 6px 10px;
        letter-spacing: 2px;
    }

    #refresh-captcha {
        font-size: 14px;
        padding: 6px 8px;
    }

    /* BUTTON TO TOP */
    #tombolKeAtas {
        bottom: 15px;
        right: 15px;
        padding: 8px 10px;
        font-size: 14px;
    }

    /* GLOBAL SAFETY */
    img {
        max-width: 100%;
        height: auto;
    }

    * {
        box-sizing: border-box;
        max-width: 100%;
    }
}

