﻿@charset "utf-8";
:root {
    --bg-deep: #f5f0e6;
    --bg-dark: #ede6d6;
    --bg-surface: #e5dece;
    --bg-card: #ffffff;
    --gold: #c4913e;
    --gold-light: #d9a854;
    --gold-dark: #9a7020;
    --text-primary: #2d2416;
    --text-secondary: #5a4d3c;
    --text-muted: #9a8e7c;
    --border-gold: rgba(196,145,62,0.3);
    --border-light: rgba(0,0,0,0.08);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 6px 24px rgba(0,0,0,0.1);
    --r-sm: 6px;
    --r-md: 12px;
    --r-lg: 16px;
    --nav-h: 60px;
    --max-w: 1200px;
    --ease: 0.3s ease;
}
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
    font-family:"PingFang SC","Microsoft YaHei","Helvetica Neue",sans-serif;
    background:var(--bg-deep);color:var(--text-primary);line-height:1.6;
    overflow-x:hidden;-webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none;transition:color var(--ease);}
img{max-width:100%;height:auto;display:block;}
ul,ol{list-style:none;}
.container{max-width:var(--max-w);margin:0 auto;padding:0 30px;}
button{font-family:inherit;cursor:pointer;}

/* NAV */
.site-nav{
    position:fixed;top:0;left:0;right:0;height:var(--nav-h);z-index:10000;
    background:rgba(45,36,22,0.95);backdrop-filter:blur(16px);
    border-bottom:1px solid var(--border-gold);
}
.site-nav.scrolled{
    background:rgba(45,36,22,0.98);
}
.nav-inner{
    max-width:var(--max-w);margin:0 auto;padding:0 30px;
    height:100%;display:flex;align-items:center;gap:40px;
}
.nav-logo{
    font-size:22px;font-weight:900;letter-spacing:4px;
    background:linear-gradient(135deg,var(--gold-light),var(--gold));
    -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;
}
.nav-links{display:flex;align-items:center;gap:0;}
.nav-links a{
    padding:8px 18px;font-size:14px;font-weight:500;
    color:rgba(255,255,255,0.65);transition:all var(--ease);letter-spacing:0.5px;
}
.nav-links a:hover,.nav-links a.active{color:#fff;}
.nav-links a.active{
    background:var(--gold);color:#fff;border-radius:var(--r-sm);font-weight:600;
}

/* HERO / HOMEPAGE */
.page-body{padding-top:var(--nav-h);}
.page-body-sub{padding-top:var(--nav-h);}

.hero{position:relative;width:100%;overflow:hidden;background:#000;}
.hero-video-bg{width:100%;height:auto;display:block;}

.btn{
    display:inline-flex;align-items:center;gap:8px;
    padding:12px 32px;border-radius:var(--r-sm);
    font-size:14px;font-weight:600;border:none;transition:all var(--ease);
}
.btn-gold{background:var(--gold);color:#fff;}
.btn-gold:hover{background:var(--gold-light);transform:translateY(-2px);box-shadow:0 4px 20px rgba(196,145,62,0.3);}
.btn-outline{background:transparent;color:var(--text-primary);border:1px solid var(--border-light);}
.btn-outline:hover{background:rgba(0,0,0,0.04);border-color:var(--gold);}
.btn svg{width:16px;height:16px;}

/* VERSION SECTION */
.version-section{padding:40px 0;background:var(--bg-deep);}
.version-title{
    text-align:center;font-size:22px;font-weight:700;
    color:var(--text-primary);margin-bottom:30px;letter-spacing:2px;
}
.version-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;}
.version-card{
    display:flex;flex-direction:column;align-items:center;
    background:var(--bg-card);border-radius:var(--r-md);
    border:1px solid var(--border-light);padding:20px;
    transition:all var(--ease);text-align:center;
    box-shadow:var(--shadow-sm);
}
.version-card:hover{border-color:var(--gold);transform:translateY(-4px);box-shadow:var(--shadow-md);}
.version-img{width:100%;height:120px;border-radius:var(--r-sm);overflow:hidden;margin-bottom:14px;background:var(--bg-dark);}
.version-img img{width:100%;height:100%;object-fit:cover;}
.version-name{font-size:16px;font-weight:700;color:var(--text-primary);margin-bottom:4px;}
.version-status{font-size:12px;color:var(--gold);font-weight:500;}

/* PAGE BANNER */
.page-banner{width:100%;overflow:hidden;position:relative;}
.page-banner img{width:100%;height:auto;display:block;}

/* PAGE MAIN */
.page-main{padding:40px 0 60px;}
.page-title{
    font-size:24px;font-weight:700;color:var(--text-primary);
    margin-bottom:30px;padding-bottom:14px;
    border-bottom:2px solid var(--border-gold);letter-spacing:1px;
}

/* NEWS LAYOUT (2-column) */
.news-layout{display:grid;grid-template-columns:300px 1fr;gap:20px;}
.news-left-banner{position:relative;border-radius:var(--r-md);overflow:hidden;}
.news-featured-card{
    display:block;width:100%;height:100%;min-height:360px;
    position:relative;border-radius:var(--r-md);overflow:hidden;
    background:var(--bg-card);
}
.news-featured-card img{width:100%;height:100%;object-fit:cover;}
.news-featured-info{
    position:absolute;bottom:0;left:0;right:0;padding:20px;
    background:linear-gradient(to top,rgba(0,0,0,0.8) 0%,transparent 100%);
}
.news-featured-title{font-size:15px;font-weight:600;color:#fff;margin-bottom:4px;}
.news-featured-date{font-size:12px;color:rgba(255,255,255,0.6);}

.news-right-list{
    background:var(--bg-card);border-radius:var(--r-md);
    border:1px solid var(--border-light);overflow:hidden;box-shadow:var(--shadow-sm);
}
.news-tabs{display:flex;border-bottom:1px solid var(--border-light);background:var(--bg-dark);}
.news-tabs .tab-btn{
    padding:12px 16px;font-size:13px;font-weight:600;
    color:var(--text-muted);border:none;background:none;
    transition:all var(--ease);border-bottom:2px solid transparent;margin-bottom:-1px;
}
.news-tabs .tab-btn:hover{color:var(--text-secondary);}
.news-tabs .tab-btn.active{color:var(--gold);border-bottom-color:var(--gold);}
.news-tab-pane{display:none;}
.news-tab-pane.active{display:block;}
.news-item{
    display:flex;align-items:flex-start;gap:12px;
    padding:14px 20px;border-bottom:1px solid var(--border-light);
    transition:background var(--ease);
}
.news-item:last-child{border-bottom:none;}
.news-item:hover{background:rgba(196,145,62,0.04);}
.news-item-body{flex:1;min-width:0;}
.news-item-title{
    display:block;font-size:14px;font-weight:500;color:var(--text-primary);
    margin-bottom:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
    transition:color var(--ease);
}
.news-item-title:hover{color:var(--gold);}
.news-item-desc{font-size:12px;color:var(--text-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.news-item-desc a{color:var(--text-muted);}
.news-item-date{font-size:12px;color:var(--text-muted);white-space:nowrap;flex-shrink:0;padding-top:2px;}
.news-item-date a{color:var(--text-muted);}

/* DATA PAGE */
.data-sub-nav{
    display:flex;flex-wrap:wrap;gap:10px;margin-bottom:30px;
}
.data-sub-link{
    display:inline-flex;align-items:center;padding:8px 20px;
    font-size:13px;font-weight:600;color:var(--text-secondary);
    background:var(--bg-card);border:1px solid var(--border-light);
    border-radius:var(--r-sm);transition:all var(--ease);box-shadow:var(--shadow-sm);
}
.data-sub-link:hover{color:var(--gold);border-color:var(--gold);}

.data-section{display:flex;flex-direction:column;gap:0;}
.data-item{
    display:flex;align-items:center;justify-content:space-between;gap:12px;
    padding:14px 20px;font-size:14px;color:var(--text-secondary);
    background:var(--bg-card);border-bottom:1px solid var(--border-light);
    transition:all var(--ease);
}
.data-item:first-child{border-radius:var(--r-md) var(--r-md) 0 0;}
.data-item:last-child{border-radius:0 0 var(--r-md) var(--r-md);border-bottom:none;}
.data-item:hover{color:var(--gold);background:rgba(196,145,62,0.04);}
.data-item-title{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.data-item-date{font-size:12px;color:var(--text-muted);white-space:nowrap;flex-shrink:0;}

/* CONTENT AREA */
.content-area{max-width:900px;margin:0 auto;}
.content-breadcrumb{
    display:flex;align-items:center;gap:6px;
    margin-bottom:20px;font-size:13px;color:var(--text-muted);
}
.content-breadcrumb a{color:var(--text-muted);}
.content-breadcrumb a:hover{color:var(--gold);}
.content-breadcrumb svg{width:12px;height:12px;opacity:0.4;}
.content-card{
    background:var(--bg-card);border-radius:var(--r-md);
    border:1px solid var(--border-light);padding:36px;box-shadow:var(--shadow-sm);
}
.content-title{font-size:22px;font-weight:700;color:var(--text-primary);margin-bottom:12px;line-height:1.4;}
.content-meta{
    display:flex;gap:16px;font-size:13px;color:var(--text-muted);
    padding-bottom:20px;margin-bottom:20px;border-bottom:1px solid var(--border-light);
}
.content-body{font-size:15px;line-height:2;color:var(--text-secondary);}
.content-body img{max-width:100%;border-radius:var(--r-sm);margin:12px 0;}
.content-body p{margin-bottom:12px;}
.content-nav{
    display:flex;justify-content:space-between;gap:20px;
    margin-top:30px;padding-top:20px;border-top:1px solid var(--border-light);
    font-size:13px;color:var(--text-muted);
}
.content-nav a{color:var(--text-secondary);}
.content-nav a:hover{color:var(--gold);}
.content-body table{width:100%;border-collapse:collapse;margin:16px 0;}
.content-body td,.content-body th{padding:8px 12px;border:1px solid var(--border-light);font-size:13px;}
.content-body th{background:var(--bg-dark);font-weight:600;}

/* FOOTER */
.site-footer{
    background:rgba(45,36,22,0.95);border-top:1px solid var(--border-gold);padding:36px 0 20px;
    color:#e8e0d0;
}
.footer-main{
    display:flex;align-items:flex-start;justify-content:space-between;
    gap:30px;margin-bottom:20px;
}
.footer-health{flex:1;}
.footer-health-title{font-size:15px;font-weight:700;color:#f0e8d8;margin-bottom:8px;}
.footer-health p{font-size:13px;color:rgba(255,255,255,0.5);margin-bottom:10px;}
.footer-links{display:flex;gap:12px;align-items:center;font-size:13px;}
.footer-links a{color:rgba(255,255,255,0.5);}
.footer-links a:hover{color:var(--gold-light);}
.footer-links span{color:rgba(255,255,255,0.3);}
.footer-qr{display:flex;flex-direction:column;align-items:center;gap:8px;}
.footer-qr img{width:120px;height:120px;border-radius:var(--r-sm);border:2px solid rgba(255,255,255,0.1);}
.footer-qr span{font-size:12px;color:rgba(255,255,255,0.5);}
.footer-bottom{
    text-align:center;padding-top:16px;
    border-top:1px solid rgba(255,255,255,0.08);
    font-size:12px;color:rgba(255,255,255,0.4);line-height:2;
}
.footer-bottom a{color:rgba(255,255,255,0.4);}
.footer-bottom a:hover{color:var(--gold-light);}

/* PAGINATION */
#pagesize{display:flex;justify-content:center;gap:6px;margin-top:30px;flex-wrap:wrap;}
#pagesize li{display:inline-flex;}
#pagesize a,#pagesize span{
    display:inline-flex;align-items:center;justify-content:center;
    min-width:34px;height:34px;padding:0 10px;font-size:13px;
    border-radius:var(--r-sm);border:1px solid var(--border-light);
    color:var(--text-muted);background:var(--bg-card);transition:all var(--ease);
}
#pagesize a:hover{color:var(--gold);border-color:var(--gold);}
#pagesize .current,#pagesize .current a{color:#fff;border-color:var(--gold);background:var(--gold);}

/* BACK TO TOP */
.backtop-btn{
    position:fixed;bottom:30px;right:30px;z-index:9999;
    width:40px;height:40px;border-radius:50%;
    background:var(--bg-card);border:1px solid var(--border-gold);
    display:none;align-items:center;justify-content:center;cursor:pointer;
    transition:all var(--ease);box-shadow:var(--shadow-sm);
}
.backtop-btn:hover{background:var(--gold);}
.backtop-btn:hover svg{stroke:#fff;}
.backtop-btn svg{width:16px;height:16px;color:var(--gold);}
.backtop-btn.show{display:flex;}

/* HOMEPAGE SECTIONS */
.section-header{
    display:flex;align-items:center;justify-content:space-between;
    margin-bottom:28px;
}
.section-title{
    font-size:22px;font-weight:700;color:var(--text-primary);letter-spacing:1px;
    position:relative;padding-left:16px;
}
.section-title::before{
    content:'';position:absolute;left:0;top:4px;bottom:4px;
    width:3px;background:var(--gold);border-radius:2px;
}
.section-more{
    display:inline-flex;align-items:center;gap:4px;
    font-size:13px;color:var(--text-muted);transition:color var(--ease);
}
.section-more:hover{color:var(--gold);}
.section-more svg{width:14px;height:14px;}

.home-news{padding:50px 0;background:var(--bg-deep);}
.home-news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;}
.home-news-card{
    display:block;background:var(--bg-card);border-radius:var(--r-md);
    border:1px solid var(--border-light);overflow:hidden;
    transition:all var(--ease);box-shadow:var(--shadow-sm);
}
.home-news-card:hover{border-color:var(--gold);transform:translateY(-4px);box-shadow:var(--shadow-md);}
.home-news-pic{width:100%;height:160px;overflow:hidden;background:var(--bg-dark);}
.home-news-pic img{width:100%;height:100%;object-fit:cover;transition:transform 0.5s;}
.home-news-card:hover .home-news-pic img{transform:scale(1.06);}
.home-news-info{padding:16px;}
.home-news-title{
    font-size:14px;font-weight:600;color:var(--text-primary);
    margin-bottom:8px;line-height:1.5;
    overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.home-news-meta{display:flex;gap:12px;font-size:12px;color:var(--text-muted);}

.home-gallery{padding:0 0 50px;background:var(--bg-deep);}
.home-gallery-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;}
.home-gallery-item{
    position:relative;display:block;border-radius:var(--r-md);overflow:hidden;
    aspect-ratio:16/10;background:var(--bg-card);
    border:1px solid var(--border-light);transition:all var(--ease);box-shadow:var(--shadow-sm);
}
.home-gallery-item:hover{border-color:var(--gold);transform:translateY(-4px);}
.home-gallery-item img{width:100%;height:100%;object-fit:cover;transition:transform 0.5s;}
.home-gallery-item:hover img{transform:scale(1.06);}
.home-gallery-label{
    position:absolute;bottom:0;left:0;right:0;
    padding:10px 14px;font-size:13px;font-weight:500;color:#fff;
    background:linear-gradient(to top,rgba(0,0,0,0.7),transparent);
}

/* AGE NOTICE */
.age-notice{
    position:fixed;top:calc(var(--nav-h) + 10px);right:16px;z-index:9998;
    width:72px;height:72px;border-radius:50%;overflow:hidden;
    border:2px solid var(--border-gold);opacity:0.7;transition:opacity var(--ease);
}
.age-notice:hover{opacity:1;}
.age-notice img{width:100%;height:100%;object-fit:cover;}

/* PORTAL SECTIONS */
.portal-area{padding:40px 0 20px;background:var(--bg-deep);}
.portal-section{
    background:var(--bg-card);border-radius:var(--r-md);padding:24px 30px;
    border:1px solid var(--border-light);box-shadow:var(--shadow-sm);margin-bottom:24px;
    overflow:hidden;
}
.portal-header{
    display:flex;align-items:center;justify-content:space-between;
    margin-bottom:20px;padding-bottom:14px;border-bottom:2px solid var(--border-gold);
}
.portal-title{
    display:flex;align-items:center;gap:8px;
    font-size:18px;font-weight:700;color:var(--text-primary);letter-spacing:1px;
}
.portal-title svg{color:var(--gold);}
.portal-more{
    display:inline-flex;align-items:center;gap:4px;
    font-size:13px;color:var(--gold);border:1px solid var(--gold);
    padding:4px 14px;border-radius:var(--r-sm);transition:all var(--ease);
}
.portal-more:hover{background:var(--gold);color:#fff;}
.portal-more svg{width:14px;height:14px;}
.portal-grid{
    display:grid;grid-template-columns:repeat(3,1fr);gap:6px 30px;
    overflow:hidden;
}
.portal-item{
    display:flex;align-items:baseline;gap:10px;padding:7px 0;
    border-bottom:1px dashed rgba(0,0,0,0.06);transition:color var(--ease);
    min-width:0;overflow:hidden;
}
.portal-item:hover{color:var(--gold);}
.portal-item:hover .portal-item-title{color:var(--gold);}
.portal-item-date{
    font-size:13px;color:var(--gold);font-weight:600;white-space:nowrap;flex-shrink:0;
}
.portal-item-title{
    font-size:13px;color:var(--text-secondary);flex:1;min-width:0;
    overflow:hidden;text-overflow:ellipsis;white-space:nowrap;transition:color var(--ease);
}

/* RESPONSIVE */
@media(max-width:1024px){
    .news-layout{grid-template-columns:1fr;}
    .news-left-banner{display:none;}
    .version-grid{grid-template-columns:repeat(2,1fr);}
    .portal-grid{grid-template-columns:repeat(2,1fr);}
    .home-news-grid{grid-template-columns:repeat(2,1fr);}
    .home-gallery-grid{grid-template-columns:repeat(2,1fr);}
}
@media(max-width:768px){
    :root{--nav-h:52px;}
    .container{padding:0 16px;}
    .nav-links a{padding:6px 10px;font-size:12px;}
    .portal-grid{grid-template-columns:1fr;}
    .version-grid{grid-template-columns:1fr 1fr;}
    .version-section{padding:30px 0;}
    .portal-section{padding:16px 18px;}
    .page-main{padding:24px 0 40px;}
    .content-card{padding:24px;}
    .data-item{padding:10px 14px;font-size:13px;}
    .home-news-grid{grid-template-columns:1fr;}
    .home-gallery-grid{grid-template-columns:1fr 1fr;}
    .content-nav{flex-direction:column;}
    .footer-main{flex-direction:column;align-items:center;text-align:center;}
}