:root { --primary-color: #7c3aed; --secondary-color: #059669; --bg-color: #0a0a0a; --card-bg: #1e1e1e; --text-color: #f3f4f6; --text-muted: #9ca3af; --grid-color: rgba(124, 58, 237, 0.15); --transition: all 0.3s ease; --shadow: 0 8px 30px rgba(0, 0, 0, 0.3); --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); } * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; } html { scroll-behavior: smooth; } body { background-color: var(--bg-color); color: var(--text-color); line-height: 1.6; overflow-x: hidden; cursor: none; } body::before { content: ''; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-image: linear-gradient(to right, rgba(124, 58, 237, 0.05) 1px, transparent 1px), linear-gradient(to bottom, rgba(124, 58, 237, 0.05) 1px, transparent 1px); background-size: 30px 30px; pointer-events: none; z-index: 0.5; } a { text-decoration: none; color: inherit; } .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; } section { min-height: 70vh; padding: 50px 0; display: flex; align-items: center; } .section-title { font-size: 2.5rem; margin-bottom: 36px; position: relative; font-weight: 700; } .section-title::after { content: ''; position: absolute; bottom: -8px; left: 0; width: 60px; height: 4px; background: var(--gradient); border-radius: 2px; } .btn { display: inline-block; padding: 12px 24px; background: var(--gradient); color: white; border-radius: 8px; font-weight: 600; transition: var(--transition); border: none; cursor: none; touch-action: manipulation; } .btn:hover, .btn:focus { transform: scale(1.05); box-shadow: var(--shadow); outline: none; } .loading-screen { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--bg-color); display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 3000; opacity: 1; transition: opacity 0.5s ease; text-align: center; overflow: hidden; } .loading-screen.hidden { opacity: 0; pointer-events: none; } .typing-text { font-size: 2.5rem; font-weight: 700; color: var(--text-color); display: inline-block; } .typing-text span { opacity: 0; transform: translateY(20px) rotate(10deg); display: inline-block; animation: rotateIn 0.2s ease forwards; } @keyframes rotateIn { to { opacity: 1; transform: translateY(0) rotate(0deg); } } .progress-bar { width: 200px; height: 4px; background: var(--card-bg); border-radius: 2px; margin-top: 20px; overflow: hidden; } .progress-bar-fill { width: 0; height: 100%; background: var(--gradient); animation: progress 2s ease-in-out forwards; } @keyframes progress { from { width: 0; } to { width: 100%; } } .particle { position: absolute; width: 2px; height: 2px; background: var(--primary-color); border-radius: 50%; opacity: 0.5; pointer-events: none; animation: particleMove 2s ease-in-out infinite; } @keyframes particleMove { 0% { transform: translateY(0); opacity: 0.5; } 100% { transform: translateY(-100vh); opacity: 0; } } .cursor { position: fixed; width: 10px; height: 10px; background: var(--primary-color); border-radius: 50%; pointer-events: none; z-index: 9999; transition: width 0.2s ease, height 0.2s ease, background 0.2s ease; will-change: transform; } .cursor.hovered { width: 20px; height: 20px; background: var(--secondary-color); opacity: 0.8; } ::-webkit-scrollbar { width: 8px; } ::-webkit-scrollbar-track { background: var(--card-bg); } ::-webkit-scrollbar-thumb { background: var(--primary-color); border-radius: 4px; } ::-webkit-scrollbar-thumb:hover { background: var(--secondary-color); } header { position: fixed; top: 0; width: 100%; padding: 16px 0; background: rgba(10, 10, 10, 0.95); z-index: 1000; backdrop-filter: blur(12px); } nav { display: flex; justify-content: space-between; align-items: center; } .logo { font-size: 1.8rem; font-weight: 700; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; cursor: none; } .nav-links { display: flex; list-style: none; align-items: center; gap: 24px; } .nav-links a { font-weight: 500; position: relative; cursor: none; } .nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--gradient); transition: var(--transition); } .nav-links a:not(.active):hover::after { width: 100%; } .nav-links a.active::after { width: 100%; } .language-toggle { display: flex; gap: 8px; } .language-btn { padding: 8px 16px; border-radius: 6px; font-size: 0.9rem; background: none; border: 1px solid var(--text-muted); color: var(--text-muted); cursor: none; transition: var(--transition); touch-action: manipulation; } .language-btn.active { background: var(--gradient); color: white; border: none; } .language-btn:hover, .language-btn:focus { color: var(--text-color); border-color: var(--text-color); outline: none; } .hamburger { display: none; font-size: 1.5rem; color: var(--text-color); cursor: none; touch-action: manipulation; } #home { background: var(--bg-color); } .hero { display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; } .hero-content { flex: 1; min-width: 300px; } .hero-content h1 { font-size: 3.5rem; margin-bottom: 24px; line-height: 1.2; } .hero-content h1 span { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; } .hero-content p { font-size: 1.1rem; margin-bottom: 32px; color: var(--text-muted); max-width: 600px; } .hero-image { flex: 1; min-width: 300px; display: flex; justify-content: flex-end; } .profile-image { width: 320px; height: 320px; margin-left: 0px; border-radius: 50%; object-fit: cover; border: 5px solid var(--card-bg); box-shadow: var(--shadow); transition: var(--transition); loading: lazy; } .profile-image:hover, .profile-image:focus { transform: scale(1.03); outline: none; } #showcase { background: var(--bg-color); } .projects-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; padding: 20px 0; } .project-card { background: var(--card-bg); border-radius: 16px; overflow: hidden; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3); transition: var(--transition); position: relative; border: 1px solid rgba(124, 58, 237, 0.1); } .project-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--gradient); opacity: 0; transition: opacity 0.3s ease; } .project-card:hover, .project-card:focus-within { transform: translateY(-10px); box-shadow: 0 12px 40px rgba(124, 58, 237, 0.2); border-color: rgba(124, 58, 237, 0.3); } .project-card:hover::before, .project-card:focus-within::before { opacity: 1; } .project-image-container { position: relative; overflow: hidden; height: 200px; } .project-image { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1); } .project-card:hover .project-image, .project-card:focus-within .project-image { transform: scale(1.08); } .project-info { padding: 24px; position: relative; } .project-title { font-size: 1.5rem; margin-bottom: 12px; font-weight: 600; color: var(--text-color); position: relative; display: inline-block; } .project-title::after { content: ''; position: absolute; bottom: -6px; left: 0; width: 40px; height: 2px; background: var(--gradient); transition: width 0.3s ease; } .project-card:hover .project-title::after { width: 80px; } .project-description { color: var(--text-muted); margin-bottom: 20px; font-size: 0.95rem; line-height: 1.7; } .tech-stack { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; } .tech-item { background: rgba(124, 58, 237, 0.15); color: var(--primary-color); padding: 6px 14px; border-radius: 20px; font-size: 0.8rem; font-weight: 500; transition: all 0.3s ease; backdrop-filter: blur(5px); } .project-card:hover .tech-item { background: rgba(124, 58, 237, 0.25); transform: translateY(-2px); } .project-links { display: flex; gap: 12px; margin-top: 20px; } .project-link { padding: 8px 16px; border-radius: 6px; font-size: 0.9rem; font-weight: 500; transition: all 0.3s ease; display: flex; align-items: center; gap: 6px; } .project-link.primary { background: var(--gradient); color: white; } .project-link.secondary { background: rgba(124, 58, 237, 0.1); color: var(--primary-color); } .project-link:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2); } .project-link svg { width: 16px; height: 16px; } .project-badge { position: absolute; top: 20px; right: 20px; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(10px); padding: 6px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; color: white; z-index: 2; } #tech-stack { background: var(--bg-color); } .tech-container { max-width: 1200px; margin: 0 auto; padding: 20px; border-radius: 12px; background: var(--card-bg); box-shadow: var(--shadow); } .tech-list { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; } .tech-item { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px; border-radius: 8px; transition: var(--transition); cursor: none; text-align: center; min-width: 100px; } .tech-item:hover, .tech-item:focus { background: rgba(124, 58, 237, 0.1); transform: scale(1.1); outline: none; } .tech-item img { width: 48px; height: 48px; loading: lazy; } .tech-item span { font-size: 1rem; font-weight: 500; } .project-popup { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.95); display: none; align-items: center; justify-content: center; z-index: 2000; opacity: 0; transition: opacity 0.3s ease; } .project-popup.active { display: flex; opacity: 1; } .popup-content { background: var(--card-bg); border-radius: 12px; max-width: 800px; width: 90%; max-height: 90vh; overflow-y: auto; position: relative; animation: popupAnim 0.4s ease-out; } .popup-close { position: absolute; top: 16px; right: 16px; font-size: 1.8rem; cursor: none; color: var(--text-muted); background: none; border: none; z-index: 10; transition: transform 0.2s ease, color 0.3s ease; } .popup-close:hover, .popup-close:focus { color: var(--text-color); transform: scale(1.2); outline: none; } .popup-image { width: 100%; max-height: 400px; object-fit: cover; border-radius: 12px 12px 0 0; loading: lazy; } .popup-info { padding: 24px; } .popup-title { font-size: 1.8rem; margin-bottom: 16px; } .popup-description { color: var(--text-muted); margin-bottom: 24px; } @keyframes popupAnim { from { transform: scale(0.7); opacity: 0; } to { transform: scale(1); opacity: 1; } } #contact { background: var(--bg-color); margin-top: 60px; min-height: 80vh; padding: 60px 0; } .contact-container { max-width: 600px; margin: 0 auto; text-align: center; } .contact-info { display: flex; flex-direction: column; gap: 36px; margin-top: 48px; } .contact-item { position: relative; display: flex; align-items: center; gap: 12px; padding: 20px; background: var(--card-bg); border-radius: 12px; box-shadow: 0 8px 30px rgba(0,0,0,.3); border: 1px solid rgba(124, 58, 237, 0.12); transition: transform .35s cubic-bezier(.25,.1,.25,1), box-shadow .35s, border-color .35s; } .contact-item { display: flex; align-items: center; gap: 12px; padding: 20px; background: var(--card-bg); border-radius: 12px; box-shadow: 0 8px 30px rgba(0,0,0,.3); border: 1px solid rgba(124, 58, 237, 0.12); position: relative; transition: var(--transition); cursor: none; touch-action: manipulation; } .contact-item::before{ content:''; position:absolute; top:0; left:0; right:0; height:4px; background:var(--gradient); transform-origin:left center; transform:scaleX(0); transition:transform .35s cubic-bezier(.25,.1,.25,1); border-top-left-radius:12px; border-top-right-radius:12px; } .contact-item:hover, .contact-item:focus-within{ transform:translateY(-10px); box-shadow:0 12px 40px rgba(124,58,237,.25); border-color:rgba(124,58,237,.35); } .contact-item:hover::before, .contact-item:focus-within::before{ transform:scaleX(1); } .contact-item .copied { margin-left: 12px; background: rgba(0, 0, 0, 0.3); padding: 4px 8px; border-radius: 12px; font-size: 0.8rem; opacity: 0; transition: var(--transition); } footer { background: #000; color: var(--text-muted); text-align: center; padding: 24px 0; } .social-links { display: flex; justify-content: center; gap: 20px; margin-bottom: 20px; } .social-link { width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); display: flex; align-items: center; justify-content: center; transition: var(--transition); cursor: none; touch-action: manipulation; } .social-link:hover, .social-link:focus { background: var(--primary-color); transform: translateY(-4px); outline: none; } .time-display { position: fixed; bottom: 24px; left: 24px; padding: 8px 16px; background: var(--card-bg); border-radius: 8px; font-size: 0.9rem; color: var(--text-muted); box-shadow: var(--shadow); } .animate-on-scroll { opacity: 0; transform: translateY(40px); transition: opacity .6s cubic-bezier(.25,.1,.25,1), transform .6s cubic-bezier(.25,.1,.25,1); will-change: opacity, transform; } .animate-on-scroll.visible { opacity: 1; transform: translateY(0); } .project-card.animate-on-scroll { opacity: 0; transform: translateY(40px); transition: opacity .6s cubic-bezier(.25,.1,.25,1), transform .6s cubic-bezier(.25,.1,.25,1); } .project-card.animate-on-scroll.visible { opacity: 1; transform: translateY(0); } #particles-js { position: fixed; width: 100%; height: 100%; top: 0; left: 0; z-index: -1; background-color: transparent; } @media (max-width: 768px) { .hero { flex-direction: column; text-align: center; gap: 32px; } .hero-content h1 { font-size: 2.5rem; } .profile-image { width: 240px; height: 240px; } .hamburger { display: block; } .nav-links { position: fixed; top: 0; right: -100%; width: 80%; height: 100vh; background: var(--card-bg); flex-direction: column; justify-content: center; align-items: center; transition: right 0.3s ease; gap: 20px; } .nav-links.active { right: 0; } .nav-links li { margin: 20px 0; } .tech-list { gap: 20px; } .tech-item { min-width: 80px; } .section-title { font-size: 2rem; } .projects-container { grid-template-columns: 1fr; } .tech-container { padding: 20px; } .popup-content { width: 95%; } .cursor { display: none; } body { cursor: default; } } @media (min-width: 769px) { .projects-container { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); } }