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

@font-face {
    font-family: 'Chinese';
    src: local('Microsoft YaHei'), local('SimHei'), local('PMingLiU');
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes rainbow {
    0% { color: #ff69b4; }
    14% { color: #ff1493; }
    28% { color: #ff0000; }
    42% { color: #ff6600; }
    57% { color: #ffff00; }
    71% { color: #00ff00; }
    85% { color: #00ffff; }
    100% { color: #ff69b4; }
}

@keyframes rainbowBg {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes glow {
    0%, 100% { 
        text-shadow: 0 0 5px #ff00ff, 0 0 10px #ff00ff, 0 0 20px #ff00ff, 0 0 40px #ff00ff;
    }
    50% { 
        text-shadow: 0 0 5px #00ffff, 0 0 10px #00ffff, 0 0 20px #00ffff, 0 0 40px #00ffff;
    }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

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

@keyframes shake {
    0%, 100% { transform: translateX(0) scale(1.03); }
    25% { transform: translateX(-8px) rotate(-2deg) scale(1.03); }
    75% { transform: translateX(8px) rotate(2deg) scale(1.03); }
}

@keyframes borderPulse {
    0%, 100% { 
        border-color: #ff69b4;
        box-shadow: 0 0 10px #ff69b4, inset 0 0 10px rgba(255,105,180,0.3);
    }
    33% { 
        border-color: #00ffff;
        box-shadow: 0 0 10px #00ffff, inset 0 0 10px rgba(0,255,255,0.3);
    }
    66% { 
        border-color: #ffff00;
        box-shadow: 0 0 10px #ffff00, inset 0 0 10px rgba(255,255,0,0.3);
    }
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: translateX(-100px);
    }
    to { 
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    15% { transform: scale(1.3); }
    30% { transform: scale(1); }
    45% { transform: scale(1.2); }
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes discSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

body {
    font-family: 'Microsoft YaHei', 'SimHei', 'PMingLiU', sans-serif;
    background: linear-gradient(180deg, #1a0a1a 0%, #0a0a1a 50%, #0a1a1a 100%);
    background-size: 200% 200%;
    animation: rainbowBg 10s ease infinite;
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
    cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><text y="24" font-size="24">♥</text></svg>'), auto;
}

marquee {
    background: linear-gradient(90deg, rgba(255,0,255,0.3), rgba(0,255,255,0.3));
    color: #ff69b4;
    padding: 10px;
    font-size: 16px;
    font-weight: bold;
    border-bottom: 2px solid #ff69b4;
    border-top: 2px solid #00ffff;
}

.marquee-top {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.marquee-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: none;
    border-top: 2px solid #ff69b4;
}

.bg-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255,0,255,0.03) 10px, rgba(255,0,255,0.03) 20px),
        repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(0,255,255,0.03) 10px, rgba(0,255,255,0.03) 20px);
    pointer-events: none;
    z-index: 0;
}

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

.main-container {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 20px 80px;
}

.header {
    text-align: center;
    padding: 20px;
    margin-bottom: 20px;
}

.welcome-banner {
    display: inline-block;
    background: linear-gradient(90deg, #ff69b4, #ff1493, #ff00ff, #00ffff);
    padding: 8px 30px;
    border-radius: 5px;
    margin-bottom: 25px;
    animation: glow 2s ease-in-out infinite;
}

.welcome-text {
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px #000;
}

.avatar-container {
    position: relative;
    display: inline-block;
    margin: 20px 0;
}

.avatar-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 160px;
    border: 4px solid #ff69b4;
    border-radius: 50%;
    animation: borderPulse 3s ease-in-out infinite;
}

.avatar-ring-2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 170px;
    height: 170px;
    border: 2px dashed #00ffff;
    border-radius: 10px;
    animation: spin 10s linear infinite;
}

.avatar {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, #2a1a3a, #1a2a3a);
    border: 4px solid #ff00ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    margin: 10px;
}

.avatar-text {
    font-size: 60px;
    color: #ff69b4;
    text-shadow: 0 0 20px #ff00ff;
    animation: glow 2s ease-in-out infinite;
}

.avatar-sparkle {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    color: #ffff00;
    animation: pulse 1s ease-in-out infinite;
}

.avatar-wings-left,
.avatar-wings-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: #ff69b4;
    opacity: 0.7;
    animation: float 2s ease-in-out infinite;
}

.avatar-wings-left {
    left: -60px;
}

.avatar-wings-right {
    right: -60px;
}

.avatar-ankh {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 30px;
    color: #ffd700;
    animation: pulse 2s ease-in-out infinite;
}

.main-title {
    font-size: 42px;
    margin: 25px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.title-shine {
    color: #ff69b4;
    animation: glow 2s ease-in-out infinite;
    font-size: 36px;
}

.title-text {
    background: linear-gradient(90deg, #ff69b4, #ff1493, #ff00ff, #00ffff, #ffff00, #ff69b4);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: rainbowBg 3s linear infinite;
    font-weight: bold;
    letter-spacing: 5px;
}

.subtitle-box {
    background: rgba(0,0,0,0.5);
    border: 2px solid #ff69b4;
    border-radius: 10px;
    padding: 15px 25px;
    display: inline-block;
    margin: 15px 0;
    animation: borderPulse 4s ease-in-out infinite;
}

.subtitle-line1 {
    font-size: 18px;
    color: #00ffff;
    margin-bottom: 8px;
    letter-spacing: 3px;
}

.subtitle-line2 {
    font-size: 14px;
    color: #ff69b4;
    letter-spacing: 2px;
}

.badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.badge {
    background: linear-gradient(90deg, rgba(255,105,180,0.3), rgba(0,255,255,0.3));
    border: 1px solid #ff69b4;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    animation: glow 3s ease-in-out infinite;
}

.badge:nth-child(2) { animation-delay: 0.5s; }
.badge:nth-child(3) { animation-delay: 1s; }
.badge:nth-child(4) { animation-delay: 1.5s; }

.section-title {
    text-align: center;
    font-size: 22px;
    color: #ff69b4;
    margin: 25px 0 15px;
    text-shadow: 0 0 10px #ff69b4;
    letter-spacing: 3px;
}

.title-deco {
    color: #00ffff;
    animation: pulse 1.5s ease-in-out infinite;
}

.status-section {
    margin: 20px 0;
}

.status-box {
    background: rgba(0,0,0,0.6);
    border: 3px solid #ff00ff;
    border-radius: 15px;
    padding: 20px;
    animation: borderPulse 3s ease-in-out infinite;
}

.mood-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 12px 0;
    flex-wrap: wrap;
}

.mood-icon {
    color: #ffff00;
    font-size: 18px;
    animation: pulse 1s ease-in-out infinite;
}

.mood-label {
    color: #00ffff;
    font-size: 15px;
}

.mood-value {
    color: #ff69b4;
    font-size: 15px;
}

.rainbow {
    animation: rainbow 2s linear infinite;
    font-weight: bold;
}

.signature {
    text-align: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #ff69b4;
    font-size: 16px;
    color: #ffb6c1;
    line-height: 1.8;
}

.blink {
    animation: blink 0.8s ease-in-out infinite;
    color: #ff1493;
    font-size: 20px;
}

.counter-section {
    text-align: center;
    margin: 25px 0;
}

.hit-counter {
    display: inline-block;
    background: linear-gradient(135deg, rgba(255,105,180,0.2), rgba(0,255,255,0.2));
    border: 3px solid #00ffff;
    border-radius: 15px;
    padding: 20px 30px;
    animation: borderPulse 4s ease-in-out infinite;
}

.counter-title {
    font-size: 18px;
    color: #ff69b4;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.counter-display {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 15px;
}

.counter-digit {
    width: 28px;
    height: 38px;
    background: #000;
    border: 2px solid #ff69b4;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-family: 'Courier New', monospace;
    color: #00ff00;
    text-shadow: 0 0 10px #00ff00;
}

.counter-label {
    font-size: 14px;
    color: #ffb6c1;
}

.highlight {
    color: #ffff00;
    font-weight: bold;
    font-size: 18px;
    animation: rainbow 1.5s linear infinite;
}

.nav-section {
    margin: 25px 0;
}

.nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.nav-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: linear-gradient(90deg, rgba(255,0,255,0.15), rgba(0,255,255,0.15));
    border: 2px solid #ff69b4;
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: slideIn 0.5s ease forwards;
    opacity: 1;
}

.nav-card:nth-child(1) { animation-delay: 0.1s; }
.nav-card:nth-child(2) { animation-delay: 0.2s; }
.nav-card:nth-child(3) { animation-delay: 0.3s; }
.nav-card:nth-child(4) { animation-delay: 0.4s; }
.nav-card:nth-child(5) { animation-delay: 0.5s; }
.nav-card:nth-child(6) { animation-delay: 0.6s; }

.nav-card:hover {
    background: linear-gradient(90deg, rgba(255,0,255,0.4), rgba(0,255,255,0.4));
    animation: shake 0.5s ease-in-out;
}

.nav-card:hover .card-title {
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
}

.card-ribbon {
    position: absolute;
    top: 0;
    left: 0;
    background: #ff1493;
    padding: 2px 8px;
    font-size: 12px;
    color: #fff;
}

.card-icon {
    font-size: 28px;
    animation: pulse 2s ease-in-out infinite;
}

.card-info {
    flex: 1;
}

.card-title {
    font-size: 18px;
    color: #ff69b4;
    margin-bottom: 4px;
    transition: all 0.3s ease;
}

.card-desc {
    font-size: 12px;
    color: #aaa;
}

.card-arrow {
    font-size: 20px;
    color: #ffff00;
    animation: pulse 1.5s ease-in-out infinite;
}

.quote-section {
    margin: 30px 0;
}

.quote-box {
    background: rgba(0,0,0,0.6);
    border-left: 5px solid #ff69b4;
    border-right: 5px solid #00ffff;
    padding: 25px;
    position: relative;
}

.quote-scroll {
    max-height: 200px;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.quote-scroll::-webkit-scrollbar {
    display: none;
}

.quote-text {
    font-size: 16px;
    line-height: 2.2;
    color: #ffb6c1;
    font-style: italic;
}

.quote-author {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #00ffff;
    letter-spacing: 2px;
}

.music-section {
    margin: 30px 0;
    text-align: center;
}

.music-box {
    display: inline-block;
    background: linear-gradient(135deg, rgba(255,0,255,0.2), rgba(0,0,0,0.8));
    border: 3px solid #ff1493;
    border-radius: 15px;
    padding: 25px 40px;
    animation: borderPulse 3s ease-in-out infinite;
}

.music-title {
    font-size: 20px;
    color: #ff69b4;
    margin-bottom: 20px;
    letter-spacing: 3px;
    animation: rainbow 2s linear infinite;
}

.music-player {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-bottom: 20px;
}

.music-disc {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, #333 30%, #000 100%);
    border: 3px solid #ff69b4;
    border-radius: 50%;
    position: relative;
    animation: discSpin 3s linear infinite;
}

.disc-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 25px;
    height: 25px;
    background: #ff69b4;
    border-radius: 50%;
    animation: pulse 1s ease-in-out infinite;
}

.music-info {
    text-align: left;
}

.song-name {
    font-size: 16px;
    color: #00ffff;
    margin-bottom: 10px;
}

.music-bars {
    display: flex;
    gap: 4px;
    align-items: flex-end;
    height: 30px;
}

.music-bars .bar {
    width: 6px;
    background: linear-gradient(to top, #ff69b4, #00ffff);
    border-radius: 3px;
    animation: pulse 0.5s ease-in-out infinite;
}

.music-bars .bar:nth-child(1) { animation-delay: 0s; }
.music-bars .bar:nth-child(2) { animation-delay: 0.1s; }
.music-bars .bar:nth-child(3) { animation-delay: 0.2s; }
.music-bars .bar:nth-child(4) { animation-delay: 0.3s; }
.music-bars .bar:nth-child(5) { animation-delay: 0.4s; }
.music-bars .bar:nth-child(6) { animation-delay: 0.5s; }

.lyrics {
    font-size: 14px;
    color: #ffb6c1;
    line-height: 1.8;
}

.friends-section {
    margin: 30px 0;
}

.friends-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    background: rgba(0,0,0,0.5);
    border: 2px dashed #ff69b4;
    border-radius: 15px;
    padding: 20px;
}

.friend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(90deg, rgba(255,105,180,0.2), rgba(0,255,255,0.2));
    padding: 10px 20px;
    border-radius: 25px;
    border: 1px solid #ff69b4;
    transition: all 0.3s ease;
}

.friend-item:hover {
    background: linear-gradient(90deg, rgba(255,105,180,0.4), rgba(0,255,255,0.4));
    transform: scale(1.1);
}

.friend-avatar {
    font-size: 20px;
    color: #ffff00;
    animation: pulse 1.5s ease-in-out infinite;
}

.friend-name {
    color: #00ffff;
    font-size: 14px;
}

.footer {
    text-align: center;
    padding: 30px 0;
    margin-top: 40px;
    border-top: 3px double #ff69b4;
}

.footer-decorations {
    font-size: 28px;
    margin-bottom: 20px;
}

.footer-decorations .deco {
    margin: 0 8px;
    animation: rainbow 2s linear infinite;
}

.footer-title {
    font-size: 20px;
    color: #ff69b4;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.copyright {
    font-size: 14px;
    color: #aaa;
    line-height: 2;
}

.small {
    color: #ff69b4;
    font-size: 12px;
}

.footer-links {
    margin: 20px 0;
}

.footer-link {
    color: #00ffff;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #ff69b4;
    text-shadow: 0 0 10px #ff69b4;
}

.link-icon {
    color: #ffff00;
    margin-right: 5px;
}

.link-sep {
    color: #ff69b4;
    margin: 0 15px;
}

.footer-bottom {
    margin-top: 20px;
    font-size: 16px;
    color: #666;
    line-height: 1.8;
}

.end-text {
    color: #ff69b4 !important;
    font-size: 18px !important;
    animation: glow 3s ease-in-out infinite;
    margin-top: 10px;
}

.floating-bling {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
    overflow: hidden;
}

.bling {
    position: absolute;
    font-size: 30px;
    animation: float 4s ease-in-out infinite;
    opacity: 0.6;
}

.b1 { top: 5%; left: 3%; animation-delay: 0s; color: #ff69b4; }
.b2 { top: 15%; right: 8%; animation-delay: 0.5s; color: #00ffff; }
.b3 { top: 30%; left: 10%; animation-delay: 1s; color: #ffff00; }
.b4 { top: 45%; right: 5%; animation-delay: 1.5s; color: #ff1493; }
.b5 { top: 60%; left: 8%; animation-delay: 2s; color: #00ff00; }
.b6 { top: 75%; right: 10%; animation-delay: 2.5s; color: #ff69b4; }
.b7 { top: 85%; left: 5%; animation-delay: 3s; color: #00ffff; }
.b8 { top: 95%; right: 8%; animation-delay: 3.5s; color: #ffff00; }

.cursor-heart,
.cursor-trail {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
}

@media (max-width: 600px) {
    .main-title {
        font-size: 24px;
        flex-wrap: wrap;
    }
    
    .subtitle-box {
        padding: 10px 15px;
    }
    
    .subtitle-line1 {
        font-size: 14px;
    }
    
    .badges {
        gap: 5px;
    }
    
    .badge {
        font-size: 12px;
        padding: 5px 10px;
    }
    
    .nav-grid {
        grid-template-columns: 1fr;
    }
    
    .music-player {
        flex-direction: column;
    }
}
