/* Reset Dasar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #09090b;
}
::-webkit-scrollbar-thumb {
    background: rgba(235, 235, 235, 0.2);
    border-radius: 10px;
}

body {
    background-image: linear-gradient(to bottom, #09090b, #111118) ;
    background-color: #ebebeb;
    color: #ebebeb;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 60px 20px;
    overflow-x: hidden;
    position: relative;
}

/* Spotlight Background Canvas */
.spotlight {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: radial-gradient(circle 160px at var(--x, 50%) var(--y, 50%), rgba(235, 235, 235, 0.03) 0%, transparent 100%);
    z-index: 1;
}

.container {
    width: 100%;
    max-width: 480px;
    position: relative;
    z-index: 2;
}

/* Share Button Style dengan Animasi Transisi Scroll Up/Down */
.share-btn {
    position: fixed;
    top: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ebebeb;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10;
    transform: translateY(0);
    opacity: 1;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
}
.share-btn.hide {
    transform: translateY(-80px);
    opacity: 0;
}
.share-btn:hover {
    background: #ebebeb;
    color: #09090b;
}

/* FITUR: Style Tombol Scroll ke Atas (Back to Top) */
.scroll-top-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ebebeb;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10;
    
    /* Disembunyikan dulu secara default */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.scroll-top-btn:hover {
    background: #ebebeb;
    color: #09090b;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    background: #ebebeb;
    color: #09090b;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 100;
}
.toast.show { bottom: 40px; }

/* 1. Profil Section */
.profile-section {
    text-align: center;
    margin-bottom: 10px;
}

.avatar-container {
    position: relative;
    width: 115px;
    height: 115px;
    margin: 0 auto 20px auto;
}

.profile-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(235, 235, 235, 0.2);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.05);
}

h1 {
    font-size: 1.55rem;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.quotes {
    font-style: italic;
    color: #a1a1aa;
    font-size: 0.95rem;
    min-height: 22px;
}

.cursor {
    color: #ebebeb;
    animation: blink 0.7s infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.location {
    font-size: 0.85rem;
    color: #71717a;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
}

.divider {
    height: 1px;
    width: 100%;
    background: linear-gradient(to right, transparent, rgba(235, 235, 235, 0.1), transparent);
    margin: 24px 0;
}

/* 2. About Card & Slideshow */
.about-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 32px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.about-card h2 { font-size: 1.15rem; margin-bottom: 14px; }
.about-card p { font-size: 0.95rem; color: #a1a1aa; line-height: 1.6; margin-bottom: 14px; }
.about-card p:last-of-type { margin-bottom: 0; }

/* Slideshow Area */
.portfolio-slideshow {
    width: 100%;
    height: 210px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    margin-top: 18px;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.08);
    user-select: none;
    -webkit-user-select: none;
}

.portfolio-slideshow img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: opacity 0.25s ease-in-out;
}

.portfolio-slideshow img.fade-out {
    opacity: 0;
}

/* FITUR: Animasi Love Popup Pop-up Ala Instagram */
.heart-popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    color: #ebebeb;
    font-size: 4rem;
    opacity: 0;
    pointer-events: none;
    z-index: 5;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
}

.heart-popup.animate {
    animation: heartBlast 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes heartBlast {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
    30% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.9; }
    50% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    80% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(0.8) translateY(-40px); opacity: 0; }
}

.slide-hint {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #a1a1aa;
    font-size: 0.75rem;
    padding: 12px;
    text-align: center;
    z-index: 4;
}

.section-title {
    font-size: 0.8rem;
    color: #71717a;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
    font-weight: 700;
}

/* 3. Links Style */
.links-wrapper {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 36px;
}

.link-card {
    background: rgba(255, 255, 255, 0.02);
    color: #ebebeb;
    text-decoration: none;
    padding: 16px 20px;
    border-radius: 14px;
    font-weight: 500;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.link-content { display: flex; align-items: center; pointer-events: none; }
.link-card i { font-size: 1.25rem; margin-right: 16px; width: 24px; text-align: center; color: #a1a1aa; }
.arrow-icon { font-size: 0.8rem; color: #52525b; }

.link-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: #ebebeb;
    color: #09090b;
}
.link-card:hover i, .link-card:hover .arrow-icon { color: #09090b !important; }

/* Click Ripple Effect */
.ripple {
    position: absolute;
    background: rgba(235, 235, 235, 0.4);
    border-radius: 50%;
    transform: scale(0);
    animation: ripple-animation 0.4s linear;
    pointer-events: none;
}
@keyframes ripple-animation { to { transform: scale(4); opacity: 0; } }

/* 4. Contact Box */
.contact-box {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 28px 24px;
    text-align: center;
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.contact-box h3 { font-size: 1.25rem; margin-bottom: 12px; }
.contact-box p { font-size: 0.9rem; color: #a1a1aa; margin-bottom: 24px; line-height: 1.6; }

.btn-contact {
    background: #ebebeb;
    color: #09090b;
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

footer { text-align: center; font-size: 0.75rem; color: #52525b; }