/* =====================================================
   江官网 - 藏蓝+金属金高端工业品牌主题
   主色：#002147 (藏蓝)  金色：#D4AF37 (轻奢金)  深灰：#2a2a2a
   ===================================================== */

/* --- 全局重置 --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    color: #e0e0e0;
    background: #001a33;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--gold); text-decoration: none; transition: all 0.3s; }
a:hover { color: var(--gold-light); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- 色彩变量 --- */
:root {
    --navy: #002147;
    --navy-dark: #001529;
    --navy-mid: #003366;
    --navy-light: #004080;
    --navy-bg: #001a33;
    --bg-primary: #001a33;
    --bg-secondary: #002147;
    --bg-card: #00264d;
    --bg-card-hover: #003366;
    --bg-elevated: #003366;
    --border: #2a4a6a;
    --border-light: #3a5a7a;
    --gold: #D4AF37;
    --gold-light: #f0c060;
    --gold-dark: #b8922e;
    --text-primary: #f0f0f0;
    --text-secondary: #b0b8c0;
    --text-muted: #788898;
    --danger: #e74c3c;
    --shadow: 0 4px 20px rgba(0,0,0,0.4);
    --shadow-hover: 0 8px 30px rgba(212,168,67,0.15);
    --shadow-gold: 0 4px 15px rgba(212,168,67,0.25);
    --gold-glow: 0 0 20px rgba(212,168,67,0.1);
    --navy-glow: 0 0 20px rgba(0,33,71,0.3);
    --header-height: 72px;
}

/* --- 排版 --- */
h1, h2, h3, h4 { font-weight: 600; line-height: 1.3; color: var(--text-primary); letter-spacing: 0.5px; }
h1 { font-size: 36px; }
h2 { font-size: 28px; }
h3 { font-size: 20px; }
h4 { font-size: 17px; }
p { margin-bottom: 1em; color: var(--text-secondary); }

.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 {
    position: relative; display: inline-block; padding-bottom: 15px; margin-bottom: 10px;
    color: var(--text-primary);
}
.section-title h2::after {
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 60px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.section-title p { color: var(--text-secondary); font-size: 16px; letter-spacing: 2px; }

/* --- 按钮 --- */
.btn {
    display: inline-block; padding: 14px 36px; font-size: 15px; font-weight: 500;
    border: none; border-radius: 4px; cursor: pointer; transition: all 0.4s; text-align: center;
    letter-spacing: 1px; position: relative; overflow: hidden;
}
.btn-gold {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
    color: #001a33; font-weight: 600;
}
.btn-gold:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 25px rgba(212,168,67,0.4);
    color: #001a33;
}
.btn-gold:active { transform: translateY(-1px) scale(1.01); }
.btn-outline-gold {
    background: transparent; border: 1.5px solid var(--gold); color: var(--gold);
}
.btn-outline-gold:hover {
    background: var(--gold); color: #001a33;
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}
.btn-dark {
    background: var(--bg-elevated); border: 1px solid var(--border); color: var(--text-primary);
}
.btn-dark:hover {
    border-color: var(--gold); color: var(--gold);
    transform: translateY(-2px);
}
.btn-sm { padding: 10px 24px; font-size: 13px; }

/* --- 卡片 --- */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s;
}
.card:hover {
    border-color: var(--gold);
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover), var(--gold-glow);
}

/* --- 表格 --- */
.table-wrap { overflow-x: auto; margin: 20px 0; border-radius: 8px; border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
table th, table td { padding: 14px 16px; text-align: left; }
table th {
    background: var(--bg-secondary); color: var(--gold); font-weight: 600;
    border-bottom: 1px solid var(--gold);
}
table td { color: var(--text-secondary); border-bottom: 1px solid var(--border); }
table tr:hover td { background: rgba(212,168,67,0.05); }

/* --- 顶部导航 --- */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: var(--navy-dark);
    border-bottom: 1px solid rgba(212,168,67,0.15);
    transition: all 0.3s;
}
.header-scrolled {
    background: var(--navy-dark);
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
    border-bottom-color: rgba(212,168,67,0.3);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-height); }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 40px; }
.logo-text { font-size: 20px; font-weight: 700; color: var(--text-primary); letter-spacing: 2px; }
.logo-text span { color: var(--gold); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > li { position: relative; }
.nav > li > a {
    display: block; padding: 10px 18px; font-size: 14px; color: var(--text-secondary);
    border-radius: 4px; transition: all 0.3s; letter-spacing: 0.5px;
}
.nav > li > a:hover, .nav > li > a.active { color: var(--gold); background: rgba(212,168,67,0.1); }
.nav > li:hover .dropdown { display: block; }
.dropdown {
    display: none; position: absolute; top: 100%; left: 0; min-width: 200px;
    background: var(--navy-dark); border: 1px solid var(--border); border-radius: 8px; z-index: 100;
    padding: 8px 0;
}
.dropdown li a {
    display: block; padding: 10px 18px; font-size: 13px; color: var(--text-secondary);
    transition: all 0.3s;
}
.dropdown li a:hover { background: rgba(212,168,67,0.1); color: var(--gold); padding-left: 24px; }

/* 汉堡菜单 */
.hamburger { display: none; flex-direction: column; cursor: pointer; padding: 5px; }
.hamburger span { display: block; width: 26px; height: 2px; background: var(--gold); margin: 3px 0; border-radius: 2px; transition: all 0.3s; }

/* --- 轮播 (Hero) --- */
.banner { margin-top: var(--header-height); position: relative; overflow: hidden; }
.swiper { position: relative; width: 100%; height: 560px; }
.swiper-slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0; transition: opacity 0.8s;
}
.swiper-slide.active { opacity: 1; }
.swiper-slide::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(0,33,71,0.88) 0%, rgba(0,33,71,0.45) 50%, rgba(0,21,41,0.75) 100%);
    z-index: 1;
}
.swiper-slide img { width: 100%; height: 100%; object-fit: cover; }
.banner-content {
    position: absolute; top: 50%; left: 8%; transform: translateY(-50%);
    max-width: 650px; z-index: 2;
}
.banner-content h1 {
    font-size: 48px; color: #fff; margin-bottom: 18px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5); letter-spacing: 3px;
    background: linear-gradient(135deg, #fff 60%, var(--gold));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.banner-content p {
    font-size: 17px; color: rgba(255,255,255,0.75); margin-bottom: 30px;
    text-shadow: 0 1px 10px rgba(0,0,0,0.3); letter-spacing: 1px;
}
.banner-content .btn-group { display: flex; gap: 16px; }
.banner-content .btn-gold {
    box-shadow: var(--shadow-gold);
}
.banner-content .btn-gold:hover {
    box-shadow: 0 8px 30px rgba(212,168,67,0.5);
}
.swiper-dots {
    position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 12px; z-index: 3;
}
.swiper-dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: rgba(255,255,255,0.25); cursor: pointer; transition: all 0.4s;
    border: none;
}
.swiper-dot.active { background: var(--gold); width: 30px; border-radius: 5px; box-shadow: 0 0 10px rgba(212,168,67,0.5); }

/* --- 全局区块 --- */
.section-block { padding: 100px 0; }
.bg-dark { background: var(--bg-primary); }
.bg-card-bg { background: var(--bg-secondary); }

/* Gold accent divider */
.section-divider {
    height: 1px; background: linear-gradient(90deg, transparent, rgba(212,168,67,0.3), transparent); margin: 0;
}

/* --- 产品网格 --- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.product-card { text-align: center; padding: 40px 25px; }
.product-card .icon-wrap {
    width: 80px; height: 80px; margin: 0 auto 20px;
    border: 1px solid var(--border); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.4s;
}
.product-card:hover .icon-wrap { border-color: var(--gold); background: rgba(212,168,67,0.08); }
.product-card h3 { margin-bottom: 10px; font-size: 17px; }
.product-card p { color: var(--text-muted); font-size: 14px; margin-bottom: 20px; }
.product-card .tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 20px; }
.product-card .tags span {
    padding: 4px 14px; border: 1px solid var(--border); border-radius: 20px; font-size: 12px;
    color: var(--text-muted);
}
.product-card:hover .tags span { border-color: rgba(212,168,67,0.3); color: var(--gold); }

/* --- 优势模块 --- */
.advantages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.advantage-item { text-align: center; padding: 40px 25px; background: var(--bg-card); border-radius: 12px; border: 1px solid var(--border); transition: all 0.4s; }
.advantage-item:hover { border-color: var(--gold); box-shadow: var(--gold-glow); transform: translateY(-4px); }
.advantage-item .num { font-size: 42px; font-weight: 700; color: var(--gold); margin-bottom: 10px; line-height: 1; }
.advantage-item h4 { margin-bottom: 8px; font-size: 16px; }
.advantage-item p { color: var(--text-muted); font-size: 14px; }

/* --- 案例模块 --- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.case-card { position: relative; }
.case-card img { width: 100%; height: 240px; object-fit: cover; }
.case-card .case-info { padding: 24px; }
.case-card .case-info h4 { margin-bottom: 8px; }
.case-card .case-info p { color: var(--text-muted); font-size: 14px; }
.case-tag { display: inline-block; padding: 3px 12px; background: rgba(212,168,67,0.15); color: var(--gold); font-size: 12px; border-radius: 3px; margin-bottom: 10px; }

/* --- 资质模块 --- */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.cert-item { text-align: center; padding: 30px 20px; border: 1px solid var(--border); border-radius: 12px; transition: all 0.4s; background: var(--bg-card); }
.cert-item:hover { border-color: var(--gold); transform: translateY(-4px); }
.cert-item img { height: 100px; margin: 0 auto 12px; }
.cert-item p { font-size: 13px; color: var(--text-muted); }

/* --- 页脚 --- */
.footer { background: var(--navy-dark); padding: 70px 0 0; border-top: 1px solid rgba(212,168,67,0.12); }
.footer-grid { display: grid; grid-template-columns: 3fr 2fr 2fr 3fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.footer-col h4 { color: var(--gold); margin-bottom: 20px; font-size: 16px; letter-spacing: 1px; }
.footer-col p, .footer-col li { font-size: 14px; margin-bottom: 10px; color: var(--text-muted); }
.footer-col a { color: var(--text-muted); }
.footer-col a:hover { color: var(--gold); }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact .icon { color: var(--gold); flex-shrink: 0; }
.footer-bottom { padding: 25px 0; text-align: center; font-size: 13px; color: var(--text-muted); }

/* --- 悬浮咨询 --- */
.float-consult { position: fixed; right: 24px; bottom: 100px; z-index: 999; }
.float-btn {
    width: 56px; height: 56px; border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--navy-dark); display: flex; align-items: center; justify-content: center;
    font-size: 22px; cursor: pointer; box-shadow: 0 4px 20px rgba(212,168,67,0.3); transition: all 0.3s;
}
.float-btn:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(212,168,67,0.5); }
.float-menu { display: none; position: absolute; right: 0; bottom: 65px; min-width: 170px; background: var(--navy-dark); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.float-menu.show { display: block; }
.float-menu a { display: flex; align-items: center; gap: 10px; padding: 13px 18px; font-size: 14px; color: var(--text-secondary); border-bottom: 1px solid var(--border); }
.float-menu a:last-child { border-bottom: none; }
.float-menu a:hover { background: rgba(212,168,67,0.1); color: var(--gold); }

/* --- 面包屑 --- */
.breadcrumb { background: var(--navy-dark); padding: 15px 0; margin-top: var(--header-height); border-bottom: 1px solid var(--border); }
.breadcrumb-inner { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); }
.breadcrumb-inner a { color: var(--text-muted); }
.breadcrumb-inner a:hover { color: var(--gold); }
.breadcrumb-inner .sep { color: #4a6a8a; }

/* --- 页面标题区域 --- */
.page-hero {
    margin-top: var(--header-height); background: linear-gradient(135deg, var(--navy-dark) 0%, var(--bg-secondary) 50%, var(--navy-dark) 100%);
    border-bottom: 1px solid rgba(212,168,67,0.1);
    padding: 70px 0; text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
    content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle at 30% 40%, rgba(212,168,67,0.04) 0%, transparent 50%);
}
.page-hero h1 { color: #fff; margin-bottom: 12px; font-size: 38px; letter-spacing: 2px; position: relative; }
.page-hero p { color: var(--text-secondary); font-size: 16px; letter-spacing: 1px; position: relative; }

/* --- 分页 --- */
.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 50px; }
.pagination a, .pagination span {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 38px; height: 38px; padding: 0 12px;
    border: 1px solid var(--border); border-radius: 6px; font-size: 14px; transition: all 0.3s;
    color: var(--text-secondary);
}
.pagination a:hover { border-color: var(--gold); color: var(--gold); }
.pagination .current { background: var(--gold); color: var(--navy-dark); border-color: var(--gold); font-weight: 600; }
.pagination .disabled { color: #4a5a6a; cursor: not-allowed; }

/* --- 侧边栏 --- */
.page-layout { display: flex; gap: 30px; padding: 50px 0; }
.sidebar { width: 260px; flex-shrink: 0; }
.sidebar-box { background: var(--bg-card); border-radius: 12px; border: 1px solid var(--border); overflow: hidden; margin-bottom: 30px; }
.sidebar-box .box-title { padding: 16px 20px; background: var(--navy-dark); color: var(--gold); font-size: 15px; font-weight: 600; border-bottom: 1px solid var(--border); }
.sidebar-box ul li a { display: block; padding: 12px 20px; font-size: 14px; color: var(--text-secondary); border-bottom: 1px solid var(--border); transition: all 0.3s; }
.sidebar-box ul li a:hover, .sidebar-box ul li a.active { background: rgba(212,168,67,0.06); color: var(--gold); padding-left: 25px; }
.main-content { flex: 1; min-width: 0; }

/* --- 表单 --- */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 6px; font-size: 14px; color: var(--text-secondary); font-weight: 500; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 12px 16px;
    background: var(--navy-dark); border: 1.5px solid var(--border); border-radius: 6px;
    font-size: 15px; color: var(--text-primary); transition: all 0.3s; font-family: inherit;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,168,67,0.1);
}
.form-group textarea { height: 120px; resize: vertical; }

/* --- 弹窗 --- */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,21,41,0.85); z-index: 2000; align-items: center; justify-content: center; }
.modal-overlay.show { display: flex; }
.modal-box { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 35px; max-width: 500px; width: 90%; max-height: 90vh; overflow-y: auto; position: relative; }
.modal-close { position: absolute; top: 15px; right: 15px; font-size: 22px; cursor: pointer; color: var(--text-muted); background: none; border: none; }
.modal-close:hover { color: var(--gold); }
.modal-box h3 { margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid var(--border); color: var(--gold); }

/* --- 文章列表 --- */
.article-list { display: flex; flex-direction: column; gap: 20px; }
.article-item { display: flex; gap: 24px; padding: 24px; background: var(--bg-card); border-radius: 12px; border: 1px solid var(--border); transition: all 0.3s; }
.article-item:hover { border-color: rgba(212,168,67,0.3); }
.article-item img { width: 240px; height: 160px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.article-info { flex: 1; }
.article-info h3 { margin-bottom: 8px; }
.article-info h3 a { color: var(--text-primary); }
.article-info h3 a:hover { color: var(--gold); }
.article-info .meta { display: flex; gap: 15px; font-size: 13px; color: var(--text-muted); margin-bottom: 10px; }
.article-info .summary { color: var(--text-muted); font-size: 14px; line-height: 1.8; }

/* --- 产品详情 --- */
.product-gallery { display: flex; gap: 30px; margin-bottom: 40px; }
.product-gallery .main-img { width: 500px; height: 400px; object-fit: cover; border-radius: 8px; flex-shrink: 0; border: 1px solid var(--border); }
.product-gallery .thumbs { display: flex; flex-direction: column; gap: 10px; }
.product-gallery .thumbs img { width: 80px; height: 60px; object-fit: cover; border-radius: 4px; cursor: pointer; border: 2px solid transparent; }
.product-gallery .thumbs img.active { border-color: var(--gold); }

/* --- 详情页内容 --- */
.detail-content { background: var(--bg-card); padding: 40px; border-radius: 12px; border: 1px solid var(--border); }
.detail-content h1 { margin-bottom: 20px; }
.detail-content h2 { margin: 35px 0 18px; padding-bottom: 10px; border-bottom: 1px solid rgba(212,168,67,0.2); color: var(--gold); }
.detail-content h2:first-child { margin-top: 0; }
.detail-content h3 { margin: 25px 0 12px; }
.detail-content ul, .detail-content ol { margin: 10px 0; padding-left: 20px; }
.detail-content ul li { list-style: disc; margin-bottom: 8px; line-height: 1.8; color: var(--text-secondary); }
.detail-content ol li { list-style: decimal; margin-bottom: 8px; line-height: 1.8; }

/* --- 转化入口 --- */
.conversion-bar {
    background: linear-gradient(135deg, var(--navy-dark), var(--bg-secondary));
    border: 1px solid rgba(212,168,67,0.15);
    padding: 40px; border-radius: 12px; text-align: center; margin-top: 40px;
}
.conversion-bar h3 { color: var(--gold); margin-bottom: 18px; font-size: 20px; }
.conversion-bar p { color: var(--text-muted); }
.conversion-bar .btn-group { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }

/* --- 工厂 Tab --- */
.factory-tabs { display: flex; border-bottom: 1px solid var(--border); margin-bottom: 30px; }
.factory-tab { padding: 14px 30px; font-size: 15px; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: all 0.3s; color: var(--text-secondary); }
.factory-tab:hover { color: var(--gold); }
.factory-tab.active { color: var(--gold); border-bottom-color: var(--gold); }
.factory-panel { display: none; }
.factory-panel.active { display: block; }

/* --- FAQ 分类标签 --- */
.faq-categories { display: flex; gap: 10px; margin-bottom: 30px; flex-wrap: wrap; }
.faq-cat-btn { padding: 8px 22px; border: 1px solid var(--border); border-radius: 20px; font-size: 14px; cursor: pointer; transition: all 0.3s; background: transparent; color: var(--text-secondary); }
.faq-cat-btn:hover, .faq-cat-btn.active { background: var(--gold); color: var(--navy-dark); border-color: var(--gold); font-weight: 500; }

/* --- FAQ 列表 --- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; transition: border-color 0.3s; }
.faq-item:hover { border-color: rgba(212,168,67,0.3); }
.faq-question {
    padding: 18px 22px; font-size: 15px; font-weight: 500; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    transition: background 0.3s; color: var(--text-primary);
}
.faq-question:hover { background: rgba(212,168,67,0.05); }
.faq-question .arrow { transition: transform 0.3s; font-size: 12px; color: var(--gold); }
.faq-item.open .faq-question .arrow { transform: rotate(180deg); }
.faq-answer { display: none; padding: 0 22px 22px; font-size: 14px; color: var(--text-secondary); line-height: 1.8; }
.faq-item.open .faq-answer { display: block; }

/* --- 热门问答标签 --- */
.hot-tag { display: inline-block; padding: 6px 18px; border: 1px solid var(--border); border-radius: 20px; font-size: 13px; color: var(--text-secondary); transition: all 0.3s; }
.hot-tag:hover { background: rgba(212,168,67,0.1); border-color: var(--gold); color: var(--gold); }

/* --- 404 --- */
.page-404 { text-align: center; padding: 120px 0; }
.page-404 h1 { font-size: 120px; color: var(--gold); margin-bottom: 10px; line-height: 1; }
.page-404 h2 { margin-bottom: 20px; }
.page-404 p { font-size: 17px; color: var(--text-muted); margin-bottom: 30px; }

/* --- 加载 --- */
.loading { text-align: center; padding: 60px 0; color: var(--text-muted); display: flex; align-items: center; justify-content: center; gap: 12px; }
.loading::before { content: ''; display: inline-block; width: 28px; height: 28px; border: 2px solid var(--border); border-top-color: var(--gold); border-radius: 50%; animation: spin 0.8s linear infinite; }
.loading::after { content: '加载中...'; font-size: 14px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* --- 空状态 --- */
.empty-state { text-align: center; padding: 60px 0; color: var(--text-muted); }
.empty-state p { font-size: 15px; }

/* --- Toast --- */
.toast { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); padding: 15px 30px; border-radius: 8px; font-size: 14px; z-index: 3000; display: none; box-shadow: 0 4px 20px rgba(0,0,0,0.5); }
.toast.show { display: block; animation: slideDown 0.3s ease; }
.toast.success { background: #0a2a1a; border: 1px solid #1a4a2a; color: #6ab87a; }
.toast.error { background: #2a1a1a; border: 1px solid #4a2a2a; color: #d88b8b; }
@keyframes slideDown { from { opacity: 0; transform: translateX(-50%) translateY(-20px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }

/* --- 滚动动画 --- */
.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.6s, transform 0.6s; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* --- 返回顶部 --- */
#back-to-top { position: fixed; right: 24px; bottom: 170px; width: 44px; height: 44px; border-radius: 50%; background: rgba(212,168,67,0.15); border: 1px solid var(--gold); color: var(--gold); font-size: 18px; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(20px); transition: all 0.3s; z-index: 998; }
#back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
#back-to-top:hover { background: var(--gold); color: var(--navy-dark); }

/* --- 图片淡入 --- */
img.loaded { animation: img-fade-in 0.5s ease; }
@keyframes img-fade-in { from { opacity: 0.3; } to { opacity: 1; } }