/* 删除 body 样式，因为它影响了整个页面 */
/* body {
    display: grid;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background: #1a1a1a;
    font-family: Arial, sans-serif;
} */

.profile-card-wrapper {
    position: absolute;
    top: 550px;
    left: 130px;
    width: 300px;
    height: 300px;
    perspective: 1000px;
    z-index: 10; /* 添加 z-index 确保卡片在正确的层级 */
}

.orbit-container {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: containerRotate 20s linear infinite;
}

.orbit-item {
    position: absolute;
    font-size: 1.5em;
    animation: float 3s ease-in-out infinite;
}

.sun {
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2em;
    animation: sunGlow 4s ease-in-out infinite;
}

.moon {
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.8em;
    animation: moonGlow 4s ease-in-out infinite;
}

.star1 { top: 30%; left: -30px; animation-delay: 0.5s; }
.star2 { top: 50%; right: -30px; animation-delay: 1s; }
.star3 { top: 70%; left: 50%; animation-delay: 1.5s; }

.profile-card {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    padding: 25px;
    position: relative;
    transform-style: preserve-3d;
    transition: all 0.5s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    perspective: 1000px;  /* 添加这行 */
    transform: perspective(1000px) rotateX(0) rotateY(0);  /* 添加这行 */
    will-change: transform;  /* 添加这行，优化性能 */
}

.card-content {
    position: relative;
    z-index: 1;
    transform-style: preserve-3d;  /* 添加这行 */
    transform: translateZ(60px);    /* 添加这行，创造深度感 */
}

.profile-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at center,
        transparent 15%,
        rgba(255, 255, 255, 0.03) 25%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0.03) 75%,
        transparent 80%
    );
    animation: rotateLightEffect 15s linear infinite;
}

.profile-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.5),
        rgba(255, 255, 255, 0.2),
        rgba(255, 182, 193, 0.3),
        rgba(147, 112, 219, 0.3),
        rgba(255, 255, 255, 0.5)
    );
    background-size: 200% 200%;
    filter: blur(4px);
    z-index: -1;
    animation: borderGlow 8s ease infinite;
}

.sparkle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    filter: blur(1px);
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.8);
    animation: sparkle 2s ease-in-out infinite;
}

.sparkle:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.sparkle:nth-child(2) { top: 20%; right: 15%; animation-delay: 0.3s; }
.sparkle:nth-child(3) { bottom: 15%; left: 20%; animation-delay: 0.6s; }
.sparkle:nth-child(4) { bottom: 20%; right: 10%; animation-delay: 0.9s; }

.profile-card:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.1),
        inset 0 0 30px rgba(255, 255, 255, 0.1);
}

.profile-card:hover::before {
    animation-duration: 5s;
}

.profile-header {
    text-align: center;
    margin-bottom: 8px;
}

.profile-header h2 {
    color: rgba(123, 61, 61, 0.1);
    font-size: 2em;
    margin: 0;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    padding: 1px;
    line-height: 1;
}

.title {
    color: rgba(63, 53, 53, 0.3);
    font-size: 0.9em;
    margin-top: 2px;
    font-weight: 600;
}

.profile-body {
    color: gray;
    color:rgba(131, 114, 114, 0.1)
    
}

.description {
    color: rgba(179, 169, 169, 0.8);
    font-size: 1.0em;
    line-height: 1.0;
    text-align: center;
    
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.icon-btn {
    text-decoration: none;
    font-size: 1.5em;
    padding: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.icon-btn:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@keyframes containerRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes sunGlow {
    0%, 100% { text-shadow: 0 0 20px #ffd700; }
    50% { text-shadow: 0 0 40px #ffd700; }
}

@keyframes moonGlow {
    0%, 100% { text-shadow: 0 0 20px #ffffff; }
    50% { text-shadow: 0 0 40px #ffffff; }
}

@keyframes rotateLightEffect {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes borderGlow {
    0%, 100% {
        background-position: 0% 50%;
        opacity: 0.8;
    }
    50% {
        background-position: 100% 50%;
        opacity: 1;
    }
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0.5);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* 添加响应式设计 */
@media screen and (max-width: 768px) {
    .profile-card-wrapper {
        position: absolute;
        top: 700px;
        right: 300px;
        margin: 0 auto;
    }
}


