* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body { width: 100vw; height: 100vh; overflow: hidden; background: #000; font-family: "PingFang SC", "Microsoft YaHei", sans-serif; }

.bg-zen {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: url('assets/bg_zen.jpg') no-repeat center center;
    background-size: cover; filter: brightness(0.6);
    transition: filter 120s linear, opacity 0.5s; z-index: 1;
}

.daybreak .bg-zen { filter: brightness(1.1); }

.rooster-wrapper {
    position: absolute; top: 55%; left: 50%;
    transform: translate(-50%, -50%); width: 85vw; z-index: 10;
}

/* 引导文字：向内侧移动，防止看不全 */
.guide-tip {
    position: absolute;
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    line-height: 1.4;
    text-align: center;
    pointer-events: none;
    transition: opacity 0.8s;
    background: rgba(0,0,0,0.2);
    padding: 8px;
    border-radius: 8px;
    white-space: nowrap;
}

/* 之前是 -15%，现在设为 5% 左右，保证在屏幕内 */
.left-tip { left: 5%; top: 10%; border-right: 2px solid #8B5FBF; }
.right-tip { right: 5%; bottom: 20%; border-left: 2px solid #8B5FBF; }

.rooster-img { width: 100%; height: auto; filter: drop-shadow(0 0 15px rgba(255,255,255,0.3)); transition: transform 0.1s; }

.click-zone { position: absolute; width: 100%; left: 0; z-index: 11; }
.click-zone.top { height: 45%; top: 0; }
.click-zone.bottom { height: 55%; bottom: 0; }

.overlay { position: fixed; z-index: 100; width: 100vw; height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.black-bg { background: #000 !important; }

.start-button { 
    background: #8B5FBF; color: white; border: none; padding: 20px 45px; 
    font-size: 22px; border-radius: 50px; font-weight: bold;
    box-shadow: 0 10px 25px rgba(139, 95, 191, 0.4);
}

.floating-text { position: absolute; color: #FFEB3B; font-weight: bold; font-size: 26px; z-index: 50; animation: floatUp 0.8s ease-out forwards; pointer-events: none; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
@keyframes floatUp { 0% { transform: translateY(0) scale(1); opacity: 1; } 100% { transform: translateY(-120px) scale(1.2); opacity: 0; } }

.hidden { display: none !important; }
.qr-code { width: 75vw; max-width: 300px; margin-bottom: 25px; border: 5px solid white; border-radius: 10px; }
.end-text { color: white; font-size: 20px; text-align: center; padding: 0 20px; }