* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

:root {
    --bg-gradient: radial-gradient(circle at 50% 0%, #1a1c29 0%, #0d0e15 100%);
    --card-bg: rgba(25, 28, 42, 0.7);
    --border-color: rgba(255, 255, 255, 0.1);
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --accent-color: #6366f1;
    --accent-hover: #4f46e5;
    --tag-bg: rgba(99, 102, 241, 0.15);
    --item-bg: rgba(255, 255, 255, 0.03);
    --item-hover: rgba(255, 255, 255, 0.07);
}

body.light-theme {
    --bg-gradient: radial-gradient(circle at 50% 0%, #f0f2f5 0%, #e2e8f0 100%);
    --card-bg: rgba(255, 255, 255, 0.85);
    --border-color: rgba(0, 0, 0, 0.08);
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --tag-bg: rgba(99, 102, 241, 0.1);
    --item-bg: rgba(0, 0, 0, 0.02);
    --item-hover: rgba(0, 0, 0, 0.05);
}

body {
    background: var(--bg-gradient);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px;
    color: var(--text-main);
    transition: background 0.4s ease;
    position: relative;
    overflow-x: hidden;
}

.bg-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(168, 85, 247, 0.25));
    filter: blur(80px);
    border-radius: 50%;
    z-index: 0;
    top: 10%;
}

.card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    padding: 36px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 480px;
    text-align: center;
    position: relative;
    z-index: 1;
    animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.avatar-container {
    width: 100px;
    height: 100px;
    margin: 0 auto 16px;
    border-radius: 50%;
    position: relative;
    padding: 3px;
    background: linear-gradient(135deg, #6366f1, #a855f7);
}

.avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.status-badge {
    position: absolute;
    bottom: 6px;
    right: 6px;
    width: 14px;
    height: 14px;
    background-color: #10b981;
    border: 2px solid #fff;
    border-radius: 50%;
}

h1 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
}

.title {
    font-size: 13px;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.bio {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.skills-section {
    text-align: left;
    margin-bottom: 20px;
}

.skills-section h3, .projects-section h3 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tags span {
    background: var(--tag-bg);
    color: var(--accent-color);
    font-size: 11px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
}

.projects-section {
    text-align: left;
    margin-bottom: 24px;
}

.project-item {
    background: var(--item-bg);
    border: 1px solid var(--border-color);
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
    cursor: pointer;
}

.project-item:hover {
    background: var(--item-hover);
    transform: translateX(4px);
}

.project-info h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
}

.project-info p {
    font-size: 11px;
    color: var(--text-muted);
}

.project-item i {
    font-size: 12px;
    color: var(--text-muted);
}

.social-links {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.social-btn {
    flex: 1;
    padding: 10px;
    border-radius: 10px;
    color: white;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: opacity 0.2s, transform 0.2s;
}

.social-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.github { background-color: #24292e; }
.linkedin { background-color: #0077b5; }
.tiktok { background-color: #111; border: 1px solid rgba(255,255,255,0.1); }

.action-btn {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s, transform 0.2s;
}

.action-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}