/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    overflow: hidden;
    height: 100vh;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* 背景容器 */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* 背景图片 */
.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('b_cee9a5cdd44be8859c60ade297090776.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* 毛玻璃效果 */
.glass-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    background: rgba(255, 255, 255, 0.1);
}

/* 水滴效果 */
.water-drops {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.3) 2px, transparent 2px),
        radial-gradient(circle at 60% 70%, rgba(255, 255, 255, 0.2) 1px, transparent 1px),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.4) 3px, transparent 3px),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.3) 2px, transparent 2px);
    background-size: 200px 200px, 150px 150px, 250px 250px, 180px 180px;
    background-position: 0 0, 40px 60px, 130px 270px, 70px 100px;
    opacity: 0.6;
}

/* 内容容器 */
.content-container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

/* 图片容器 */
.image-container {
    position: relative;
    max-width: 80vw;
    max-height: 70vh;
    cursor: grab;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    z-index: 2;
}

.image-container:active {
    cursor: grabbing;
}

/* 主图片 */
.main-image {
    width: 100%;
    height: auto;
    max-width: 600px;
    max-height: 500px;
    border-radius: 15px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 60px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    object-fit: contain;
    transition: transform 0.2s ease;
}

/* 文字容器 */
.text-container {
    margin-top: 30px;
    text-align: center;
    position: relative;
    z-index: 0;
}

/* 主文字 */
.main-text {
    color: white;
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: bold;
    text-shadow: 
        0 2px 10px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(255, 255, 255, 0.3),
        2px 2px 4px rgba(0, 0, 0, 0.7);
    letter-spacing: 2px;
    animation: float 3s ease-in-out infinite;
}

/* 浮动动画 */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .image-container {
        max-width: 90vw;
        max-height: 60vh;
    }
    
    .main-image {
        max-width: 400px;
        max-height: 350px;
    }
    
    .text-container {
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .image-container {
        max-width: 95vw;
        max-height: 50vh;
    }
    
    .main-image {
        max-width: 300px;
        max-height: 250px;
    }
    
    .main-text {
        font-size: 1.2rem;
    }
}

/* 高分辨率屏幕适配 */
@media (min-width: 1200px) {
    .main-image {
        max-width: 700px;
        max-height: 600px;
    }
}

/* 图片保护样式 */
.main-image {
    pointer-events: none;
    -webkit-touch-callout: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
}

/* 拖动时的弹簧效果 */
.spring-animation {
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}