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

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #708090 0%, #A8A8A8 50%, #C0C0C0 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 500px;
    margin: 0 auto;
    background: #F5F5F5;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(44, 44, 44, 0.4);
}

.header {
    background: linear-gradient(135deg, #808080 0%, #A8A8A8 50%, #C0C0C0 100%);
    padding: 40px 20px;
    text-align: center;
    position: relative;
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 0;
    border: none;
    margin: 0 auto 20px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #4A4A4A;
    font-weight: bold;
    box-shadow: none;
    overflow: visible;
}

.avatar-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0;
    filter: brightness(0.95) contrast(1.05);
    box-sizing: border-box;
    border-radius: 0;
    transform: none;
}

.name {
    color: #2C2C2C;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.company {
    color: #3A3A3A;
    font-size: 16px;
    margin-bottom: 5px;
}

.position {
    color: #4A4A4A;
    font-size: 14px;
}

.contact-section {
    padding: 30px 20px;
    background: #F5F5F5;
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    background: #E8E8E8;
    border-radius: 10px;
    text-decoration: none;
    color: #2C2C2C;
    transition: all 0.3s;
    border: 1px solid #D0D0D0;
}

.contact-item:hover {
    background: #D0D0D0;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(44, 44, 44, 0.15);
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #708090 0%, #A8A8A8 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
    font-size: 20px;
    box-shadow: 0 2px 8px rgba(44, 44, 44, 0.2);
    filter: brightness(1.1) contrast(1.1);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    color: white;
}

.contact-text {
    flex: 1;
}

.contact-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 3px;
}

.contact-value {
    font-size: 15px;
    font-weight: 500;
    color: #2C2C2C;
}

.social-section {
    padding: 0 20px 30px;
    background: #F5F5F5;
}

.section-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #3A3A3A;
}

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

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: #E8E8E8;
    border-radius: 10px;
    text-decoration: none;
    color: #2C2C2C;
    transition: all 0.3s;
    border: 1px solid #D0D0D0;
}

.social-link:hover {
    background: linear-gradient(135deg, #708090 0%, #A8A8A8 100%);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(44, 44, 44, 0.25);
}

.social-icon {
    font-size: 24px;
    margin-bottom: 8px;
    filter: grayscale(0.3) brightness(0.9);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.social-icon svg {
    width: 100%;
    height: 100%;
    color: #4A4A4A;
    transition: all 0.3s;
}

.social-link:hover .social-icon {
    filter: brightness(1.2) contrast(1.1);
    transform: scale(1.1);
}

.social-link:hover .social-icon svg {
    color: white;
}

.social-label {
    font-size: 12px;
}

.qr-button {
    width: 100%;
    padding: 15px;
    margin-top: 15px;
    background: linear-gradient(135deg, #708090 0%, #A8A8A8 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(44, 44, 44, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.qr-button::before {
    content: "◉";
    font-size: 18px;
    filter: brightness(1.2);
}

.qr-button:hover {
    background: linear-gradient(135deg, #5A6A7A 0%, #8898A8 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 44, 44, 0.4);
}

.footer {
    background: #E8E8E8;
    padding: 15px 20px;
    text-align: center;
    color: #666;
    font-size: 12px;
    border-top: 1px solid #D0D0D0;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 44, 44, 0.7);
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: #F5F5F5;
    margin: auto;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 20px 60px rgba(44, 44, 44, 0.5);
    text-align: center;
    border: 2px solid #D0D0D0;
}

.modal-content h2 {
    color: #3A3A3A;
    margin-bottom: 20px;
    font-size: 24px;
}

.qr-code {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid #D0D0D0;
    color: #666;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-button {
    padding: 12px 30px;
    background: linear-gradient(135deg, #708090 0%, #A8A8A8 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(44, 44, 44, 0.3);
}

.close-button:hover {
    background: linear-gradient(135deg, #5A6A7A 0%, #8898A8 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 44, 44, 0.4);
}
