body,
html {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

/* 按钮样式 */
.btn {
    cursor: pointer;
    padding: 12px 18px;
    border-radius: 30px;
    border: none;
    display: inline-block;
    overflow: hidden;
    background: #ffffff;
    z-index: 1;
    box-shadow:
        inset 6px 6px 12px rgba(0, 0, 0, 0.1),
        inset -6px -6px 12px rgba(255, 255, 255, 0.7),
        6px 6px 12px rgba(0, 0, 0, 0.1),
        -6px -6px 12px rgba(255, 255, 255, 0.7);
    transition:
        box-shadow 0.3s ease,
        transform 0.1s ease;
}

.btn span {
    font-family: Arial, sans-serif;
    font-weight: 900;
    font-size: 24px;
    color: #777;
    text-shadow:
        2px 2px 3px rgba(0, 0, 0, 0.2),
        -2px -2px 3px rgba(255, 255, 255, 0.8);
    position: relative;
    display: inline-block;
    transition: transform 0.3s ease-out;
    padding: 0px 4px;
}

.btn span:hover {
    transform: translateY(-7px);
    color: var(--random-color);
    text-shadow:
        2px 2px 5px rgba(0, 0, 0, 0.3),
        -2px -2px 5px rgba(255, 255, 255, 0.9);
}

.btn:hover {
    box-shadow:
        inset 3px 3px 6px rgba(0, 0, 0, 0.1),
        inset -3px -3px 6px rgba(255, 255, 255, 0.9),
        4px 4px 10px rgba(0, 0, 0, 0.1),
        -4px -4px 10px rgba(255, 255, 255, 0.9);
}

.btn:active {
    box-shadow:
        inset 2px 2px 4px rgba(0, 0, 0, 0.2),
        inset -2px -2px 4px rgba(255, 255, 255, 0.8);
    transform: scale(0.98);
}


/* 隐藏卡片 */
.hidden {
    display: none;
}



.card-background {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 0;
    opacity: 0.0001;
    animation: fadeIn 1.1s ease-in-out 7.2s forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0.0001;
    }

    100% {
        opacity: 1;
    }
}

.card-container {
    background: rgba(255, 255, 255, 1);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 500px;
    z-index: 2;
}

h1 {
    margin-bottom: 1rem;
    color: #333;
    font-size: 34px;
    font-family: 'ZCOOL KuaiLe', serif;
}

h1 span {
    font-size: 0.6em;
}

p {
    margin: 0.5rem 0;
    color: #666;
    font-size: 20px;
    font-family: 'ZCOOL KuaiLe', serif;

}

.links {
    margin-top: 1rem;
}

.icon-btn {
    display: inline-block;
    width: 40px;
    height: 40px;
    margin: 0 5px;
    background-color: white;
    border-radius: 50%;
    color: #333;
    line-height: 40px;
    text-align: center;
    font-size: 20px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.icon-btn:hover {
    transform: scale(2);
}

.icon-btn:active {
    transform: scale(0.9);
}

@media (max-width: 600px) {
    .card-container {
        padding: 1rem;
    }

    h1 {
        font-size: 20px;
    }

    p {
        font-size: 14px;
    }

    .icon-btn {
        width: 30px;
        height: 30px;
        font-size: 16px;
        line-height: 30px;
    }
}

/* 模态框样式 */
.modal {
    display: none;
    /* 默认隐藏 */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* 半透明背景 */
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

.close-btn:hover {
    color: #000;
}

.modal-content img {
    max-width: 100%;
    height: auto;
    margin-top: 10px;
}

/* 模态框样式 */