/* ========================================
   玄影楼阁 - 作品集自定义样式
   ========================================

/* --- 导航栏：半透明磨砂 + 滚动过渡 --- */
.navbar {
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: none;
    transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    padding: 10px 24px;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-line);
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
}

.navbar-brand {
    color: rgba(255, 255, 255, 0.92);
    transition: color 0.4s ease;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
}

.navbar.scrolled .navbar-brand {
    color: var(--main);
}

.navbar-logo {
    font-weight: 600;
}

.navbar-menu .navbar-nav a {
    color: rgba(255, 255, 255, 0.82);
    font-weight: 400;
    letter-spacing: 0.03em;
    padding: 6px 16px;
    border-radius: 999px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar.scrolled .navbar-menu .navbar-nav a {
    color: var(--text-sub);
}

.navbar-menu .navbar-nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.navbar.scrolled .navbar-menu .navbar-nav a:hover {
    color: var(--main);
    background: rgba(0, 122, 255, 0.08);
}

.navbar-menu .navbar-nav a.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
}

.navbar.scrolled .navbar-menu .navbar-nav a.active {
    color: var(--main);
    background: rgba(0, 122, 255, 0.1);
}

.navbar-toggle {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.navbar-toggle svg {
    display: block;
    margin: auto;
}

.navbar.scrolled .navbar-toggle {
    border-color: var(--border);
    background: transparent;
    color: var(--text);
}

/* --- Hero 区域增强 --- */
.LargeScreenIssue::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.35) 60%, rgba(0,0,0,0.65) 100%);
    z-index: 0;
    pointer-events: none;
}

.LargeScreenIssue > div:last-child {
    position: relative;
    z-index: 2;
    color: #fff;
}

.LargeScreenIssue h1 {
    font-size: 3.2rem;
    font-weight: 300;
    letter-spacing: 0.08em;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
}

.LargeScreenIssue span {
    font-size: 1.15rem;
    font-weight: 300;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 40px;
}

.LargeScreenIssue button {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    padding: 12px 36px;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    border-radius: 999px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.LargeScreenIssue button:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.75);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.LargeScreenIssue button a {
    color: #fff;
    text-decoration: none;
}

/* --- 作品集主卡片 --- */
.portfolio-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px 40px;
}

.portfolio-intro-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 20px;
    padding: 48px 40px;
    position: relative;
    overflow: hidden;
    margin-bottom: 32px;
}

.portfolio-intro-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.portfolio-intro-card::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.portfolio-intro-card h2 {
    font-size: 2rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.portfolio-intro-card span {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    z-index: 1;
}

/* --- Tab 区域 --- */
.portfolio-tabs-wrapper {
    background: var(--card-bg);
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.tabs-browser {
    border-bottom: 1px solid var(--border-line);
    background: var(--card-bg);
    padding: 8px;
    gap: 8px;
}

/* 作品集 Tab 美化 */
.portfolio-tabs {
    background: linear-gradient(135deg, var(--block-bg) 0%, var(--card-bg) 100%);
    border-bottom: none;
    padding: 14px 16px;
    gap: 6px;
    position: relative;
    align-items: center;
}

.portfolio-tabs::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 1px;
    background: var(--border-line);
}

.portfolio-tabs .tab-bord-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    background: transparent;
    border-radius: 12px;
    color: var(--text-sub);
    padding: 10px 20px 10px 18px;
    margin: 0;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    position: relative;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    overflow: hidden;
}

.portfolio-tabs .tab-bord-button::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: transparent;
    transition: background 0.3s ease;
    pointer-events: none;
}

.portfolio-tabs .tab-bord-button:hover::before {
    background: var(--block-bg);
}

.portfolio-tabs .tab-bord-button:hover {
    color: var(--text);
    transform: translateY(-1px);
}

.portfolio-tabs .tab-bord-button.active {
    background: transparent;
    border: none;
    color: var(--main);
    padding: 10px 20px 10px 18px;
    margin: 0;
    box-shadow: none;
}

.portfolio-tabs .tab-bord-button.active::before {
    background: rgba(0, 122, 255, 0.08);
}

.portfolio-tabs .tab-icon {
    font-size: 1.1rem;
    line-height: 1;
    display: inline-block;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-tabs .tab-bord-button:hover .tab-icon {
    transform: scale(1.15) rotate(-4deg);
}

.portfolio-tabs .tab-bord-button.active .tab-icon {
    transform: scale(1.1) rotate(-6deg);
}

.portfolio-tabs .tab-label {
    position: relative;
    z-index: 1;
}

.portfolio-tabs .tab-indicator {
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 40%;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(90deg, var(--main), #5856d6);
    transition: transform 0.35s cubic-bezier(0.65, 0, 0.35, 1);
    transform-origin: center;
}

.portfolio-tabs .tab-bord-button.active .tab-indicator {
    transform: translateX(-50%) scaleX(1);
}

.tabs-content {
    border: none;
    padding: 32px;
    background: var(--card-bg);
    min-height: 280px;
    max-height: none;
}

.tab-pane h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 16px;
}

.tab-pane p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-sub);
    margin-bottom: 16px;
}

/* Tab 卡片网格 */
.tab-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.tab-sub-card {
    background: var(--block-bg);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--border-line);
    transition: all 0.3s ease;
}

.tab-sub-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.tab-sub-card .card-icon {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.tab-sub-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}

.tab-sub-card p {
    font-size: 0.85rem;
    color: var(--text-sub);
    margin: 0;
    line-height: 1.6;
}

.tab-sub-card .tag {
    margin-top: 10px;
}

/* --- 荣誉/成就区域 --- */
.awards-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--text);
}

.section-header p {
    color: var(--text-sub);
    font-size: 0.95rem;
    margin-top: 8px;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

/* --- 新的路程：启程横幅 --- */
.journey-card {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 64px 32px;
    border-radius: 24px;
    color: #fff;
    background: linear-gradient(135deg, #007aff 0%, #5856d6 45%, #af52de 100%);
    box-shadow: 0 20px 60px rgba(0, 122, 255, 0.25);
}

.journey-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.2), transparent 45%);
    pointer-events: none;
}

.journey-card::after {
    content: '';
    position: absolute;
    top: -60%;
    left: -20%;
    width: 140%;
    height: 220%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
    transform: rotate(12deg) translateX(-100%);
    animation: journey-shine 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes journey-shine {
    0%, 55% { transform: rotate(12deg) translateX(-100%); }
    85%, 100% { transform: rotate(12deg) translateX(120%); }
}

.journey-orb {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    pointer-events: none;
}

.journey-orb-1 {
    width: 220px;
    height: 220px;
    top: -80px;
    right: -60px;
    animation: journey-float 7s ease-in-out infinite;
}

.journey-orb-2 {
    width: 140px;
    height: 140px;
    bottom: -50px;
    left: -40px;
    animation: journey-float 9s ease-in-out infinite reverse;
}

@keyframes journey-float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-18px) scale(1.05); }
}

.journey-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    font-size: 2.2rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    margin-bottom: 20px;
    animation: journey-bounce 2.6s ease-in-out infinite;
}

@keyframes journey-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.journey-card h3 {
    margin: 0 0 12px;
    font-size: 1.9rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: #fff;
    position: relative;
}

.journey-card p {
    max-width: 520px;
    margin: 0 auto 32px;
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
}

.journey-actions {
    position: relative;
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.journey-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1d1d1f;
    background: #fff;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.journey-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.journey-btn.ghost {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: none;
}

.journey-btn.ghost:hover {
    background: rgba(255, 255, 255, 0.24);
}

.award-card {
    border-radius: 16px;
    padding: 28px 24px;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.award-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.award-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    border-radius: 0 16px 0 80px;
    opacity: 0.12;
}

/* 不同主题卡片配色 */
.award-card.card-teal {
    background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
    color: #fff;
}

.award-card.card-teal::before {
    background: #fff;
}

.award-card.card-coral {
    background: linear-gradient(135deg, #f97316 0%, #ef4444 100%);
    color: #fff;
}

.award-card.card-coral::before {
    background: #fff;
}

.award-card.card-indigo {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #fff;
}

.award-card.card-indigo::before {
    background: #fff;
}

.award-card.card-slate {
    background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
    color: #fff;
}

.award-card.card-slate::before {
    background: #fff;
}

.award-card.card-emerald {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
}

.award-card.card-emerald::before {
    background: #fff;
}

.award-card.card-rose {
    background: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%);
    color: #fff;
}

.award-card.card-rose::before {
    background: #fff;
}

.award-card .award-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: block;
}

.award-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.award-card p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
}

.award-card .award-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.award-card .award-year {
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* --- 页脚 --- */
.site-footer {
    background: linear-gradient(180deg, transparent 0%, var(--block-bg) 100%);
    padding: 48px 24px 32px;
    text-align: center;
    color: var(--text-sub);
    font-size: 0.85rem;
    border-top: 1px solid var(--border-line);
}

.site-footer .footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.site-footer .footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.site-footer .footer-links a {
    color: var(--text-sub);
    transition: color 0.3s ease;
}

.site-footer .footer-links a:hover {
    color: var(--main);
}

/* --- 关于页面 --- */
.about-hero {
    position: relative;
    width: 100%;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
    color: #fff;
    padding: 120px 24px 80px;
    text-align: center;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(99, 102, 241, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(236, 72, 153, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.about-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.about-hero h1 {
    font-size: 2.8rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.about-hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.05em;
}

.about-content {
    max-width: 960px;
    margin: 0 auto;
    padding: 80px 24px;
}

.about-section {
    margin-bottom: 64px;
}

.about-section h2 {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--main);
    display: inline-block;
}

.about-section p {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--text-sub);
}

.skill-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.skill-item {
    background: var(--card-bg);
    border: 1px solid var(--border-line);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.skill-item:hover {
    border-color: var(--main);
    box-shadow: 0 4px 16px rgba(0, 122, 255, 0.1);
}

.skill-item .skill-name {
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.skill-item .skill-bar {
    height: 6px;
    background: var(--block-bg);
    border-radius: 3px;
    overflow: hidden;
}

.skill-item .skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--main), #5856d6);
    border-radius: 3px;
    transition: width 1s ease;
}

.timeline {
    position: relative;
    padding-left: 32px;
    margin-top: 24px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-line);
}

.timeline-item {
    position: relative;
    padding-bottom: 32px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -28px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--main);
    border: 3px solid var(--card-bg);
    box-shadow: 0 0 0 2px var(--main);
}

.timeline-item .timeline-year {
    font-size: 0.85rem;
    color: var(--main);
    font-weight: 600;
    letter-spacing: 0.05em;
}

.timeline-item h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
    margin: 4px 0;
}

.timeline-item p {
    font-size: 0.9rem;
    color: var(--text-sub);
    margin: 0;
}

/* --- 响应式 --- */
@media (max-width: 768px) {
    .LargeScreenIssue h1 {
        font-size: 2.2rem;
    }

    .LargeScreenIssue span {
        font-size: 1rem;
    }

    .portfolio-intro-card {
        padding: 32px 24px;
    }

    .portfolio-intro-card h2 {
        font-size: 1.5rem;
    }

    .about-hero h1 {
        font-size: 2rem;
    }

    .awards-grid {
        grid-template-columns: 1fr;
    }

    .journey-card {
        padding: 44px 20px;
    }

    .journey-card h3 {
        font-size: 1.5rem;
    }

    .journey-card p {
        font-size: 0.92rem;
    }
}