body,
html {
    margin: 0;
    height: 100%;
    overflow: hidden;
    background: rgb(0, 0, 0);
    display: flex;
}
canvas {
    width: 100%;
    height: 100%;
}
.drag-container {
    min-height: 100vh;
    background: rgb(255, 255, 255);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.zoom-item {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.zoom-item {
    width: 300px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: grab;
    position: absolute;
    touch-action: none;
    text-align: center;
    transition: transform 0.3s ease-out;
}
.zoom-item:active {
    cursor: grabbing;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.zoom-item:hover:not(:active) {
    transform: scale(1.05);
}

.zoom-item.dragging {
    transition: none;
    z-index: 1000;
    opacity: 0.9;
}
.zoom-item-img {
    width: 100px;
    height: 100px;
    background-image: url("image/DYDYDY521.png");
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0 auto;
    margin-top: -50px;
    transition: all 0.3s ease;
}
.zoom-item-img:hover {
    box-shadow: 0 4px 15px rgb(0, 0, 0);
}
.zoom-item1 {
    z-index: 1000;
    left: 100px;
    top: 100px;
}
.zoom-item2 {
    left: 500px;
    top: 50px;
}
.zoom-item3 {
    left: 500px;
    top: 300px;
}
.zoom-item4 {
    left: 500px;
    top: 550px;
}
.zoom-item5 {
    left: 100px;
    top: 500px;
}
.zoom-item6 {
    left: 500px;
    top: 800px;
}
.zoom-item5 {
    height: 300px;
    background-image: url("image/SH.png");
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.zoom-item5 h1 {
    position: absolute;
    font-size: 60px;
    margin-top: -250px;
    margin-left: 250px;
}
.zoom-item5 p {
    margin-top: 300px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    transform: translateY(20px);
}
.zoom-item5:hover p {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
/* 移动端布局优化 */
@media (hover: none) and (pointer: coarse) {
    .zoom-item5 p {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
        margin-top: 310px;
        transition: none;
    }
}
.zoom-item5 div a {
    display: block;
    width: 100%;
    height: 100%;
}
.zoom-item5 div a img {
    width: 40px;
    margin-top: 40%;
    background-repeat: no-repeat;
    transition: all 0.3s ease;
}
.zoom-item5 div a img:hover {
    margin-top: 35%;
}
.list-option {
    position: absolute;
    margin-top: 700px;
    width: 100%;
    height: 100%;
    display: none;
}
.option {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.9);
    margin: 10px;
    border-radius: 10px;
}

.time-indicator {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 9999;
    width: 160px;
    height: 50px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.time-indicator img {
    position: absolute;
    width: 50px;
    height: 50px;
    object-fit: cover;
    display: none;
}

/* 根据时间显示对应图片 */
.time-indicator .day-image {
    display: block;
}
.time-indicator .night-image {
    display: none;
}

@media (prefers-color-scheme: dark) {
    .time-indicator .day-image {
        display: none;
    }
    .time-indicator .night-image {
        display: block;
    }
}
.time-container {
    position: absolute;
    margin-left: 60px;
    color: rgb(255, 255, 255);
}

.time-text {
    font-size: 20px;
    font-weight: 500;
    color: rgb(255, 255, 255);
    font-family: "Segoe UI", system-ui;
}
.date-text {
    font-size: 12px;
    color: rgb(255, 255, 255);
    letter-spacing: 0.5px;
}

/* 加载动画样式 */
.loader-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0, 0, 0);
    animation: fadeOut 1s ease-in-out forwards;
    z-index: 9999;
    pointer-events: none;
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}
@keyframes blink {
    0% {
        color: #fff;
    }
    50% {
        color: #000;
    }
    100% {
        color: #fff;
    }
}

.zoom-item1 p:last-child {
    animation: blink 1.5s infinite;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(255, 69, 69, 0.5);
}
.zoom-item6 h1 a.message-link {
    text-decoration: none;
    display: block;
    padding: 10px 20px;
    transition: all 0.3s ease;
    color: black;
    margin: 0 auto;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.3);
}

.zoom-item6 h1 a.message-link:hover {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    transform: scale(1.03);
    color: black;
}
