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

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

body {
    font-family: "JetBrains Mono", "Courier New", monospace;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    background-attachment: fixed;
    color: #e8e8e0;
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(
            circle at 30% 40%,
            rgba(255, 255, 255, 0.015) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 70% 70%,
            rgba(255, 255, 255, 0.015) 0%,
            transparent 50%
        );
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

.header {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 2px solid #4a4a4a;
}

.header h1 {
    background: linear-gradient(135deg, #ffffff 0%, #c0c0c0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.tagline {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #b8b8b0;
}

.info {
    margin-top: 15px;
    font-size: 0.95rem;
    color: #999990;
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
}

.info a {
    color: #b8b8b0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info a:hover {
    color: #e8e8e0;
}

.links {
    margin-top: 20px;
}

.links a {
    color: #e8e8e0;
    text-decoration: none;
    border: 2px solid #6a6a6a;
    padding: 10px 20px;
    display: inline-block;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
}

.links a:hover {
    background-color: #e8e8e0;
    color: #1a1a1a;
    border-color: #e8e8e0;
}

section {
    margin-bottom: 60px;
}

h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    color: #ffffff;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.skill-card {
    padding: 25px;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: default;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.skill-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.skill-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.loading {
    text-align: center;
    font-size: 1.2rem;
    padding: 40px;
}

.project-card {
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 200px;
}

.project-card-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.project-card-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    word-break: break-word;
    color: #ffffff;
}

.project-card-description {
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.project-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.9rem;
}

.project-card-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.project-card:hover .project-card-details {
    max-height: 500px;
    padding: 20px;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
}

.project-topics {
    margin-bottom: 15px;
}

.project-topics strong {
    display: block;
    margin-bottom: 8px;
}

.topic-tag {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    margin: 4px;
    font-size: 0.85rem;
    border-radius: 4px;
}

.project-stats {
    margin-bottom: 15px;
}

.project-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.project-link {
    color: #e8e8e0;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 16px;
    display: inline-block;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.project-link:hover {
    background-color: #e8e8e0;
    color: #1a1a1a;
    border-color: #e8e8e0;
}

.footer {
    text-align: center;
    padding-top: 40px;
    border-top: 2px solid #4a4a4a;
    margin-top: 60px;
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}
