/* Modern kartvizit şablonu */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, var(--body-bg0, #0b0f14) 0%, var(--body-bg1, #1a1f2e) 100%);
    min-height: 100vh;
    padding: 20px;
    color: var(--text, #e8eef6);
    line-height: 1.6;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    animation: fadeIn 0.6s ease-out;
}

.card {
    background: var(--card-bg, rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(20px);
    border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
    border-radius: var(--card-radius, 24px);
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary, #7CB342), var(--accent, #689F38));
    border: 4px solid var(--accent, #689F38);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: 700;
    color: white;
    box-shadow: 0 4px 16px rgba(0,0,0,0.4);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.avatar:hover {
    transform: scale(1.05);
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info {
    flex: 1;
}

.profile-name {
    font-size: 28px;
    font-weight: 700;
    color: var(--text, #e8eef6);
    margin-bottom: 4px;
}

.profile-title {
    color: var(--text-secondary, rgba(232, 238, 246, 0.8));
    font-size: 16px;
}

.bio {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
    border-radius: 16px;
    padding: 20px;
    margin: 24px 0;
    color: var(--text-secondary, rgba(232, 238, 246, 0.8));
    line-height: 1.7;
}

.stats {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
    margin: 24px 0;
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--accent, #689F38);
    display: block;
}

.stat-label {
    font-size: 12px;
    color: rgba(232, 238, 246, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.buttons {
    margin: 28px 0;
}

.btn-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 10px;
}

.btn-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 18px 12px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
    transition: all 0.3s ease;
    cursor: pointer;
    background: rgba(255,255,255,0.05);
    color: var(--text, #e8eef6);
}

.btn-icon svg {
    width: 26px;
    height: 26px;
    stroke: currentColor;
    flex-shrink: 0;
}

.btn-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.divider {
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 32px 0;
    position: relative;
}

.divider::after {
    content: '◆';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--body-bg1, #1a1f2e);
    padding: 0 12px;
    color: var(--accent, #689F38);
    font-size: 12px;
}

.section-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted, rgba(232, 238, 246, 0.5));
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 24px 0;
}

.social-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
    color: var(--text, #e8eef6);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-btn svg,
.social-btn img {
    width: 28px;
    height: 28px;
}

.social-btn:hover {
    transform: translateY(-4px) scale(1.1);
    background: rgba(255,255,255,0.15);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.view-count {
    text-align: center;
    padding: 16px;
    color: var(--text-muted, rgba(232, 238, 246, 0.5));
    font-size: 12px;
    margin-top: 16px;
}

.qr-section {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border, rgba(255, 255, 255, 0.1));
    border-radius: 16px;
    padding: 24px;
    margin: 24px 0;
    display: flex;
    align-items: center;
    gap: 20px;
}

.qr-code {
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 12px;
    padding: 8px;
    flex-shrink: 0;
}

.qr-actions {
    flex: 1;
}

.qr-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    body { padding: 12px; }
    .card { padding: 24px; }
    .profile-header { flex-direction: column; text-align: center; }
    .avatar { width: 100px; height: 100px; font-size: 40px; border-width: 3px; }
    .profile-name { font-size: 24px; }
    .qr-section { flex-direction: column; }
}
