body {
    background: radial-gradient(circle, #0d0d2b, #000000);
    color: white;
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    overflow: hidden;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.1) 10%, transparent 10.01%),
                radial-gradient(circle, rgba(255, 0, 255, 0.1) 20%, transparent 20.01%);
    background-size: 50px 50px;
    animation: moveBackground 60s linear infinite;
}

@keyframes moveBackground {
    from { transform: translateY(0) translateX(0); }
    to { transform: translateY(-1000px) translateX(-1000px); }
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 1;
}

.profile-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 25px;
    text-align: center;
    width: 400px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2),
                0 0 40px rgba(255, 0, 255, 0.2);
    transition: transform 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-10px);
}

.profile-img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 3px solid rgba(0, 255, 255, 0.5);
    margin-bottom: 25px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

h2 {
    font-size: 28px;
    font-weight: 600;
    margin: 15px 0;
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
}

p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin: 8px 0;
    line-height: 1.6;
}

.social-links {
    margin: 25px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links img {
    width: 35px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 5px rgba(0, 255, 255, 0.5));
}

social-links img:hover {
    transform: translateY(-5px);
    filter: drop-shadow(0 0 10px rgba(255, 0, 255, 0.8));
}

.nav {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 25px;
}

.nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 5px 10px;
    transition: all 0.3s ease;
}

.nav a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #00ffff, #ff00ff);
    bottom: 0;
    left: 0;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav a:hover {
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
}

.nav a:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.card {
    perspective: 1000px;
}

.card-inner {
    position: relative;
    width: 100%;
    max-width: 400px;
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

.card-inner.is-flipped {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    backface-visibility: hidden;
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2),
                0 0 40px rgba(255, 0, 255, 0.2);
}

.card-back {
    transform: rotateY(180deg);
    display: none;
}

.hidden-section {
    display: none;
}

.buttons-section {
    margin-top: 20px;
}

.buttons-section button {
    background-color: #00ffff;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    cursor: pointer;
    color: #000;
    font-weight: 600;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.buttons-section button:hover {
    background-color: #ff00ff;
}

@media (max-width: 480px) {
    .profile-card {
        width: 90%;
        padding: 30px;
    }
    
    .profile-img {
        width: 120px;
        height: 120px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    p {
        font-size: 14px;
    }
}
