html, body {
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    font-family: Arial, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* 禁止下拉滚动 */
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.card {
    position: relative;
    width: 90vw;
    max-width: 400px;
    padding: 2rem 1.5rem;
    border-radius: 16px;
    overflow: hidden;
    color: white;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.card video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 142%;
    object-fit: cover;
    z-index: 0;
    opacity: 8.85;
}

.card-content {
    position: relative;
    z-index: 1;
}

@font-face {
    font-family: 'CustomFont';
    src: url('https://blog-github-io-60t.pages.dev/assets/font/bbt%20(1).ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

h3 {
    font-family: 'CustomFont', 'Microsoft YaHei UI', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.5;
    background: linear-gradient(270deg, #98fcf8, #e997a6, #d0e8ec, #faaca8);
    background-size: 800% 800%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 8s ease infinite, heartbeat 3s ease-in-out infinite;
    user-select: none;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.card-content a {
    display: inline-block;
    margin-top: 1rem;
    text-decoration: none;
}

.card-content img {
    width: 36px;
    transition: transform 0.3s ease;
}

.card-content img:hover {
    transform: scale(1.2);
}

@media (max-width: 480px) {
    h3 {
        font-size: 13px;
    }
    .card {
        padding: 1.5rem 1rem;
    }
}


.card-content h3 {
    text-align: right;
    margin-left: 13px;
}


.card-content img {
    transform: translateX(78px); /* 往右移动10像素 */
  }