* { box-sizing: border-box; margin: 0; padding: 0; user-select: none; }

body {
    background: #1a1a1a; 
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    overflow: hidden;
    color: #eeeeee; 
}

.scene {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    justify-content: center;
}

/* ================= 顶部极简排版 ================= */
.minimal-header { text-align: center; margin-bottom: 50px; }
.icon-heart { font-size: 2rem; margin-bottom: 15px; color: #555; font-weight: lighter; }

/* 520 缩小，并增加字间距保持呼吸感 */
.title-520 { 
    font-size: 2.2rem; /* 从 4.5rem 缩小到了 2.2rem */
    font-weight: 300; 
    letter-spacing: 12px; 
    margin-bottom: 15px; 
    color: #ccc; 
    margin-left: 12px; /* 修正 letter-spacing 导致的视觉不居中 */
}

/* “时光档案” 放大，作为视觉主标题 */
.subtitle { 
    font-size: 1.5rem; /* 从 0.8rem 放大到了 1.1rem */
    letter-spacing: 3px; 
    color: #fff; /* 颜色提亮，突出视觉层级 */
    font-weight: 250; 
}

/* ================= 底部极简文案 ================= */
.minimal-footer { text-align: center; margin-top: 60px; }

/* 只保留解锁回忆，去掉废话 */
.minimal-footer p { 
    font-size: 0.8rem; 
    letter-spacing: 5px; 
    color: #666; 
    font-weight: 300; 
}


/* ================= 深空灰哑光密码面板 ================= */
.metal-panel {
    position: relative;
    background: #242424; 
    padding: 40px 70px 40px 50px; 
    border-radius: 12px;
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.6), 
        inset 0 1px 1px rgba(255,255,255,0.05),
        0 0 0 1px #333; 
    display: flex;
    align-items: center;
}

.screw {
    position: absolute;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #181818;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.8), 0 1px 0 rgba(255,255,255,0.08);
}

.top-left { top: 15px; left: 15px; }
.top-right { top: 15px; right: 15px; }
.bottom-left { bottom: 15px; left: 15px; }
.bottom-right { bottom: 15px; right: 15px; }

/* ================= 3D 滚轮系统 ================= */
.dials-wrapper { display: flex; gap: 12px; }

.dial-slot {
    background: #0d0d0d;
    border-radius: 6px;
    padding: 2px;
    box-shadow: 
        inset 0 4px 8px rgba(0,0,0,0.9),
        0 1px 0 rgba(255,255,255,0.05); 
}

.dial-viewport {
    width: 50px;
    height: 110px;
    perspective: 800px;
    position: relative;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 35%, black 65%, transparent 100%);
    cursor: grab;
}
.dial-viewport:active { cursor: grabbing; }

.dial {
    width: 100%; height: 100%;
    position: absolute;
    transform-style: preserve-3d;
}

.number {
    position: absolute;
    width: 100%; height: 40px;
    top: 35px; 
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    font-weight: 300; 
    color: #eeeeee; 
    background: #1c1c1c; 
    border-top: 1px solid #111;
    border-bottom: 1px solid #111;
    box-sizing: border-box;
    pointer-events: none;
}

/* ================= 状态指示灯 ================= */
.indicator {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #ff3333; 
    box-shadow: 0 0 8px 1px rgba(255, 51, 51, 0.5); 
    transition: all 0.4s ease;
}

.indicator.success {
    background-color: #32ff7e; 
    box-shadow: 0 0 12px 2px rgba(50, 255, 126, 0.6);
}

@media (max-width: 600px) {
    .metal-panel { padding: 30px 50px 30px 30px; transform: scale(0.85); }
}