body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: Arial, sans-serif;
    overflow-y: auto;
}
.icon {
    position: fixed;
    top: 20px;
    width: 44px;
    height: 44px;
    background-size: contain;
}
.icon.share {
    right: 20px;
}

.avatar-container {
    margin-top: 100px;
    text-align: center;
}
.title {
    font-size: 24px;
    color: #000000;
}

.subtitle {
    font-size: 18px;
    color: #000000;
}

.carousel {
    margin-top: 50px;
    width: 90%;
    max-width: 350px;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.carousel-inner {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
}

.carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s;
}

.carousel img.active {
    opacity: 1;
}

.carousel-dots {
    position: absolute;
    bottom: 10px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: white;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.dot.active {
    opacity: 1;
}

.buttons {
    margin-top: 20px;
    width: 90%;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.button {
    width: 100%;
    height: 60px;
    border-radius: 30px;
    background-color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-sizing: border-box;
    transition: transform 0.3s ease;
    color: black;
    text-decoration: none;
    position: relative;
}

.button img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    position: absolute;
    left: 20px;
}

.button span {
    flex: 1;
    text-align: center;
}

.button:not(:first-child):hover {
    transform: scale(1.05);
}

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
    color: #FFFFFF;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px 0;
    font-size: 14px;
    z-index: 10;
}

@keyframes shake {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(5deg); }
    50% { transform: rotate(0eg); }
    75% { transform: rotate(-5deg); }
    100% { transform: rotate(0deg); }
}

.shake {
    animation: shake 0.5s ease-in-out;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 20;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 300px;
    border-radius: 10px;
    text-align: center;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* 更新日志模态框样式 */
.update-log {
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
}

.update-log h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

.log-container {
    padding: 0 20px;
}

.log-entry {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.log-date {
    font-weight: bold;
    color: #666;
    margin-bottom: 10px;
}

.log-details h3 {
    color: #333;
    margin-bottom: 10px;
}

.log-details ul {
    padding-left: 20px;
}

.log-details li {
    margin-bottom: 5px;
    color: #555;
}

@media (min-width: 768px) {
    .buttons {
        max-width: 350px;
    }
}