* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}
body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}
.container {
    max-width: 800px;
    margin: 50px auto;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.title {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
}
.upload-form {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}
.upload-form input[type="file"] {
    flex: 1;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
}
.upload-form button {
    padding: 10px 20px;
    background: #667eea;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}
.upload-form button:hover {
    background: #5a6edb;
}
.file-list h2 {
    color: #333;
    margin-bottom: 15px;
}
.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid #eee;
    transition: all 0.2s ease;
    border-radius: 5px;
    margin-bottom: 8px;
}
.file-item:hover {
    transform: translateX(5px);
    background: #f8f9fa;
}
.file-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.file-size {
    color: #999;
    margin: 0 15px;
}
.copy-btn {
    padding: 5px 12px;
    background: #28a745;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.2s;
}
.copy-btn:hover {
    background: #218838;
}
.url-box {
    margin-top: 8px;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 3px;
    color: #007bff;
    font-size: 14px;
}
.hidden {
    display: none;
}
.empty-tip {
    color: #999;
    text-align: center;
    padding: 20px;
}
/* 动画效果 */
.animate__fadeInDown {
    animation: fadeInDown 0.8s ease forwards;
}
.animate__fadeInUp {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
