/* 基本样式 */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f9;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    flex-direction: column;
}

/* 页面容器 */
.container {
    width: 90%;
    max-width: 1000px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

/* 页眉 */
header {
    text-align: center;
    margin-bottom: 30px;
}

header h1 {
    font-size: 32px;
    color: #333;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

header p {
    font-size: 16px;
    color: #777;
}

/* 上传记录部分 */
.uploads h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
    letter-spacing: 1px;
}

/* 上传记录列表 */
.upload-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    padding: 0;
}

/* 每个上传记录卡片 */
.upload-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.upload-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.upload-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
    transition: transform 0.3s;
}

.upload-card:hover .upload-image {
    transform: scale(1.1);
}

.upload-info {
    padding: 10px;
}

.upload-title {
    font-size: 18px;
    color: #333;
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
    transition: color 0.3s;
    font-weight: bold;
}

.upload-title:hover {
    color: #007bff;
}

.timestamp {
    font-size: 14px;
    color: #aaa;
}

/* 按钮样式 */
.action-buttons {
    text-align: center;
    margin-top: 30px;
}

.upload-btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 18px;
    color: white;
    background-color: #4CAF50;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s;
}

.upload-btn:hover {
    background-color: #45a049;
    transform: translateY(-2px);
}

.upload-btn:active {
    transform: translateY(2px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .upload-list {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }

    header h1 {
        font-size: 28px;
    }

    header p {
        font-size: 14px;
    }

    .upload-btn {
        padding: 10px 25px;
        font-size: 16px;
    }
}