/* 基础重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

/* 顶部提示栏样式 */
.top-banner {
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 20px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    position: sticky;
    top: 0;
    z-index: 100;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

/* 容器样式 */
.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

/* 云盘区域标题 */
.feedback-section h2 {
    text-align: center;
    margin: 30px 0 20px;
    color: #2c3e50;
    font-size: 24px;
}

/* 云盘容器 */
.drives-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

/* 云盘卡片样式 */
.drive-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    padding: 20px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.drive-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    border-color: #3498db;
}

/* 失效/过期提示 */
.drive-card.expired::before {
    content: "失效/过期";
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #e74c3c;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

/* 云盘Logo */
.drive-logo {
    width: 60px;
    height: 60px;
    margin-right: 20px;
    border-radius: 8px;
    object-fit: contain;
}

/* 云盘信息容器 */
.drive-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* 云盘名称和更新时间容器 */
.drive-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* 云盘名称 */
.drive-name {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
}

/* 更新时间 */
.update-time {
    font-size: 14px;
    color: #7f8c8d;
    font-style: italic;
    white-space: nowrap;
    margin-left: 10px;
}

/* 反馈区域样式 */
.feedback-section {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    margin-bottom: 40px;
}

.feedback-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 反馈输入框 */
#feedbackInput {
    width: 100%;
    max-width: 600px;
    height: 120px;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    resize: vertical;
    transition: border-color 0.3s;
    margin-bottom: 20px;
}

#feedbackInput:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

/* 提交按钮 */
#submitFeedback {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-weight: 600;
}

#submitFeedback:hover {
    background-color: #2980b9;
}

#submitFeedback:active {
    transform: scale(0.98);
}

/* 反馈消息 */
.feedback-message {
    margin-top: 15px;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    display: none;
}

.feedback-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.feedback-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .drives-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .drive-card {
        padding: 15px;
    }
    
    .drive-logo {
        width: 50px;
        height: 50px;
        margin-right: 15px;
    }
    
    .drive-name {
        font-size: 16px;
    }
    
    .feedback-section {
        padding: 20px;
    }
    
    .top-banner {
        font-size: 18px;
        padding: 15px;
    }
    
    #feedbackInput {
        height: 100px;
    }
}

@media (max-width: 480px) {
    .top-banner {
        font-size: 16px;
        padding: 12px;
    }
    
    .feedback-section h2 {
        font-size: 20px;
        margin: 20px 0 15px;
    }
    
    .drive-card.expired::before {
        font-size: 10px;
        padding: 3px 6px;
    }
    
    .update-time {
        font-size: 12px;
    }
}