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

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    min-height: 100vh;
    color: #ffffff;
    overflow-x: hidden;
}

.container {
    max-width: 480px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
}

.profile-section {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out;
}

.profile-image {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.profile-image img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #8B5CF6;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
    transition: all 0.3s ease;
}

.profile-image:hover img {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.5);
}

.profile-name {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #8B5CF6, #A855F7, #C084FC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.profile-description {
    font-size: 1.1rem;
    color: #B8B8D1;
    font-weight: 400;
    line-height: 1.5;
}

.links-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.link-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.1), transparent);
    transition: left 0.5s ease;
}

.link-card:hover::before {
    left: 100%;
}

.link-card:hover {
    transform: translateY(-2px);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.15);
    background: rgba(255, 255, 255, 0.08);
}

.link-card:active {
    transform: translateY(0);
    transition: transform 0.1s ease;
}

.link-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #8B5CF6, #A855F7);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.3);
    transition: all 0.3s ease;
}

.link-card:hover .link-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.link-icon i {
    font-size: 1.4rem;
    color: #ffffff;
}

.link-content {
    flex: 1;
}

.link-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: #ffffff;
}

.link-content p {
    font-size: 0.9rem;
    color: #B8B8D1;
    font-weight: 400;
}

.link-arrow {
    color: #8B5CF6;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.link-card:hover .link-arrow {
    transform: translateX(4px);
    opacity: 1;
}

.footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
}

.footer p {
    color: #B8B8D1;
    font-size: 0.9rem;
    font-weight: 400;
}

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

.link-card {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.link-card:nth-child(1) { animation-delay: 0.1s; }
.link-card:nth-child(2) { animation-delay: 0.2s; }
.link-card:nth-child(3) { animation-delay: 0.3s; }
.link-card:nth-child(4) { animation-delay: 0.4s; }
.link-card:nth-child(5) { animation-delay: 0.5s; }
.link-card:nth-child(6) { animation-delay: 0.6s; }
.link-card:nth-child(7) { animation-delay: 0.7s; }

@media (max-width: 480px) {
    .container {
        padding: 30px 15px;
    }
    
    .profile-name {
        font-size: 2rem;
    }
    
    .link-card {
        padding: 16px;
    }
    
    .link-icon {
        width: 45px;
        height: 45px;
    }
    
    .link-icon i {
        font-size: 1.2rem;
    }
    
    .link-content h3 {
        font-size: 1.1rem;
    }
    
    .link-content p {
        font-size: 0.85rem;
    }
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(192, 132, 252, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
    transition: all 0.3s ease;
}

#network-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.7;
}

.container:hover {
    animation: subtle-pulse 2s ease-in-out infinite;
}

@keyframes subtle-pulse {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.02);
    }
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-out;
}

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

.modal-content {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 20px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    position: relative;
    animation: slideInUp 0.4s ease-out;
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.2);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.modal-header h3 {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-header h3 i {
    color: #8B5CF6;
}

.close-btn {
    background: none;
    border: none;
    color: #B8B8D1;
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-btn:hover {
    background: rgba(139, 92, 246, 0.2);
    color: #8B5CF6;
    transform: rotate(90deg);
}

.modal-body {
    text-align: center;
}

.email-copied {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #22c55e;
    font-weight: 500;
    animation: bounceIn 0.5s ease-out;
}

.email-copied i {
    font-size: 1.2rem;
}

.email-display {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 25px;
}

.email-display code {
    color: #8B5CF6;
    font-size: 1.1rem;
    font-weight: 500;
    font-family: 'Inter', monospace;
}

.email-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.email-btn {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
}

.gmail-btn {
    background: linear-gradient(135deg, #ea4335, #fbbc04);
    color: white;
}

.gmail-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(234, 67, 53, 0.3);
}

.outlook-btn {
    background: linear-gradient(135deg, #0078d4, #106ebe);
    color: white;
}

.outlook-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 120, 212, 0.3);
}

.other-email {
    margin-top: 10px;
}

.other-btn {
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #8B5CF6;
    width: 100%;
}

.other-btn:hover {
    background: rgba(139, 92, 246, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.2);
}

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

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 480px) {
    .modal-content {
        padding: 25px 20px;
        margin: 20px;
    }
    
    .email-buttons {
        flex-direction: column;
    }
    
    .modal-header h3 {
        font-size: 1.2rem;
    }
}
