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

:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --text-primary: #ffffff;
    --text-secondary: #e2e8f0;
    --text-muted: #a0aec0;
    --bg-dark: #0f0f1e;
    --bg-darker: #0a0a15;
    --bg-card: rgba(255, 255, 255, 0.08);
    --bg-card-hover: rgba(255, 255, 255, 0.12);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 20px 50px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 25px 60px rgba(0, 0, 0, 0.5);
    --glow-primary: 0 0 20px rgba(102, 126, 234, 0.4);
    --glow-secondary: 0 0 20px rgba(240, 147, 251, 0.4);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--bg-darker);
    background-attachment: fixed;
    position: relative;
    padding-bottom: 150px; /* 为留言滚动条预留空间 */
}

body::before {
    content: '';
    position: fixed;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.2) 50%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    animation: pulse-glow 8s infinite ease-in-out;
}

body::after {
    content: '';
    position: fixed;
    bottom: -30%;
    left: -20%;
    width: 70%;
    height: 70%;
    background: radial-gradient(circle, rgba(240, 147, 251, 0.25) 0%, rgba(245, 87, 108, 0.15) 50%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    animation: pulse-glow 6s infinite ease-in-out reverse;
}

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

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

.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.particle-1 {
    width: 3px;
    height: 3px;
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color), 0 0 20px rgba(102, 126, 234, 0.5);
    animation: particle-float-1 25s infinite ease-in-out;
}

.particle-2 {
    width: 2px;
    height: 2px;
    background: var(--accent-color);
    box-shadow: 0 0 8px var(--accent-color), 0 0 15px rgba(240, 147, 251, 0.4);
    animation: particle-float-2 20s infinite ease-in-out;
}

.particle-3 {
    width: 4px;
    height: 4px;
    background: var(--secondary-color);
    box-shadow: 0 0 12px var(--secondary-color), 0 0 25px rgba(118, 75, 162, 0.3);
    animation: particle-float-3 30s infinite ease-in-out;
}

.particle-glow {
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.8) 0%, transparent 70%);
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.6);
    animation: particle-glow-float 35s infinite ease-in-out;
}

@keyframes particle-float-1 {
    0%, 100% {
        transform: translateY(100vh) translateX(0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    50% {
        transform: translateY(-100vh) translateX(100px) scale(1.2);
        opacity: 1;
    }
}

@keyframes particle-float-2 {
    0%, 100% {
        transform: translateY(100vh) translateX(50px) scale(0.8);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    50% {
        transform: translateY(-100vh) translateX(-150px) scale(1.1);
        opacity: 1;
    }
}

@keyframes particle-float-3 {
    0%, 100% {
        transform: translateY(100vh) translateX(-100px) scale(1.3);
        opacity: 0;
    }
    10% {
        opacity: 0.7;
    }
    90% {
        opacity: 0.7;
    }
    50% {
        transform: translateY(-100vh) translateX(200px) scale(0.9);
        opacity: 1;
    }
}

@keyframes particle-glow-float {
    0%, 100% {
        transform: translateY(100vh) translateX(0) scale(0.5);
        opacity: 0;
    }
    10% {
        opacity: 0.4;
    }
    90% {
        opacity: 0.4;
    }
    50% {
        transform: translateY(-100vh) translateX(-200px) scale(1.5);
        opacity: 0.8;
    }
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 15, 30, 0.8);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
    background: rgba(15, 15, 30, 0.95);
    box-shadow: 0 5px 40px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    width: 32px;
    height: 32px;
    color: var(--primary-color);
    filter: drop-shadow(0 0 10px rgba(102, 126, 234, 0.5));
    transition: all 0.3s ease;
}

.logo:hover .logo-icon {
    transform: rotate(360deg);
    filter: drop-shadow(0 0 15px rgba(102, 126, 234, 0.8));
}

.logo span {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.nav-menu a i {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
}

.nav-menu a:hover i {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 5px rgba(102, 126, 234, 0.5));
}

.nav-menu a:hover {
    color: var(--primary-color);
    background: rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0.05;
    z-index: -1;
}

.hero-background::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: var(--gradient-1);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    top: -200px;
    right: -200px;
    animation: pulse 8s infinite;
}

.hero-background::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--gradient-3);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    bottom: -150px;
    left: -150px;
    animation: pulse 6s infinite reverse;
}

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

.hero-content {
    text-align: center;
    z-index: 1;
    animation: fadeInUp 1s ease;
}

.avatar-container {
    position: relative;
    margin: 0 auto 2rem;
    width: 220px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--bg-card);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    z-index: 2;
    position: relative;
}

.avatar:hover {
    transform: scale(1.05);
}

.avatar-ring,
.avatar-ring-2 {
    position: absolute;
    border-radius: 50%;
    border: 2px solid;
    border-color: var(--primary-color) transparent var(--accent-color) transparent;
    animation: rotate 3s linear infinite;
    box-shadow: 0 0 20px rgba(79, 172, 254, 0.3);
}

.avatar-ring {
    width: 220px;
    height: 220px;
}

.avatar-ring-2 {
    width: 240px;
    height: 240px;
    animation-duration: 4s;
    animation-direction: reverse;
    opacity: 0.5;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
    animation: fadeInUp 1.2s ease;
}

.highlight {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    animation: fadeInUp 1.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.inline-icon {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background: var(--gradient-1);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    animation: fadeInUp 1.6s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.btn-icon {
    width: 20px;
    height: 20px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(5px);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary-color);
    animation: bounce 2s infinite;
    cursor: pointer;
}

.scroll-indicator i {
    width: 32px;
    height: 32px;
}

.section {
    padding: 5rem 2rem;
    position: relative;
    z-index: 1;
}

.section-alt {
    background: var(--bg-dark);
    position: relative;
}

.section-alt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(79, 172, 254, 0.05) 0%, transparent 60%),
                radial-gradient(circle at bottom left, rgba(0, 242, 254, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.title-icon {
    width: 40px;
    height: 40px;
    color: var(--primary-color);
    filter: drop-shadow(0 0 15px rgba(102, 126, 234, 0.4));
    animation: icon-glow 3s ease-in-out infinite;
}

@keyframes icon-glow {
    0%, 100% {
        filter: drop-shadow(0 0 15px rgba(102, 126, 234, 0.4));
    }
    50% {
        filter: drop-shadow(0 0 25px rgba(102, 126, 234, 0.8));
    }
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--gradient-1);
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-card {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 25px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.about-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--gradient-1);
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.about-icon i {
    width: 40px;
    height: 40px;
    color: white;
}

.about-name {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.about-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.skills-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.skill-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.skill-card:hover::before {
    transform: scaleX(1);
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.skill-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-radius: 15px;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.skill-card:hover .skill-icon {
    transform: rotateY(360deg);
}

.skill-icon i {
    width: 36px;
    height: 36px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.skill-card:hover .skill-icon i {
    color: var(--accent-color);
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px rgba(240, 147, 251, 0.5));
}

.skill-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.skill-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.skill-progress {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 1.5rem;
}

.progress-bar {
    height: 100%;
    background: var(--gradient-1);
    width: var(--progress);
    border-radius: 10px;
    animation: fillProgress 2s ease;
}

@keyframes fillProgress {
    from {
        width: 0;
    }
    to {
        width: var(--progress);
    }
}

.works-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.work-item {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.work-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.work-placeholder {
    padding: 4rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    transition: all 0.3s ease;
}

.work-item:hover .work-placeholder {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
}

.work-placeholder i {
    width: 64px;
    height: 64px;
    color: var(--primary-color);
    display: block;
    margin: 0 auto 1rem;
}

.work-placeholder p {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 500;
}

.vision-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.vision-card {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 25px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.vision-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.vision-icon {
    width: 64px;
    height: 64px;
    color: var(--primary-color);
    margin: 0 auto 1.5rem;
}

.vision-text {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.vision-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-item {
    text-align: center;
    padding: 2.5rem;
    background: var(--bg-card);
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: var(--gradient-1);
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.contact-icon i {
    width: 32px;
    height: 32px;
    color: white;
}

.contact-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--secondary-color);
}

.wechat-qr img {
    max-width: 200px;
    border-radius: 15px;
    margin: 1rem auto;
    display: block;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.wechat-qr img:hover {
    transform: scale(1.05);
}

.wechat-qr p {
    color: var(--text-muted);
    margin-top: 1rem;
}

.message-content {
    max-width: 800px;
    margin: 0 auto;
}

.message-header-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.refresh-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 8px;
    color: var(--primary-color);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.refresh-button:hover {
    background: rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateY(-1px);
}

.refresh-button:active {
    transform: translateY(0);
}

.refresh-button i {
    width: 16px;
    height: 16px;
    transition: transform 0.5s ease;
}

.refresh-button.loading i {
    animation: spin 1s linear infinite;
}

.sync-status {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sync-status.online {
    color: #10b981;
}

.sync-status.offline {
    color: #f59e0b;
}

.sync-status::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

.message-form {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    margin-bottom: 3rem;
    transition: all 0.3s ease;
}

.message-form:hover {
    box-shadow: var(--shadow-hover);
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 1;
}

.input-icon i {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.form-group input:focus ~ .input-icon i,
.form-group textarea:focus ~ .input-icon i {
    color: var(--primary-color);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.char-counter {
    position: absolute;
    right: 1rem;
    bottom: 0.75rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    background: rgba(15, 15, 30, 0.9);
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 1;
}

.char-counter span {
    font-weight: 500;
    transition: color 0.3s ease;
}

.submit-button {
    width: 100%;
    padding: 1rem;
    background: var(--gradient-1);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-button i {
    width: 20px;
    height: 20px;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.message-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.message-item {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    animation: fadeInUp 0.5s ease;
    transition: all 0.3s ease;
}

.message-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.message-author-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.message-author {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.message-location {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    background: rgba(102, 126, 234, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    width: fit-content;
}

.location-icon {
    width: 14px;
    height: 14px;
    color: var(--primary-color);
}

.message-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-end;
    text-align: right;
}

.message-time {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.time-icon {
    width: 14px;
    height: 14px;
}

.message-ip {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: 'Courier New', monospace;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
}

.message-text {
    color: var(--text-primary);
    line-height: 1.6;
    padding-left: 0.5rem;
    border-left: 3px solid rgba(102, 126, 234, 0.2);
}

.message-ticker {
    background: var(--gradient-1);
    padding: 2rem 0;
    overflow: hidden;
    position: relative;
    margin-bottom: 0;
    min-height: 120px;
}

.ticker-header {
    text-align: center;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: white;
}

.ticker-header i {
    width: 28px;
    height: 28px;
}

.ticker-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

.ticker-wrapper {
    position: relative;
    overflow: hidden;
    padding: 1rem 0;
}

.ticker-content {
    display: flex;
    gap: 2rem;
    animation: scroll 30s linear infinite;
    white-space: nowrap;
}

.ticker-content:hover {
    animation-play-state: paused;
}

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

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    min-width: 300px;
    transition: all 0.3s ease;
}

.ticker-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.ticker-author {
    font-weight: 600;
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.ticker-location {
    font-size: 0.85rem;
    color: var(--text-muted);
    background: rgba(102, 126, 234, 0.2);
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    margin-right: 0.5rem;
}

.ticker-text {
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
}

.footer {
    background: var(--bg-darker);
    color: white;
    padding: 3rem 2rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 10;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-logo i {
    width: 28px;
    height: 28px;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-link i {
    width: 22px;
    height: 22px;
    color: white;
}

.social-link:hover {
    background: var(--gradient-1);
    transform: translateY(-3px);
}

.footer-text {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.heart-icon {
    width: 18px;
    height: 18px;
    color: #f5576c;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.2);
    }
    50% {
        transform: scale(1);
    }
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 水波纹效果 */
.ripple-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.3) 0%, rgba(240, 147, 251, 0.2) 50%, transparent 70%);
    transform: scale(0);
    animation: ripple-expand 2s ease-out forwards;
    pointer-events: none;
}

.ripple-secondary {
    background: radial-gradient(circle, rgba(240, 147, 251, 0.25) 0%, rgba(102, 126, 234, 0.15) 50%, transparent 70%);
}

@keyframes ripple-expand {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(8); /* 缩小4倍，从32倍改为8倍（原始大小） */
        opacity: 0;
    }
}

/* 增强点击区域 */
body {
    cursor: crosshair;
}

.clickable-area {
    position: relative;
}

.clickable-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section {
        padding: 3rem 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .avatar {
        width: 150px;
        height: 150px;
    }

    .avatar-container {
        width: 170px;
        height: 170px;
    }

    .avatar-ring {
        width: 170px;
        height: 170px;
    }

    .avatar-ring-2 {
        width: 190px;
        height: 190px;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
    }

    .ticker-item {
        min-width: 250px;
    }

    .skills-content,
    .works-content {
        grid-template-columns: 1fr;
    }
}
