/* Reset Dasar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

html, body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    background-color: #121212;
    color: #fff;
    position: relative;
    padding-bottom: 60px;
}

/* Dekorasi Latar Belakang */
.bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(100, 43, 115, 0.2) 0%, transparent 40%),
                radial-gradient(circle at 80% 70%, rgba(30, 144, 255, 0.2) 0%, transparent 40%);
    z-index: 0;
}

/* Container Utama */
.container {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 20px 15px;
}

/* Bagian Header Profil */
.profile-header {
    text-align: center;
    margin: 20px 0 30px 0;
}

.profile-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(45deg, #6200ea, #03a9f4);
    margin: 0 auto 15px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 0 20px rgba(98, 0, 234, 0.5);
}

/* Tambahan agar foto pas di lingkaran */
.profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Agar foto tidak gepeng */
    border-radius: 50%; /* Agar foto tetap bulat */
}

.profile-name {
    font-size: 1.8rem;
    margin-bottom: 5px;
    background: linear-gradient(90deg, #6200ea, #03a9f4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.profile-title {
    font-size: 0.95rem;
    color: #aaa;
    margin-bottom: 10px;
}

.profile-desc {
    font-size: 0.85rem;
    color: #ccc;
    max-width: 80%;
    margin: 0 auto;
    line-height: 1.5;
}

/* Bagian Link Utama */
.links-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.link-item {
    display: flex;
    align-items: center;
    background-color: #1e1e1e;
    padding: 15px 20px;
    border-radius: 12px;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transition: all 0.4s ease;
    opacity: 0;
    position: relative;
}

/* Animasi Slide Masuk */
.slide-left {
    transform: translateX(-50px);
}

.slide-right {
    transform: translateX(50px);
}

.link-item.active {
    opacity: 1;
    transform: translateX(0);
}

/* Efek Hover pada Link */
.link-item.ig:hover {
    box-shadow: 0 0 20px rgba(225,48,108,.45);
}

.link-item.tt:hover {
    box-shadow: 0 0 20px rgba(0,242,234,.45);
}

.link-item.yt:hover {
    box-shadow: 0 0 20px rgba(255,0,0,.45);
}

.link-item.web:hover {
    box-shadow: 0 0 20px rgba(3,169,244,.45);
}

.link-item.contact:hover {
    box-shadow: 0 0 20px rgba(76,175,80,.45);
}

/* Wrapper Ikon dengan Efek Glow */
.icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-right: 15px;
    position: relative;
}

/* Efek Glow di Sekitar Ikon */
.icon-wrapper::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    z-index: -1;
    filter: blur(10px);
    opacity: 0.7;
}

.glow-purple { background-color: #6200ea; }
.glow-purple::after { background-color: #6200ea; }

.glow-pink { background-color: #ec4899; }
.glow-pink::after { background-color: #ec4899; }

.glow-red { background-color: #f44336; }
.glow-red::after { background-color: #f44336; }

.glow-blue { background-color: #03a9f4; }
.glow-blue::after { background-color: #03a9f4; }

.glow-green { background-color: #4caf50; }
.glow-green::after { background-color: #4caf50; }

/* Teks pada Link */
.link-text {
    flex-grow: 1;
}

.link-text h3 {
    font-size: 1.05rem;
    margin-bottom: 3px;
}

.link-text p {
    font-size: 0.8rem;
    color: #aaa;
}

/* Ikon Panah */
.arrow-icon {
    font-size: 0.9rem;
    color: #aaa;
    transition: all 0.4s ease;
}

.link-item:hover .arrow-icon {
    color: #fff;
    transform: translateX(5px);
}

/* Footer */
.footer-section {
    text-align: center;
    margin-top: 30px;
    padding: 10px 0;
}

.footer-section p {
    font-size: 0.8rem;
    color: #aaa;
    margin-bottom: 8px;
}

.social-icons {
    font-size: 0.9rem;
    letter-spacing: 10px;
    color: #6200ea;
}


/* Responsif Mobile Kecil */
@media screen and (max-width: 400px) {
    .profile-name {
        font-size: 1.5rem;
    }

    .link-item {
        padding: 12px 15px;
    }

    .icon-wrapper {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        margin-right: 12px;
    }

    .link-text h3 {
        font-size: 1rem;
    }
}
