:root {
    --base: #0b0b10;
    --surface: #11111b;
    --overlay: #45475a;
    --text: #cdd6f4;
    --mauve: #cba6f7;
    --blue: #89b4fa;
    --rosewater: #f5e0dc;
    --transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

html {
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;
}

body {
    background-color: var(--base);
    color: var(--text);
    font-family: 'Fira Code', monospace;
    overflow-x: hidden;
    line-height: 1.6;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.8;
    pointer-events: none;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 25px;
    opacity: 0;
    animation: fadeIn 1.2s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    background: rgba(11, 11, 16, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 100;
    border-bottom: 1px solid rgba(49, 50, 68, 0.5);
    transition: var(--transition);
}

.nav-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 25px;
}

.nav-logo { 
    font-family: 'Cinzel', serif; 
    color: var(--rosewater); 
    font-size: 1.2rem; 
    text-decoration: none; 
}

.nav-links { 
    display: flex; 
    gap: 30px; 
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--mauve);
    transition: var(--transition);
}

.nav-links a:hover { color: var(--mauve); }
.nav-links a:hover::after { width: 100%; }

header { 
    height: 100vh; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    text-align: center; 
}

.status-badge {
    background: rgba(203, 166, 247, 0.05);
    color: var(--mauve);
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.7rem;
    border: 1px solid rgba(203, 166, 247, 0.3);
    margin-bottom: 25px;
    letter-spacing: 2px;
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0% { border-color: rgba(203, 166, 247, 0.3); }
    50% { border-color: rgba(203, 166, 247, 0.8); box-shadow: 0 0 15px rgba(203, 166, 247, 0.1); }
    100% { border-color: rgba(203, 166, 247, 0.3); }
}

h1 { 
    font-family: 'Cinzel', serif; 
    font-size: clamp(2.2rem, 7vw, 4rem); 
    color: var(--rosewater); 
    line-height: 1.1; 
    margin-bottom: 1.5rem; 
}

.location-text { 
    color: var(--overlay); 
    max-width: 600px; 
    font-size: 0.9rem; 
    margin-top: 10px; 
}

section { 
    padding: 120px 0; 
    scroll-margin-top: 100px; 
}

.section-label { 
    color: var(--mauve); 
    font-size: 0.7rem; 
    letter-spacing: 0.5em; 
    margin-bottom: 10px; 
    display: block; 
}

h2 { 
    font-family: 'Cinzel', serif; 
    font-size: 2rem; 
    margin-bottom: 40px; 
    color: var(--rosewater); 
}

#repo-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 20px; 
    min-height: 200px; 
}

.repo-card {
    background: rgba(17, 17, 27, 0.4);
    padding: 35px;
    border: 1px solid rgba(49, 50, 68, 0.4);
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
}

.repo-card:hover {
    border-color: var(--mauve);
    background: rgba(203, 166, 247, 0.04);
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.repo-name { font-weight: bold; color: var(--rosewater); margin-bottom: 10px; display: block; }
.repo-desc { font-size: 0.85rem; color: var(--overlay); margin-bottom: 20px; }
.repo-meta { display: flex; justify-content: space-between; font-size: 0.75rem; }

.stats-wrap {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    background: transparent;
    padding: 40px;
    border: 1px solid rgba(49, 50, 68, 0.3);
}

.stats-wrap img {
    max-width: 100%;
    height: auto;
}

footer { 
    padding: 120px 0; 
    text-align: center; 
    border-top: 1px solid rgba(49, 50, 68, 0.5); 
}

.footer-icons { 
    margin-bottom: 40px; 
    display: flex; 
    gap: 20px; 
    flex-wrap: wrap; 
    justify-content: center; 
}

.footer-icons a {
    color: var(--text);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border: 1px solid rgba(49, 50, 68, 0.5);
    border-radius: 50%;
    font-size: 1.3rem;
    text-decoration: none;
}

.footer-icons a:hover {
    color: var(--mauve);
    border-color: var(--mauve);
    transform: translateY(-5px) rotate(8deg);
}

.footer-name { color: var(--text); letter-spacing: 3px; font-size: 0.9rem; }
.footer-credits { font-size: 0.6rem; margin-top: 15px; color: var(--overlay); letter-spacing: 2px; }

.btn { 
    padding: 14px 35px; 
    border: 1px solid var(--mauve); 
    color: var(--mauve); 
    text-decoration: none; 
    display: inline-block; 
    margin-top: 20px; 
    transition: var(--transition); 
    cursor: pointer; 
    background: transparent; 
    font-family: inherit; 
    font-size: 0.8rem; 
    letter-spacing: 2px; 
}

.btn:hover { 
    background: var(--mauve); 
    color: var(--base); 
    box-shadow: 0 0 30px rgba(203, 166, 247, 0.3); 
}

@media (max-width: 600px) { 
    .nav-links { display: none; } 
    h1 { font-size: 2.5rem; }
}
