/* Blade 模板使用的 Tailwind 尺寸类（未包含在 Vue 编译 CSS 中） */
.home svg {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

.home .w-1\.5 { width: 0.375rem; }
.home .h-1\.5 { height: 0.375rem; }
.home .w-2 { width: 0.5rem; }
.home .h-2 { height: 0.5rem; }
.home .w-3\.5 { width: 0.875rem; }
.home .h-3\.5 { height: 0.875rem; }
.home .w-4 { width: 1rem; }
.home .h-4 { height: 1rem; }
.home .w-5 { width: 1.25rem; }
.home .h-5 { height: 1.25rem; }
.home .w-6 { width: 1.5rem; }
.home .h-6 { height: 1.5rem; }
.home .w-7 { width: 1.75rem; }
.home .h-7 { height: 1.75rem; }
.home .w-8 { width: 2rem; }
.home .h-8 { height: 2rem; }
.home .w-10 { width: 2.5rem; }
.home .h-10 { height: 2.5rem; }
.home .w-12 { width: 3rem; }
.home .h-12 { height: 3rem; }
.home .w-14 { width: 3.5rem; }
.home .h-14 { height: 3.5rem; }
.home .w-16 { width: 4rem; }
.home .h-16 { height: 4rem; }
.home .w-20 { width: 5rem; }
.home .h-20 { height: 5rem; }
.home .w-32 { width: 8rem; }
.home .h-32 { height: 8rem; }
.home .flex-shrink-0 { flex-shrink: 0; }

@keyframes blob {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

.animate-blob { animation: blob 7s infinite; }
.animation-delay-2000 { animation-delay: 2s; }
.animation-delay-4000 { animation-delay: 4s; }

.text-gradient { color: #3b82f6; }

.experience-card {
    background: #fff;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    transform: translateY(0);
}

.experience-card:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(-0.5rem);
}

.education-card,
.skill-phase-card {
    background: #fff;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.education-card:hover,
.skill-phase-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-0.25rem);
}

.project-card {
    background: #fff;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(-0.5rem);
}

.home .project-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 768px) {
    .home .project-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .home .project-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.project-image-container {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #f3f4f6;
    overflow: hidden;
    flex-shrink: 0;
}

.project-content {
    padding: 1.25rem 1.5rem 1.375rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.project-content-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.875rem;
}

.project-content-tags span {
    padding: 0.25rem 0.625rem;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 9999px;
    background: #dbeafe;
    color: #1d4ed8;
}

.project-content-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    color: #111827;
    margin: 0 0 0.625rem;
    transition: color 0.3s ease;
}

.project-card:hover .project-content-title {
    color: #2563eb;
}

.project-content-desc {
    font-size: 0.875rem;
    line-height: 1.65;
    color: #4b5563;
    margin: 0 0 0.875rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-content-features {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.project-content-feature {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #4b5563;
}

.project-content-feature svg {
    margin-right: 0.5rem;
}

.project-content-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 0.875rem;
    border-top: 1px solid #f3f4f6;
}

.project-content-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.project-content-stat {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.project-content-year {
    font-size: 0.75rem;
    color: #9ca3af;
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.project-card:hover .project-overlay { opacity: 1; }

.contact-card {
    background: #fff;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.contact-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.skill-category:hover { transform: translateY(-8px); }

.skill-progress { transition: width 1.5s ease-out; }

.nav-link.active {
    color: rgb(37 99 235);
}

.nav-link.active::after { width: 100%; }

.hero-section { padding-top: 80px; }

@media (max-width: 768px) {
    .timeline::before { left: 1.5rem; }
    .timeline-item { padding-left: 4rem; }
    .timeline-dot { left: 0.5rem; }
    .experience-card { margin-left: 0; margin-right: 0; text-align: left; }
}

.typed-cursor {
    opacity: 1;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}
