/* 全局样式 */
:root {
    --primary-color: #6c5ce7;
    --secondary-color: #a8a4e6;
    --background-color: #ffffff;
    --text-color: #2d3436;
    --nav-height: 70px;
    --transition-speed: 0.3s;
    --profile-bg: rgba(255, 255, 255, 0.1);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --primary-color-rgb: 108, 92, 231;
    --footer-bg: #f8f9fa;
    --footer-text: #666;
    --card-bg: rgba(255, 255, 255, 0.05);
    --nav-bg: rgba(255, 255, 255, 0.1);
    --border-color: #eee;
    --profile-section-bg: #ffffff;
    --timeline-bg: #f8f9fa;
    --timeline-border: #e9ecef;
    --link-color: #6c5ce7;
    --nav-text: #2d3436;
    --input-bg: #ffffff;
    --input-text: #2d3436;
    --input-border: #ddd;
}

/* 暗色主题 */
:root[data-theme="dark"] {
    --primary-color: #8c7ae6;
    --secondary-color: #9c88ff;
    --background-color: #1a1a1a;
    --text-color: #ffffff;
    --nav-bg: rgba(0, 0, 0, 0.2);
    --card-bg: #2d2d2d;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --footer-bg: #2d2d2d;
    --footer-text: #999;
    --border-color: #444;
    --profile-section-bg: #2d2d2d;
    --timeline-bg: #333;
    --timeline-border: #444;
    --link-color: #8c7ae6;
    --nav-text: #ffffff;
    --input-bg: #333;
    --input-text: #ffffff;
    --input-border: #444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    transition: background-color 0.3s, color 0.3s;
    overflow-x: hidden;
}

/* 粒子背景 */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* 导航栏样式 */
.nav-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: background-color var(--transition-speed);
    color: var(--nav-text);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    background-clip: "text";
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--nav-text);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 1rem;
    transition: all var(--transition-speed);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition-speed);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* 个人资料部分样式 */
.profile-section {
    margin-top: calc(var(--nav-height) + 2rem);
    padding: 2rem;
    min-height: calc(100vh - var(--nav-height));
    background-color: var(--profile-section-bg);
}

.profile-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.profile-main {
    background: var(--profile-bg);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.profile-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-color);
    box-shadow: var(--card-shadow);
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-title h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    background-clip: "text";
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.profile-subtitle {
    font-size: 1.2rem;
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.profile-subtitle .nickname {
    margin-right: 1rem;
}

.profile-subtitle .gender {
    color: #2196F3;  /* 蓝色表示男性 */
}

.profile-subtitle .gender i {
    margin-left: 0.5rem;
    font-size: 1.2rem;
}

.profile-subtitle .location,
.profile-subtitle .hometown {
    display: inline-flex;
    align-items: center;
}

.profile-subtitle .location i,
.profile-subtitle .hometown i {
    margin-right: 0.5rem;
    font-size: 1rem;
    color: var(--primary-color);
}

.profile-subtitle .title {
    color: var(--primary-color);
    font-weight: 500;
}

.profile-subtitle .politics {
    display: inline-flex;
    align-items: center;
    color: #e74c3c;  /* 使用红色突出显示 */
    font-weight: 500;
}

.profile-subtitle .politics i {
    margin-right: 0.5rem;
    font-size: 1rem;
    color: #e74c3c;
}

[data-theme="dark"] .profile-subtitle .politics,
[data-theme="dark"] .profile-subtitle .politics i {
    color: #ff6b6b;
}

.profile-subtitle .signature {
    display: inline-flex;
    align-items: center;
    font-style: italic;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.profile-subtitle .signature i {
    font-size: 0.8rem;
    margin: 0 0.5rem;
    opacity: 0.8;
}

.profile-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.profile-about {
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 15px;
    padding: 2rem;
    position: relative;
}

.profile-about h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.profile-about h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        var(--primary-color) 0%,
        var(--secondary-color) 100%
    );
    border-radius: 2px;
}

.profile-about p {
    line-height: 1.8;
    font-size: 1.1rem;
    text-align: justify;
    padding: 0 1rem;
    position: relative;
    letter-spacing: 0.3px;
}

.profile-about p::first-letter {
    font-size: 1.3em;
    font-weight: 500;
    color: var(--primary-color);
}

/* 教育时间线样式 */
.education-timeline {
    margin-top: 2rem;
    border-left: 2px solid var(--primary-color);
    padding-left: 1.5rem;
}

.timeline-item {
    position: relative;
    margin-bottom: 1.5rem;
    padding: 0.5rem 1rem;
    background: var(--timeline-bg);
    border-radius: 8px;
    transition: all 0.3s ease;
    border-color: var(--timeline-border);
}

.timeline-item:hover {
    transform: translateX(10px);
    background: rgba(var(--primary-color-rgb), 0.1);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.75rem;
    top: 50%;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translateY(-50%);
}

.timeline-item .time-tag {
    display: inline-block;
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-right: 1rem;
}

.timeline-item .school {
    font-weight: 500;
    margin-right: 1rem;
}

.timeline-item .major {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.timeline-item .school a {
    color: inherit;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

.timeline-item .school a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.timeline-item .school a:hover {
    color: var(--primary-color);
}

.timeline-item .school a:hover::after {
    width: 100%;
}

/* 建设中提示样式 */
.under-construction {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--profile-bg);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
    border: none;
    transition: all 0.3s ease;
}

.under-construction::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        var(--primary-color) 0%,
        var(--secondary-color) 50%,
        var(--primary-color) 100%
    );
    background-size: 200% 100%;
    animation: gradient 3s linear infinite;
}

@keyframes gradient {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

.under-construction i {
    font-size: 3.5rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.under-construction h3 {
    font-size: 1.8rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.under-construction p {
    font-size: 1.2rem;
    color: var(--text-color);
    opacity: 0.9;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-item h4 {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.feature-item p {
    font-size: 1rem;
    opacity: 0.8;
}

/* AI助手部分样式 */
.ai-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 2rem;
}

.ai-container {
    background: var(--profile-bg);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
}

.ai-header {
    text-align: center;
    margin-bottom: 2rem;
}

.ai-header h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.ai-description {
    color: var(--text-color);
    opacity: 0.8;
    font-size: 1.1rem;
}

.ai-chat-window {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.ai-avatar {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    box-shadow: var(--card-shadow);
}

.ai-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ai-status {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #4CAF50;
    border: 2px solid #fff;
}

.ai-status.active {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.chat-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 400px;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
}

.message {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
}

.ai-message {
    align-items: flex-start;
}

.user-message {
    align-items: flex-end;
}

.message-content {
    max-width: 80%;
    padding: 1rem;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.ai-message .message-content {
    background: rgba(var(--primary-color-rgb), 0.2);
    border-radius: 0 15px 15px 15px;
}

.user-message .message-content {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px 0 15px 15px;
}

.message-content p {
    margin: 0;
    line-height: 1.5;
}

.message-content .time {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 0.5rem;
    display: block;
}

.chat-input {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
}

.chat-input input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    font-size: 1rem;
}

.chat-input input:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--primary-color);
}

.chat-input button {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 10px;
    background: var(--primary-color);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-input button:hover {
    transform: scale(1.1);
    background: var(--secondary-color);
}

.chat-input button i {
    font-size: 1.2rem;
}

/* 主要内容区样式 */
main {
    margin-top: var(--nav-height);
    padding: 2rem;
}

/* 主题切换按钮 */
.theme-toggle {
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--nav-bg);
}

.theme-toggle:hover {
    background: rgba(var(--primary-color-rgb), 0.1);
}

.theme-toggle i {
    font-size: 1.2rem;
    color: var(--text-color);
    transition: transform 0.3s ease;
}

.theme-toggle:hover i {
    transform: rotate(360deg);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .under-construction {
        width: calc(100vw / 4);
        right: 2rem;
    }
}

@media (max-width: 1024px) {
    .profile-container {
        padding: 0 1rem;
    }

    .under-construction {
        position: static;
        width: 100%;
        max-width: none;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }

    .nav-links {
        display: none;
    }

    .profile-header {
        flex-direction: column;
        text-align: center;
    }

    .profile-avatar {
        width: 120px;
        height: 120px;
    }

    .ai-chat-window {
        flex-direction: column;
        align-items: center;
    }

    .ai-avatar {
        margin-bottom: 1rem;
    }

    .message-content {
        max-width: 90%;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* 开发状态样式 */
.development-status {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding: 0 1rem;
}

.status-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.status-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%,
        var(--primary-color) 50%,
        transparent 100%
    );
    animation: progressBar 2s linear infinite;
    opacity: 0.5;
}

@keyframes progressBar {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.status-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.status-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    animation: spin 10s linear infinite;
}

.status-item:nth-child(2) i {
    animation: pulse 2s ease-in-out infinite;
}

.status-item:nth-child(3) i {
    animation: shield 3s ease-in-out infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes shield {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); filter: brightness(1.2); }
}

.status-item h4 {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.status-item p {
    font-size: 1rem;
    opacity: 0.8;
    line-height: 1.5;
}

/* 响应式设计补充 */
@media (max-width: 768px) {
    .development-status {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .status-item {
        padding: 1.5rem;
    }
}

/* 留言区样式 */
.comments-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 2rem;
}

.comments-container {
    background: var(--profile-bg);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
}

.comments-header {
    text-align: center;
    margin-bottom: 3rem;
}

.comments-header h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.comments-description {
    color: var(--text-color);
    opacity: 0.8;
    font-size: 1.1rem;
}

/* 留言表单样式 */
.comment-form {
    margin-bottom: 3rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.nickname-input,
.comment-input {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(var(--primary-color-rgb), 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.comment-input {
    min-height: 120px;
    resize: vertical;
}

.nickname-input:focus,
.comment-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(var(--primary-color-rgb), 0.1);
}

.form-footer {
    display: flex;
    justify-content: flex-end;
}

.submit-comment {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 10px;
    background: var(--primary-color);
    color: white;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.submit-comment:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* 留言卡片样式 */
.comment-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    box-shadow: var(--card-shadow);
    border-color: var(--border-color);
}

.comment-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.commenter-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.commenter-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.commenter-meta h4 {
    margin: 0;
    color: var(--text-color);
    font-size: 1.1rem;
}

.comment-time {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.7;
}

.comment-actions button {
    background: none;
    border: none;
    color: var(--text-color);
    opacity: 0.7;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.comment-actions button:hover {
    opacity: 1;
    color: #e74c3c;
}

.comment-content {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.comment-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

.interaction-buttons {
    display: flex;
    gap: 1rem;
}

.interaction-buttons button {
    background: none;
    border: none;
    color: var(--text-color);
    opacity: 0.7;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.interaction-buttons button:hover {
    opacity: 1;
}

.like-button:hover {
    color: #4CAF50;
}

.dislike-button:hover {
    color: #e74c3c;
}

.reply-button:hover {
    color: var(--primary-color);
}

/* 回复区域样式 */
.replies-section {
    margin-top: 1rem;
    padding-left: 2rem;
    border-left: 2px solid rgba(var(--primary-color-rgb), 0.2);
}

.reply-form {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.reply-nickname-input,
.reply-input {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(var(--primary-color-rgb), 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
}

.reply-input {
    min-height: 80px;
    resize: vertical;
}

.reply-form-footer {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.submit-reply,
.cancel-reply {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.submit-reply {
    background: var(--primary-color);
    color: white;
}

.submit-reply:hover {
    background: var(--secondary-color);
}

.cancel-reply {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
}

.cancel-reply:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .comments-section {
        padding: 1rem;
    }

    .comment-card {
        padding: 1rem;
    }

    .replies-section {
        padding-left: 1rem;
    }

    .interaction-buttons {
        flex-wrap: wrap;
    }
}

/* 消息提示样式 */
.message-popup {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 2rem;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    font-size: 1rem;
    z-index: 9999;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

.message-popup.show {
    opacity: 1;
    transform: translateY(0);
}

.message-popup.success {
    background: rgba(76, 175, 80, 0.9);
}

.message-popup.error {
    background: rgba(244, 67, 54, 0.9);
}

/* 活跃状态样式 */
.like-button.active,
.dislike-button.active {
    opacity: 1;
}

.like-button.active {
    color: #4CAF50;
}

.dislike-button.active {
    color: #e74c3c;
}

/* 页脚样式 */
footer {
    background-color: var(--footer-bg);
    padding: 30px 0;
    text-align: center;
    margin-top: 50px;
    border-top: 1px solid var(--border-color);
    color: var(--footer-text);
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 20px;
}

.social-links a {
    color: var(--text-color);
    font-size: 24px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--card-bg);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.social-links a:hover {
    transform: translateY(-3px);
    color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.social-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

footer p {
    color: var(--footer-text);
    margin: 0;
    font-size: 14px;
}

/* 应用变量到元素 */
body {
    background-color: var(--background-color);
    color: var(--text-color);
    transition: background-color 0.3s, color 0.3s;
}

.nav-container {
    background: var(--nav-bg);
    color: var(--nav-text);
}

.nav-link {
    color: var(--nav-text);
}

.profile-section {
    background-color: var(--profile-section-bg);
}

.timeline-item {
    background-color: var(--timeline-bg);
    border-color: var(--timeline-border);
}

.comment-card {
    background-color: var(--card-bg);
    box-shadow: var(--card-shadow);
    border-color: var(--border-color);
}

.comment-input, .reply-input, .nickname-input {
    background-color: var(--input-bg);
    color: var(--input-text);
    border-color: var(--input-border);
}

a {
    color: var(--link-color);
}

footer {
    background-color: var(--footer-bg);
    border-color: var(--border-color);
}

.social-links a {
    background-color: var(--card-bg);
    color: var(--text-color);
}

/* 主题切换按钮样式 */
.theme-toggle {
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--nav-bg);
}

.theme-toggle:hover {
    background: rgba(var(--primary-color-rgb), 0.1);
}

.theme-toggle i {
    font-size: 1.2rem;
    color: var(--text-color);
    transition: transform 0.3s ease;
}

.theme-toggle:hover i {
    transform: rotate(360deg);
} 