
        /* 全局样式 */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Microsoft YaHei', Arial, sans-serif;
        }

        :root {
            --neon-blue: #00f3ff;
            --neon-purple: #9000ff;
            --dark-bg: #0a0a12;
            --accent-color: #00f3ff;
        }

        html, body {
            background-color: var(--dark-bg);
            color: #ffffff;
            overflow-x: hidden; /* 只禁止水平滚动，允许垂直滚动 */
            height: 100%; /* 确保占满整个视口 */
            background-image: 
                radial-gradient(circle at 10% 20%, rgba(0, 243, 255, 0.05) 0%, transparent 20%),
                radial-gradient(circle at 90% 80%, rgba(144, 0, 255, 0.05) 0%, transparent 20%);
        }

        /* 导航栏 */
        .navbar {
            position: fixed;
            top: 0;
            width: 100%;
            background-color: rgba(10, 10, 18, 0.8);
            backdrop-filter: blur(10px);
            padding: 20px;
            z-index: 100;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid rgba(0, 243, 255, 0.2);
        }

        .logo {
            font-size: 24px;
            font-weight: bold;
            color: var(--accent-color);
            text-shadow: 0 0 10px var(--accent-color);
            text-decoration: none;
        }
        
        .nav-links {
            display: flex;
            gap: 30px;
        }
        
        .nav-links a {
            color: #ffffff;
            text-decoration: none;
            position: relative;
            padding: 5px 0;
            font-size: 16px;
            transition: all 0.3s ease;
        }
        
        .nav-links a:hover {
            color: var(--accent-color);
        }
        
        .nav-links a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: 0;
            left: 0;
            background-color: var(--accent-color);
            transition: width 0.3s ease;
        }
        
        .nav-links a:hover::after {
            width: 100%;
        }

        /* 水滴特效 */
        .rain-container {
            position: fixed;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            overflow: hidden;
            z-index: -1;
            pointer-events: none;
        }
        
        .raindrop {
            position: absolute;
            background: radial-gradient(
                circle at center,
                rgba(0, 243, 255, 0.7) 0%,
                rgba(0, 243, 255, 0.3) 50%,
                rgba(0, 243, 255, 0.1) 80%
            );
            border-radius: 50%;
            box-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
            transform-origin: center bottom;
            animation: splash 3s infinite ease-out;
            pointer-events: none;
        }
        
        .ripple {
            position: absolute;
            border: 1px solid rgba(0, 243, 255, 0.6);
            border-radius: 50%;
            box-shadow: 0 0 8px rgba(0, 243, 255, 0.3), inset 0 0 8px rgba(0, 243, 255, 0.3);
            animation: ripple-effect 3s cubic-bezier(0.2, 0.5, 0.3, 1) infinite;
            pointer-events: none;
        }
        
        @keyframes ripple-effect {
            0% {
                width: 0px;
                height: 0px;
                opacity: 0.8;
                transform: translateZ(0);
            }
            100% {
                width: 120px;
                height: 120px;
                opacity: 0;
                transform: translateZ(0);
            }
        }
        
        @keyframes splash {
            0% {
                opacity: 0;
                transform: scale(0);
            }
            50% {
                opacity: 0.8;
                transform: scale(1);
            }
            100% {
                opacity: 0;
                transform: scale(1.5);
            }
        }

        /* 内容区域 */
.content {
    max-width: 900px;
    margin: 120px auto 50px;
    padding: 30px;
    background: rgba(10, 10, 18, 0.7);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 243, 255, 0.1);
    min-height: calc(100vh - 120px - 120px); /* ✅ 保证内容区撑满屏幕 */
}


        .content h1 {
            color: var(--accent-color);
            text-align: center;
            margin-bottom: 40px;
            font-size: 2.5rem;
            text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
        }

        /* 留言表单 */
.feedback-form {
    display: block;          /* 明确是块级元素 */
    max-width: 700px;        /* 限制最大宽度 */
    margin: 0 auto 50px;     /* 上下间距 + 水平居中 */
    padding: 0;              /* 可以去掉左右 padding */
}


/* 可选：让表单标签也居中（默认是左对齐） */
.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--accent-color);
    font-weight: bold;
    text-align: center; /* 新增：标签居中 */
}

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


        .form-group input, 
        .form-group textarea,
        .form-group select {
            width: 100%;
            padding: 10px 15px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(0, 243, 255, 0.2);
            border-radius: 5px;
            color: white;
            font-size: 16px;
            transition: all 0.3s ease;
        }

        .form-group input:focus, 
        .form-group textarea:focus,
        .form-group select:focus {
            outline: none;
            border-color: var(--accent-color);
            box-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
        }

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

        .rating-group {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            margin-top: 10px;
        }

        .rating-item {
            display: flex;
            align-items: center;
            cursor: pointer;
        }

        .rating-item input {
            margin-right: 5px;
            cursor: pointer;
            width: auto;
        }

        .submit-btn {
            background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
            color: white;
            border: none;
            padding: 10px 25px;
            font-size: 16px;
            border-radius: 30px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: block;
            margin: 15px auto 10px; /* 进一步减少上下边距 */
            box-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
            position: relative; /* 确保按钮始终可见 */
            z-index: 2;
        }

        .submit-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 20px rgba(0, 243, 255, 0.5);
        }

        /* 留言板 */
        .message-board h2 {
            color: var(--accent-color);
            margin-bottom: 25px;
            text-align: center;
            font-size: 1.8rem;
        }

        .message {
            margin-bottom: 25px;
            padding: 20px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 8px;
            border-left: 4px solid var(--accent-color);
            transition: transform 0.3s ease;
        }

        .message:hover {
            transform: translateX(5px);
        }

        .message-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 10px;
            font-size: 0.9rem;
            color: #999;
        }

        .message-content {
            line-height: 1.6;
            margin-bottom: 10px;
        }

        .message-author {
            font-weight: bold;
            color: #fff;
        }

        .message-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.9rem;
        }

        .message-reply {
            color: var(--accent-color);
            cursor: pointer;
        }

        .message-actions {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .message-likes, .message-dislikes {
            display: flex;
            align-items: center;
            gap: 3px;
            color: #999;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .message-likes i {
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .message-likes:hover, .message-likes.active {
            color: #4CAF50;
        }
        
        .message-likes:hover i, .message-likes.active i {
            color: #4CAF50;
        }
        
        .message-dislikes i {
            cursor: pointer;
            transition: all 0.2s ease;
        }
        
        .message-dislikes:hover, .message-dislikes.active {
            color: #F44336;
        }
        
        .message-dislikes:hover i, .message-dislikes.active i {
            color: #F44336;
        }
        
        .message-actions .disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }
        
        /* 回复内容样式 */
        .message-reply-content {
            background: rgba(0, 243, 255, 0.05);
            margin: 10px 0 15px 20px;
            padding: 15px;
            border-radius: 8px;
            border-left: 3px solid var(--accent-color);
        }
        
        .reply-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 10px;
            font-size: 0.9rem;
            color: var(--accent-color);
        }
        
        .reply-author {
            font-weight: bold;
        }
        
        .reply-date {
            color: #999;
        }
        
        .reply-text {
            color: #e0e0e0;
            line-height: 1.5;
        }
        
        /* 加载指示器样式 */
        .loading-indicator {
            text-align: center;
            padding: 30px;
            color: rgba(255, 255, 255, 0.7);
        }
        
        .loading-indicator p {
            position: relative;
            display: inline-block;
            padding-right: 30px;
        }
        
        .loading-indicator p::after {
            content: '';
            position: absolute;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 20px;
            height: 20px;
            border: 2px solid rgba(0, 243, 255, 0.3);
            border-top: 2px solid var(--accent-color);
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }
        
        @keyframes spin {
            0% { transform: translateY(-50%) rotate(0deg); }
            100% { transform: translateY(-50%) rotate(360deg); }
        }
        
        /* 无留言提示样式 */
        #no-messages {
            text-align: center;
            padding: 30px;
            color: rgba(255, 255, 255, 0.7);
        }

        /* 分页 */
        .pagination {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-top: 30px;
        }

        .pagination-item {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 5px;
            color: white;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .pagination-item:hover,
        .pagination-item.active {
            background: rgba(0, 243, 255, 0.2);
            color: var(--accent-color);
        }
        
        /* 切换按钮样式 */
        .toggle-form-btn {
            background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
            color: white;
            border: none;
            padding: 12px 25px;
            font-size: 16px;
            border-radius: 30px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 10px;
            margin: 0 auto 40px;
            box-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
        }

        .toggle-form-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 20px rgba(0, 243, 255, 0.5);
        }
        
        .toggle-form-btn i {
            font-size: 18px;
        }
        
        /* 隐藏元素 */
        .hidden {
            display: none !important;
        }
        
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex; /* 关键：flex容器 */
  justify-content: center; /* 强制子元素水平居中（覆盖margin） */
  align-items: center; /* 垂直居中 */
  padding: 20px; /* 留边距，避免内容贴边 */
  box-sizing: border-box;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
  /* 固定最大宽度，避免内容过宽导致偏右 */
  max-width: 800px; 
  width: 100%; /* 小屏幕下占满可用宽度（父容器padding内的宽度） */
  overflow-y: auto;
  background-color: rgba(15,15,25,0.95);
  border-radius: 15px;
  box-shadow: 0 0 30px rgba(0,243,255,0.3);
  border: 1px solid rgba(0,243,255,0.2);
  padding: 20px;
  left: 50%; /* 子元素左边缘对齐窗口中线 */
  top: 50%; 
  box-sizing: border-box;
  text-align: center;
  /* 去掉margin: 0 auto，依赖父容器flex居中 */
  margin: 0; 
}

.modal-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}




        
        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 25px;
            border-bottom: 1px solid rgba(0, 243, 255, 0.2);
        }
        
        .modal-header h2 {
            color: var(--accent-color);
            font-size: 1.8rem;
            margin: 0;
        }
        
        .close-modal {
            background: none;
            border: none;
            color: #ffffff;
            font-size: 1.5rem;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        
        .close-modal:hover {
            color: var(--accent-color);
            transform: scale(1.1);
        }
        
        .modal-description {
            color: #cccccc;
            padding: 10px 25px 0;
            margin: 0 0 -5px 0;
            text-align: center;
            font-size: 0.95rem;
        }
        
        .modal-body {
            padding: 15px 25px 25px;
            overflow-y: auto;
            max-height: 50vh; /* 减小最大高度，确保在小屏幕上内容更紧凑 */
        }
        
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        
        @keyframes slideIn {
            from { 
                opacity: 0;
                transform: translate(-50%, -50%);
                margin-top: -20px;
            }
            to { 
                opacity: 1;
                transform: translate(-50%, -50%);
                margin-top: 0;
            }
        }

        /* 页脚 */
        .footer {
            padding: 30px;
            text-align: center;
            background-color: rgba(10, 10, 18, 0.8);
            border-top: 1px solid rgba(0, 243, 255, 0.2);
            margin-top: 50px;
        }

        .footer p {
            font-size: 1rem;
            color: #999999;
        }

        /* 汉堡菜单图标 */
        .menu-toggle {
            display: none;
            flex-direction: column;
            justify-content: space-between;
            width: 30px;
            height: 21px;
            cursor: pointer;
            z-index: 120;
        }

        .menu-toggle span {
            display: block;
            height: 3px;
            width: 100%;
            background-color: var(--accent-color);
            border-radius: 3px;
            transition: all 0.3s ease;
        }

        /* 导航菜单开关状态 */
        .menu-toggle.active span:nth-child(1) {
            transform: translateY(9px) rotate(45deg);
        }

        .menu-toggle.active span:nth-child(2) {
            opacity: 0;
        }

        .menu-toggle.active span:nth-child(3) {
            transform: translateY(-9px) rotate(-45deg);
        }

        /* 响应式设计 */
        @media (max-width: 768px) {
            .navbar {
                padding: 15px;
                align-items: center;
                justify-content: space-between;
            }
            
            .menu-toggle {
                display: flex;
            }
            
            .nav-links {
                position: fixed;
                top: 0;
                right: -100%;
                width: 70%;
                max-width: 300px;
                height: 100vh;
                background: rgba(10, 10, 18, 0.95);
                backdrop-filter: blur(10px);
                flex-direction: column;
                gap: 20px;
                padding: 80px 30px 30px;
                transition: right 0.3s ease;
                z-index: 110;
                box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
                border-left: 1px solid rgba(0, 243, 255, 0.2);
            }
            
            .nav-links.active {
                right: 0;
            }
            
            .nav-links a {
                font-size: 1.2rem;
                width: 100%;
                padding: 15px 0;
            }
            
            .nav-links a::after {
                bottom: 10px;
            }
            
            .content {
                padding-top: 120px;
            }
            
            .modal-content {
                width: 95%;
                max-height: 85vh; /* 在移动设备上调整高度 */
            }
            
            .modal-body {
                max-height: 55vh; /* 在移动设备上调整主体高度 */
            }
            
            .form-group {
                margin-bottom: 15px; /* 减少表单组间距 */
            }
            
            .form-group textarea {
                min-height: 100px; /* 减少文本区域高度 */
            }
            
            .submit-btn {
                margin-bottom: 15px; /* 确保按钮有足够的底部边距 */
            }
        }
        .content {
            border-radius: 28px;
            box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.05);
            background: linear-gradient(180deg, rgba(14, 22, 35, 0.76), rgba(10, 14, 24, 0.62));
        }

        .content h1::after {
            content: '';
            display: block;
            width: 120px;
            height: 4px;
            margin: 18px auto 0;
            border-radius: 999px;
            background: linear-gradient(90deg, transparent, rgba(0, 243, 255, 0.9), transparent);
        }

        .feedback-form,
        .message-board {
            padding: 24px 22px;
            border-radius: 22px;
            background: rgba(255, 255, 255, 0.035);
            border: 1px solid rgba(255, 255, 255, 0.07);
            box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
        }

        .message {
            border: 1px solid rgba(255, 255, 255, 0.08);
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
        }

        .form-group input,
        .form-group textarea,
        .form-group select {
            border-radius: 12px;
        }

        @media (max-width: 768px) {
            .content {
                margin: 104px 14px 110px;
                padding: 22px 14px;
                min-height: 0;
                border-radius: 22px;
            }

            .feedback-form,
            .message-board {
                padding: 18px 14px;
                border-radius: 18px;
            }

            .message {
                padding: 16px 14px;
                border-radius: 16px;
            }

            .message-header,
            .message-footer {
                gap: 10px;
                flex-wrap: wrap;
            }
        }
    