/* ============================================================ */
/* File: css/style.css (VERSI FINAL & PROFESIONAL) */
/* ============================================================ */

/* Pengaturan Umum untuk Body dan Container */
body {
    /* Aturan background sudah diatur secara dinamis di base.njk */
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 24px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased; /* Membuat font lebih halus */
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Header, Foto Profil, Judul, dan Tagline */
.header {
    text-align: center;
    width: 100%;
    margin-bottom: 40px;
}

/* CSS untuk Pencarian */
.search-container {
    width: 100%;
    margin-top: 15px;
    margin-bottom: -20px; /* Tarik link utama sedikit ke atas */
}

#search-input {
    width: 100%;
    padding: 12px 15px;
    border-radius: 25px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background-color: rgba(0, 0, 0, 0.2);
    color: white;
    font-size: 1em;
    box-sizing: border-box; /* Penting agar padding tidak menambah lebar */
}

#search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

#search-results-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.no-results {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

.profile-picture {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.username {
    font-size: 1.2em;
    font-weight: 600;
    margin: 0;
}

.logo-text {
    font-size: 2.2em;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.tagline {
    font-size: 1em;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 8px;
    margin-bottom: 0;
}

/* Tombol-Tombol Tautan Utama */
.links-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px; /* Jarak antar tombol */
}

.link-button {
    background-color: rgba(255, 255, 255, 0.95);
    color: #212121;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 12px;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.link-button:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.link-icon {
    width: 30px;
    height: 30px;
    margin-right: 20px;
    flex-shrink: 0; /* Mencegah ikon menyusut */
}

.link-text {
    flex-grow: 1;
    text-align: center;
    margin: 0 15px;
}

/* Footer dan Ikon Media Sosial */
.social-footer {
    margin-top: 40px;
    display: flex;
    gap: 25px;
}

.social-footer a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.8em;
    transition: color 0.2s, transform 0.2s;
}

.social-footer a:hover {
    color: white;
    transform: scale(1.1);
}
