/* 满屏飘动照片墙 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow: hidden;
    background: #000;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    perspective: 1000px;
}

.page-header {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    text-align: center;
}

.page-header h1 {
    font-size: 48px;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 215, 0, 0.4);
    letter-spacing: 6px;
    margin: 0;
}

.back-btn {
    position: fixed;
    top: 30px;
    right: 40px;
    z-index: 1000;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 28px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.back-btn:hover {
    color: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.photo-container {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at center, #1a1a2e 0%, #0f0f1e 50%, #000 100%);
    transform-style: preserve-3d;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.floating-photo {
    position: absolute;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    cursor: pointer;
    transition: box-shadow 0.3s ease, filter 0.3s ease, opacity 0.3s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-style: preserve-3d;
    will-change: transform;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.floating-photo:hover {
    box-shadow: 0 15px 60px rgba(255, 215, 0, 0.8);
    filter: brightness(1.1);
}

.floating-photo.selected {
    box-shadow: 0 20px 80px rgba(255, 215, 0, 1), 0 0 60px rgba(255, 215, 0, 0.5);
    z-index: 9999 !important;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    width: 600px !important;
    height: 450px !important;
    border: 3px solid rgba(255, 215, 0, 0.8);
    opacity: 1 !important;
}

.floating-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.hint-text {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    z-index: 1000;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.hint-text span {
    color: #ffd700;
    font-weight: 600;
}

/* Bootstrap Modal 自定义 */
.modal-content {
    background: rgba(0, 0, 0, 0.95);
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.modal-body {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.modal-body img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
}

.btn-close {
    filter: invert(1);
    opacity: 0.8;
}

.btn-close:hover {
    opacity: 1;
}
