@import url(inter-font-face.css); @import url(Vazirmatn-font-face.css); .header, body { display: flex; align-items: center } .header, .profile { gap: var(--space-4) } .card, .contact-method:hover, .name { color: var(--text-primary) } .contact-method span, .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap } .contact-method, .lang-switch { cursor: pointer; text-decoration: none } .copy-feedback, .copyright, .name, .status { white-space: nowrap } *, ::after, ::before { margin: 0; padding: 0; box-sizing: border-box } :root { --bg-primary: #0c1117; --bg-secondary: #141b24; --bg-tertiary: #1e2a35; --accent: #00c48c; --accent-soft: rgba(0, 196, 140, 0.12); --accent-glow: rgba(0, 196, 140, 0.2); --text-primary: #ffffff; --text-secondary: #d1d9e6; --text-tertiary: #8f9fb2; --text-muted: #637181; --border: #2a3743; --border-light: #354452; --text-3xs: clamp(0.625rem, 1.5vw, 0.6875rem); --text-2xs: clamp(0.6875rem, 2vw, 0.75rem); --text-xs: clamp(0.75rem, 2.5vw, 0.8125rem); --text-sm: clamp(0.8125rem, 3vw, 0.875rem); --text-base: clamp(0.875rem, 3.5vw, 0.9375rem); --text-md: clamp(0.9375rem, 4vw, 1rem); --text-lg: clamp(1rem, 4.5vw, 1.125rem); --text-xl: clamp(1.125rem, 5vw, 1.25rem); --text-2xl: clamp(1.25rem, 6vw, 1.5rem); --text-3xl: clamp(1.5rem, 7vw, 2rem); --space-1: clamp(0.25rem, 1vw, 0.375rem); --space-2: clamp(0.375rem, 1.5vw, 0.5rem); --space-3: clamp(0.5rem, 2vw, 0.75rem); --space-4: clamp(0.75rem, 3vw, 1rem); --space-5: clamp(1rem, 4vw, 1.25rem); --space-6: clamp(1.25rem, 5vw, 1.5rem); --space-8: clamp(1.5rem, 6vw, 2rem); --space-10: clamp(2rem, 8vw, 2.5rem); --transition: 0.25s cubic-bezier(0.2, 0.9, 0.3, 1); --easing: cubic-bezier(0.2, 0.9, 0.3, 1); --radius-sm: clamp(0.5rem, 2vw, 0.75rem); --radius-md: clamp(0.75rem, 3vw, 1rem); --radius-lg: clamp(1rem, 4vw, 1.5rem); --radius-xl: clamp(1.5rem, 5vw, 2rem); --radius-full: 9999px } .card, .contact-method, .lang-switch, .social-link, .tech-tag { transition: var(--transition) } body { font-family: Vazirmatn, Inter, system-ui, -apple-system, sans-serif; background: var(--bg-primary); min-height: 100vh; justify-content: center; padding: var(--space-4); line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; background-image: radial-gradient(circle at 20% 30%, var(--accent-glow) 0, transparent 30%), radial-gradient(circle at 80% 70%, var(--accent-soft) 0, transparent 35%) } .container { width: 100%; max-width: min(560px, 95vw); margin: 0 auto } .card { width: 100%; background: var(--bg-secondary); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: var(--radius-xl); border: 1px solid var(--border); padding: var(--space-8); box-shadow: 0 20px 40px -15px rgba(0, 0, 0, .5), 0 0 0 1px rgba(0, 196, 140, .1) inset } .header { justify-content: space-between; margin-bottom: var(--space-6); flex-wrap: wrap } .profile, .title-wrapper { display: flex; align-items: center } .profile { min-width: 0; flex: 1 } .avatar { width: clamp(56px, 12vw, 72px); height: clamp(56px, 12vw, 72px); border-radius: var(--radius-full); background: linear-gradient(145deg, var(--bg-tertiary), var(--bg-secondary)); border: 2px solid var(--accent); position: relative; overflow: hidden; flex-shrink: 0; box-shadow: 0 0 0 4px var(--accent-soft) } .avatar svg { width: 60%; height: 60%; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: var(--accent) } .avatar img{ height: 100%; } .contact-method svg, .social-link svg { width: 18px; height: 18px } .name-section { display: flex; flex-direction: column; gap: var(--space-1); min-width: 0; flex: 1 } .name { font-size: var(--text-2xl); font-weight: 700; letter-spacing: -.02em; line-height: 1.3 } .title-wrapper { gap: var(--space-2); flex-wrap: wrap } .footer, .status { align-items: center } .title { font-size: var(--text-sm); color: var(--text-secondary); font-weight: 400 } .contact-label, .status { font-size: var(--text-2xs); font-weight: 500 } .status { display: inline-flex; gap: var(--space-1); background: var(--accent-soft); color: var(--accent); padding: var(--space-1) var(--space-3); border-radius: var(--radius-full); border: 1px solid rgba(0, 196, 140, .2) } .status::before { content: ''; width: clamp(6px, 1.5vw, 8px); height: clamp(6px, 1.5vw, 8px); background: var(--accent); border-radius: 50%; display: inline-block; box-shadow: 0 0 10px var(--accent) } .contact-section { background: var(--bg-tertiary); border-radius: var(--radius-lg); padding: var(--space-5); margin: var(--space-6) 0; border: 1px solid var(--border) } .bio p, .contact-label { margin-bottom: var(--space-3) } .contact-label { color: var(--text-tertiary); text-transform: uppercase; letter-spacing: .05em } .bio, .contact-method { font-size: var(--text-sm); color: var(--text-secondary) } .bio, .stats { margin: var(--space-6) 0 } .contact-methods { display: flex; gap: var(--space-3); flex-wrap: wrap } .contact-method { flex: 1 1 min(200px, 100%); min-width: min(180px, 100%); display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-4); background: var(--bg-secondary); border: 1px solid var(--border-light); border-radius: var(--radius-md); font-family: Inter, Vazirmatn, monospace; line-height: 1.4; position: relative; overflow: hidden } .contact-method:hover { border-color: var(--accent); background: var(--bg-tertiary); transform: translateY(-2px) scale(1.02); box-shadow: 0 8px 16px -8px rgba(0, 0, 0, .4), 0 0 0 1px var(--accent-soft) } .contact-method:active { transform: translateY(0) scale(.98) } .contact-method svg { color: var(--accent); flex-shrink: 0; transition: transform .2s var(--easing) } .contact-method:hover svg { transform: scale(1.1) } .contact-method[data-copy]::after { content: "📋"; font-size: 14px; margin-right: auto; opacity: .6; transition: var(--transition) } .contact-method[data-copy]:hover::after { opacity: 1; transform: rotate(5deg) } .bio { padding: var(--space-4) 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border) } .bio p { line-height: 1.7 } .tech-stack { display: flex; flex-wrap: wrap; gap: var(--space-2) } .footer, .stats { gap: var(--space-4) } .tech-tag { font-size: var(--text-2xs); color: var(--text-tertiary); background: var(--bg-tertiary); padding: var(--space-1) var(--space-3); border-radius: var(--radius-full); border: 1px solid var(--border-light); font-weight: 400 } .tech-tag:hover { border-color: var(--accent); color: var(--text-primary) } .stats { display: grid; grid-template-columns: repeat(3, 1fr) } .stat { text-align: center; padding: var(--space-2); background: rgba(0, 0, 0, .2); border-radius: var(--radius-md); border: 1px solid var(--border) } .stat-value { font-size: var(--text-xl); font-weight: 600; color: var(--text-primary); line-height: 1.2; font-family: Inter, sans-serif } .copyright, .lang-switch, .stat-label { font-size: var(--text-2xs) } .copyright, .social-link, .stat-label { color: var(--text-tertiary) } .stat-label { text-transform: uppercase; letter-spacing: .03em; font-weight: 400 } .footer { display: flex; justify-content: space-between; margin-top: var(--space-6); padding-top: var(--space-5); border-top: 1px solid var(--border); flex-wrap: wrap } .lang-switch:hover, .social-link:hover { border-color: var(--accent); background: var(--accent-soft) } .footer-actions, .social-link { align-items: center; display: flex } .social-links { display: flex; gap: var(--space-2) } .social-link { width: clamp(36px, 8vw, 42px); height: clamp(36px, 8vw, 42px); justify-content: center; border-radius: var(--radius-full); background: var(--bg-tertiary); border: 1px solid var(--border-light) } .social-link:hover { color: var(--accent); transform: translateY(-2px) } .footer-actions { gap: var(--space-4); flex-wrap: wrap } .lang-switch { display: flex; align-items: center; gap: var(--space-1); background: 0 0; border: 1px solid var(--border-light); border-radius: var(--radius-full); padding: var(--space-1) var(--space-3); color: var(--text-secondary); font-family: Vazirmatn, Inter, sans-serif } .lang-switch:hover { color: var(--text-primary) } .copy-feedback { position: fixed; bottom: var(--space-5); left: 50%; transform: translateX(-50%); background: var(--accent); color: var(--text-primary); padding: var(--space-2) var(--space-5); border-radius: var(--radius-full); font-size: var(--text-sm); font-weight: 500; box-shadow: 0 10px 25px -5px rgba(0, 0, 0, .5); z-index: 1000; animation: slideUp .3s var(--easing); border: 1px solid rgba(255, 255, 255, .1) } @keyframes slideUp { from { opacity: 0; transform: translate(-50%, 20px) } to { opacity: 1; transform: translate(-50%, 0) } } html[dir=ltr] .profile, html[dir=ltr] .status { flex-direction: row } html[dir=ltr] .contact-method svg { margin-left: 0; margin-right: 0 } @media (max-width:420px) { .header { flex-direction: column; align-items: flex-start } .profile { width: 100% } .name { white-space: normal; font-size: var(--text-xl) } .contact-method { min-width: 100% } .stats { grid-template-columns: 1fr; gap: var(--space-2) } .stat { display: flex; align-items: center; justify-content: space-between; padding: var(--space-3); text-align: right } .stat-value { font-size: var(--text-md) } .footer { flex-direction: column; align-items: stretch } .social-links { justify-content: center } .footer-actions { justify-content: space-between; width: 100% } } @media (min-width:421px) and (max-width:560px) { .contact-method { min-width: 100% } } @media (min-width:768px) { .container { max-width: 600px } } @media (min-width:1024px) { .container { max-width: 560px } .card:hover { border-color: var(--border-light); box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .6), 0 0 0 1px rgba(0, 196, 140, .2) inset } } @media (hover:none) and (pointer:coarse) { .contact-method:hover, .lang-switch:hover, .social-link:hover { transform: none } .contact-method:active { background: var(--bg-tertiary); border-color: var(--accent) } } @media (prefers-reduced-motion:reduce) { *, ::after, ::before { animation-duration: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0s !important } } @media (prefers-contrast:high) { :root { --accent: #00e6a0; --border: #ffffff; --text-secondary: #ffffff } }