::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    background-color: #393939;
}
::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #505050;
}
html, body {
    margin: 0;
    padding: 0;
    font-family: system-ui, sans-serif;
    scroll-behavior: smooth;
    background-color: #0f1117;
    color: #f4f4f4;
}
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 20% 30%, #292d3e 0%, transparent 70%),
                radial-gradient(circle at 80% 70%, #1f2233 0%, transparent 60%);
    z-index: -1;
    animation: floatBackground 30s linear infinite;
}
@keyframes floatBackground {
    0% {background-position: 0% 0%;}
    50% {background-position: 100% 100%;}
    100% {background-position: 0% 0%;}
}
a {
    text-decoration: none;
    color: #f4f4f4;
}
header {
    text-align: center;
    padding: 4rem 1rem 0rem;
}
header .icon {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 12px rgba(0,0,0,0.3);
}
#badges {
    justify-content: center;
    display: flex;
    gap: 7px;
}
header h1 {
    font-size: 2.5rem;
    margin: 1rem 0 0.5rem;
}
header p {
    font-size: 1.1rem;
    color: #ccc;
}
nav {
    margin: 1rem auto;
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}
nav a {
    background-color: #1f2233;
    color: #f4f4f4;
    padding: 0.7rem 1.3rem;
    text-decoration: none;
    border-radius: 0.6rem;
    transition: background 0.3s;
}
nav a:hover {
    background-color: #2c3047;
}
section {
    max-width: 900px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
}
.project-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.project {
    background: #1a1d2b;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    transition: transform 0.3s;
}
.project:hover {
    transform: translateY(-4px);
}
.project .icon {
    width: 100%;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}
.project h3 {
    margin: 0 0 0.5rem;
}
.project p {
    font-size: 0.95rem;
    color: #aaa;
}
footer {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    padding: 2rem 1rem;
}
