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 |
+
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
|
| 4 |
+
body{font-family:'Outfit',system-ui,sans-serif;background:#0a0a0f;color:#e5e5e5;min-height:100vh;overflow-x:hidden;line-height:1.6}
|
| 5 |
+
a{color:inherit;text-decoration:none}
|
| 6 |
+
img{max-width:100%;display:block}
|
| 7 |
+
button{border:none;background:none;cursor:pointer;color:inherit;font:inherit}
|
| 8 |
+
.mono{font-family:'JetBrains Mono',monospace}
|
| 9 |
|
| 10 |
+
/* ===== BACKGROUNDS ===== */
|
| 11 |
+
.mesh-bg{position:fixed;inset:0;z-index:-2;background:radial-gradient(ellipse 80% 60% at 10% 20%,rgba(168,85,247,.08) 0%,transparent 50%),radial-gradient(ellipse 60% 80% at 80% 80%,rgba(245,158,11,.06) 0%,transparent 50%),radial-gradient(ellipse 50% 50% at 50% 50%,rgba(236,72,153,.04) 0%,transparent 60%),#0a0a0f}
|
| 12 |
+
.grid-bg{position:fixed;inset:0;z-index:-1;background-image:linear-gradient(rgba(255,255,255,.015) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.015) 1px,transparent 1px);background-size:60px 60px}
|
|
|
|
| 13 |
|
| 14 |
+
/* ===== UTILITIES ===== */
|
| 15 |
+
.container{max-width:1200px;margin:0 auto;padding:0 1.5rem}
|
| 16 |
+
.container-sm{max-width:900px;margin:0 auto;padding:0 1.5rem}
|
| 17 |
+
.container-xs{max-width:700px;margin:0 auto;padding:0 1.5rem}
|
| 18 |
+
.text-center{text-align:center}
|
| 19 |
+
.flex{display:flex}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}
|
| 20 |
+
.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}
|
| 21 |
+
.gap-1{gap:.5rem}.gap-2{gap:.75rem}.gap-3{gap:1rem}.gap-4{gap:1.25rem}.gap-5{gap:1.5rem}
|
| 22 |
+
.grid{display:grid}
|
| 23 |
+
.grid-2{grid-template-columns:repeat(2,1fr)}
|
| 24 |
+
.grid-3{grid-template-columns:repeat(3,1fr)}
|
| 25 |
+
.grid-4{grid-template-columns:repeat(4,1fr)}
|
| 26 |
+
.hidden{display:none!important}
|
| 27 |
+
.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
|
| 28 |
+
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
|
| 29 |
|
| 30 |
+
@media(max-width:768px){
|
| 31 |
+
.grid-2,.grid-3,.grid-4{grid-template-columns:1fr 1fr}
|
| 32 |
+
.md-grid-1{grid-template-columns:1fr}
|
| 33 |
+
.md-hide{display:none!important}
|
| 34 |
+
.md-show{display:flex!important}
|
| 35 |
+
.hero-title{font-size:3rem!important}
|
| 36 |
+
.hero-sub{font-size:2.5rem!important}
|
| 37 |
+
.profile-wrap{flex-direction:column!important}
|
| 38 |
+
.profile-stats{width:100%}
|
| 39 |
}
|
| 40 |
+
@media(max-width:480px){
|
| 41 |
+
.grid-2,.grid-3{grid-template-columns:1fr}
|
| 42 |
+
.hero-title{font-size:2.2rem!important}
|
| 43 |
+
.hero-sub{font-size:1.8rem!important}
|
| 44 |
}
|
| 45 |
+
|
| 46 |
+
/* ===== GRADIENT TEXT ===== */
|
| 47 |
+
.gradient-text{background:linear-gradient(135deg,#a855f7 0%,#ec4899 50%,#f59e0b 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
|
| 48 |
+
|
| 49 |
+
/* ===== GLASS & CARDS ===== */
|
| 50 |
+
.glass{background:rgba(255,255,255,.03);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
|
| 51 |
+
.card{background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.06);border-radius:16px;padding:1.25rem;transition:all .4s cubic-bezier(.22,1,.36,1)}
|
| 52 |
+
.card:hover{transform:translateY(-4px);box-shadow:0 20px 40px rgba(0,0,0,.2)}
|
| 53 |
+
.card-amber{border-color:rgba(245,158,11,.1)}.card-amber:hover{border-color:rgba(245,158,11,.3)}
|
| 54 |
+
.card-purple:hover{border-color:rgba(168,85,247,.3)}
|
| 55 |
+
.glow-card{position:relative;overflow:hidden}
|
| 56 |
+
.glow-card::before{content:'';position:absolute;inset:-1px;border-radius:inherit;background:linear-gradient(135deg,rgba(168,85,247,.2),transparent 40%,transparent 60%,rgba(245,158,11,.2));opacity:0;transition:opacity .4s;z-index:0}
|
| 57 |
+
.glow-card:hover::before{opacity:1}
|
| 58 |
+
.glow-card>*{position:relative;z-index:1}
|
| 59 |
+
|
| 60 |
+
/* ===== NAV ===== */
|
| 61 |
+
.nav{position:fixed;top:0;width:100%;z-index:50;background:rgba(10,10,15,.8);backdrop-filter:blur(16px);border-bottom:1px solid rgba(255,255,255,.06)}
|
| 62 |
+
.nav-inner{height:64px}
|
| 63 |
+
.nav-link{padding:.5rem 1rem;border-radius:8px;font-size:.875rem;color:#9ca3af;transition:all .2s}
|
| 64 |
+
.nav-link:hover{color:#fff;background:rgba(255,255,255,.05)}
|
| 65 |
+
|
| 66 |
+
/* ===== BUTTONS ===== */
|
| 67 |
+
.btn{display:inline-flex;align-items:center;gap:.5rem;padding:.75rem 2rem;border-radius:9999px;font-weight:600;font-size:.875rem;transition:all .3s}
|
| 68 |
+
.btn-amber{background:linear-gradient(to right,#f59e0b,#f97316);color:#fff}
|
| 69 |
+
.btn-amber:hover{box-shadow:0 8px 24px rgba(245,158,11,.2);transform:translateY(-2px)}
|
| 70 |
+
.btn-ghost{border:1px solid rgba(255,255,255,.1);color:#fff}
|
| 71 |
+
.btn-ghost:hover{border-color:rgba(255,255,255,.25);background:rgba(255,255,255,.05);transform:translateY(-2px)}
|
| 72 |
+
|
| 73 |
+
/* ===== ICONS ===== */
|
| 74 |
+
.icon{display:inline-block;width:1em;height:1em;vertical-align:-.125em;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
|
| 75 |
+
.icon-sm{font-size:.875rem}.icon-md{font-size:1.25rem}.icon-lg{font-size:1.5rem}.icon-xl{font-size:2.5rem}
|
| 76 |
+
|
| 77 |
+
/* ===== STAT CARDS ===== */
|
| 78 |
+
.stat{text-align:center;padding:1.25rem}
|
| 79 |
+
.stat-icon{margin:0 auto .5rem;font-size:1.5rem}
|
| 80 |
+
.stat-num{font-size:1.5rem;font-weight:700}
|
| 81 |
+
.stat-label{font-size:.7rem;color:#6b7280;margin-top:.125rem}
|
| 82 |
+
|
| 83 |
+
/* ===== CODE BLOCK ===== */
|
| 84 |
+
.code-win{background:#12121a;border:1px solid rgba(255,255,255,.06);border-radius:16px;overflow:hidden}
|
| 85 |
+
.code-head{background:#1a1a25;padding:.875rem 1.125rem;display:flex;gap:8px;align-items:center;border-bottom:1px solid rgba(255,255,255,.04)}
|
| 86 |
+
.code-dot{width:12px;height:12px;border-radius:50%}
|
| 87 |
+
.code-body{padding:1.5rem;font-family:'JetBrains Mono',monospace;font-size:.8125rem;line-height:1.8;overflow-x:auto}
|
| 88 |
+
.c-purple{color:#c084fc}.c-amber{color:#fbbf24}.c-blue{color:#60a5fa}.c-orange{color:#fdba74}.c-green{color:#34d399}.c-gray{color:#4b5563}.c-gray2{color:#6b7280}.c-white{color:#d1d5db}
|
| 89 |
+
|
| 90 |
+
/* ===== SECTION ===== */
|
| 91 |
+
.section{padding:6rem 0}
|
| 92 |
+
.section-icon{width:40px;height:40px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:1.25rem}
|
| 93 |
+
.section-title{font-size:clamp(1.75rem,4vw,2.25rem);font-weight:700}
|
| 94 |
+
.section-subtitle{font-size:.8rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;margin-bottom:1.25rem}
|
| 95 |
+
|
| 96 |
+
/* ===== PROFILE CARDS ===== */
|
| 97 |
+
.profile-avatar{width:72px;height:72px;border-radius:16px;object-fit:cover;flex-shrink:0}
|
| 98 |
+
.profile-avatar-gh{border:2px solid rgba(168,85,247,.2);box-shadow:0 8px 24px rgba(168,85,247,.1)}
|
| 99 |
+
.profile-avatar-hf{border:2px solid rgba(245,158,11,.2)}
|
| 100 |
+
.profile-avatar-fallback{display:flex;align-items:center;justify-content:center;font-size:1.75rem;font-weight:800;color:white}
|
| 101 |
+
.profile-avatar-fallback.gh{background:linear-gradient(135deg,#7c3aed,#a855f7)}
|
| 102 |
+
.profile-avatar-fallback.hf{background:linear-gradient(135deg,#f59e0b,#f97316)}
|
| 103 |
+
.profile-stat{background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.04);border-radius:12px;padding:1rem;min-width:72px;text-align:center}
|
| 104 |
+
.profile-stat.amber{border-color:rgba(245,158,11,.1)}
|
| 105 |
+
.profile-stat-num{font-size:1.25rem;font-weight:700}
|
| 106 |
+
.profile-stat-label{font-size:.625rem;color:#6b7280;text-transform:uppercase;letter-spacing:.05em;margin-top:.125rem}
|
| 107 |
+
|
| 108 |
+
/* ===== REPO / MODEL CARDS ===== */
|
| 109 |
+
.repo-desc{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:.75rem;color:#6b7280;line-height:1.6;margin-bottom:1rem}
|
| 110 |
+
.lang-dot{width:10px;height:10px;border-radius:50%;display:inline-block}
|
| 111 |
+
|
| 112 |
+
/* ===== TECH PILLS ===== */
|
| 113 |
+
.pill{display:inline-flex;align-items:center;gap:.5rem;padding:.625rem 1.25rem;border-radius:9999px;font-size:.875rem;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.06);transition:border-color .3s;cursor:default}
|
| 114 |
+
|
| 115 |
+
/* ===== ANIMATIONS ===== */
|
| 116 |
+
@keyframes fadeUp{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}
|
| 117 |
+
.fade-up{animation:fadeUp .7s cubic-bezier(.22,1,.36,1) forwards;opacity:0}
|
| 118 |
+
@keyframes blink{0%,50%{opacity:1}51%,100%{opacity:0}}
|
| 119 |
+
.cursor::after{content:'▊';font-size:.85em;color:#f59e0b;animation:blink .8s step-end infinite}
|
| 120 |
+
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.5}}
|
| 121 |
+
.pulse{animation:pulse 2s ease-in-out infinite}
|
| 122 |
+
|
| 123 |
+
/* ===== SCROLLBAR ===== */
|
| 124 |
+
::-webkit-scrollbar{width:6px}
|
| 125 |
+
::-webkit-scrollbar-track{background:#0a0a0f}
|
| 126 |
+
::-webkit-scrollbar-thumb{background:rgba(168,85,247,.3);border-radius:3px}
|
| 127 |
+
|
| 128 |
+
/* ===== MOBILE MENU ===== */
|
| 129 |
+
.mobile-menu{border-top:1px solid rgba(255,255,255,.06);padding:1rem}
|
| 130 |
+
.mobile-menu a{display:block;padding:.5rem 1rem;border-radius:8px;font-size:.875rem;color:#9ca3af}
|
| 131 |
+
.mobile-menu a:hover{color:#fff;background:rgba(255,255,255,.05)}
|