/* CSS Variables & Design Tokens */ :root { --primary-color: #6366f1; --accent-color: #a855f7; --bg-dark: #0f172a; --card-bg: rgba(30, 41, 59, 0.7); --text-primary: #f8fafc; --text-secondary: #94a3b8; --glass-border: rgba(255, 255, 255, 0.1); --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); } /* Base Reset */ * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Inter', sans-serif; background-color: var(--bg-dark); color: var(--text-primary); line-height: 1.5; overflow-x: hidden; min-height: 100vh; display: flex; justify-content: center; align-items: flex-start; padding: 2rem 1rem; } /* Background Blobs */ .background-blobs { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; overflow: hidden; } .blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.4; animation: blob-float 20s infinite alternate; } .blob-1 { width: 400px; height: 400px; background: var(--primary-color); top: -100px; left: -100px; } .blob-2 { width: 300px; height: 300px; background: var(--accent-color); bottom: -50px; right: -50px; animation-delay: -5s; } .blob-3 { width: 250px; height: 250px; background: #ec4899; top: 40%; left: 60%; animation-delay: -10s; } @keyframes blob-float { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(50px, 50px) scale(1.1); } } /* Container */ .container { width: 100%; max-width: 580px; text-align: center; position: relative; z-index: 1; } /* Profile Section */ .profile { margin-bottom: 3rem; } .avatar-container { position: relative; width: 120px; height: 120px; margin: 0 auto 1.5rem; } .avatar { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 4px solid var(--glass-border); position: relative; z-index: 2; } .avatar-ring { position: absolute; top: -8px; left: -8px; right: -8px; bottom: -8px; border-radius: 50%; background: linear-gradient(45deg, var(--primary-color), var(--accent-color)); opacity: 0.5; z-index: 1; animation: ring-pulse 3s infinite; } @keyframes ring-pulse { 0% { transform: scale(1); opacity: 0.5; } 50% { transform: scale(1.05); opacity: 0.2; } 100% { transform: scale(1); opacity: 0.5; } } .name { font-family: 'Outfit', sans-serif; font-size: 2.2rem; font-weight: 800; margin-bottom: 0.5rem; letter-spacing: -0.02em; } .bio { color: var(--text-secondary); font-size: 1.05rem; line-height: 1.75; max-width: 92%; margin: 0 auto; white-space: pre-line; word-break: break-word; } .bio a { color: #818cf8; text-decoration: underline; text-decoration-color: rgba(129, 140, 248, 0.45); text-underline-offset: 4px; font-weight: 500; transition: var(--transition); display: inline-block; } .bio a:hover { color: #c084fc; text-decoration-color: #c084fc; text-shadow: 0 0 10px rgba(168, 85, 247, 0.35); } /* Links Section */ .links-container { display: flex; flex-direction: column; gap: 1.1rem; margin-bottom: 3rem; } .link-card { position: relative; display: flex; align-items: center; background: var(--card-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--glass-border); border-radius: 1.2rem; padding: 1.1rem 1.3rem; text-decoration: none; color: inherit; transition: var(--transition); text-align: left; overflow: hidden; } .link-card::before { content: ''; position: absolute; inset: 0; border-radius: 1.2rem; background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 60%); pointer-events: none; transition: var(--transition); } .link-card:hover { transform: translateY(-3px); background: rgba(30, 41, 59, 0.85); border-color: rgba(99, 102, 241, 0.4); box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.6), 0 0 20px -4px rgba(99, 102, 241, 0.25); } .link-card:hover::before { background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(168, 85, 247, 0.08) 60%); } .link-card:active { transform: translateY(-1px); } .link-icon { width: 48px; height: 48px; background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(168, 85, 247, 0.08)); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 0.85rem; display: flex; justify-content: center; align-items: center; font-size: 1.4rem; margin-right: 1.2rem; color: #818cf8; transition: var(--transition); flex-shrink: 0; } .link-card:hover .link-icon { background: linear-gradient(135deg, var(--primary-color), var(--accent-color)); color: #ffffff; border-color: transparent; box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4); transform: scale(1.05); } .link-content { flex: 1; min-width: 0; } .link-title { display: block; font-weight: 600; font-size: 1.08rem; margin-bottom: 0.25rem; color: var(--text-primary); transition: color 0.2s ease; word-break: break-word; } .link-card:hover .link-title { color: #ffffff; } .link-desc { display: block; font-size: 0.88rem; color: var(--text-secondary); line-height: 1.45; word-break: break-word; } .link-arrow { color: var(--text-secondary); opacity: 0.4; transition: var(--transition); flex-shrink: 0; margin-left: 0.8rem; font-size: 0.95rem; } .link-card:hover .link-arrow { transform: translateX(4px); opacity: 1; color: #818cf8; } /* Footer Section */ .footer { padding-bottom: 2rem; } .social-icons { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; margin-bottom: 1.5rem; } .social-icons a { color: var(--text-secondary); font-size: 1.8rem; transition: var(--transition); } .social-icons a:hover { color: var(--primary-color); transform: scale(1.2); } .copyright { color: var(--text-secondary); font-size: 0.85rem; opacity: 0.6; } /* Animations */ .animate-fade-in { opacity: 0; animation: fade-in 1s forwards; } .animate-slide-up { opacity: 0; transform: translateY(20px); animation: slide-up 0.8s forwards; } @keyframes fade-in { to { opacity: 1; } } @keyframes slide-up { to { opacity: 1; transform: translateY(0); } } /* Responsive Adjustments */ @media (max-width: 480px) { body { padding: 1.5rem 0.8rem; } .name { font-size: 1.8rem; } .bio { font-size: 0.95rem; line-height: 1.65; max-width: 96%; } .link-card { padding: 1rem 1.1rem; } .link-icon { width: 42px; height: 42px; font-size: 1.2rem; margin-right: 0.9rem; } .link-title { font-size: 1rem; } .link-desc { font-size: 0.82rem; } .social-icons { gap: 1.2rem; } }