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

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 50%, #16213e 100%);
    min-height: 100vh;
    color: #e0e0e0;
    padding: 40px 20px;
}

.container {
    max-width: 700px;
    margin: 0 auto;
}

/* Header / About */
.profile {
    text-align: center;
    margin-bottom: 40px;
}

.avatar {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: linear-gradient(135deg, #656666, #bcbdbd);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: bold;
    color: white;
    margin: 0 auto 16px auto;
    box-shadow: 0 0 28px rgba(255, 255, 255, 0.35);
    letter-spacing: 1px;
    overflow: hidden;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.profile h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.profile-realname {
    font-size: 0.9rem;
    color: #aaa;
    font-weight: 400;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.profile p:not(.profile-realname) {
    color: #888;
    font-size: 0.95rem;
}

/* Section labels */
.section {
    margin-bottom: 30px;
}

.section-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #555;
    margin-bottom: 12px;
    padding-left: 4px;
}

/* Project cards */
.card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
    text-decoration: none;
    color: inherit;
}

.card:hover {
    background: rgba(0, 123, 255, 0.1);
    border-color: rgba(0, 123, 255, 0.4);
    transform: translateY(-2px);
}

.card-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
}

.card-desc {
    font-size: 0.82rem;
    color: #666;
}

.card-authors {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    flex-wrap: wrap;
}

.card-authors span {
    font-size: 0.75rem;
    color: #555;
    margin-right: 2px;
}

.author-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.78rem;
    color: #4dabf7;
    text-decoration: none;
    background: rgba(0, 123, 255, 0.08);
    padding: 2px 8px;
    border-radius: 20px;
    border: 1px solid rgba(0, 123, 255, 0.2);
    transition: background 0.2s, color 0.2s;
}

.author-link:hover {
    background: rgba(0, 123, 255, 0.2);
    color: #ffffff;
}

.author-link svg {
    flex-shrink: 0;
}

.card-arrow {
    font-size: 1rem;
    color: #444;
    flex-shrink: 0;
    transition: color 0.2s;
}

.card:hover .card-arrow {
    color: #007bff;
}

/* Tag badges */
.badge {
    font-size: 0.68rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.badge-domain {
    background: rgba(0, 200, 120, 0.12);
    color: #00c87a;
    border: 1px solid rgba(0, 200, 120, 0.3);
}

.badge-ghpages {
    background: rgba(180, 100, 255, 0.12);
    color: #b46fff;
    border: 1px solid rgba(180, 100, 255, 0.3);
}

/* GitHub profile links */
.github-profiles {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.github-profile {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: #555;
    text-decoration: none;
    transition: color 0.2s;
}

.github-profile:hover {
    color: #aaa;
}

.github-profile svg {
    fill: currentColor;
}

.github-profile-tag {
    font-size: 0.7rem;
    color: #b0b8c8;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 1px 7px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
