/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: #0F0F23; /* Static dark background */
    color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
    /* Disable text selection */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, #8B5CF6, #A855F7, #C084FC);
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) { width: 4px; height: 4px; top: 20%; left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { width: 6px; height: 6px; top: 60%; left: 80%; animation-delay: 1s; }
.particle:nth-child(3) { width: 3px; height: 3px; top: 80%; left: 20%; animation-delay: 2s; }
.particle:nth-child(4) { width: 5px; height: 5px; top: 30%; left: 70%; animation-delay: 3s; }
.particle:nth-child(5) { width: 4px; height: 4px; top: 70%; left: 50%; animation-delay: 4s; }
.particle:nth-child(6) { width: 7px; height: 7px; top: 10%; left: 60%; animation-delay: 5s; }
.particle:nth-child(7) { width: 3px; height: 3px; top: 90%; left: 90%; animation-delay: 2.5s; }
.particle:nth-child(8) { width: 5px; height: 5px; top: 40%; left: 30%; animation-delay: 1.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.6; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 1; }
}

/* Glass Effect */
.glass-effect {
    background: rgba(139, 92, 246, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.3), inset 0 1px 0 rgba(139, 92, 246, 0.2);
}

/* Profile Card */
.profile-card {
    position: relative;
    overflow: hidden;
    animation: cardEntrance 1s ease-out;
    transition: all 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.4), inset 0 1px 0 rgba(139, 92, 246, 0.3);
}

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

/* Banner Section */
.banner-section { position: relative; height: 150px; overflow: hidden; border-radius: 24px 24px 0 0; }
.banner-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.profile-card:hover .banner-img { transform: scale(1.05); }
.banner-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(180deg, transparent 0%, rgba(139, 92, 246, 0.4) 100%); }

/* Avatar Section */
.avatar-section { display: flex; justify-content: center; margin-top: -50px; margin-bottom: 20px; position: relative; z-index: 2; }
.avatar-container { position: relative; display: inline-block; }
.avatar-img { width: 100px; height: 100px; border-radius: 50%; border: 4px solid rgba(139, 92, 246, 0.5); object-fit: cover; transition: all 0.3s ease; position: relative; z-index: 2; }
.avatar-glow { position: absolute; top: -10px; left: -10px; right: -10px; bottom: -10px; border-radius: 50%; background: linear-gradient(45deg, #8B5CF6, #A855F7, #C084FC, #8B5CF6); opacity: 0; animation: avatarGlow 3s ease-in-out infinite; z-index: 1; }
.profile-card:hover .avatar-glow { opacity: 0.6; }

@keyframes avatarGlow {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.3; }
    50% { transform: scale(1.1) rotate(180deg); opacity: 0.8; }
}

/* Profile Info */
.profile-info { text-align: center; padding: 0 30px 30px; }
.profile-title { font-family: 'Orbitron', monospace; font-size: 2rem; font-weight: 900; background: linear-gradient(45deg, #8B5CF6, #A855F7, #C084FC); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 10px; animation: titlePulse 2s ease-in-out infinite; }

@keyframes titlePulse {
    0%, 100% { text-shadow: 0 0 20px rgba(139, 92, 246, 0.5); }
    50% { text-shadow: 0 0 30px rgba(168, 85, 247, 0.8); }
}

.profile-subtitle { font-size: 1.2rem; color: #C084FC; margin-bottom: 20px; font-weight: 500; }
.profile-description { font-size: 0.95rem; color: rgba(255, 255, 255, 0.8); line-height: 1.6; }
.profile-description p { margin-bottom: 8px; display: flex; align-items: center; justify-content: center; }
.profile-description i { color: #A855F7; }

/* Social Links */
.social-links { padding: 0 30px 30px; display: flex; justify-content: center; }
.social-icons-row { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.social-icon-btn { position: relative; display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 50%; text-decoration: none; color: white; font-size: 1.5rem; transition: all 0.3s ease; overflow: hidden; background: linear-gradient(45deg, #8B5CF6, #A855F7, #C084FC); border: 2px solid rgba(139, 92, 246, 0.3); box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3); }
.social-icon-btn:hover { transform: translateY(-5px) scale(1.1); box-shadow: 0 8px 25px rgba(139, 92, 246, 0.5); color: white; border-color: rgba(139, 92, 246, 0.6); }
.social-icon-btn i { position: relative; z-index: 2; transition: all 0.3s ease; }
.social-icon-btn:hover i { transform: scale(1.2); }
.icon-glow { position: absolute; top: -5px; left: -5px; right: -5px; bottom: -5px; border-radius: 50%; background: linear-gradient(45deg, #8B5CF6, #A855F7, #C084FC, #8B5CF6); opacity: 0; animation: iconGlow 3s ease-in-out infinite; z-index: 1; }
.social-icon-btn:hover .icon-glow { opacity: 0.8; }

@keyframes iconGlow {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0; }
    50% { transform: scale(1.2) rotate(180deg); opacity: 0.6; }
}

/* Card Footer */
.card-footer { text-align: center; padding: 20px 30px; border-top: 1px solid rgba(139, 92, 246, 0.3); background: rgba(139, 92, 246, 0.05); border-radius: 0 0 24px 24px; }
.footer-text { font-size: 0.9rem; color: rgba(255, 255, 255, 0.6); margin: 0; }

/* Responsive & Animations */
@media (max-width: 768px) { .profile-card { margin: 20px; } .profile-title { font-size: 1.8rem; } .social-icon-btn { width: 55px; height: 55px; font-size: 1.3rem; } .social-icons-row { gap: 15px; } .profile-info, .social-links { padding: 0 20px 20px; } }
@media (max-width: 480px) { .profile-title { font-size: 1.6rem; } .banner-section { height: 120px; } .avatar-img { width: 80px; height: 80px; } .avatar-section { margin-top: -40px; } .social-icon-btn { width: 50px; height: 50px; font-size: 1.2rem; } .social-icons-row { gap: 12px; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.social-icon-btn { animation: fadeInUp 0.6s ease-out; }
.social-icon-btn:nth-child(1) { animation-delay: 0.1s; } .social-icon-btn:nth-child(2) { animation-delay: 0.2s; } .social-icon-btn:nth-child(3) { animation-delay: 0.3s; } .social-icon-btn:nth-child(4) { animation-delay: 0.4s; }

/* Hover Effects & Tooltips */
.profile-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(45deg, transparent, rgba(139, 92, 246, 0.1), transparent); opacity: 0; transition: opacity 0.3s ease; border-radius: 24px; pointer-events: none; }
.profile-card:hover::before { opacity: 1; }
.social-icon-btn::after { content: attr(title); position: absolute; bottom: -35px; left: 50%; transform: translateX(-50%); background: rgba(139, 92, 246, 0.9); color: white; padding: 5px 10px; border-radius: 8px; font-size: 0.8rem; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; z-index: 10; }
.social-icon-btn:hover::after { opacity: 1; }