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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #000;
    color: #fff;
    overflow-x: hidden;
    perspective: 1000px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    position: relative;
    z-index: 10;
}

.profile-section {
    display: flex;
    justify-content: center;
    margin-bottom: 80px;
}

.profile-card {
    text-align: center;
    padding: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transform-style: preserve-3d;
    transition: all 0.5s ease;
}

.profile-card:hover {
    transform: translateZ(30px) rotateX(5deg);
    box-shadow: 0 0 60px rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.profile-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
    transition: all 0.5s ease;
    filter: grayscale(100%);
}

.profile-card:hover .profile-img {
    filter: grayscale(0%);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.5);
    transform: translateZ(50px) scale(1.05);
}

.name {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.tagline {
    font-size: 1.1rem;
    color: #aaa;
    margin-bottom: 15px;
}

.bio {
    font-size: 1rem;
    color: #888;
    max-width: 400px;
}

.links-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.link-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    transform-style: preserve-3d;
    transition: all 0.4s ease;
    cursor: pointer;
}

.link-card:hover {
    transform: translateY(-10px) translateZ(40px) rotateY(5deg);
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.08);
}

.icon {
    font-size: 3rem;
    margin-bottom: 15px;
    transition: all 0.4s ease;
}

.link-card:hover .icon {
    transform: translateZ(30px) scale(1.2);
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
}

.link-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.link-card p {
    color: #aaa;
    font-size: 0.95rem;
}

.tech-stack {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.tech-item {
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 25px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: default;
}

.tech-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
}

.floating-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.shape {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 15%;
    animation-delay: 5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 50%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translate(30px, -30px) rotate(90deg);
        opacity: 0.5;
    }
    50% {
        transform: translate(-20px, 20px) rotate(180deg);
        opacity: 0.3;
    }
    75% {
        transform: translate(40px, 10px) rotate(270deg);
        opacity: 0.6;
    }
}

@media (max-width: 768px) {
    .name {
        font-size: 2rem;
    }
    
    .links-section {
        grid-template-columns: 1fr;
    }
}
