* { margin: 0; padding: 0; box-sizing: border-box; }
:root { --primary-color: #667eea; --text-primary: #2d3748; --text-secondary: #718096; --bg-color: #f7fafc; --card-bg: #ffffff; --shadow: 0 2px 4px rgba(0, 0, 0, 0.05); --shadow-hover: 0 4px 8px rgba(0, 0, 0, 0.1); --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; background: var(--bg-color); color: var(--text-primary); line-height: 1.6; min-height: 100vh; padding: 20px; }
.container { max-width: 680px; margin: 0 auto; padding: 40px 20px; }
header { text-align: center; margin-bottom: 40px; animation: fadeInDown 0.6s ease; }
.profile-section { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.avatar { width: 120px; height: 120px; border-radius: 50%; background: var(--primary-color); display: flex; align-items: center; justify-content: center; font-size: 48px; font-weight: bold; color: white; box-shadow: var(--shadow); animation: scaleIn 0.5s ease; }
h1 { font-size: 2rem; font-weight: 700; color: var(--text-primary); margin: 10px 0; }
.subtitle { color: var(--text-secondary); font-size: 1rem; margin-bottom: 20px; }
.search-container { background: var(--card-bg); padding: 20px; border-radius: 16px; box-shadow: var(--shadow); margin-bottom: 30px; animation: fadeIn 0.6s ease 0.2s backwards; }
.gcse-search { width: 100%; }
.nav-links { display: flex; justify-content: center; gap: 20px; margin-top: 20px; }
.nav-link { color: var(--primary-color); text-decoration: none; font-weight: 600; }
.links-grid { display: grid; gap: 16px; animation: fadeIn 0.6s ease 0.4s backwards; }
.link-card { background: var(--card-bg); border-radius: 16px; padding: 20px; text-decoration: none; display: flex; align-items: center; gap: 16px; box-shadow: var(--shadow); transition: var(--transition); border: 2px solid transparent; position: relative; overflow: hidden; color: var(--text-primary); }
.link-card::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent); transition: left 0.5s; }
.link-card:hover::before { left: 100%; }
.link-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--primary-color); }
.link-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; } 
.link-icon svg { width: 100%; height: 100%; fill: currentColor; }
.link-content { flex: 1; }
.link-title { font-weight: 600; font-size: 1.1rem; margin-bottom: 4px; }
.link-description { font-size: 0.875rem; color: var(--text-secondary); }
.link-date { font-size: 0.75rem; color: var(--text-secondary); margin-top: 4px; }
.website { color: #667eea; }
.github { color: #333; }
.youtube { color: #FF0000; }
.facebook { color: #1877F2; }
.pinterest { color: #E60023; }
.linkedin { color: #0A66C2; }
.instagram { color: #E4405F; }
.soundcloud { color: #FF5500; }
footer { text-align: center; margin-top: 50px; padding-top: 30px; color: var(--text-secondary); font-size: 0.875rem; border-top: 1px solid #e2e8f0; }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: scale(1); } }
@media (max-width: 640px) { .container { padding: 20px 15px; } h1 { font-size: 1.75rem; } .avatar { width: 100px; height: 100px; font-size: 40px; } .link-card { padding: 16px; } .link-icon { width: 40px; height: 40px; } .link-title { font-size: 1rem; } } /* Jika pakai versi CSS2 untuk .link-icon, tambah: .link-icon { font-size: 20px; } */
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }