:root {
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-400: #94a3b8;
    --indigo-500: #6366f1;
    --indigo-600: #4f46e5;
    --gold-color: #fbbf24;
    --silver-color: #cbd5e1;
    --coming-color: #94a3b8;
    --text-main: #f1f5f9;
}

body {
    background-color: var(--slate-900);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    margin: 0;
    display: flex;
    min-height: 100vh;
}

aside {
    width: 280px;
    background: linear-gradient(180deg, var(--slate-800) 0%, var(--slate-900) 100%);
    border-right: 1px solid var(--slate-700);
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    box-sizing: border-box;
}

.dev-profile { 
    text-align: center; 
    margin-bottom: 30px; 
}

.name-profile {
    margin: 0; 
    font-size: 1.2rem;
    display: inline-block;
}

.desk-profile {
    color: white; 
    font-size: 0.9rem; 
    font-weight: 600; 
    margin: 4px 0 0 0;
}

.manuk-profile {
    display: flex; 
    justify-content: space-between; 
    align-items: flex-start; 
    flex-wrap: wrap; 
    gap: 10px;
}

.dev-avatar { 
    width: 90px; 
    height: 90px; 
    border-radius: 24px; 
    margin: 0 auto 20px; 
    overflow: hidden; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    padding: 3px;
    background: linear-gradient(45deg, #f06, #f90, #ff0, #0f9, #0cf, #c0f, #f06);
    background-size: 400% 400%; 
    animation: gradientBorder 5s ease infinite;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4); 
    transition: all 0.3s ease;
}

.dev-avatar img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    border-radius: 21px; 
    background: var(--slate-900); 
}

.dev-avatar:hover { 
    transform: scale(1.08) rotate(5deg); 
}

.profile-meta { 
    display: flex; 
    flex-direction: column; 
    gap: 12px; 
}

.profile-meta p { 
    margin: 0; 
    font-size: 0.75rem; 
    color: var(--slate-400); 
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
}

.profile-meta b { 
    color: var(--text-main); 
    display: block; 
    font-size: 0.9rem; 
    margin-top: 2px; 
    text-transform: none; 
}

.separator {
    width: 50px; 
    height: 2px; 
    background-color: white; 
    margin: 20px 0; 
    border-radius: 2px;
    opacity: 0.6;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 15px;
}

.footer-socials a {
    transition: transform 0.3s ease;
    display: inline-block;
}

.footer-socials a:hover {
    transform: scale(1.2);
}

.footer-socials img {
    width: 30px;
    height: 30px;
    display: block;
}

main { 
    flex: 1; 
    padding: 60px; 
    overflow-y: auto; 
    box-sizing: border-box; 
    width: 100%; 
}

#local-clock {
    background: var(--slate-800); 
    padding: 8px 12px; 
    border-radius: 10px; 
    border: 1px solid var(--slate-700);
    font-size: 0.75rem; 
    color: white; 
    font-family: monospace;
}

.search-input {
    width: 100%; 
    max-width: 400px; 
    background: var(--slate-800); 
    border: 1px solid var(--slate-700);
    padding: 12px 16px; 
    border-radius: 12px; 
    color: #fff; 
    margin-bottom: 30px; 
    outline: none;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: var(--indigo-500);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

.stats-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 20px; 
    margin-bottom: 40px; 
}

.stat-card { 
    background: var(--slate-800); 
    padding: 24px; 
    border-radius: 16px; 
    border: 1px solid var(--slate-700); 
    text-align: center; 
}

.stat-value { 
    font-size: 2.5rem; 
    font-weight: 700; 
    color: var(--indigo-500); 
    margin-bottom: 8px; 
}

.stat-label { 
    font-size: 0.8rem; 
    color: var(--slate-400); 
    font-weight: 600; 
    text-transform: uppercase; 
}

.table-container { 
    background: var(--slate-800); 
    border-radius: 16px; 
    border: 1px solid var(--slate-700); 
    overflow-x: auto; 
}

table { 
    width: 100%; 
    border-collapse: collapse; 
    min-width: 700px; 
}

th { 
    background: #1e293b; 
    padding: 20px; 
    font-size: 0.75rem; 
    color: var(--slate-400); 
    border-bottom: 1px solid var(--slate-700); 
    text-transform: uppercase; 
    text-align: left;
}

td { 
    padding: 18px 20px; 
    border-bottom: 1px solid var(--slate-700); 
    font-size: 0.9rem; 
}

.badge { 
    display: inline-block; 
    padding: 6px 12px; 
    border-radius: 8px; 
    font-size: 0.75rem; 
    font-weight: 600; 
}

.badge-gold { 
    background: rgba(251, 191, 36, 0.15); 
    color: var(--gold-color); 
    border: 1px solid rgba(251, 191, 36, 0.3); 
}

.badge-silver { 
    background: rgba(203, 213, 225, 0.15); 
    color: var(--silver-color); 
    border: 1px solid rgba(203, 213, 225, 0.3); 
}

.badge-pending { 
    background: rgba(148, 163, 184, 0.15); 
    color: var(--coming-color); 
    border: 1px solid rgba(148, 163, 184, 0.3);
}

.comp-link { 
    color: #fff; 
    text-decoration: none; 
    font-weight: 600; 
    border-bottom: 1px dashed rgba(255,255,255,0.3);
}

.comp-link:hover { 
    color: var(--indigo-500); 
    border-bottom-color: var(--indigo-500);
}

footer { 
    margin-top: 60px; 
    padding: 20px; 
    border-top: 1px solid var(--slate-700); 
    text-align: center; 
    color: var(--slate-600); 
    font-size: 0.8rem; 
}

@keyframes fadeIn { 
    from { opacity: 0; transform: translateY(10px); } 
    to { opacity: 1; transform: translateY(0); } 
}

@keyframes gradientBorder { 
    0% { background-position: 0% 50%; } 
    50% { background-position: 100% 50%; } 
    100% { background-position: 0% 50%; } 
}

@media (max-width: 768px) {
    body { flex-direction: column; }
    aside { width: 100%; border-right: none; border-bottom: 1px solid var(--slate-700); }
    main { padding: 30px 20px; }
}
