@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;500;700&display=swap');

:root {
    --bg-dark: #07090e;
    --accent-glow: #ff5e97;
    --accent-blue: #5cd6ff;
    --text-main: #e2e8f0;
    --text-muted: #8a9fc4;
    --glass-bg: rgba(13, 17, 26, 0.65);
    --glass-border: rgba(255, 94, 151, 0.15);
}

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

body {
    color: var(--text-main);
    font-family: 'JetBrains+Mono', 'Courier New', Courier, monospace;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

#webgl-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background-color: #07090e; 
}

.glass-container {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    width: 100%;
    max-width: 750px;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 
                0 0 40px rgba(255, 94, 151, 0.03);
    position: relative;
    animation: fadeIn 1s ease-out;
}

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

header {
    margin-bottom: 40px;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--accent-glow);
    box-shadow: 0 0 15px rgba(255, 94, 151, 0.3);
}

.title-area h1 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -1px;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 94, 151, 0.2);
}

.alias {
    font-size: 0.9rem;
    color: var(--accent-glow);
    font-weight: 500;
}

.bio {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.highlight {
    color: #fff;
    border-bottom: 1px dotted var(--accent-glow);
}

.links {
    display: flex;
    gap: 15px;
}

.link-btn {
    text-decoration: none;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
}

.link-btn:hover {
    border-color: var(--accent-glow);
    background: rgba(255, 94, 151, 0.08);
    box-shadow: 0 0 12px rgba(255, 94, 151, 0.15);
    transform: translateY(-2px);
}

.sec {
    margin-bottom: 40px;
}

.sec h2 {
    font-size: 1.1rem;
    color: var(--accent-glow);
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.projects-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.project-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.project-card:hover {
    border-color: var(--accent-blue);
    background: rgba(92, 214, 255, 0.03);
    transform: translateX(4px);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.project-header h3 {
    font-size: 1.1rem;
    color: #fff;
}

.badge {
    font-size: 0.75rem;
    background: rgba(255, 94, 151, 0.1);
    color: var(--accent-glow);
    padding: 3px 8px;
    border-radius: 4px;
}

.project-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 15px;
}

.project-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tech {
    font-size: 0.75rem;
    color: var(--accent-blue);
}

.arrow {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.2s;
}

.project-card:hover .arrow {
    transform: translateX(3px);
    color: var(--accent-blue);
}

.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media(max-width: 580px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }
}

.skill-category h4 {
    font-size: 0.9rem;
    color: #fff;
    margin-bottom: 12px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tags span {
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4px 10px;
    border-radius: 6px;
    color: var(--text-muted);
}

footer {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 24px;
    margin-top: 20px;
}

.copyright {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
}