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

:root {
    --bg-dark: #0a0a0a;
    --bg-card: #1a1a1a;
    --text-primary: #F4E9D5;
    --text-secondary: #a0a0a0;
    --accent: #00d9ff;
    --accent-hover: #00b8e6;
    --border-radius: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 100%;
    max-width: 420px;
    position: relative;
}

.card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 40px 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
    position: relative;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-section {
    text-align: center;
    margin-bottom: 32px;
}

.avatar {
    width: 70%;
    margin: 0 auto 24px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 0.6s ease 0.2s backwards;
}

.avatar-logo {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 217, 255, 0.2));
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.name {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 12px;
    animation: fadeInUp 0.6s ease 0.3s backwards;
}

.position {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    animation: fadeInUp 0.6s ease 0.4s backwards;
}

.company {
    font-size: 18px;
    color: var(--accent);
    font-weight: 500;
    animation: fadeInUp 0.6s ease 0.5s backwards;
}

.contacts-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: var(--bg-dark);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    animation: fadeInUp 0.6s ease backwards;
}

.contact-item:nth-child(1) {
    animation-delay: 0.6s;
}

.contact-item:nth-child(2) {
    animation-delay: 0.7s;
}

.contact-item:nth-child(3) {
    animation-delay: 0.8s;
}

.contact-item:hover,
.contact-item:active {
    background: rgba(0, 217, 255, 0.1);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--text-primary);
    transition: var(--transition);
}

.contact-item:hover .icon {
    transform: scale(1.1);
}

.contact-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.contact-label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 2px;
}

.contact-value {
    font-size: 16px;
    font-weight: 500;
}

.notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--accent);
    color: var(--bg-dark);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 14px;
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
    box-shadow: 0 8px 24px rgba(0, 217, 255, 0.4);
}

.notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.save-section {
    margin-top: 24px;
    display: flex;
    justify-content: flex-end;
}

.save-contact-icon {
    width: 27px;
    height: 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
    opacity: 0;
    animation: fadeIn 0.6s ease 0.9s forwards;
}

.save-contact-icon svg {
    width: 100%;
    height: 100%;
}

.save-contact-icon:hover {
    transform: scale(1.1);
}

.save-contact-icon:active {
    transform: scale(0.95);
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@media (max-width: 480px) {
    body {
        padding: 16px;
    }

    .card {
        padding: 32px 20px;
    }

    .name {
        font-size: 24px;
    }

    .position {
        font-size: 15px;
    }

    .company {
        font-size: 16px;
    }

    .avatar {
        width: 70%;
    }
}

@media (hover: none) {
    .contact-item:hover {
        transform: none;
    }
    
    .contact-item:active {
        transform: scale(0.98);
    }
    
    .save-contact-icon:hover {
        transform: none;
    }
}

