@font-face {
    font-family: 'AgencyFB';
    src: url('fonts/AgencyFB-Bold.eot');
    src: url('fonts/AgencyFB-Bold.eot?#iefix') format('embedded-opentype'),
        url('fonts/AgencyFB-Bold.woff2') format('woff2'),
        url('fonts/AgencyFB-Bold.woff') format('woff'),
        url('fonts/AgencyFB-Bold.ttf') format('truetype'),
        url('fonts/AgencyFB-Bold.svg#AgencyFB') format('svg');
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    color: #e0e0e0;
}

.container {
    max-width: 680px;
    width: 100%;
    background: rgba(25, 25, 35, 0.95);
    border-radius: 24px;
    padding: 50px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

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

.avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: bold;
    color: white;
}

.avatar img {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

h1 {
    font-family: 'AgencyFB', sans-serif;
    font-weight: Bold;
    font-size: 48px;
    color: #e0e0e0;
    margin-bottom: 8px;
}

.subtitle {
    font-family: 'AgencyFB', sans-serif;
    font-size: 32px;
    color: #999;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 30px;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #2a2a3e;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #e0e0e0;
    font-weight: 600;
    font-size: 30px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-link:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.link-item {
    display: block;
    padding: 18px 24px;
    background: #2a2a3e;
    border: 2px solid #3a3a4e;
    border-radius: 12px;
    text-decoration: none;
    color: #e0e0e0;
    font-weight: 600;
    font-size: 15px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.link-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: left 0.3s ease;
    z-index: 0;
}

.link-item span {
    position: relative;
    z-index: 1;
}

.link-item:hover::before {
    left: 0;
}

.link-item:hover {
    color: white;
    border-color: #667eea;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.link-label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
    font-weight: 400;
}

.link-item:hover .link-label {
    color: rgba(255, 255, 255, 0.9);
}

footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #3a3a4e;
    color: #666;
    font-size: 13px;
}

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

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

.modal-content {
    background: rgba(25, 25, 35, 0.98);
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
    border: 1px solid #3a3a4e;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.modal-header h2 {
    color: #e0e0e0;
    font-size: 24px;
    margin: 0;
}

.close-btn {
    background: none;
    border: none;
    color: #999;
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-btn:hover {
    color: #e0e0e0;
}

.contact-section {
    margin-bottom: 25px;
}

.contact-section h3 {
    color: #e0e0e0;
    font-size: 13px;
    text-transform: uppercase;
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: #e0e0e0;
    font-size: 14px;
}

.contact-item a {
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-item a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.contact-icon {
    margin-right: 12px;
    color: #e0e0e0;
}

.contact-dl-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

@media (max-width: 600px) {
    .container {
        padding: 40px 24px;
    }

    h1 {
        font-size: 24px;
    }

    .link-item {
        padding: 16px 20px;
        font-size: 14px;
    }

    .modal-content {
        padding: 30px;
    }

    .modal-header h2 {
        font-size: 20px;
    }
}