:root {
    --primary-color: #007bff;   
    --primary-dark: #0056b3;    
    --secondary-color: #6c757d; 
    --success-color: #28a745;   
    --info-color: #17a2b8;      
    --warning-color: #ffc107;   
    --danger-color: #dc3545;    
    --light-color: #f8f9fa;     
    --dark-color: #343a40;      
    --border-radius: 12px;       
    --box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1); 
    --transition: all 0.3s ease;
}

/* 主容器 */
#wrapper {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    width: auto;
    min-height: 100vh;
}

#background {
    align-self: center;
    width: 100%;
    height: inherit;
}

#header {
    height: auto;
    width: 100%;
    padding-top: 80px;
}

/* 内容区域 */
#content {
    font-size: 16px;
    line-height: 1.8;
    padding: 30px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    margin: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* 副标题 */
.subtitle {
    background: linear-gradient(135deg, rgba(153, 0, 255, 0.2) 0%, rgba(0, 86, 179, 0.2) 100%);
    color: #333;
    font-size: 35px;
    height: auto;
    padding: 20px;
    position: relative;
    text-align: center;
    align-self: center;
    border-radius: 16px;
    margin: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    font-weight: 550;
}

/* 页脚 */
#row-footer {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: #6c757d;
    text-align: center;
    font-size: 14px;
    width: 100%;
    min-height: inherit;
    vertical-align: middle;
    overflow: hidden;
    margin: 0;
    padding: 30px 20px;
    box-sizing: border-box;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

#row-footer img {
    transition: var(--transition);
    border-radius: 8px;
}

#row-footer img:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(0, 123, 255, 0.3);
}

#footer-padding {
    height: 100%;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    position: fixed;
}

/* 滚动条 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #004085 100%);
}

/* 加载动画 */
.loading {
    animation: pulse 1.5s ease-in-out infinite alternate;
}

@keyframes pulse {
    from { opacity: 0.6; }
    to { opacity: 1; }
}

/* 工具类 */
.clear {
    clear: both;
}