/* 通用样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", "SimHei", Arial, sans-serif;
}

body {
    min-height: 100vh;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 头部样式 */
.header {
    text-align: center;
    margin: 40px 0 30px;
    width: 100%;
    max-width: 600px;
}

.header a {
    text-decoration: none;
    font-size: 14px;
    margin: 0 10px;
}

/* 主内容区样式 */
.main-content {
    max-width: 600px;
    width: 100%;
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    padding: 40px;
    margin-bottom: 30px;
}

/* 资源信息样式 */
.resource-info {
    text-align: center;
    margin-bottom: 40px;
}

.resource-title {
    font-size: 22px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

/* 网盘信息样式 */
.netdisk-info {
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.6;
    padding: 20px;
    border-radius: 8px;
    text-align: left;
}

/* 密码提示样式 */
.password-hint {
    font-size: 16px;
    color: #333333;
    line-height: 1.6;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 40px;
    border-left: 4px solid #6248F5;
}

/* 表单样式 */
.password-form {
    margin-bottom: 20px;
}

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

.form-input {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    border-left: 4px solid #6248F5;
}

.form-input:focus {
    outline: none;
    border-color: #6248F5;
    box-shadow: 0 0 0 3px rgba(98, 72, 245, 0.1);
}

.form-button {
    width: 100%;
    padding: 16px;
    background: #6248F5;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.form-button:hover {
    background: #7a67f7;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(98, 72, 245, 0.3);
}

/* 错误页面样式 */
.error-container {
    max-width: 600px;
    width: 100%;
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    padding: 40px;
    text-align: center;
    margin-bottom: 30px;
}

.error-icon {
    font-size: 64px;
    color: #ff4757;
    margin-bottom: 20px;
}

.error-title {
    font-size: 24px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 16px;
}

.error-message {
    font-size: 16px;
    color: #666666;
    margin-bottom: 30px;
    line-height: 1.6;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #ff4757;
    text-align: left;
}

.back-button {
    display: inline-block;
    padding: 16px 40px;
    background: #6248F5;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.back-button:hover {
    background: #7a67f7;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(98, 72, 245, 0.3);
}

/* 底部样式 */
.footer {
    text-align: center;
    font-size: 12px;
    color: #999999;
    margin-top: 20px;
}

/* 响应式设计 */
@media (max-width: 480px) {
    .main-content,
    .error-container {
        padding: 25px;
    }
    
    .resource-title,
    .error-title {
        font-size: 20px;
    }
    
    .header {
        margin: 20px 0 20px;
    }
    
    .netdisk-info {
        padding: 15px;
    }
}

/* 夸克网盘样式 */
body.quark {
    background: #f0f9ff;
}

body.quark .header a {
    color: #409EFF;
}

body.quark .netdisk-info {
    background: #ecf5ff;
    color: #303133;
}

body.quark .password-hint {
    border-left-color: #409EFF;
}

body.quark .form-input {
    border-left-color: #409EFF;
}

body.quark .form-input:focus {
    border-color: #409EFF;
    box-shadow: 0 0 0 3px rgba(64, 158, 255, 0.1);
}

body.quark .form-button,
body.quark .back-button {
    background: #409EFF;
}

body.quark .form-button:hover,
body.quark .back-button:hover {
    background: #66B1FF;
    box-shadow: 0 4px 12px rgba(64, 158, 255, 0.3);
}

/* 百度网盘样式 */
body.baidu {
    background: #f5f7fa;
}

body.baidu .header a {
    color: #217EFF;
}

body.baidu .netdisk-info {
    background: #e6f7ff;
    color: #333333;
}

body.baidu .password-hint {
    border-left-color: #217EFF;
}

body.baidu .form-input {
    border-left-color: #217EFF;
}

body.baidu .form-input:focus {
    border-color: #217EFF;
    box-shadow: 0 0 0 3px rgba(33, 126, 255, 0.1);
}

body.baidu .form-button,
body.baidu .back-button {
    background: #217EFF;
}

body.baidu .form-button:hover,
body.baidu .back-button:hover {
    background: #4090ff;
    box-shadow: 0 4px 12px rgba(33, 126, 255, 0.3);
}

/* UC网盘样式 */
body.uc {
    background: #fff5f0;
}

body.uc .header a {
    color: #FF6B35;
}

body.uc .netdisk-info {
    background: #fff1e8;
    color: #333333;
}

body.uc .password-hint {
    border-left-color: #FF6B35;
}

body.uc .form-input {
    border-left-color: #FF6B35;
}

body.uc .form-input:focus {
    border-color: #FF6B35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

body.uc .form-button,
body.uc .back-button {
    background: #FF6B35;
}

body.uc .form-button:hover,
body.uc .back-button:hover {
    background: #ff875f;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

/* 迅雷网盘样式 */
body.xunlei {
    background: #fff2f0;
}

body.xunlei .header a {
    color: #FF4D4F;
}

body.xunlei .netdisk-info {
    background: #fff1f0;
    color: #333333;
}

body.xunlei .password-hint {
    border-left-color: #FF4D4F;
}

body.xunlei .form-input {
    border-left-color: #FF4D4F;
}

body.xunlei .form-input:focus {
    border-color: #FF4D4F;
    box-shadow: 0 0 0 3px rgba(255, 77, 79, 0.1);
}

body.xunlei .form-button,
body.xunlei .back-button {
    background: #FF4D4F;
}

body.xunlei .form-button:hover,
body.xunlei .back-button:hover {
    background: #ff7875;
    box-shadow: 0 4px 12px rgba(255, 77, 79, 0.3);
}

/* 其他网盘样式 */
body.other {
    background: #f8f9fa;
}

body.other .header a {
    color: #6248F5;
}

body.other .netdisk-info {
    background: #f0f0f0;
    color: #333333;
}

body.other .password-hint {
    border-left-color: #6248F5;
}

body.other .form-input {
    border-left-color: #6248F5;
}

body.other .form-input:focus {
    border-color: #6248F5;
    box-shadow: 0 0 0 3px rgba(98, 72, 245, 0.1);
}

body.other .form-button,
body.other .back-button {
    background: #6248F5;
}

body.other .form-button:hover,
body.other .back-button:hover {
    background: #7a67f7;
    box-shadow: 0 4px 12px rgba(98, 72, 245, 0.3);
}
