body { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; }
body {
    background: #f0f2f5;
    margin: 0;
    padding: 0;
}
header {
    background: #4a90e2;
    color: #fff;
    padding: 20px;
    text-align: center;
    /* 初始状态：透明 + 上移 */
    opacity: 0;
    transform: translateY(-60px);
    animation: dropDown 0.8s ease-out forwards;
}
h1 {
    margin: 0;
    font-size: 28px;
}
@keyframes dropDown {
    0% {opacity: 0;transform: translateY(-60px);}
    60% {opacity: 1;transform: translateY(10px);}
    100% {opacity: 1;transform: translateY(0);} }
main {
    max-width: 800px;
    margin: 10px auto 20px auto;
    padding: 20px;
}
@keyframes cardFadeIn {
    0% {opacity: 0;margin-top: 20px;}
    100% {opacity: 1;margin-top: 0;} }
.link-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 20px;
    margin-bottom: 20px;
    /* 入场动画初始状态 */
    opacity: 0;
    animation: cardFadeIn 0.6s ease-out forwards;
    transition: transform 0.2s ease, box-shadow 0.2s ease, margin-top 0.2s ease;
}

.link-card:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.link-card h2 {
    margin: 0;
    color: #4a90e2;
    font-size: 20px;
    cursor: pointer;
}
.details {
    height: auto;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 1s ease, opacity 0.35s ease;
}

.details.open {
    max-height: 1000px;
    opacity: 1;
}
a {
    margin: 8px 0;
    display: block;
    text-decoration: none;
}
a:link {
    color: #0b0ceb;
    font-weight: 500;
}
a:visited {
    color: #0c8918;
}
a:hover {
    font-weight: 1000;
    color: #f00056;
}
a:active {
    color: #70f3ff;
}
footer {
    opacity: 0;
    transition: opacity 0.6s ease;
}
footer.show {
    opacity: 1;
    text-align: center;
    padding: 15px;
    font-size: 14px;
    color: #888;
}