@font-face { 
    font-family: 'PlaywriteAUSA'; 
    src: url('./assets/Playwrite_AU_SA/PlaywriteAUSA-VariableFont_wght.ttf') format('truetype');
    font-weight: 500;
    font-style: Thin;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0;
    height: 100vh;
    position: relative;
    cursor: none; /* 隐藏默认光标 */
}

.name {
    white-space: nowrap;
    font-size: 250%;
    font-family: "PlaywriteAUSA";
    text-align: center;
    color: DeepSkyBlue;
    margin: 0;
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.bg-pic img {
    filter: brightness(0.75);
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transition: filter 0.3s ease;
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
}

.buttons button {
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid #ccc;
    border-radius: 10px;
    padding: 3% 5%;
    margin: 5px;
    flex: 1 1 calc(25% - 10px);
    box-sizing: border-box;
    text-align: center;
    transition: background 0.3s ease, transform 0.1s ease;
    cursor: none; /* 确保按钮上也隐藏默认光标 */
    font-size: calc(10px + 1vw); /* 使按钮上的文字自适应大小 */
}

.buttons button:hover {
    background: rgba(255, 255, 255, 0.9);
}

.buttons button:active {
    transform: scale(0.95); /* 按下按钮后使按钮轻微缩小 */
}

footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.8);
    padding: 5px 10px;
    border-radius: 5px;
}

.cursor {
    position: absolute;
    width: 110px; /* 缩小光标大小 */
    height: 110px; /* 缩小光标大小 */
    background: url('./assets/cursor.png') no-repeat center center;
    background-size: contain;
    pointer-events: none;
    z-index: 1000;
    transition: transform 0.1s ease;
}

.cursor-tail {
    position: absolute;
    width: 44px; /* 缩小光标大小的80% */
    height: 44px; /* 缩小光标大小的80% */
    background: url('./assets/cursortail.png') no-repeat center center;
    background-size: contain;
    pointer-events: none;
    z-index: 999;
    transition: transform 0.1s ease;
    filter: blur(2px); /* 增加轻微的模糊效果 */
}

.ripple {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.click-counters {
    position: fixed;
    bottom: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.click-counters div {
    background: rgba(255, 255, 255, 0.8);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    transition: transform 0.1s ease;
    pointer-events: none; /* 禁止点击 */
}

.click-counters div.counting {
    transform: scale(0.95); /* 计数时轻微缩小 */
}