/* ===== 基础重置与变量 ===== */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #1a1a28;
    --bg-card-hover: #222235;
    --text-primary: #e8e8f0;
    --text-secondary: #a0a0b8;
    --text-muted: #6a6a88;
    --accent: #7c6ae6;
    --accent-light: #a89af0;
    --accent-glow: rgba(124, 106, 230, 0.3);
    --border: rgba(124, 106, 230, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --navbar-bg: rgba(10, 10, 15, 0.85);
    --navbar-bg-scrolled: rgba(10, 10, 15, 0.95);
    --card-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    --card-shadow-hover: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 30px var(--accent-glow);
    --aurora-1: rgba(124, 106, 230, 0.16);
    --aurora-2: rgba(80, 160, 230, 0.10);
    --aurora-3: rgba(230, 120, 200, 0.08);
}

/* ===== 白天主题 ===== */
[data-theme="light"] {
    --bg-primary: #f4f5fb;
    --bg-secondary: #eceef7;
    --bg-card: #ffffff;
    --bg-card-hover: #f6f5ff;
    --text-primary: #23233a;
    --text-secondary: #55556e;
    --text-muted: #8a8aa2;
    --accent: #6a54d8;
    --accent-light: #8573e0;
    --accent-glow: rgba(106, 84, 216, 0.18);
    --border: rgba(106, 84, 216, 0.18);
    --navbar-bg: rgba(244, 245, 251, 0.85);
    --navbar-bg-scrolled: rgba(244, 245, 251, 0.96);
    --card-shadow: 0 8px 24px rgba(80, 70, 160, 0.08);
    --card-shadow-hover: 0 16px 40px rgba(80, 70, 160, 0.14), 0 0 24px var(--accent-glow);
    --aurora-1: rgba(124, 106, 230, 0.14);
    --aurora-2: rgba(80, 160, 230, 0.12);
    --aurora-3: rgba(230, 120, 200, 0.10);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    transition: background 0.4s ease, color 0.4s ease;
}

/* ===== 极光渐变背景层 ===== */
body::before {
    content: '';
    position: fixed;
    top: -20%;
    left: -10%;
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, var(--aurora-1) 0%, transparent 65%);
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
    animation: auroraDrift1 26s ease-in-out infinite alternate;
}

body::after {
    content: '';
    position: fixed;
    bottom: -25%;
    right: -15%;
    width: 75vw;
    height: 75vw;
    background:
        radial-gradient(circle at 30% 40%, var(--aurora-2) 0%, transparent 55%),
        radial-gradient(circle at 70% 70%, var(--aurora-3) 0%, transparent 55%);
    filter: blur(70px);
    z-index: 0;
    pointer-events: none;
    animation: auroraDrift2 32s ease-in-out infinite alternate;
}

@keyframes auroraDrift1 {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(12vw, 8vh) scale(1.15); }
}

@keyframes auroraDrift2 {
    from { transform: translate(0, 0) scale(1.1); }
    to   { transform: translate(-10vw, -10vh) scale(1); }
}

::selection {
    background: var(--accent);
    color: #fff;
}

/* ===== 粒子背景 ===== */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ===== 导航栏 ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--navbar-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.navbar.scrolled {
    background: var(--navbar-bg-scrolled);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.nav-logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-light);
    text-decoration: none;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-light);
    background: var(--accent-glow);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* ===== Hero 首页 ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 24px;
}

.hero-content {
    max-width: 700px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 20px;
    border-radius: 20px;
    background: var(--accent-glow);
    border: 1px solid var(--border);
    color: var(--accent-light);
    font-size: 0.85rem;
    margin-bottom: 24px;
    animation: fadeInDown 0.8s ease;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-light) 40%, var(--accent) 70%, var(--text-primary) 100%);
    background-size: 220% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    animation: fadeInUp 0.8s ease 0.1s both, gradientFlow 6s linear 1s infinite;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.contact-item:hover {
    border-color: var(--accent);
    color: var(--accent-light);
    transform: translateY(-2px);
}

.contact-item svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex-shrink: 0;
}

.scroll-down {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    animation: bounce 2s infinite;
    transition: var(--transition);
}

.scroll-down:hover {
    color: var(--accent-light);
}

.scroll-down svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* ===== 通用区块 ===== */
.section {
    position: relative;
    z-index: 1;
    padding: 100px 24px;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 48px;
    position: relative;
    display: inline-block;
    background: linear-gradient(120deg, var(--text-primary) 30%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), transparent);
    border-radius: 3px;
}

/* ===== 关于 ===== */
.about {
    background: var(--bg-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
    align-items: start;
}

.info-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--border);
    margin-bottom: 20px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.info-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
}

.info-card h3 {
    font-size: 1rem;
    color: var(--accent-light);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(124, 106, 230, 0.05);
    font-size: 0.9rem;
}

.info-row:last-child {
    border-bottom: none;
}

.info-row span:first-child {
    color: var(--text-muted);
}

.edu-item {
    padding: 4px 0;
}

.edu-school {
    font-weight: 600;
    font-size: 1rem;
}

.edu-detail {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 4px 0;
}

.edu-time {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.about-intro {
    font-size: 1.05rem;
    line-height: 2;
    color: var(--text-secondary);
}

.about-intro p {
    margin-bottom: 16px;
}

.about-intro p:first-child {
    font-size: 1.2rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* ===== 时间线 ===== */
.timeline {
    position: relative;
    padding-left: 32px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent), transparent);
}

.timeline-item {
    position: relative;
    margin-bottom: 32px;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.6s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.timeline-item::before {
    content: attr(data-year);
    position: absolute;
    left: -40px;
    top: 0;
    font-size: 0.75rem;
    color: var(--accent-light);
    font-weight: 600;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    letter-spacing: 2px;
}

.timeline-dot {
    position: absolute;
    left: -29px;
    top: 8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid var(--bg-primary);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.timeline-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--border);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.timeline-card:hover {
    border-color: var(--accent);
    transform: translateX(8px);
    box-shadow: var(--card-shadow-hover);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.timeline-header h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
}

.timeline-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    background: var(--accent-glow);
    color: var(--accent-light);
    font-size: 0.8rem;
    border: 1px solid var(--border);
}

.timeline-tag.award {
    background: rgba(230, 180, 80, 0.15);
    color: #e6b450;
    border-color: rgba(230, 180, 80, 0.3);
}

.timeline-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ===== 游戏 ===== */
.gaming {
    background: var(--bg-secondary);
}

.gaming-intro {
    margin-bottom: 40px;
    max-width: 800px;
}

.gaming-intro p {
    margin-bottom: 12px;
    color: var(--text-secondary);
    line-height: 1.9;
}

.gaming-intro strong {
    color: var(--accent-light);
}

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

.game-category {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--border);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.game-category:hover {
    border-color: var(--accent);
    box-shadow: var(--card-shadow-hover);
}

.game-category h4 {
    color: var(--accent-light);
    margin-bottom: 16px;
    font-size: 1rem;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.game-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.game-tags span {
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(124, 106, 230, 0.08);
    border: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.game-tags span:hover {
    background: var(--accent-glow);
    border-color: var(--accent);
    color: var(--text-primary);
}

/* ===== 技能 ===== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.skill-group {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 28px;
    border: 1px solid var(--border);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.skill-group:hover {
    border-color: var(--accent);
    box-shadow: var(--card-shadow-hover);
}

.skill-group h3 {
    color: var(--accent-light);
    margin-bottom: 20px;
    font-size: 1.05rem;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.skill-item {
    margin-bottom: 16px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.skill-info span:last-child {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.skill-bar {
    height: 6px;
    background: rgba(124, 106, 230, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    border-radius: 3px;
    width: 0;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    padding: 8px 16px;
    border-radius: 8px;
    background: rgba(124, 106, 230, 0.08);
    border: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.skill-tag:hover {
    background: var(--accent-glow);
    border-color: var(--accent);
    color: var(--text-primary);
}

.skill-tag.highlight {
    background: var(--accent-glow);
    border-color: var(--accent);
    color: var(--accent-light);
}

.skill-list {
    list-style: none;
}

.skill-list li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding-left: 20px;
    position: relative;
}

.skill-list li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* ===== 自我评价 ===== */
.evaluation {
    background: var(--bg-secondary);
}

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

.eval-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 28px;
    border: 1px solid var(--border);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.eval-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
}

.eval-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    opacity: 0;
    transition: opacity 0.3s;
}

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

.eval-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 12px;
}

.eval-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.eval-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.8;
}

.nav-highlight {
    color: var(--accent-light) !important;
    border: 1px solid var(--border);
    padding: 6px 14px !important;
    border-radius: 8px;
}

.nav-highlight:hover {
    background: var(--accent-glow) !important;
    border-color: var(--accent);
}

/* ===== 游戏区域跳转按钮 ===== */
.gaming-cta {
    text-align: center;
    margin-top: 40px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-primary svg {
    flex-shrink: 0;
}

/* ===== 视频弹窗 ===== */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.video-modal.active {
    display: flex;
}

.video-modal-content {
    position: relative;
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16/9;
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 0 60px var(--accent-glow);
}

.video-modal-content video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.video-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0,0,0,0.6);
    border: 1px solid var(--border);
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.video-close:hover {
    background: var(--accent);
    border-color: var(--accent);
}

/* 有视频的游戏标签 */
.game-tags span[data-video] {
    cursor: pointer;
    position: relative;
    padding-right: 28px;
}

.game-tags span[data-video]::after {
    content: '▶';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.65rem;
    color: var(--accent);
    opacity: 0.8;
}

.game-tags span[data-video]:hover {
    background: var(--accent-glow);
    border-color: var(--accent);
}

.game-tags span[data-video]:hover::after {
    opacity: 1;
}

/* ===== 页脚 ===== */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
    padding: 40px 24px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-copy {
    margin-top: 8px;
    font-size: 0.8rem;
}

.footer-beian {
    margin-top: 10px;
    font-size: 0.8rem;
}

.footer-beian a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-beian a:hover {
    color: var(--accent-light);
    text-decoration: underline;
}

/* ===== 动画 ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ===== 无障碍与减弱动态 ===== */
:focus-visible {
    outline: 2px solid var(--accent-light);
    outline-offset: 2px;
    border-radius: 4px;
}

.game-tags span[data-video]:focus-visible {
    outline: 2px solid var(--accent-light);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .timeline-item {
        opacity: 1;
        transform: none;
    }

    .skill-fill {
        transition: none;
    }
}

/* ===== 响应式 ===== */@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background: var(--bg-primary);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        border-bottom: 1px solid var(--border);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
    }

    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-contact {
        flex-direction: column;
        align-items: center;
    }

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

    .timeline::before {
        left: 0;
    }

    .timeline {
        padding-left: 28px;
    }

    .timeline-item::before {
        left: -28px;
        font-size: 0.65rem;
    }

    .timeline-dot {
        left: -20px;
    }

    .section {
        padding: 60px 20px;
    }

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

/* ===== 标题流动渐变 ===== */
@keyframes gradientFlow {
    from { background-position: 0% center; }
    to   { background-position: 220% center; }
}

/* ===== 主题切换按钮 ===== */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-left: 8px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.theme-toggle:hover {
    border-color: var(--accent);
    color: var(--accent-light);
    background: var(--accent-glow);
    transform: translateY(-2px);
}

.theme-toggle svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* ===== 时间线节点呼吸光晕 ===== */
.timeline-dot {
    animation: dotPulse 3s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { box-shadow: 0 0 0 3px var(--accent-glow); }
    50%      { box-shadow: 0 0 0 7px var(--accent-glow), 0 0 18px var(--accent); }
}

/* ===== 联系方式卡片图标微光 ===== */
.contact-item:hover svg {
    filter: drop-shadow(0 0 6px var(--accent-glow));
}

@media (max-width: 768px) {
    .theme-toggle {
        margin-left: 0;
    }
}
