/* style.css - CSS untuk Tampilan Linktree Cerah & Animatif */

/* Variabel CSS untuk kemudahan perubahan warna */
:root {
    --primary-color: #0077ff; /* Biru Utama */
    --secondary-color: #4CAF50; /* Hijau Aksen */
    --background-light: #f4f6f9; /* Latar Belakang Sangat Cerah */
    --text-dark: #2c3e50; /* Teks Gelap */
    --card-bg: #ffffff; /* Latar Belakang Kartu Putih */
    --gradient-start: #4FC3F7; /* Biru Muda Awal Gradasi (Light Blue) */
    --gradient-end: #0D47A1; /* Biru Tua Akhir Gradasi (Dark Blue) */
}

/* RESET DAN FONT (Menggunakan Roboto yang Bold dan Modern) */
body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--background-light);
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding: 40px 15px;
    margin: 0;
    box-sizing: border-box;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 500px;
    padding: 20px;
    text-align: center;
}

/* HEADER */
.profile-header {
    margin-bottom: 40px;
    padding: 10px 0;
}

.profile-header h1 {
    color: var(--primary-color);
    font-weight: 900;
    font-size: 30px;
    margin-top: 5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* KATEGORI */
.category-title {
    color: #7f8c8d;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 35px 0 15px;
    position: relative;
}

/* GAYA TOMBOL UTAMA (Pill-shaped, Gradasi, Animasi Kuat) */
.button-link {
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Gradasi Biru Muda Cerah */
    background: linear-gradient(90deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    
    color: white;
    padding: 18px 25px; 
    margin: 15px 0;
    text-decoration: none;
    border-radius: 50px; /* Bentuk Kapsul */
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); /* Kurva transisi smooth */
    font-weight: 700;
    font-size: 17px;
    box-shadow: 0 5px 15px rgba(0, 119, 255, 0.4); /* Bayangan Biru */
    border: none;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

/* Efek Pseudo-element untuk animasi SHINE/RIPPLE */
.button-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.15); /* Cahaya Putih */
    transition: transform 0.6s ease;
    transform: scale(0);
    border-radius: 50px;
    z-index: 2;
}

/* EFEK INTERAKTIF TOMBOL (HOVER) */
.button-link:hover {
    transform: translateY(-5px) scale(1.03); /* Naik dan membesar secara dramatis */
    box-shadow: 0 10px 30px rgba(0, 119, 255, 0.6); /* Bayangan membesar dan lebih kuat */
    /* Gradasi sedikit berubah saat hover untuk efek kedalaman */
    background: linear-gradient(90deg, #64B5F6 0%, #1976D2 100%);
}

/* Efek SHINE (Cahaya Kilat) saat hover */
.button-link:hover::after {
    transform: scale(1.5);
    opacity: 0; /* Menghilangkan setelah animasi scale */
}

/* EFEK KLIK (ACTIVE) */
.button-link:active {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 5px 15px rgba(0, 119, 255, 0.4);
}

/* Ikon di dalam tombol */
.button-link i {
    margin-right: 12px;
    font-size: 20px;
    color: white;
}

/* PEMISAH */
.separator {
    border: 0;
    height: 1px;
    background: #bdc3c7;
    margin: 40px auto;
    width: 70%;
}

/* IKON SOSIAL MEDIA */
.social-icons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 25px;
}

.social-icons a {
    color: var(--text-dark);
    font-size: 32px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    color: var(--primary-color);
    transform: scale(1.3) rotate(5deg); /* Animasi rotasi dan membesar */
}

/* FOOTER */
.footer {
    color: #7f8c8d;
    font-size: 13px;
    margin-top: 60px;
    text-align: center;
    width: 100%;
    padding-bottom: 20px;
}

.last-updated {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.footer i {
    color: #e74c3c;
    margin: 0 3px;
}