/* 每次更新css时，执行：sudo /usr/local/bin/update_web_models.sh */

:root {
    --primary-color: #FFD700;    
    --secondary-color: #FFF9E3;  
    --accent-color: #4A3427;     
    --text-muted: #6D5446;       
    --glass-bg: rgba(255, 255, 255, 0.85); 
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; 
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
}

body {
    background: var(--secondary-color);
    color: var(--accent-color);
    font-family: 'Microsoft YaHei', sans-serif;
    margin: 0;
    padding: 0;
}

body::-webkit-scrollbar { display: none; }

/* ========== Header ========== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 15px 5%;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

.header-title { 
    font-size: 1.5em; 
    font-weight: bold; 
    color: var(--accent-color); 
}

.bili-btn {
    background: var(--primary-color);
    color: #fff;
    padding: 8px 18px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

.bili-btn:hover { 
    transform: scale(1.05); 
    background: #f0c300; 
}

/* ========== Main Content ========== */
.section {
    min-height: 100vh;
    height: auto;
    padding: 100px 0 60px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}

#models-content {
    background: transparent;
    padding: 100px 5% 60px;
}

.models-transparent-area {
    width: 100%;
    max-width: 1200px;
    min-height: 60vh;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 20px;
}

.models-transparent-area h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--accent-color);
    margin: 0;
    letter-spacing: 4px;
}

.models-transparent-area p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin: 0;
}

/* ========== Model Sections (Left Image, Right Text) ========== */
.model-section {
    min-height: auto;
    padding: 100px 5%;
}

.model-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.model-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.model-image img {
    max-width: 100%;
    max-height: 60vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(74, 52, 39, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.model-image img:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(74, 52, 39, 0.2);
}

.model-text {
    flex: 1;
}

.model-text h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--accent-color);
    margin-bottom: 24px;
    letter-spacing: 2px;
}

.model-text p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* ========== Footer ========== */
.site-footer {
    display: block;
    background-color: #2C2A29;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    margin-top: 80px;
    padding: 60px 20px;
    text-align: center;
}

.site-footer p {
    color: #FFF9E3;
    margin: 8px 0;
    font-size: 0.9rem;
    opacity: 0.85;
}

footer a {
    text-decoration: none;
    color: #FFF9E3;
    margin: 8px 0;
    font-size: 0.9rem;
    opacity: 0.85;
}

footer a:hover {
    text-decoration: underline;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column h4 {
    color: #FFD700;
    font-size: 1.1rem;
    margin-top: 0;
    margin-bottom: 25px;
    font-weight: 600;
    letter-spacing: 1px;
}

.links-column h4 {
    text-align: left;
    margin-left: 0;
}

.info-column h4 {
    text-align: right;
    margin-right: 0;
}

.nav-columns-wrapper {
    display: flex;
    flex-direction: row;
    gap: 50px;
}

.nav-sub-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-sub-col a {
    color: #FFF9E3;
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.75;
    transition: all 0.3s ease;
    text-align: left;
}

.nav-sub-col a:hover {
    opacity: 1;
    color: #FFD700;
    padding-left: 5px;
}

.info-column {
    align-items: flex-end;
    text-align: right;
}

.info-column p {
    color: #FFF9E3;
    margin: 0 0 10px 0;
    font-size: 0.9rem;
    opacity: 0.75;
    line-height: 1.6;
}

.icp-link {
    color: #FFF9E3;
    font-size: 0.85rem;
    opacity: 0.5;
    text-decoration: none;
    transition: opacity 0.3s;
    margin-top: 5px;
}

.icp-link:hover {
    opacity: 1;
    color: #FFD700;
}

/* ========== Mobile ========== */
@media (max-width: 768px) {
    .models-transparent-area {
        min-height: 50vh;
    }
    
    .model-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .model-image, .model-text {
        flex: none;
        width: 100%;
    }
    
    .model-image img {
        max-height: 45vh;
    }
    
    .model-text h2 {
        text-align: center;
    }
    
    .model-text p {
        text-align: center;
    }
    
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 45px;
    }
    
    .nav-columns-wrapper {
        flex-direction: column;
        gap: 4px;
    }
    
    .footer-column {
        align-items: center;
    }
    
    .nav-sub-col a {
        text-align: center;
    }
    
    .info-column {
        align-items: center;
        text-align: center;
    }
}