:root {
    --primary-color: #6c5ce7;
    --secondary-color: #a29bfe;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
}

.background-tech {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
}

.lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.line {
    position: absolute;
    width: 1px;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    animation: animate 7s linear infinite;
}

.line:nth-child(1) {
    left: 20%;
    animation-delay: 0s;
    animation-duration: 10s;
}

.line:nth-child(2) {
    left: 40%;
    animation-delay: -1s;
    animation-duration: 8s;
}

.line:nth-child(3) {
    left: 60%;
    animation-delay: -2s;
    animation-duration: 12s;
}

.line:nth-child(4) {
    left: 80%;
    animation-delay: -3s;
    animation-duration: 9s;
}

.line:nth-child(5) {
    left: 90%;
    animation-delay: -4s;
    animation-duration: 7s;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 30px 30px;
}

.container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 500px;
    margin: auto;
    text-align: center;
    background: rgba(15, 12, 41, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.profile {
    margin-bottom: 2rem;
    animation: fadeIn 1s ease-in-out;
}

.profile-pic {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 0 auto 1rem;
}

.profile h1 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: white;
}

.profile p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.link-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.link-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.link-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.2rem;
    color: white;
}

.instagram { background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D, #F56040, #F77737, #FCAF45, #FFDC80); }
.github { background: #333; }
.linkedin { background: #0077B5; }
.email { background: #D44638; }
.youtube { background: #FF0000; }

.link-text {
    flex: 1;
    text-align: left;
}

.link-text h3 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
    color: white;
}

.link-text p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer {
    margin-top: auto;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    text-align: center;
    padding: 1rem;
}

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

@keyframes animate {
    0% { top: -100%; }
    100% { top: 100%; }
}

@media (max-width: 600px) {
    body { padding: 1rem; }
    .container { max-width: 100%; }
}