/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft YaHei', '微软雅黑', 'PingFang SC', sans-serif;
}

body {
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.7) 0%, rgba(232, 244, 253, 0.7) 100%), url('../文旅/西安1.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 - 优化导航栏 */
.header {
    background: linear-gradient(135deg, rgba(26, 95, 180, 0.95) 0%, rgba(13, 60, 122, 0.95) 100%);
    color: white;
    padding: 1.2rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    font-size: 2.8rem;
    color: #ffd43b;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.2));
}

.logo-text h1 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.logo-text p {
    font-size: 0.9rem;
    opacity: 0.9;
    color: rgba(255,255,255,0.9);
}

/* 导航栏优化 */
.nav-menu {
    display: flex;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px;
    border-radius: 30px;
    backdrop-filter: blur(5px);
}

.nav-item {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 22px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    font-size: 0.95rem;
}

.nav-item:hover, .nav-item.active {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.nav-item i {
    font-size: 1.1rem;
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: #ffd43b;
    border-radius: 2px;
}

/* 轮播图样式 */
.carousel-section {
    margin: 0 auto;
    width: 100%;
    max-width: 1800px;
    padding: 0 20px;
    margin-top: 20px;
}

.carousel-container {
    width: 100%;
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
}

.carousel-slide {
    width: 100%;
    height: 100%;
    position: absolute;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 40px;
}

.slide-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-description {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 800px;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: #ffd43b;
    transform: scale(1.2);
}

/* 主内容区 */
.main-content {
    padding: 30px 0;
}

/* 西安概况与平台目标合并板块 */
.overview-goals-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.overview-panel, .goals-panel {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(5px);
}

.overview-title, .goals-title {
    font-size: 1.8rem;
    color: #1a5fb4;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 15px;
    border-bottom: 3px solid #f0f0f0;
}

.overview-title i {
    color: #2ec27e;
}

.goals-title i {
    color: #ffd43b;
}

.overview-text, .goals-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* 统计数据网格 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.stat-card {
    background: linear-gradient(135deg, rgba(246, 249, 255, 0.8) 0%, rgba(233, 244, 255, 0.8) 100%);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: #1a5fb4;
    box-shadow: 0 10px 30px rgba(26, 95, 180, 0.1);
}

.stat-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1a5fb4;
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    font-size: 0.95rem;
    color: #666;
    font-weight: 500;
}

/* 平台目标特色卡片 */
.goals-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
}

.goal-feature {
    background: linear-gradient(135deg, rgba(246, 249, 255, 0.8) 0%, rgba(233, 244, 255, 0.8) 100%);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.goal-feature:hover {
    transform: translateY(-3px);
    border-color: #ffd43b;
    box-shadow: 0 8px 25px rgba(255, 212, 59, 0.1);
}

.goal-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ffd43b, #ffb347);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    flex-shrink: 0;
}

.goal-content h4 {
    font-size: 1.2rem;
    color: #1a5fb4;
    margin-bottom: 5px;
}

.goal-content p {
    font-size: 0.9rem;
    color: #666;
}

/* ========== 西安人文情怀板块 ========== */
.humanities-section {
    margin: 40px 0;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.humanities-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)), url('../文旅/西安2.jpg');
    background-size: cover;
    background-position: center;
    filter: brightness(0.9);
    z-index: 0;
}

.humanities-content {
    position: relative;
    z-index: 1;
    padding: 60px 40px;
    color: white;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.humanities-left {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.humanities-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffd43b;
    margin-bottom: 10px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    position: relative;
    display: inline-block;
}

.humanities-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: #ffd43b;
    border-radius: 2px;
}

.humanities-subtitle {
    font-size: 1.2rem;
    line-height: 1.7;
    opacity: 0.95;
    margin-bottom: 20px;
}

.humanities-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.humanity-stat {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 20px 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.humanity-stat:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
}

.humanity-stat i {
    font-size: 1.8rem;
    color: #ffd43b;
    margin-bottom: 10px;
}

.humanity-stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.humanity-stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.humanities-right {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.video-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    background: rgba(0, 0, 0, 0.3);
}

.video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-container:hover .video-player {
    transform: scale(1.03);
}

.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 25px;
    color: white;
}

.video-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.video-description {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 15px;
}

.video-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.video-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.video-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.video-progress {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.video-progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: #ffd43b;

    border-radius: 3px;
    transition: width 0.1s linear;
}

/* 修改视频切换为文字图标样式 */
.video-selector-icons {
    display: flex;
    gap: 15px;
    justify-content: space-between;
    margin-top: 20px;
}

.video-icon-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 12px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    flex: 1;
    min-width: 0;
}

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

.video-icon-btn.active {
    background: rgba(255, 212, 59, 0.3);
    border-color: #ffd43b;
    box-shadow: 0 5px 15px rgba(255, 212, 59, 0.2);
}

.video-icon-btn i {
    font-size: 1.5rem;
    color: #ffd43b;
}

.video-icon-btn span {
    font-size: 0.85rem;
    color: white;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.cultural-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.cultural-tag {
    background: rgba(255, 212, 59, 0.2);
    color: #ffd43b;
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 212, 59, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.cultural-tag:hover {
    background: rgba(255, 212, 59, 0.3);
    transform: translateY(-2px);
}

/* AI助手悬浮窗样式 - 高科技未来感设计 */
.ai-floating-window {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 400px;
    height: 520px;
    background: rgba(13, 17, 23, 0.95);
    border: 1px solid rgba(56, 139, 253, 0.3);
    border-radius: 24px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(56, 139, 253, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    z-index: 10000;
    overflow: hidden;
    display: none;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(12px);
}

.ai-floating-window::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(56, 139, 253, 0.5), transparent);
    animation: glow 3s ease-in-out infinite;
}

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

.ai-header {
    background: linear-gradient(135deg, rgba(26, 32, 44, 0.95) 0%, rgba(17, 24, 39, 0.95) 100%);
    color: #e2e8f0;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: move;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(56, 139, 253, 0.2);
    position: relative;
}

.ai-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(56, 139, 253, 0.3), transparent);
}

.ai-header h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    margin: 0;
    font-weight: 600;
    color: #f7fafc;
}

.ai-header h3 i {
    color: #38bdf8;
    font-size: 1.4rem;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

.ai-controls {
    display: flex;
    gap: 8px;
}

.ai-btn {
    background: rgba(56, 139, 253, 0.1);
    border: 1px solid rgba(56, 139, 253, 0.3);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #94a3b8;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ai-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(56, 139, 253, 0.2), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.ai-btn:hover {
    background: rgba(56, 139, 253, 0.2);
    color: #38bdf8;
    border-color: #38bdf8;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
    transform: translateY(-2px);
}

.ai-btn:hover::before {
    opacity: 1;
    animation: shine 0.6s ease;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.ai-chat-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.ai-messages {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
    background: rgba(17, 24, 39, 0.8);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ai-messages::-webkit-scrollbar {
    width: 6px;
}

.ai-messages::-webkit-scrollbar-track {
    background: rgba(26, 32, 44, 0.5);
    border-radius: 3px;
}

.ai-messages::-webkit-scrollbar-thumb {
    background: rgba(56, 139, 253, 0.5);
    border-radius: 3px;
}

.ai-messages::-webkit-scrollbar-thumb:hover {
    background: rgba(56, 139, 253, 0.7);
}

.ai-message {
    padding: 14px 18px;
    border-radius: 20px;
    max-width: 85%;
    line-height: 1.6;
    font-size: 0.95rem;
    word-wrap: break-word;
    position: relative;
    transition: all 0.3s ease;
}

.ai-message.bot {
    background: rgba(26, 32, 44, 0.8);
    border: 1px solid rgba(56, 139, 253, 0.2);
    align-self: flex-start;
    color: #e2e8f0;
    border-bottom-left-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ai-message.bot::before {
    content: '';
    position: absolute;
    top: 18px;
    left: -8px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-right: 10px solid rgba(26, 32, 44, 0.8);
    border-bottom: 8px solid transparent;
}

.ai-message.user {
    background: linear-gradient(135deg, rgba(56, 139, 253, 0.9), rgba(37, 99, 235, 0.9));
    color: white;
    align-self: flex-end;
    margin-left: auto;
    border-bottom-right-radius: 6px;
    box-shadow: 0 2px 8px rgba(56, 139, 253, 0.3);
}

.ai-message.user::after {
    content: '';
    position: absolute;
    top: 18px;
    right: -8px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-left: 10px solid rgba(56, 139, 253, 0.9);
    border-bottom: 8px solid transparent;
}

.ai-input-area {
    padding: 20px 24px;
    border-top: 1px solid rgba(56, 139, 253, 0.2);
    background: rgba(26, 32, 44, 0.9);
    flex-shrink: 0;
    position: relative;
}

.ai-input-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(56, 139, 253, 0.3), transparent);
}

.ai-input-group {
    display: flex;
    gap: 12px;
    align-items: center;
}

.ai-input {
    flex: 1;
    padding: 14px 20px;
    border: 1px solid rgba(56, 139, 253, 0.3);
    border-radius: 25px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: rgba(17, 24, 39, 0.8);
    color: #e2e8f0;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
}

.ai-input::placeholder {
    color: #64748b;
}

.ai-input:focus {
    outline: none;
    border-color: #38bdf8;
    box-shadow: 
        inset 0 1px 3px rgba(0, 0, 0, 0.3),
        0 0 0 3px rgba(56, 189, 248, 0.1);
    background: rgba(17, 24, 39, 0.9);
}

.ai-send {
    background: linear-gradient(135deg, #38bdf8, #2563eb);
    color: white;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(56, 139, 253, 0.4);
}

.ai-send::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
}

.ai-send:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(56, 139, 253, 0.6);
    background: linear-gradient(135deg, #2563eb, #38bdf8);
}

.ai-send:hover::before {
    left: 100%;
}

.ai-send i {
    font-size: 1.2rem;
    z-index: 1;
}

.ai-quick-questions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 0 24px 20px;
    flex-shrink: 0;
}

.ai-quick-btn {
    padding: 10px 14px;
    background: rgba(56, 139, 253, 0.1);
    border: 1px solid rgba(56, 139, 253, 0.2);
    border-radius: 18px;
    cursor: pointer;
    font-size: 0.85rem;
    color: #94a3b8;
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ai-quick-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(56, 139, 253, 0.1), transparent);
    transition: all 0.6s ease;
}

.ai-quick-btn:hover {
    background: rgba(56, 139, 253, 0.15);
    border-color: rgba(56, 139, 253, 0.4);
    color: #38bdf8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(56, 139, 253, 0.2);
}

.ai-quick-btn:hover::before {
    left: 100%;
}

.ai-toggle-btn {
    position: fixed !important;
    bottom: 30px !important;
    left: 30px !important;
    width: 64px !important;
    height: 64px !important;
    background: linear-gradient(135deg, #ffd43b, #ffb347) !important;
    color: #1a5fb4 !important;
    border: 2px solid rgba(255, 212, 59, 0.5) !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.6rem !important;
    z-index: 99999 !important;
    box-shadow: 
        0 10px 30px rgba(255, 212, 59, 0.4),
        0 0 20px rgba(255, 179, 71, 0.2),
        0 0 40px rgba(255, 212, 59, 0.3) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    backdrop-filter: blur(10px) !important;
    overflow: hidden !important;
    /* 确保固定位置不受其他元素影响 */
    transform: translateZ(0) !important;
    will-change: transform !important;
    /* 确保按钮始终显示在最前面 */
    pointer-events: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.ai-toggle-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
}

.ai-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 
        0 15px 40px rgba(56, 139, 253, 0.6),
        0 0 30px rgba(56, 189, 248, 0.3);
    border-color: #38bdf8;
}

.ai-toggle-btn:hover::before {
    left: 100%;
}

.ai-toggle-btn i {
    z-index: 1;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* 功能卡片区域 */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
    backdrop-filter: blur(5px);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.feature-image {
    height: 200px;
    overflow: hidden;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-card:hover .feature-image img {
    transform: scale(1.05);
}

.feature-content {
    padding: 30px;
}

.feature-content h3 {
    font-size: 1.5rem;
    color: #1a5fb4;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.feature-stats {
    display: flex;
    justify-content: space-between;
    color: #888;
    font-size: 0.9rem;
}

/* 实时数据仪表盘 - 缩小版 */
.dashboard-section {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 25px;
    margin-top: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(5px);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.dashboard-title {
    font-size: 1.5rem;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 12px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.dashboard-item {
    background: linear-gradient(135deg, rgba(246, 249, 255, 0.8) 0%, rgba(233, 244, 255, 0.8) 100%);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dashboard-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(26, 95, 180, 0.12);
}

.dashboard-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1a5fb4, #2ec27e);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 1.3rem;
}

.dashboard-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1a5fb4;
    margin-bottom: 5px;
}

.dashboard-label {
    color: #666;
    font-size: 0.9rem;
}

.dashboard-trend {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 8px;
    font-size: 0.85rem;
}

.trend-up {
    color: #2ec27e;
}

.trend-down {
    color: #e01b24;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .feature-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .humanities-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .humanities-right {
        min-height: 350px;
    }
    
    .video-selector-icons {
        gap: 10px;
    }
    
    .video-icon-btn {
        padding: 10px 12px;
    }
    
    .video-icon-btn i {
        font-size: 1.3rem;
    }
    
    .video-icon-btn span {
        font-size: 0.8rem;
    }
}

@media (max-width: 992px) {
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .nav-item {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .overview-goals-section {
        grid-template-columns: 1fr;
    }
    
    .feature-cards {
        grid-template-columns: 1fr;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-menu {
        width: 100%;
        justify-content: space-between;
        overflow-x: auto;
        padding: 5px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .nav-menu::-webkit-scrollbar {
        display: none;
    }
    
    .ai-floating-window {
        width: 90vw;
        height: 70vh;
        right: 5vw;
        bottom: 20px;
    }
    
    .carousel-container {
        height: 350px;
    }
    
    .slide-content {
        padding: 20px;
    }
    
    .slide-title {
        font-size: 1.5rem;
    }
    
    .slide-description {
        font-size: 1rem;
    }
    
    .humanities-content {
        padding: 40px 20px;
    }
    
    .humanities-title {
        font-size: 2rem;
    }
    
    .humanities-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .video-selector-icons {
        flex-wrap: wrap;
    }
    
    .video-icon-btn {
        flex: 0 0 calc(50% - 10px);
        min-width: calc(50% - 10px);
    }
}

@media (max-width: 576px) {
    .video-icon-btn {
        flex: 0 0 100%;
        min-width: 100%;
    }
    
    .humanities-stats {
        grid-template-columns: 1fr;
    }
    
    .dashboard-title {
        font-size: 1.3rem;
    }
    
    .dashboard-value {
        font-size: 1.6rem;
    }
}

/* 页脚 */
.footer {
    background: rgba(26, 26, 26, 0.9);
    color: #aaa;
    padding: 50px 0 30px;
    margin-top: 50px;
    backdrop-filter: blur(5px);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #2ec27e;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a:hover {
    color: #2ec27e;
    padding-left: 10px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(51, 51, 51, 0.5);
    font-size: 0.95rem;
    color: #777;
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* 登录弹窗 */
.login-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-modal-content {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border-radius: 30px;
    padding: 30px;
    width: 450px;
    max-width: 90vw;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 3px solid #1a5fb4;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.login-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 20px;
    margin-bottom: 25px;
}

.login-modal-header h3 {
    font-size: 1.6rem;
    color: #1a5fb4;
    display: flex;
    align-items: center;
    gap: 10px;
}

.close-modal {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
    transition: all 0.3s ease;
}

.close-modal:hover {
    color: #e01b24;
    transform: scale(1.2);
}

.login-tabs {
    display: flex;
    margin-bottom: 25px;
    background: #f5f7fa;
    border-radius: 25px;
    padding: 5px;
}

.login-tab {
    flex: 1;
    padding: 12px;
    border: none;
    background: transparent;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    color: #666;
}

.login-tab.active {
    background: linear-gradient(135deg, #1a5fb4, #2ec27e);
    color: white;
    box-shadow: 0 5px 15px rgba(26, 95, 180, 0.3);
}

.login-form {
    position: relative;
}

.login-tab-content {
    display: none;
}

.login-tab-content.active {
    display: block;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group input {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid #e0e6ef;
    border-radius: 25px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #1a5fb4;
    box-shadow: 0 0 0 3px rgba(26, 95, 180, 0.1);
}

.login-btn, .register-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.login-btn {
    background: linear-gradient(135deg, #1a5fb4, #2ec27e);
    color: white;
}

.register-btn {
    background: linear-gradient(135deg, #ffd43b, #ffb347);
    color: #1a5fb4;
}

.login-btn:hover, .register-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.guest-login-btn {
    background: rgba(26, 95, 180, 0.1);
    border: 2px solid #1a5fb4;
    color: #1a5fb4;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.guest-login-btn:hover {
    background: rgba(26, 95, 180, 0.2);
    transform: translateY(-2px);
}

.forgot-password {
    color: #1a5fb4;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.forgot-password:hover {
    text-decoration: underline;
}

/* 个人中心样式 */
.profile-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.avatar-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.avatar-preview {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a5fb4, #2ec27e);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    overflow: hidden;
    position: relative;
}

.avatar-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-upload-btn {
    background: rgba(26, 95, 180, 0.1);
    border: 2px solid #1a5fb4;
    color: #1a5fb4;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.avatar-upload-btn:hover {
    background: rgba(26, 95, 180, 0.2);
    transform: translateY(-2px);
}

.user-info h4 {
    font-size: 1.2rem;
    color: #1a5fb4;
    margin-bottom: 5px;
}

.user-info p {
    color: #666;
    font-size: 0.9rem;
}

#logoutBtn {
    margin-top: 10px;
    width: 100%;
}

/* 翻译按钮和面板 */
.translate-float-btn {
    position: fixed;
    bottom: 105px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ffd43b, #ffb347);
    color: #1a5fb4;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    z-index: 99999;
    box-shadow: 0 10px 25px rgba(255, 180, 0, 0.5);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    border: 2px solid white;
}
.translate-float-btn:hover {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, #ffb347, #ffd43b);
    box-shadow: 0 15px 35px rgba(255, 200, 0, 0.7);
}
.translate-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 480px;
    max-width: 90vw;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(15px);
    border-radius: 36px;
    padding: 28px;
    z-index: 10002;
    box-shadow: 0 30px 70px rgba(0,0,0,0.4);
    border: 3px solid #ffd43b;
    display: none;
    color: #333;
}
.translate-panel.active {
    display: block;
    animation: zoomIn 0.3s;
}
.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 18px;
    margin-bottom: 20px;
}
.panel-header h3 {
    font-size: 1.6rem;
    color: #1a5fb4;
}
.close-panel {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
    transition: 0.2s;
}
.close-panel:hover { color: #e01b24; transform: scale(1.2); }
.lang-selector {
    width: 100%;
    padding: 14px 20px;
    margin: 12px 0 18px;
    border: 2px solid #e0e6ef;
    border-radius: 50px;
    font-size: 1rem;
    background: white;
}
.translate-input {
    width: 100%;
    padding: 18px 22px;
    border: 2px solid #e0e6ef;
    border-radius: 40px;
    font-size: 1rem;
    resize: vertical;
    margin-bottom: 20px;
}
.translate-result-box {
    background: #f5f7fa;
    border-radius: 30px;
    padding: 22px;
    min-height: 120px;
    border: 1px solid #d0d9e8;
    margin-top: 15px;
    font-size: 1.1rem;
}
.action-btn {
    background: linear-gradient(135deg, #1a5fb4, #2ec27e);
    color: white;
    border: none;
    padding: 14px 25px;
    border-radius: 50px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
}
.action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(26,95,180,0.4);
}

/* 游客分享板块 - 微信朋友圈风格 */
.user-share-section {
    background: #f5f5f5;
    border-radius: 12px;
    padding: 20px;
    margin: 30px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.comment-delete-btn {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    padding: 0 5px;
}

.comment-delete-btn:hover {
    color: #e01b24;
    transform: scale(1.1);
}

.share-title {
    font-size: 1.5rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.share-subtitle {
    font-size: 0.9rem;
    color: #666;
    margin-top: 3px;
}

.share-btn {
    background: #1a5fb4;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.share-btn:hover {
    background: #154b8a;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(26, 95, 180, 0.3);
}

.login-prompt {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.login-icon {
    width: 60px;
    height: 60px;
    background: #f0f7ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 2rem;
    color: #1a5fb4;
}

.login-prompt h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.login-prompt p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.login-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.login-btn, .register-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-btn {
    background: #1a5fb4;
    color: white;
}

.register-btn {
    background: #f0f0f0;
    color: #333;
    border: 1px solid #e0e0e0;
}

.login-btn:hover {
    background: #154b8a;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(26, 95, 180, 0.3);
}

.register-btn:hover {
    background: #e0e0e0;
    transform: translateY(-1px);
}

.share-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(48%, 1fr));
    gap: 20px;
}

.share-item {
    background: white;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.share-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.share-user-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-details {
    flex: 1;
}

.user-details h4 {
    font-size: 1rem;
    color: #333;
    margin-bottom: 2px;
    font-weight: 600;
}

.share-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    color: #999;
}

.share-time {
    flex-shrink: 0;
}

.share-location {
    display: flex;
    align-items: center;
    gap: 3px;
    flex-shrink: 0;
}

.share-content-text {
    margin-bottom: 12px;
    line-height: 1.6;
    color: #333;
    font-size: 0.95rem;
}

.share-media {
    margin-bottom: 12px;
    border-radius: 8px;
    overflow: hidden;
    background: #f9f9f9;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.share-media:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.share-media img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
    transition: filter 0.3s ease;
}

.share-media:hover img {
    filter: brightness(1.05);
}

/* 响应式图片尺寸 */
@media (max-width: 768px) {
    .share-media img {
        max-height: 250px;
    }
}

@media (max-width: 480px) {
    .share-media img {
        max-height: 200px;
    }
}

/* 图片查看器 */
.image-viewer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.image-viewer.active {
    opacity: 1;
    visibility: visible;
}

.image-viewer-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.image-viewer img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
}

.image-viewer-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.image-viewer-close:hover {
    transform: scale(1.2);
    color: #ffd700;
}

.image-viewer-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.image-viewer-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.image-viewer-nav.prev {
    left: -70px;
}

.image-viewer-nav.next {
    right: -70px;
}

.share-actions {
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 12px;
}

.share-actions .action-btn {
    background: none;
    border: none;
    color: #666;
    padding: 8px 12px;
    border-radius: 0;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    width: auto;
    flex: 1;
    justify-content: center;
}

.share-actions .action-btn:hover {
    background: #f5f5f5;
    color: #333;
}

.share-actions .action-btn.liked {
    color: #e01b24;
}

.share-actions .action-btn.liked i {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.comments-section {
    margin-top: 12px;
}

.comment-item {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 8px;
}

.comment-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.comment-header h5 {
    font-size: 0.85rem;
    color: #333;
    font-weight: 600;
    margin: 0;
}

.comment-header .comment-time {
    font-size: 0.75rem;
    color: #999;
}

.comment-text {
    font-size: 0.85rem;
    color: #333;
    line-height: 1.4;
    margin: 0;
}

.comment-input {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.comment-input-field {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 18px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    background: #f9f9f9;
}

.comment-input-field:focus {
    outline: none;
    border-color: #1a5fb4;
    background: white;
    box-shadow: 0 0 0 2px rgba(26, 95, 180, 0.1);
}

.comment-submit {
    background: #1a5fb4;
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.comment-submit:hover {
    background: #154b8a;
    transform: scale(1.05);
}

/* 分享弹窗 */
.share-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-modal-content {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border-radius: 30px;
    padding: 40px;
    width: 500px;
    max-width: 90vw;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 3px solid #1a5fb4;
    animation: zoomIn 0.3s ease;
}

.share-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.share-modal-header h3 {
    font-size: 1.6rem;
    color: #1a5fb4;
    display: flex;
    align-items: center;
    gap: 10px;
}

.share-form .form-group {
    margin-bottom: 25px;
}

.share-form .form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.share-form .form-group input,
.share-form .form-group textarea {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid #e0e6ef;
    border-radius: 25px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.share-form .form-group textarea {
    resize: vertical;
    min-height: 120px;
    border-radius: 15px;
}

.share-form .form-group input:focus,
.share-form .form-group textarea:focus {
    outline: none;
    border-color: #1a5fb4;
    box-shadow: 0 0 0 3px rgba(26, 95, 180, 0.1);
}

.file-upload {
    border: 2px dashed #e0e6ef;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(246, 249, 255, 0.5);
}

.file-upload:hover {
    border-color: #1a5fb4;
    background: rgba(246, 249, 255, 0.8);
}

.file-upload input[type="file"] {
    display: none;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.file-upload-icon {
    font-size: 3rem;
    color: #1a5fb4;
    margin-bottom: 10px;
}

.file-upload-text {
    font-size: 1rem;
    color: #666;
}

.file-upload-hint {
    font-size: 0.85rem;
    color: #999;
    margin-top: 10px;
}

.file-upload-name {
    font-size: 0.85rem;
    color: #1a5fb4;
    margin-top: 10px;
    font-weight: 500;
}

/* 管理员面板样式 */
.admin-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.admin-tab {
    padding: 12px 24px;
    border: none;
    background: none;
    font-size: 1rem;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.admin-tab.active {
    color: #1a5fb4;
    border-bottom-color: #1a5fb4;
}

.admin-tab:hover {
    color: #1a5fb4;
}

.admin-tab-content {
    display: none;
}

.admin-tab-content.active {
    display: block;
}

.admin-loading {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 1.1rem;
}

.admin-user-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    margin-bottom: 15px;
    background: white;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.admin-user-item .user-avatar {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.admin-user-item .user-info {
    flex: 1;
}

.admin-user-item .user-info h4 {
    margin: 0 0 12px 0;
    color: #333;
    font-size: 1.1rem;
}

.admin-user-item .user-info p {
    margin: 6px 0;
    font-size: 0.95rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-user-item .user-info p i {
    color: #1a5fb4;
    font-size: 1rem;
}

.admin-user-item .user-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-user-item .action-btn {
    padding: 10px 16px;
    border: 1px solid #1a5fb4;
    background: #1a5fb4;
    color: white;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.admin-user-item .action-btn:hover {
    background: #154a8a;
    border-color: #154a8a;
}

.admin-share-item {
    padding: 20px;
    margin-bottom: 15px;
    background: white;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.admin-share-item .share-info {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.admin-share-item .share-info .user-avatar {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.admin-share-item .share-details h4 {
    margin: 0 0 8px 0;
    color: #333;
    font-size: 1.1rem;
}

.admin-share-item .share-details p {
    margin: 5px 0;
    font-size: 0.95rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-share-item .share-details p i {
    color: #1a5fb4;
    font-size: 1rem;
}

.admin-share-item .share-details .share-content {
    margin-top: 10px;
    line-height: 1.5;
}

.admin-share-item .share-media {
    margin-bottom: 15px;
}

.admin-share-item .share-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    padding-top: 10px;
    border-top: 1px solid #e0e0e0;
}

.admin-share-item .share-stats p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}

.admin-share-item .share-actions {
    text-align: right;
}

.admin-share-item .action-btn {
    padding: 8px 16px;
    border: 1px solid #e0e0e0;
    background: white;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.admin-share-item .action-btn:hover {
    background: #f0f0f0;
}

.error-message {
    text-align: center;
    padding: 40px;
    color: #e01b24;
    font-size: 1.1rem;
}

/* 管理员按钮 */
.admin-btn {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #333;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.admin-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .user-share-section {
        padding: 20px;
    }
    
    .share-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .share-btn {
        align-self: flex-start;
    }
    
    .login-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .login-btn, .register-btn {
        width: 100%;
        max-width: 200px;
    }
    
    .share-actions {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .share-modal-content {
        padding: 20px;
        width: 90vw;
    }
    
    .admin-user-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .admin-user-item .user-actions {
        flex-direction: row;
        width: 100%;
        justify-content: flex-end;
        margin-top: 10px;
    }
    
    .admin-share-item .share-info {
        flex-direction: column;
    }
    
    .admin-share-item .share-media img {
        max-width: 100%;
        max-height: 200px;
    }

}