/* ============================================================
   攻略频道 — 前卫大气设计风格
   兼容：IE9+ / Chrome / Firefox / Edge / Safari
   现代浏览器使用 CSS 变量 + 渐变 + 动画
   低版本浏览器使用滤镜 + 降级处理
============================================================ */

/* ========== Hero 区域 ========== */
.gc-hero {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
    background: linear-gradient(135deg, #0a1628 0%, #1a3a5c 40%, #0d7ec4 100%);
}

.gc-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(255,90,0,0.15) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 80% 20%, rgba(0,111,246,0.2) 0%, transparent 50%);
    /* IE9 fallback */
    filter: progid:DXImageTransform.Microsoft.Gradient(startColorStr='#1a3a5c', endColorStr='#0d7ec4', GradientType=1);
    zoom: 1;
}

.gc-hero-content {
    position: relative;
    z-index: 2;
    padding-top: 80px;
    text-align: center;
}

.gc-hero-title {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px;
    letter-spacing: 2px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
    /* 现代浏览器动画 */
    animation: gcFadeUp 0.8s ease-out both;
}

.gc-hero-sub {
    font-size: 16px;
    color: rgba(255,255,255,0.75);
    margin: 0 0 32px;
    letter-spacing: 4px;
    animation: gcFadeUp 0.8s 0.15s ease-out both;
}

.gc-hero-search {
    display: flex;
    max-width: 560px;
    margin: 0 auto 24px;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    animation: gcFadeUp 0.8s 0.3s ease-out both;
}

.gc-search-input {
    flex: 1;
    height: 52px;
    padding: 0 24px;
    border: none;
    font-size: 15px;
    background: #fff;
    color: #333;
    outline: none;
}

.gc-search-input::placeholder { color: #aaa; }

.gc-search-btn {
    height: 52px;
    padding: 0 28px;
    border: none;
    background: linear-gradient(135deg, #ff5a00 0%, #ff8c00 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.gc-search-btn:hover { background: linear-gradient(135deg, #e04e00 0%, #ff7a00 100%); }

.gc-hot-dests {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    animation: gcFadeUp 0.8s 0.45s ease-out both;
}

.gc-hot-label {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    line-height: 28px;
    margin-right: 4px;
}

.gc-hot-tag {
    display: inline-block;
    padding: 4px 14px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 20px;
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: all 0.2s;
    background: rgba(255,255,255,0.08);
}

.gc-hot-tag:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
    color: #fff;
}

.gc-hot-tag.active {
    background: #ff5a00;
    border-color: #ff5a00;
    color: #fff;
}

/* Hero 装饰波浪（高版本浏览器） */
@keyframes gcWave {
    0% { transform: translateX(0) translateY(0); }
    50% { transform: translateX(-20px) translateY(-5px); }
    100% { transform: translateX(0) translateY(0); }
}

.gc-hero-bg::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 60px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3Cpath fill='%23f8f9fa' d='M0,30 C360,60 720,0 1080,30 C1260,45 1380,30 1440,30 L1440,60 L0,60 Z'/%3E%3C/svg%3E") no-repeat center bottom;
    background-size: cover;
    animation: gcWave 6s ease-in-out infinite;
}

@keyframes gcFadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ========== 主内容区 ========== */
.gc-main {
    overflow: hidden;
    zoom: 1;
    padding: 28px 0 60px;
}

.gc-main:before, .gc-main:after { content: ''; display: table; }
.gc-main:after { clear: both; }

.gc-main .gc-article-main { float: left; width: 890px; }
.gc-main .gc-sidebar    { float: right; width: 280px; }

/* ========== 工具栏 ========== */
.gc-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.gc-result-count { font-size: 14px; color: #666; }
.gc-result-count b { color: #ff5a00; font-size: 18px; }

.gc-toolbar-right { display: flex; gap: 8px; }

.gc-sort-btn {
    display: inline-block;
    padding: 6px 18px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    font-size: 13px;
    color: #666;
    text-decoration: none;
    transition: all 0.2s;
    background: #fff;
}

.gc-sort-btn:hover { border-color: #ff5a00; color: #ff5a00; }
.gc-sort-btn.active { background: #ff5a00; border-color: #ff5a00; color: #fff; }

/* ========== 攻略卡片网格 ========== */
.gc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.gc-card {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.25s, box-shadow 0.25s;
}

.gc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.gc-card-link { text-decoration: none; display: block; }

.gc-card-img {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: linear-gradient(135deg, #e8f4f8 0%, #f0e6ff 100%);
}

.gc-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gc-card:hover .gc-card-img img { transform: scale(1.06); }

.gc-card-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    background: linear-gradient(135deg, #1a3a5c 0%, #0d7ec4 100%);
}

.gc-card-dest {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 20px;
    /* IE9 fallback */
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
    zoom: 1;
}

.gc-card-body { padding: 14px 16px 16px; }

.gc-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #1a3a5c;
    line-height: 1.5;
    margin: 0 0 8px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    /* IE9 fallback */
    height: 45px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gc-card-link:hover .gc-card-title { color: #ff5a00; }

.gc-card-summary {
    font-size: 13px;
    color: #666;
    line-height: 1.7;
    margin: 0 0 12px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.gc-card-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 12px;
    color: #999;
}

.gc-meta-view, .gc-meta-like { display: flex; align-items: center; gap: 4px; }
.gc-meta-date { margin-left: auto; }

/* ========== 分页 ========== */
.gc-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 20px 0;
}

.gc-pager-btn {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    color: #555;
    text-decoration: none;
    transition: all 0.2s;
}

.gc-pager-btn:hover { border-color: #ff5a00; color: #ff5a00; }

.gc-pager-numbers { display: flex; gap: 4px; }

.gc-pager-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    color: #555;
    text-decoration: none;
    transition: all 0.2s;
}

.gc-pager-num:hover { border-color: #ff5a00; color: #ff5a00; }
.gc-pager-num.active { background: #ff5a00; border-color: #ff5a00; color: #fff; }

/* ========== 空状态 ========== */
.gc-empty {
    text-align: center;
    padding: 80px 20px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
}

.gc-empty-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
}

.gc-empty p { color: #999; font-size: 16px; margin-bottom: 20px; }
.gc-empty-btn {
    display: inline-block;
    padding: 10px 32px;
    background: #ff5a00;
    color: #fff !important;
    border-radius: 8px;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s;
}
.gc-empty-btn:hover { background: #e04e00; }

/* ========== 侧边栏 ========== */
.gc-side-box {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.gc-side-hd {
    padding: 14px 16px;
    font-size: 15px;
    font-weight: 700;
    color: #1a3a5c;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gc-side-bd { padding: 12px 16px; }

.gc-dest-list { margin: 0; padding: 0; list-style: none; }

.gc-dest-item { margin-bottom: 2px; }

.gc-dest-item a {
    display: flex;
    align-items: center;
    padding: 8px 10px;
    border-radius: 8px;
    text-decoration: none;
    color: #555;
    transition: background 0.15s;
}

.gc-dest-item a:hover, .gc-dest-item.active a { background: #fff5f0; color: #ff5a00; }

.gc-dest-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    margin-right: 8px;
    background: #f0f0f0;
    color: #999;
}

.gc-dest-item:nth-child(1) .gc-dest-rank,
.gc-dest-item:nth-child(2) .gc-dest-rank,
.gc-dest-item:nth-child(3) .gc-dest-rank {
    background: #ff5a00;
    color: #fff;
}

.gc-dest-name { flex: 1; font-size: 13px; }
.gc-dest-count { font-size: 12px; color: #bbb; }

.gc-side-home-btn, .gc-side-dest-btn {
    display: block;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    text-decoration: none;
    margin-bottom: 8px;
    transition: all 0.2s;
}

.gc-side-home-btn {
    background: #f8f9fa;
    color: #555;
    border: 1px solid #e8e8e8;
}
.gc-side-home-btn:hover { background: #fff; border-color: #ff5a00; color: #ff5a00; }

.gc-side-dest-btn {
    background: linear-gradient(135deg, #ff5a00 0%, #ff8c00 100%);
    color: #fff !important;
    text-align: center;
    font-weight: 600;
}
.gc-side-dest-btn:hover { opacity: 0.9; }

/* ========== 文章详情 ========== */
.gc-detail-breadcrumb {
    padding: 16px 0;
    font-size: 13px;
    color: #999;
    border-bottom: 1px solid #f0f0f0;
}

.gc-detail-breadcrumb a { color: #666; text-decoration: none; }
.gc-detail-breadcrumb a:hover { color: #ff5a00; }
.gc-detail-breadcrumb span { margin: 0 6px; color: #ccc; }
.gc-breadcrumb-current { color: #333; font-weight: 600; }

.gc-article-wrap { overflow: hidden; zoom: 1; padding: 28px 0 60px; }
.gc-article-wrap:before, .gc-article-wrap:after { content: ''; display: table; }
.gc-article-wrap:after { clear: both; }
.gc-article-main { float: left; width: 890px; }
.gc-article-sidebar { float: right; width: 280px; }

.gc-article {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    margin-bottom: 24px;
}

.gc-article-hd { padding: 28px 32px 20px; border-bottom: 1px solid #f5f5f5; }

.gc-article-title {
    font-size: 26px;
    font-weight: 800;
    color: #1a3a5c;
    line-height: 1.4;
    margin: 0 0 14px;
}

.gc-article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #999;
}

.gc-article-tag {
    display: inline-block;
    padding: 3px 12px;
    background: linear-gradient(135deg, #ff5a00 0%, #ff8c00 100%);
    color: #fff !important;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.gc-article-tag:hover { opacity: 0.85; }
.gc-article-author, .gc-article-date, .gc-article-stats { display: flex; align-items: center; gap: 4px; }

.gc-article-cover {
    width: 100%;
    max-height: 420px;
    overflow: hidden;
}

.gc-article-cover img { width: 100%; height: auto; display: block; }

.gc-article-content {
    padding: 28px 32px;
    font-size: 16px;
    line-height: 1.9;
    color: #333;
}

.gc-article-content h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1a3a5c;
    margin: 28px 0 14px;
    padding-left: 12px;
    border-left: 4px solid #ff5a00;
}

.gc-article-content h3 {
    font-size: 17px;
    font-weight: 700;
    color: #2a4a6c;
    margin: 22px 0 10px;
}

.gc-article-content p { margin: 0 0 14px; }

.gc-article-content ul, .gc-article-content ol {
    margin: 0 0 14px 20px;
    padding: 0;
}

.gc-article-content li { margin-bottom: 6px; line-height: 1.8; }

.gc-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 12px 0;
}

.gc-article-tags {
    padding: 0 32px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.gc-article-kw {
    display: inline-block;
    padding: 3px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    font-size: 12px;
    color: #666;
    text-decoration: none;
    transition: all 0.2s;
}

.gc-article-kw:hover { border-color: #ff5a00; color: #ff5a00; }

/* ========== 一键转发 ========== */
.gc-share-bar {
    margin: 0 32px 24px;
    padding: 20px 24px;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff5f0 100%);
    border: 1px solid #ffe0cc;
    border-radius: 12px;
}

.gc-share-title {
    font-size: 14px;
    font-weight: 700;
    color: #1a3a5c;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gc-share-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.gc-share-btn-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background: #fff;
    font-size: 14px;
    color: #444;
    cursor: pointer;
    transition: all 0.2s;
}

.gc-share-btn-item:hover {
    border-color: #ff5a00;
    color: #ff5a00;
    box-shadow: 0 4px 12px rgba(255,90,0,0.15);
}

.gc-share-toast {
    margin-top: 12px;
    padding: 8px 16px;
    background: #ff5a00;
    color: #fff;
    border-radius: 8px;
    font-size: 13px;
    display: none;
}

.gc-article-footer {
    margin: 0 32px 24px;
    padding: 16px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 13px;
    color: #888;
}

.gc-article-footer a { color: #ff5a00; }

/* ========== 上下篇导航 ========== */
.gc-article-nav {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.gc-nav-prev, .gc-nav-next {
    flex: 1;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: all 0.2s;
}

.gc-nav-prev:hover, .gc-nav-next:hover {
    border-color: #ff5a00;
    box-shadow: 0 4px 16px rgba(255,90,0,0.1);
}

.gc-nav-label { font-size: 12px; color: #999; }
.gc-nav-title  { font-size: 14px; color: #333; font-weight: 600;
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* ========== 推荐阅读列表 ========== */
.gc-related-list { margin: 0; padding: 0; list-style: none; }

.gc-related-list li {
    margin-bottom: 4px;
}

.gc-related-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 8px;
    border-radius: 8px;
    text-decoration: none;
    color: #555;
    font-size: 13px;
    transition: background 0.15s;
}

.gc-related-list li a:hover { background: #fff5f0; color: #ff5a00; }

.gc-related-title {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-right: 8px;
}

.gc-related-meta { font-size: 12px; color: #bbb; display: flex; align-items: center; gap: 3px; flex-shrink: 0; }

/* ========== 移动端适配 ========== */
@media screen and (max-width: 1200px) {
    .gc-main { width: 960px; }
    .gc-main .gc-article-main,
    .gc-main .gc-article-sidebar { float: none; width: 100%; }
    .gc-main .gc-sidebar { display: none; }
    .gc-grid { grid-template-columns: repeat(2, 1fr); }
}

@media screen and (max-width: 960px) {
    .gc-hero { height: 320px; }
    .gc-hero-title { font-size: 28px; }
    .gc-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .gc-article-hd { padding: 20px; }
    .gc-article-title { font-size: 22px; }
    .gc-article-content { padding: 20px; font-size: 15px; }
    .gc-share-bar { margin: 0 20px 20px; }
    .gc-article-footer { margin: 0 20px 20px; }
    .gc-article-tags { padding: 0 20px 16px; }
}

/* IE9 及以下降级 */
@media screen and (max-width: 960px) {
    .gc-card:hover { transform: none; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
}

/* ========== 前卫增强样式 ========== */

/* Hero 动态渐变动画 */
@keyframes gcGradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.gc-hero {
    background-size: 200% 200%;
    animation: gcGradientShift 8s ease-in-out infinite;
}

.gc-hero-bg {
    animation: gcFloat 12s ease-in-out infinite;
}

@keyframes gcFloat {
    0%, 100% { transform: scale(1) translate(0, 0); }
    50% { transform: scale(1.03) translate(-8px, -4px); }
}

/* 搜索框玻璃态 */
.gc-hero-search {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.15);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.gc-hero-search:focus-within {
    border-color: rgba(255,255,255,0.4);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 0 3px rgba(255,90,0,0.15);
}

.gc-search-input:focus {
    box-shadow: inset 0 0 0 2px rgba(255,90,0,0.2);
}

/* 卡片玻璃悬浮效果 */
.gc-card {
    position: relative;
    overflow: visible;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

.gc-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,90,0,0.4) 0%, rgba(255,140,0,0.1) 50%, transparent 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.gc-card:hover::before { opacity: 1; }

.gc-card:hover {
    transform: translateY(-6px) scale(1.015);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15), 0 4px 12px rgba(255,90,0,0.08);
}

/* 卡片图片区光泽扫过动画 */
.gc-card-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
    pointer-events: none;
    z-index: 1;
}

.gc-card:hover .gc-card-img::after { left: 125%; }

/* 标题渐变悬停 */
.gc-card-title {
    background: linear-gradient(135deg, #1a3a5c 0%, #2a5a8c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: background 0.3s;
}

.gc-card-link:hover .gc-card-title {
    background: linear-gradient(135deg, #ff5a00 0%, #ff8c00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 工具栏玻璃质感 */
.gc-toolbar {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: rgba(255,255,255,0.95);
}

/* 排序按钮下划线装饰 */
.gc-sort-btn {
    position: relative;
    overflow: hidden;
}

.gc-sort-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #ff5a00;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.gc-sort-btn:hover::after,
.gc-sort-btn.active::after {
    width: 80%;
}

/* 分页圆点立体感 */
.gc-pager-num {
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.gc-pager-num.active {
    box-shadow: 0 4px 12px rgba(255,90,0,0.35);
    transform: scale(1.08);
}

.gc-pager-num:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255,90,0,0.2);
}

/* 侧边栏标题渐变 */
.gc-side-hd {
    background: linear-gradient(90deg, #1a3a5c 0%, #0d7ec4 100%);
    color: #fff;
    font-size: 14px;
}

.gc-side-hd svg { filter: brightness(10); }

/* 文章头部装饰线 */
.gc-article-hd {
    position: relative;
}

.gc-article-hd::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ff5a00, #ff8c00);
    border-radius: 2px;
}

/* 内容区标题左侧装饰 */
.gc-article-content h2 {
    position: relative;
    padding-left: 16px;
}

.gc-article-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 4px;
    height: calc(100% - 8px);
    background: linear-gradient(180deg, #ff5a00, #ff8c00);
    border-radius: 2px;
}

/* 分享按钮发光效果 */
.gc-share-btn-item:active {
    animation: gcPulse 0.4s ease;
}

@keyframes gcPulse {
    0% { box-shadow: 0 0 0 0 rgba(255,90,0,0.4); }
    100% { box-shadow: 0 0 0 12px rgba(255,90,0,0); }
}

/* 空状态渐变背景 */
.gc-empty-icon {
    background: linear-gradient(135deg, #fff5f0 0%, #ffe8d6 100%);
    color: #ff8c00;
}

/* 元数据数字强调 */
.gc-card-meta svg { opacity: 0.5; }
.gc-meta-view { color: #888; }
.gc-meta-date { color: #bbb; font-size: 11px; }

/* 标签云交互 */
.gc-article-kw {
    position: relative;
    overflow: hidden;
}

.gc-article-kw::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #ff5a00, #ff8c00);
    opacity: 0;
    transition: opacity 0.25s;
    z-index: -1;
    border-radius: 20px;
}

.gc-article-kw:hover::before { opacity: 1; }
.gc-article-kw:hover { color: #fff !important; border-color: transparent; }

/* 导航按钮渐变脉冲 */
.gc-side-dest-btn {
    position: relative;
    overflow: hidden;
}

.gc-side-dest-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
    transform: scale(0);
    transition: transform 0.5s ease;
}

.gc-side-dest-btn:hover::after { transform: scale(1); }

/* ========== AI 生成攻略按钮 ========== */
.gc-hero-actions {
    margin-top: 16px;
    animation: gcFadeUp 0.8s 0.45s ease-out both;
}

.gc-ai-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 30px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.25s;
    /* IE9 fallback */
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=90);
    zoom: 1;
}

.gc-ai-btn:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.6);
    box-shadow: 0 4px 20px rgba(255,90,0,0.3);
    transform: translateY(-1px);
}

.gc-ai-btn svg { opacity: 0.9; }

/* ========== AI 弹窗遮罩 ========== */
.gc-ai-modal, .gc-ai-result-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.gc-ai-modal.gc-ai-modal--open,
.gc-ai-result-modal.gc-ai-result-modal--open {
    display: flex;
}

.gc-ai-overlay, .gc-ai-result-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* ========== AI 弹窗主体 ========== */
.gc-ai-panel {
    position: relative;
    z-index: 1;
    width: 560px;
    max-width: 92vw;
    max-height: 90vh;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: gcModalIn 0.3s ease-out;
}

@keyframes gcModalIn {
    from { opacity: 0; transform: translateY(24px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.gc-ai-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 16px;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
}

.gc-ai-title {
    font-size: 17px;
    font-weight: 700;
    color: #1a3a5c;
}

.gc-ai-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: #f5f5f5;
    border-radius: 8px;
    color: #888;
    cursor: pointer;
    transition: all 0.2s;
}

.gc-ai-close:hover { background: #ffe0cc; color: #ff5a00; }

/* ========== 模式切换 ========== */
.gc-ai-mode-bar {
    display: flex;
    gap: 0;
    padding: 12px 24px;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
}

.gc-ai-mode-btn {
    flex: 1;
    padding: 8px 0;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #666;
    background: #fafafa;
    cursor: pointer;
    transition: all 0.2s;
}

.gc-ai-mode-btn:first-child { border-radius: 8px 0 0 8px; }
.gc-ai-mode-btn:last-child  { border-radius: 0 8px 8px 0; }

.gc-ai-mode-btn.active {
    background: linear-gradient(135deg, #ff5a00 0%, #ff8c00 100%);
    border-color: #ff5a00;
    color: #fff;
}

/* ========== 弹窗表单 ========== */
.gc-ai-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
}

.gc-ai-form {}

.gc-ai-field {
    margin-bottom: 16px;
}

.gc-ai-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #444;
    margin-bottom: 6px;
}

.gc-ai-req { color: #ff5a00; }

.gc-ai-input, .gc-ai-select {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    box-sizing: border-box;
}

.gc-ai-input:focus, .gc-ai-select:focus {
    border-color: #ff5a00;
    box-shadow: 0 0 0 3px rgba(255,90,0,0.1);
}

.gc-ai-input::placeholder { color: #bbb; }
.gc-ai-input--num { text-align: center; }

.gc-ai-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
    cursor: pointer;
}

.gc-ai-row {
    display: flex;
    gap: 12px;
}

.gc-ai-row > .gc-ai-field { flex: 1; margin-bottom: 0; }

.gc-ai-row--3 > .gc-ai-field { flex: 1; }

.gc-ai-hint {
    display: block;
    font-size: 12px;
    color: #aaa;
    margin-top: 4px;
}

/* ========== 弹窗底部按钮 ========== */
.gc-ai-ft {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 24px;
    border-top: 1px solid #f0f0f0;
    flex-shrink: 0;
    background: #fafafa;
}

.gc-ai-cancel {
    padding: 9px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
}

.gc-ai-cancel:hover { border-color: #ccc; color: #333; }

.gc-ai-generate {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 24px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #ff5a00 0%, #ff8c00 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(255,90,0,0.3);
}

.gc-ai-generate:hover {
    box-shadow: 0 4px 16px rgba(255,90,0,0.4);
    transform: translateY(-1px);
}

.gc-ai-generate:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ========== AI 结果弹窗 ========== */
.gc-ai-result-panel {
    position: relative;
    z-index: 1;
    width: 720px;
    max-width: 94vw;
    max-height: 90vh;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: gcModalIn 0.3s ease-out;
}

.gc-ai-result-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px 14px;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
}

.gc-ai-result-title {
    font-size: 17px;
    font-weight: 700;
    color: #1a3a5c;
}

.gc-ai-result-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: #f5f5f5;
    border-radius: 8px;
    color: #888;
    cursor: pointer;
    transition: all 0.2s;
}

.gc-ai-result-close:hover { background: #ffe0cc; color: #ff5a00; }

.gc-ai-result-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

/* 加载中 */
.gc-ai-loading {
    text-align: center;
    padding: 60px 20px;
}

.gc-ai-spinner {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    border: 3px solid #f0f0f0;
    border-top-color: #ff5a00;
    border-radius: 50%;
    animation: gcSpin 0.8s linear infinite;
}

@keyframes gcSpin { to { transform: rotate(360deg); } }

.gc-ai-loading-text {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.gc-ai-loading-sub {
    font-size: 13px;
    color: #999;
}

/* 结果内容 */
.gc-ai-result-content {
    font-size: 15px;
    line-height: 1.85;
    color: #333;
}

.gc-ai-result-content h2 {
    font-size: 18px;
    font-weight: 700;
    color: #1a3a5c;
    margin: 24px 0 12px;
    padding-left: 12px;
    border-left: 4px solid #ff5a00;
}

.gc-ai-result-content h3 {
    font-size: 16px;
    font-weight: 700;
    color: #2a4a6c;
    margin: 18px 0 8px;
}

.gc-ai-result-content p { margin: 0 0 12px; }

.gc-ai-result-content ul {
    margin: 0 0 12px 20px;
    padding: 0;
}

.gc-ai-result-content li { margin-bottom: 6px; line-height: 1.7; }

/* 错误 */
.gc-ai-result-error {
    padding: 20px;
    background: #fff5f5;
    border: 1px solid #ffcccc;
    border-radius: 10px;
    color: #c0392b;
    font-size: 14px;
    text-align: center;
}

/* 结果底部按钮 */
.gc-ai-result-ft {
    display: flex;
    gap: 12px;
    padding: 14px 24px;
    border-top: 1px solid #f0f0f0;
    flex-shrink: 0;
    background: #fafafa;
}

.gc-ai-result-copy, .gc-ai-result-open {
    padding: 9px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.gc-ai-result-copy {
    border: 1px solid #e0e0e0;
    background: #fff;
    color: #555;
}

.gc-ai-result-copy:hover { border-color: #ff5a00; color: #ff5a00; }

.gc-ai-result-open {
    border: none;
    background: linear-gradient(135deg, #ff5a00 0%, #ff8c00 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(255,90,0,0.25);
}

.gc-ai-result-open:hover { box-shadow: 0 4px 12px rgba(255,90,0,0.35); transform: translateY(-1px); }

/* ========== 移动端 ========== */
@media screen and (max-width: 768px) {
    .gc-ai-panel, .gc-ai-result-panel {
        width: 96vw;
        max-height: 94vh;
        border-radius: 12px;
    }
    .gc-ai-body { padding: 16px; }
    .gc-ai-ft, .gc-ai-result-ft { padding: 12px 16px; }
    .gc-ai-row, .gc-ai-row--3 { flex-direction: column; gap: 12px; }
}
