:root {
    /* 更柔和的爱情主题色彩 */
    --primary-color: #ff6b95; /* 粉红色为主色 */
    --secondary-color: #7c4dff; /* 紫色为辅色 */
    --accent-color: #ffb74d; /* 温暖橙色为点缀 */
    --primary-light: #ffd9e2;
    --secondary-light: #e4dcff;
    --light-bg: #fffbfc;
    --dark-text: #343a40;
    --light-text: #ffffff;
    --border-radius: 12px;
    --box-shadow: 0 8px 20px rgba(255, 107, 149, 0.15);
    --card-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    --gradient-bg: linear-gradient(135deg, #ff6b95, #7c4dff);
    --gradient-light: linear-gradient(135deg, #ffd9e2, #e4dcff);
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    background-color: var(--light-bg);
    color: var(--dark-text);
    line-height: 1.6;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23ff6b95' fill-opacity='0.05'%3E%3Cpath opacity='.5' d='M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9zm-1 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* 页面背景样式 */
body.bg-home {
    background-image: var(--bg-home-image, none);
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}

body.bg-blog {
    background-image: var(--bg-blog-image, none);
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}

body.bg-space {
    background-image: var(--bg-space-image, none);
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}

body.bg-chat {
    background-image: var(--bg-chat-image, none);
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}

/* 系统设置页面样式 */
.settings-container {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
}

.settings-header {
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.bg-preview {
    width: 100%;
    height: 150px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    margin-bottom: 10px;
    border: 2px solid #ddd;
    position: relative;
    overflow: hidden;
}

.bg-preview-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 5px 10px;
    font-size: 14px;
}

.settings-card {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.settings-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.bg-upload-btn {
    width: 100%;
    margin-top: 10px;
}

/* 全局布局样式 */
.poetize-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 导航栏样式 */
.poetize-navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(255, 107, 149, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 107, 149, 0.1);
}

.poetize-logo {
    font-size: 28px;
    font-weight: bold;
    background: var(--gradient-bg);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.poetize-logo:hover {
    text-shadow: 0 0 15px rgba(255, 107, 149, 0.5);
    text-decoration: none;
}

.poetize-nav-item {
    margin: 0 10px;
    font-size: 16px;
}

.poetize-nav-link {
    color: var(--dark-text);
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 25px;
    transition: all 0.3s ease;
    margin: 0 5px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.poetize-nav-link:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--gradient-light);
    transition: all 0.3s ease;
    z-index: -1;
    border-radius: 25px;
}

.poetize-nav-link:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.poetize-nav-link:hover:before {
    width: 100%;
}

.poetize-nav-link.active {
    background: var(--gradient-bg);
    color: var(--light-text);
    box-shadow: 0 4px 10px rgba(255, 107, 149, 0.3);
}

.poetize-nav-icon {
    margin-right: 5px;
    font-size: 18px;
}

/* 波浪效果 - 更浪漫的设计 */
.wave-container {
    position: relative;
    height: 250px;
    background: var(--gradient-bg);
    overflow: hidden;
    margin-bottom: 40px;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    box-shadow: var(--box-shadow);
}

.wave-container:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80' width='80' height='80'%3E%3Cpath fill='%23ffffff' fill-opacity='0.1' d='M14 16H9v-2h5V9.87a4 4 0 1 1 2 0V14h5v2h-5v15.95A10 10 0 0 0 23.66 27l-3.46-2 8.2-2.2-2.9 5a12 12 0 0 1-21 0l-2.89-5 8.2 2.2-3.47 2A10 10 0 0 0 14 31.95V16zm40 40h-5v-2h5v-4.13a4 4 0 1 1 2 0V54h5v2h-5v15.95A10 10 0 0 0 63.66 67l-3.47-2 8.2-2.2-2.88 5a12 12 0 0 1-21.02 0l-2.88-5 8.2 2.2-3.47 2A10 10 0 0 0 54 71.95V56zm-39 6a2 2 0 1 1 0-4 2 2 0 0 1 0 4zm40-40a2 2 0 1 1 0-4 2 2 0 0 1 0 4zM15 8a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm40 40a2 2 0 1 0 0-4 2 2 0 0 0 0 4z'%3E%3C/path%3E%3C/svg%3E");
    opacity: 0.5;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="white" fill-opacity="1" d="M0,192L48,176C96,160,192,128,288,122.7C384,117,480,139,576,154.7C672,171,768,181,864,165.3C960,149,1056,107,1152,101.3C1248,96,1344,128,1392,144L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-repeat: no-repeat;
}

/* 页脚样式 */
footer {
    background-color: var(--light-bg);
    padding: 40px 0;
    margin-top: 80px;
    border-top: 1px solid rgba(255, 107, 149, 0.1);
    position: relative;
}

footer .poetize-logo {
    font-size: 24px;
}

footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-bg);
    opacity: 0.3;
}

/* 按钮样式 */
.btn-primary {
    background: var(--gradient-bg);
    border: none;
    box-shadow: 0 4px 10px rgba(255, 107, 149, 0.3);
    transition: all 0.3s ease;
    border-radius: 25px;
    padding: 10px 20px;
    font-weight: 500;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 107, 149, 0.4);
    background: linear-gradient(135deg, #ff5585, #6a3add);
}

.btn-outline-primary {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
    border-radius: 25px;
    padding: 8px 18px;
    font-weight: 500;
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 107, 149, 0.3);
}

/* 用户头像样式 */
.poetize-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 5px 15px rgba(255, 107, 149, 0.2);
    transition: all 0.3s ease;
}

.poetize-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 107, 149, 0.3);
}

.poetize-avatar-sm {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    box-shadow: 0 3px 8px rgba(255, 107, 149, 0.2);
    transition: all 0.3s ease;
}

.poetize-avatar-lg {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 8px 20px rgba(255, 107, 149, 0.25);
    transition: all 0.3s ease;
}

.poetize-avatar-lg:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 107, 149, 0.35);
}

/* 卡片样式 */
.poetize-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    margin-bottom: 25px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: none;
    position: relative;
}

.poetize-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.poetize-card-header {
    padding: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background: linear-gradient(to right, var(--primary-light), var(--secondary-light));
}

.poetize-card-body {
    padding: 25px;
}

/* 照片卡片样式 */
.poetize-photo-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    box-shadow: var(--card-shadow);
    transition: all 0.4s ease;
}

.poetize-photo-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.poetize-photo-card:hover img {
    transform: scale(1.08);
}

.poetize-photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
    padding: 20px;
    color: white;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.poetize-photo-card:hover .poetize-photo-overlay {
    opacity: 1;
}

.poetize-photo-info {
    text-align: center;
}

/* 相册封面样式 */
.poetize-album-cover {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.poetize-album-cover:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.5));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.poetize-card:hover .poetize-album-cover:after {
    opacity: 1;
}

.poetize-album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.poetize-card:hover .poetize-album-cover img {
    transform: scale(1.08);
}

/* 情侣相关样式 */
.couple-container {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 15px 0;
}

.couple-avatar-container {
    text-align: center;
    padding: 10px;
}

.couple-heart {
    font-size: 2.5rem;
    color: var(--primary-color);
    animation: heartBeat 1.5s infinite;
    margin: 0 15px;
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    14% { transform: scale(1.25); }
    28% { transform: scale(1); }
    42% { transform: scale(1.25); }
    70% { transform: scale(1); }
}

/* 博客文章卡片 */
.blog-post-card {
    position: relative;
    overflow: hidden;
}

.blog-post-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-post-card:hover .blog-post-image {
    transform: scale(1.05);
}

.blog-post-title {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.blog-post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.blog-post-author {
    display: flex;
    align-items: center;
}

.blog-post-author span {
    margin-left: 10px;
    font-weight: 500;
}

.blog-post-stats {
    display: flex;
}

.blog-post-stat-item {
    margin-left: 15px;
    display: flex;
    align-items: center;
    color: #6c757d;
}

.blog-post-stat-item i {
    margin-right: 5px;
}

/* 移动端导航栏按钮 */
.navbar-toggler {
    border: none;
    background-color: transparent;
}

.navbar-toggler:hover {
    background-color: rgba(255, 107, 149, 0.1);
}

.navbar-toggler i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .wave-container {
        height: 180px;
    }
    
    .poetize-nav-link {
        padding: 8px 12px;
    }
    
    .poetize-logo {
        font-size: 24px;
    }
} 

/* 聊天界面现代风格 - 完全匹配第二张图片 */
.chat-container {
    height: 600px;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    background-color: #f8f9fa;
}

.chat-header {
    padding: 15px;
    background-color: #fff;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    background-color: #f8f9fa;
    background-image: url('../img/chat-bg.png');
    background-size: cover;
    background-position: center;
}

.chat-footer {
    background-color: #fff;
    border-top: 1px solid #f0f0f0;
}

.chat-toolbar {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    background-color: #f8f8f8;
}

.chat-toolbar button {
    color: #666;
    transition: color 0.2s;
    margin-right: 10px;
}

.chat-toolbar button:hover {
    color: var(--primary-color);
}

/* 联系人列表样式 */
.contact-list {
    max-height: 500px;
    overflow-y: auto;
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.2s;
}

.contact-item:hover {
    background-color: rgba(57, 179, 237, 0.05);
}

.contact-item.active {
    background-color: rgba(57, 179, 237, 0.1);
    border-left: 3px solid var(--primary-color);
}

.contact-info {
    flex: 1;
    margin-left: 12px;
    overflow: hidden;
}

.last-message {
    font-size: 0.85rem;
    color: #888;
    margin-top: 3px;
}

/* 消息气泡样式 - 精确匹配第二张图片 */
.chat-message {
    display: flex;
    margin-bottom: 20px;
    align-items: flex-start;
}

.chat-message-self {
    flex-direction: row-reverse;
}

.chat-message-content {
    max-width: 70%;
    padding: 12px 16px;
    border-radius: 18px;
    position: relative;
    margin: 0 12px;
    word-wrap: break-word;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.chat-message-self .chat-message-content {
    background-color: #ff6b8b;
    color: white;
    border-top-right-radius: 4px;
}

.chat-message-other .chat-message-content {
    background-color: white;
    border-top-left-radius: 4px;
}

.chat-message-time {
    font-size: 0.7rem;
    opacity: 0.7;
    margin-top: 5px;
    text-align: right;
}

/* 输入区域样式 - 精确匹配第二张图片 */
.chat-footer .form-control {
    border-radius: 20px;
    border: 1px solid #e0e0e0;
    padding: 10px 15px;
    resize: none;
    transition: border-color 0.3s;
    background-color: #f8f9fa;
}

.chat-footer .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: none;
}

.chat-footer .btn-primary {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ff6b8b;
    border-color: #ff6b8b;
}

.chat-footer .btn-primary:hover {
    background-color: #ff5277;
    border-color: #ff5277;
}

/* 语音消息样式 */
.voice-message {
    display: flex;
    flex-direction: column;
}

.voice-message audio {
    max-width: 200px;
    border-radius: 12px;
    background-color: transparent;
}

.voice-duration {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-top: 5px;
}

/* 表情选择器 */
.emoji-picker, .sticker-picker {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.emoji-item, .sticker-item {
    transition: transform 0.2s;
}

.emoji-item:hover, .sticker-item:hover {
    transform: scale(1.1);
    background-color: #f0f0f0;
    border-radius: 5px;
}

/* 在线状态指示器 */
.online-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #4CAF50;
    margin-right: 5px;
}

.offline-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #9e9e9e;
    margin-right: 5px;
}

/* 头像样式 - 精确匹配第二张图片 */
.poetize-avatar-sm {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* 搜索框样式 - 精确匹配第二张图片 */
.search-container {
    padding: 10px 15px;
    background-color: #f8f8f8;
    border-bottom: 1px solid #f0f0f0;
}

.search-container .input-group {
    background-color: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.search-container .input-group-text,
.search-container .form-control {
    border: none;
    background-color: transparent;
}

.search-container .form-control:focus {
    box-shadow: none;
}

/* 录音指示器 */
.recording-indicator {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    z-index: 1050;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 0.7; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
}

/* 图片消息样式 */
.chat-message-content img.img-fluid {
    border-radius: 10px;
    max-width: 100%;
}

/* 滚动条样式 */
.chat-body::-webkit-scrollbar,
.contact-list::-webkit-scrollbar {
    width: 5px;
}

.chat-body::-webkit-scrollbar-track,
.contact-list::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.chat-body::-webkit-scrollbar-thumb,
.contact-list::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 10px;
}

.chat-body::-webkit-scrollbar-thumb:hover,
.contact-list::-webkit-scrollbar-thumb:hover {
    background: #ccc;
}

/* 左侧联系人面板样式 - 精确匹配第二张图片 */
.poetize-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    background-color: #fff;
}

.poetize-card-header {
    padding: 15px;
    background-color: #fff;
    border-bottom: 1px solid #f0f0f0;
}

/* 聊天工具栏样式 - 精确匹配第二张图片 */
.chat-toolbar {
    background-color: #fff;
    padding: 10px 15px;
    display: flex;
    align-items: center;
}

.chat-toolbar button {
    background: transparent;
    border: none;
    color: #666;
    font-size: 1.2rem;
    margin-right: 15px;
    padding: 5px;
    transition: all 0.2s;
}

.chat-toolbar button:hover {
    color: #ff6b8b;
    transform: scale(1.1);
}

/* 发送按钮样式 - 精确匹配第二张图片 */
.btn-send {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ff6b8b;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    transition: all 0.2s;
}

.btn-send:hover {
    background-color: #ff5277;
    transform: scale(1.05);
}

/* 聊天底部输入区域 - 精确匹配第二张图片 */
.chat-input-area {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background-color: #fff;
}

.chat-input-area textarea {
    border-radius: 20px;
    border: 1px solid #e0e0e0;
    padding: 10px 15px;
    resize: none;
    background-color: #f8f9fa;
    flex: 1;
    margin-right: 10px;
}

.chat-input-area textarea:focus {
    outline: none;
    border-color: #ff6b8b;
} 

/* 顶部导航条样式 */
.nav-bar {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background-color: #fff;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff6b8b;
    text-decoration: none;
    margin-right: auto;
    display: flex;
    align-items: center;
}

.nav-logo i {
    margin-right: 5px;
}

.nav-logo:hover {
    color: #ff5277;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-menu-item {
    color: #666;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-menu-item:hover,
.nav-menu-item.active {
    color: #ff6b8b;
    text-decoration: none;
}

.nav-profile {
    margin-left: 20px;
    position: relative;
}

.nav-profile img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-profile-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-width: 180px;
    padding: 10px 0;
    z-index: 1000;
    display: none;
}

.nav-profile:hover .nav-profile-dropdown {
    display: block;
}

.nav-profile-item {
    padding: 8px 15px;
    display: flex;
    align-items: center;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s;
}

.nav-profile-item i {
    margin-right: 8px;
    width: 18px;
    text-align: center;
}

.nav-profile-item:hover {
    background-color: #f8f9fa;
    text-decoration: none;
    color: #ff6b8b;
} 

/* 消息动画效果 */
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes slideInRight {
    0% { transform: translateX(20px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes slideInLeft {
    0% { transform: translateX(-20px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

/* 发送按钮动画 */
.btn-send {
    transition: all 0.2s;
}

.btn-send.sending {
    transform: scale(0.8);
}

/* 完善表情和贴图样式 */
.emoji-item, .sticker-item {
    cursor: pointer;
    transition: all 0.2s;
}

.emoji-item:hover, .sticker-item:hover {
    transform: scale(1.2);
    background-color: rgba(255, 107, 139, 0.1);
    border-radius: 5px;
} 

/* 彩色渐变大标题样式 */
.gradient-title, h1, h2, h3, .display-5, .site-title-preview {
    background: linear-gradient(90deg, #ff6b95 0%, #7c4dff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
}

/* 其他可选标题配色（适应不同背景） */
.title-custom-color1 {
    background: linear-gradient(90deg, #ffb347 0%, #ffcc33 100%); /* 橙黄渐变 */
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}
.title-custom-color2 {
    background: linear-gradient(90deg, #43cea2 0%, #185a9d 100%); /* 青蓝渐变 */
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}
.title-custom-color3 {
    background: linear-gradient(90deg, #f7971e 0%, #ffd200 100%); /* 金黄渐变 */
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}
.title-custom-color4 {
    background: linear-gradient(90deg, #ee9ca7 0%, #ffdde1 100%); /* 粉白渐变 */
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
} 