* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #555;
    background-image: url('../img/bg-horizontal-small.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    font-family: 'Microsoft YaHei', sans-serif;
    position: relative;
    padding-bottom: 80px;
}

.container {
    background: rgba(15, 15, 15, 0.2);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(2px);
    width: 90%;
    max-width: 400px;
    position: relative;
    z-index: 2;
    transition: opacity 0.8s ease, visibility 0.8s;
    opacity: 1;
    visibility: visible;
}

.container.visible {
    opacity: 1;
    visibility: visible;
}

.container.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.profile {
    text-align: center;
    margin-bottom: 2rem;
}

.profile img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 1rem;
    object-fit: cover;
    border: 3px solid rgba(15, 15, 15, 0.5);
}

.profile h1 {
    color: #eee;
    margin-bottom: 0.5rem;
}

.profile p {
    color: #ddd;
    margin-bottom: 1.5rem;
}

.links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.link {
    background: rgba(15, 15, 15, 0.3);
    padding: 1rem;
    border-radius: 10px;
    text-decoration: none;
    color: #ddd;
    transition: all 0.2s;
    display: flex;
    align-items: center;
}

.link:hover {
    transform: translateY(-2px);
    background: rgba(15, 15, 15, 0.5);
}

.link i {
    margin-right: 1rem;
    font-size: 1.5rem;
}

.button {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 40px;
    background-color: rgba(15, 15, 15, 0.3);
    color: #ddd;
    border-radius: 10px;
    line-height: 40px;
    text-align: center;
    cursor: pointer;
    transition: opacity 0.8s ease, visibility 0.8s, background-color 0.2s, backdrop-filter 0.2s;
    backdrop-filter: blur(5px);
    z-index: 3;
    opacity: 0;
    visibility: hidden;
}

.button.visible {
    opacity: 1;
    visibility: visible;
}

.button:hover {
    background-color: rgba(15, 15, 15, 0.5);
}

.button.active {
    background-color: rgba(15, 15, 15, 0.3);
}

@media (max-width: 480px) {
    .container {
        padding: 1.5rem;
    }
}
