:root{
    --bg:#0a0a0c;
    --fg:#f5f5f5;
    --muted:#a3a3a3;
    --border:#2a2a2e;
    --grad1:#f6c453;
    --grad2:#b39ddb;
    --grad3:#f5f5f5;
}
*{box-sizing:border-box;}
html,body{
    margin:0;
    padding:0;
    background:var(--bg);
    color:var(--fg);
    font-family:"JetBrains Mono","Fira Code",ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
    min-height:100vh;
}
.bg-grid{
    position:fixed;
    inset:0;
    background-image:
            linear-gradient(to right, rgba(255,255,255,0.035) 1px, transparent 1px),
            linear-gradient(to bottom, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size:44px 44px;
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 40%, transparent 90%);
    mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 40%, transparent 90%);
    pointer-events:none;
}
.dots{
    position:fixed;
    inset:0;
    pointer-events:none;
}
nav{
    position:fixed;
    left:24px;
    top:50%;
    transform:translateY(-50%);
    display:flex;
    flex-direction:column;
    gap:18px;
    z-index:5;
}
nav a{
    color:var(--muted);
    text-decoration:none;
    font-size:13px;
    letter-spacing:0.3px;
    display:flex;
    align-items:center;
    gap:8px;
}
nav a::before{
    content:"";
    width:6px;
    height:6px;
    border-radius:50%;
    background:var(--muted);
    display:inline-block;
}
nav a.active{color:var(--fg);}
nav a.active::before{background:var(--fg);}

main{
    position:relative;
    z-index:2;
    max-width:900px;
    margin:0 auto;
    padding:130px 32px 120px 32px;
}
.hello{
    display:flex;
    align-items:center;
    gap:18px;
    font-size:64px;
    font-weight:800;
    margin:0 0 6px 0;
    line-height:1;
}
.wave{
    font-size:52px;
    display:inline-block;
    transform-origin:70% 70%;
    animation:wave 2.4s ease-in-out infinite;
}
@keyframes wave{
    0%,60%,100%{transform:rotate(0deg);}
    10%{transform:rotate(14deg);}
    20%{transform:rotate(-8deg);}
    30%{transform:rotate(14deg);}
    40%{transform:rotate(-4deg);}
    50%{transform:rotate(10deg);}
}
.name-line{
    font-size:64px;
    font-weight:800;
    margin:0 0 40px 0;
    line-height:1;
}
.name-line .tim{
    background:linear-gradient(90deg,var(--grad1),var(--grad2));
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;
}
p.desc{
    color:#d4d4d4;
    font-size:16px;
    line-height:1.9;
    max-width:640px;
    margin:0 0 34px 0;
    white-space:pre-line;
}
.gh-btn{
    display:inline-flex;
    align-items:center;
    gap:10px;
    border:1px solid var(--border);
    border-radius:8px;
    padding:12px 20px;
    color:var(--fg);
    text-decoration:none;
    font-size:14px;
    transition:border-color .2s ease, background .2s ease;
}
.gh-btn:hover{
    border-color:#4a4a50;
    background:rgba(255,255,255,0.03);
}
.gh-btn svg{width:18px;height:18px;}
.ext{width:12px;height:12px;opacity:0.7;}

.stats-section{
    margin-top:96px;
}
.stats-title{
    color:var(--muted);
    font-size:14px;
    margin-bottom:26px;
}
.stats-row{
    display:flex;
    gap:64px;
    flex-wrap:wrap;
}
.stat-label{
    display:flex;
    align-items:center;
    gap:8px;
    color:var(--muted);
    font-size:14px;
    margin-bottom:10px;
}
.stat-value{
    font-size:34px;
    font-weight:800;
}
.scroll-down{
    position:fixed;
    bottom:36px;
    left:50%;
    transform:translateX(-50%);
    width:38px;
    height:38px;
    border-radius:8px;
    background:#151517;
    border:1px solid var(--border);
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--fg);
    animation:bob 2s ease-in-out infinite;
    z-index:5;
}
@keyframes bob{
    0%,100%{transform:translate(-50%,0);}
    50%{transform:translate(-50%,6px);}
}

.section{
    min-height:100vh;
    padding-top:130px;
    padding-bottom:80px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}
#about{padding-top:130px;}
.section-title{
    color:var(--muted);
    font-size:14px;
    margin-bottom:34px;
}
.big-link-list{
    display:flex;
    flex-direction:column;
    gap:18px;
    max-width:680px;
}
.big-link{
    display:flex;
    align-items:center;
    gap:24px;
    border:1px solid var(--border);
    border-radius:14px;
    padding:28px 30px;
    text-decoration:none;
    color:var(--fg);
    background:rgba(255,255,255,0.015);
    transition:border-color .2s ease, background .2s ease, transform .15s ease;
}
.big-link:hover{
    border-color:#5a5a62;
    background:rgba(255,255,255,0.045);
    transform:translateX(4px);
}
.big-link-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    width:56px;
    height:56px;
    flex:none;
    border-radius:12px;
    background:rgba(255,255,255,0.05);
    border:1px solid var(--border);
}
.big-link-text{
    display:flex;
    flex-direction:column;
    gap:6px;
    flex:1;
}
.big-link-title{
    font-size:22px;
    font-weight:800;
}
.big-link-obsolete{
    font-size:12px;
    font-weight:800;
    color: darkorange;
}
.big-link-sub{
    font-size:14px;
    color:var(--muted);
}
.big-link-arrow{
    width:22px;
    height:22px;
    flex:none;
    opacity:0.5;
    transition:opacity .2s ease, transform .2s ease;
}
.big-link:hover .big-link-arrow{
    opacity:1;
    transform:translate(2px,-2px);
}

.site-footer{
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:12px;
    padding:28px 0 40px 0;
    border-top:1px solid var(--border);
    margin-top:20px;
    color:var(--muted);
    font-size:13px;
}
.footer-links{
    display:flex;
    gap:22px;
}
.footer-links a{
    color:var(--muted);
    text-decoration:none;
    transition:color .2s ease;
}
.footer-links a:hover{
    color:var(--fg);
}
.overlay{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.7);
    align-items:center;
    justify-content:center;
    z-index:50;
    padding:24px;
}
.overlay.open{display:flex;}
.overlay-card{
    position:relative;
    background:#111113;
    border:1px solid var(--border);
    border-radius:14px;
    max-width:560px;
    width:100%;
    max-height:80vh;
    overflow-y:auto;
    padding:36px;
}
.overlay-card h2{
    margin:0 0 20px 0;
    font-size:22px;
    font-weight:800;
}
.overlay-text{
    color:#c9c9c9;
    font-size:14px;
    line-height:1.9;
    margin:0;
}
.overlay-close{
    position:absolute;
    top:18px;
    right:18px;
    width:32px;
    height:32px;
    border-radius:8px;
    border:1px solid var(--border);
    background:transparent;
    color:var(--fg);
    font-size:18px;
    cursor:pointer;
    line-height:1;
}
.overlay-close:hover{
    border-color:#5a5a62;
}

@media (max-width:640px){
    nav{display:none;}
    main{padding:0 20px;}
    .section{padding-top:100px;}
    .hello, .name-line{font-size:40px;}
    .wave{font-size:34px;}
    .stats-row{gap:36px;}
    .big-link{padding:20px;gap:16px;}
    .big-link-icon{width:46px;height:46px;}
    .big-link-title{font-size:19px;}
}