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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #0b0f19;
    color: #e2e8f0;
    line-height: 1.6;
    padding: 2rem 1rem;
}

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

/* Header Profile Section */
.profile-card {
    background: #161e2e;
    border: 1px solid #2d3748;
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.avatar {
    width: 84px;
    height: 84px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 auto 1.2rem;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

h1 {
    font-size: 2rem;
    color: #f8fafc;
    margin-bottom: 0.5rem;
}

.tagline {
    color: #94a3b8;
    margin-bottom: 1.2rem;
    font-size: 1rem;
}

.badges {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.badge {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Sections */
.section {
    margin-bottom: 2rem;
}

.section h2 {
    font-size: 1.35rem;
    color: #f1f5f9;
    margin-bottom: 1rem;
    border-bottom: 2px solid #1e293b;
    padding-bottom: 0.5rem;
}

/* Project Cards */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.project-card {
    background: #161e2e;
    border: 1px solid #2d3748;
    border-radius: 12px;
    padding: 1.5rem;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.project-card:hover {
    transform: translateY(-4px);
    border-color: #3b82f6;
}

.project-card h3 {
    color: #38bdf8;
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
}

.project-card p {
    color: #94a3b8;
    font-size: 0.92rem;
    margin-bottom: 1.2rem;
}

.tech-tags {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.tech-tags span {
    background: #1e293b;
    color: #cbd5e1;
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
}

/* Interactive Widget */
.widget-card {
    background: #161e2e;
    border: 1px solid #2d3748;
    border-radius: 12px;
    padding: 1.8rem;
    text-align: center;
}

.widget-card p {
    color: #94a3b8;
    font-size: 0.95rem;
}

.counter-display {
    font-size: 3.5rem;
    font-weight: 800;
    color: #38bdf8;
    margin: 1rem 0;
}

.btn-group {
    display: flex;
    gap: 0.6rem;
    justify-content: center;
}

.btn {
    background: #334155;
    color: #f8fafc;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn:hover {
    background: #475569;
}

.btn-primary {
    background: #2563eb;
}

.btn-primary:hover {
    background: #1d4ed8;
}

.btn-secondary {
    background: #475569;
}

.btn-secondary:hover {
    background: #64748b;
}