File size: 12,802 Bytes
6fd4121 43ed820 6fd4121 27f041b 43ed820 6fd4121 43ed820 27f041b 6fd4121 27f041b 6fd4121 43ed820 27f041b 6fd4121 27f041b 6fd4121 43ed820 6fd4121 43ed820 6fd4121 43ed820 6fd4121 43ed820 6fd4121 43ed820 6fd4121 43ed820 6fd4121 43ed820 6fd4121 43ed820 6fd4121 43ed820 6fd4121 43ed820 6fd4121 43ed820 6fd4121 43ed820 6fd4121 43ed820 6fd4121 43ed820 6fd4121 43ed820 6fd4121 43ed820 6fd4121 43ed820 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 |
/* ===== RESET & BASE ===== */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font-family:'Outfit',system-ui,sans-serif;min-height:100vh;overflow-x:hidden;line-height:1.6;transition:background .4s,color .4s}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
button{border:none;background:none;cursor:pointer;color:inherit;font:inherit}
.mono{font-family:'JetBrains Mono',monospace}
/* ===== THEME: DARK (default) ===== */
:root{
--bg:#0a0a0f;--bg-card:rgba(255,255,255,.03);--bg-card-hover:rgba(255,255,255,.06);
--border:rgba(255,255,255,.06);--border-hover:rgba(255,255,255,.12);
--text:#e5e5e5;--text-muted:#9ca3af;--text-dim:#6b7280;--text-faint:#4b5563;
--nav-bg:rgba(10,10,15,.8);--section-alt:rgba(255,255,255,.01);
--mesh1:rgba(168,85,247,.08);--mesh2:rgba(245,158,11,.06);--mesh3:rgba(236,72,153,.04);
--grid-line:rgba(255,255,255,.015);--code-bg:#12121a;--code-head:#1a1a25;
--scrollbar:rgba(168,85,247,.3);--glow1:rgba(168,85,247,.2);--glow2:rgba(245,158,11,.2);
}
/* ===== THEME: LIGHT ===== */
[data-theme="light"]{
--bg:#f8f9fc;--bg-card:rgba(0,0,0,.02);--bg-card-hover:rgba(0,0,0,.05);
--border:rgba(0,0,0,.08);--border-hover:rgba(0,0,0,.15);
--text:#1a1a2e;--text-muted:#555;--text-dim:#777;--text-faint:#aaa;
--nav-bg:rgba(248,249,252,.85);--section-alt:rgba(0,0,0,.02);
--mesh1:rgba(168,85,247,.06);--mesh2:rgba(245,158,11,.04);--mesh3:rgba(236,72,153,.03);
--grid-line:rgba(0,0,0,.03);--code-bg:#f1f3f8;--code-head:#e5e8f0;
--scrollbar:rgba(168,85,247,.2);--glow1:rgba(168,85,247,.1);--glow2:rgba(245,158,11,.1);
}
body{background:var(--bg);color:var(--text)}
/* ===== BACKGROUNDS ===== */
.mesh-bg{position:fixed;inset:0;z-index:-2;background:radial-gradient(ellipse 80% 60% at 10% 20%,var(--mesh1) 0%,transparent 50%),radial-gradient(ellipse 60% 80% at 80% 80%,var(--mesh2) 0%,transparent 50%),radial-gradient(ellipse 50% 50% at 50% 50%,var(--mesh3) 0%,transparent 60%),var(--bg);transition:background .4s}
.grid-bg{position:fixed;inset:0;z-index:-1;background-image:linear-gradient(var(--grid-line) 1px,transparent 1px),linear-gradient(90deg,var(--grid-line) 1px,transparent 1px);background-size:60px 60px}
/* ===== FLOATING PARTICLES ===== */
.particles{position:fixed;inset:0;z-index:-1;pointer-events:none;overflow:hidden}
.particle{position:absolute;border-radius:50%;opacity:.3;animation:floatParticle linear infinite}
@keyframes floatParticle{0%{transform:translateY(100vh) rotate(0deg)}100%{transform:translateY(-10vh) rotate(360deg)}}
/* ===== UTILITIES ===== */
.container{max-width:1200px;margin:0 auto;padding:0 1.5rem}
.container-sm{max-width:900px;margin:0 auto;padding:0 1.5rem}
.container-xs{max-width:700px;margin:0 auto;padding:0 1.5rem}
.text-center{text-align:center}
.flex{display:flex}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}
.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}
.gap-1{gap:.5rem}.gap-2{gap:.75rem}.gap-3{gap:1rem}.gap-4{gap:1.25rem}.gap-5{gap:1.5rem}
.grid{display:grid}
.grid-2{grid-template-columns:repeat(2,1fr)}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-4{grid-template-columns:repeat(4,1fr)}
.hidden{display:none!important}
.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:768px){
.grid-2,.grid-3,.grid-4{grid-template-columns:1fr 1fr}
.md-hide{display:none!important}
.md-show{display:flex!important}
.hero-title{font-size:3rem!important}
.hero-sub{font-size:2.5rem!important}
.profile-wrap{flex-direction:column!important}
.profile-stats{width:100%}
.project-card-inner{flex-direction:column!important}
.project-img{width:100%!important;height:180px!important}
}
@media(max-width:480px){
.grid-2,.grid-3{grid-template-columns:1fr}
.hero-title{font-size:2.2rem!important}
.hero-sub{font-size:1.8rem!important}
}
/* ===== GRADIENT TEXT ===== */
.gradient-text{background:linear-gradient(135deg,#a855f7 0%,#ec4899 50%,#f59e0b 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
/* ===== GLASS & CARDS ===== */
.glass{background:var(--bg-card);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
.card{background:var(--bg-card);border:1px solid var(--border);border-radius:16px;padding:1.25rem;transition:all .4s cubic-bezier(.22,1,.36,1)}
.card:hover{transform:translateY(-4px);box-shadow:0 20px 40px rgba(0,0,0,.15)}
.card-amber{border-color:rgba(245,158,11,.1)}.card-amber:hover{border-color:rgba(245,158,11,.3)}
.card-purple:hover{border-color:rgba(168,85,247,.3)}
.card-green{border-color:rgba(52,211,153,.1)}.card-green:hover{border-color:rgba(52,211,153,.3)}
.card-blue{border-color:rgba(96,165,250,.1)}.card-blue:hover{border-color:rgba(96,165,250,.3)}
.glow-card{position:relative;overflow:hidden}
.glow-card::before{content:'';position:absolute;inset:-1px;border-radius:inherit;background:linear-gradient(135deg,var(--glow1),transparent 40%,transparent 60%,var(--glow2));opacity:0;transition:opacity .4s;z-index:0}
.glow-card:hover::before{opacity:1}
.glow-card>*{position:relative;z-index:1}
/* ===== NAV ===== */
.nav{position:fixed;top:0;width:100%;z-index:50;background:var(--nav-bg);backdrop-filter:blur(16px);border-bottom:1px solid var(--border);transition:background .4s}
.nav-inner{height:64px}
.nav-link{padding:.5rem 1rem;border-radius:8px;font-size:.875rem;color:var(--text-muted);transition:all .2s}
.nav-link:hover{color:var(--text);background:var(--bg-card-hover)}
/* ===== THEME TOGGLE ===== */
.theme-toggle{width:40px;height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;transition:all .3s;color:var(--text-muted);border:1px solid var(--border)}
.theme-toggle:hover{color:#f59e0b;border-color:rgba(245,158,11,.3);background:rgba(245,158,11,.05)}
/* ===== BUTTONS ===== */
.btn{display:inline-flex;align-items:center;gap:.5rem;padding:.75rem 2rem;border-radius:9999px;font-weight:600;font-size:.875rem;transition:all .3s}
.btn-amber{background:linear-gradient(to right,#f59e0b,#f97316);color:#fff}
.btn-amber:hover{box-shadow:0 8px 24px rgba(245,158,11,.2);transform:translateY(-2px)}
.btn-ghost{border:1px solid var(--border);color:var(--text)}
.btn-ghost:hover{border-color:var(--border-hover);background:var(--bg-card-hover);transform:translateY(-2px)}
.btn-sm{padding:.5rem 1.25rem;font-size:.75rem;border-radius:9999px}
/* ===== ICONS ===== */
.icon{display:inline-block;width:1em;height:1em;vertical-align:-.125em;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.icon-sm{font-size:.875rem}.icon-md{font-size:1.25rem}.icon-lg{font-size:1.5rem}.icon-xl{font-size:2.5rem}
/* ===== STAT CARDS ===== */
.stat{text-align:center;padding:1.25rem}
.stat-icon{margin:0 auto .5rem;font-size:1.5rem}
.stat-num{font-size:1.5rem;font-weight:700}
.stat-label{font-size:.7rem;color:var(--text-dim);margin-top:.125rem}
/* ===== CODE BLOCK ===== */
.code-win{background:var(--code-bg);border:1px solid var(--border);border-radius:16px;overflow:hidden;transition:background .4s}
.code-head{background:var(--code-head);padding:.875rem 1.125rem;display:flex;gap:8px;align-items:center;border-bottom:1px solid var(--border);transition:background .4s}
.code-dot{width:12px;height:12px;border-radius:50%}
.code-body{padding:1.5rem;font-family:'JetBrains Mono',monospace;font-size:.8125rem;line-height:1.8;overflow-x:auto}
.c-purple{color:#c084fc}.c-amber{color:#fbbf24}.c-blue{color:#60a5fa}.c-orange{color:#fdba74}.c-green{color:#34d399}.c-gray{color:var(--text-faint)}.c-gray2{color:var(--text-dim)}.c-white{color:var(--text-muted)}
/* ===== SECTION ===== */
.section{padding:6rem 0}
.section-alt{background:var(--section-alt)}
.section-icon{width:40px;height:40px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:1.25rem}
.section-title{font-size:clamp(1.75rem,4vw,2.25rem);font-weight:700}
.section-subtitle{font-size:.8rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;margin-bottom:1.25rem}
/* ===== PROFILE CARDS ===== */
.profile-avatar{width:72px;height:72px;border-radius:16px;object-fit:cover;flex-shrink:0}
.profile-avatar-gh{border:2px solid rgba(168,85,247,.2);box-shadow:0 8px 24px rgba(168,85,247,.1)}
.profile-avatar-hf{border:2px solid rgba(245,158,11,.2)}
.profile-avatar-fallback{display:flex;align-items:center;justify-content:center;font-size:1.75rem;font-weight:800;color:white}
.profile-avatar-fallback.gh{background:linear-gradient(135deg,#7c3aed,#a855f7)}
.profile-avatar-fallback.hf{background:linear-gradient(135deg,#f59e0b,#f97316)}
.profile-stat{background:var(--bg-card);border:1px solid var(--border);border-radius:12px;padding:1rem;min-width:72px;text-align:center}
.profile-stat.amber{border-color:rgba(245,158,11,.1)}
.profile-stat-num{font-size:1.25rem;font-weight:700}
.profile-stat-label{font-size:.625rem;color:var(--text-dim);text-transform:uppercase;letter-spacing:.05em;margin-top:.125rem}
/* ===== REPO / MODEL CARDS ===== */
.repo-desc{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:.75rem;color:var(--text-dim);line-height:1.6;margin-bottom:1rem}
.lang-dot{width:10px;height:10px;border-radius:50%;display:inline-block}
/* ===== PROJECT CARDS ===== */
.project-card{border-radius:20px;overflow:hidden;background:var(--bg-card);border:1px solid var(--border);transition:all .4s cubic-bezier(.22,1,.36,1)}
.project-card:hover{transform:translateY(-6px);box-shadow:0 24px 48px rgba(0,0,0,.2)}
.project-card-inner{display:flex;gap:0}
.project-img{width:280px;min-height:220px;flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:3.5rem;position:relative;overflow:hidden}
.project-img::after{content:'';position:absolute;inset:0;background:linear-gradient(135deg,transparent,rgba(0,0,0,.2))}
.project-body{padding:2rem;flex:1;display:flex;flex-direction:column;justify-content:center}
.project-tag{display:inline-flex;padding:.25rem .75rem;border-radius:9999px;font-size:.625rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em}
.project-featured{position:absolute;top:1rem;left:1rem;z-index:1;padding:.25rem .75rem;border-radius:9999px;font-size:.625rem;font-weight:700;background:linear-gradient(to right,#f59e0b,#f97316);color:#fff;text-transform:uppercase;letter-spacing:.05em}
/* ===== BLOG CARDS ===== */
.blog-card{border-radius:16px;overflow:hidden;background:var(--bg-card);border:1px solid var(--border);transition:all .4s cubic-bezier(.22,1,.36,1)}
.blog-card:hover{transform:translateY(-4px);box-shadow:0 16px 32px rgba(0,0,0,.15)}
.blog-header{height:140px;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}
.blog-body{padding:1.5rem}
.blog-meta{display:flex;align-items:center;gap:.75rem;font-size:.75rem;color:var(--text-dim);margin-bottom:.75rem}
.blog-dot{width:4px;height:4px;background:var(--text-faint);border-radius:50%}
/* ===== TECH PILLS ===== */
.pill{display:inline-flex;align-items:center;gap:.5rem;padding:.625rem 1.25rem;border-radius:9999px;font-size:.875rem;background:var(--bg-card);border:1px solid var(--border);transition:border-color .3s;cursor:default}
/* ===== VISITOR COUNTER ===== */
.visitor-badge{display:inline-flex;align-items:center;gap:.5rem;padding:.375rem 1rem;border-radius:9999px;font-size:.75rem;color:var(--text-dim);background:var(--bg-card);border:1px solid var(--border)}
.visitor-dot{width:6px;height:6px;background:#4ade80;border-radius:50%;animation:pulse 2s ease-in-out infinite}
/* ===== SCROLL ANIMATIONS ===== */
.reveal{opacity:0;transform:translateY(30px);transition:all .8s cubic-bezier(.22,1,.36,1)}
.reveal.visible{opacity:1;transform:translateY(0)}
/* ===== ANIMATIONS ===== */
@keyframes fadeUp{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}
.fade-up{animation:fadeUp .7s cubic-bezier(.22,1,.36,1) forwards;opacity:0}
@keyframes blink{0%,50%{opacity:1}51%,100%{opacity:0}}
.cursor::after{content:'▊';font-size:.85em;color:#f59e0b;animation:blink .8s step-end infinite}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.5}}
.pulse{animation:pulse 2s ease-in-out infinite}
/* ===== SCROLLBAR ===== */
::-webkit-scrollbar{width:6px}
::-webkit-scrollbar-track{background:var(--bg)}
::-webkit-scrollbar-thumb{background:var(--scrollbar);border-radius:3px}
/* ===== MOBILE MENU ===== */
.mobile-menu{border-top:1px solid var(--border);padding:1rem}
.mobile-menu a{display:block;padding:.5rem 1rem;border-radius:8px;font-size:.875rem;color:var(--text-muted)}
.mobile-menu a:hover{color:var(--text);background:var(--bg-card-hover)} |