:root {
    --bg: #f6f8fb;
    --text: #0b1220;
    --accent: #0ea5a3;
    --muted: #6b7280;
    --card: #ffffff;
    --shadow: 0 6px 18px rgba(16, 24, 40, 0.06);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Inter, system-ui, Arial
}

body {
    background: var(--bg);
    color: var(--text);
    line-height: 1.5
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: var(--shadow)
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 28px
}

.hero {
    background: linear-gradient(90deg, #ffffff 0, #f0f9fa 100%);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center
}

.hero .container {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between
}

.intro h1 {
    font-size: 1.8rem;
    margin-bottom: 8px
}

.intro p {
    color: var(--muted);
    margin-bottom: 16px
}

.btn {
    display: inline-block;
    padding: 10px 14px;
    background: var(--accent);
    color: #ffffff;
    border-radius: 8px;
    text-decoration: none;
    margin-right: 8px
}

.btn.outline {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent)
}

.profile {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: var(--shadow)
}

.card {
    background: var(--card);
    padding: 20px;
    border-radius: 10px;
    margin-top: 18px;
    box-shadow: var(--shadow)
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none
}

.skills-grid li {
    background: #eef7f6;
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--text)
}

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

.project {
    padding: 12px;
    border-radius: 8px;
    background: #f9fafb
}

.proj-links a {
    margin-right: 8px;
    color: var(--accent);
    text-decoration: none
}

.footer {
    padding: 16px;
    text-align: center;
    color: var(--muted);
    margin-top: 16px
}

@media(max-width:720px) {
    .hero .container {
        flex-direction: column;
        align-items: flex-start
    }

    .profile {
        width: 90px;
        height: 90px
    }
}