* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* 彻底禁用所有高亮和轮廓 */
    -webkit-tap-highlight-color: transparent !important;
    -webkit-touch-callout: none !important;
    -webkit-user-select: none !important;
    user-select: none !important;
    outline: none !important;
}

/* 开场动画 */
#splash-screen {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #0a0f1e;
    z-index: 1000;
    transition: opacity 1.5s;
}
#waveCanvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: block;
}
.splash-text {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255,255,255,0.9);
    text-align: center;
    font-family: 'Quicksand', sans-serif;
    text-shadow: 0 0 20px rgba(0,255,255,0.5);
    width: 80%;
    max-width: 800px;
}
.splash-text p {
    margin: 0.8rem 0;
    font-size: clamp(1.2rem, 5vw, 2.5rem);
    opacity: 0;
    animation: fadeInUp 1.2s forwards;
}
.splash-text .line1 { animation-delay: 0.2s; }
.splash-text .line2 { animation-delay: 0.6s; }
.splash-text .line3 { animation-delay: 1.0s; }
.splash-text .line4 { animation-delay: 1.4s; }
.splash-text .line5 { animation-delay: 1.8s; }
.splash-text .line6 { animation-delay: 2.2s; }

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.splash-footer {
    position: absolute;
    bottom: 10%;
    left: 0;
    width: 100%;
    text-align: center;
    color: #a5f3fc;
    font-size: 1rem;
    letter-spacing: 2px;
    opacity: 0;
    animation: fadeIn 1s 3s forwards;
}
@keyframes fadeIn { to { opacity: 1; } }

/* 主界面 */
#main-site {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}

/* 视频背景 */
#bgVideo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}
.fallback-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    display: none;
}
.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: -1;
    pointer-events: none;
}

/* 音乐按钮 */
.music-btn {
    position: fixed;
    bottom: 30px; right: 30px;
    width: 50px; height: 50px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.8);
    cursor: pointer;
    transition: all 0.3s;
    z-index: 100;
    border: 1px solid rgba(255,255,255,0.3);
}
.music-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
    color: #a5f3fc;
}

/* 按钮容器（解决重叠） */
.button-container {
    position: fixed;
    bottom: 30px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 20px;
    z-index: 100;
    pointer-events: none; /* 让容器不拦截点击，按钮自己可以响应 */
}
.button-container .action-btn {
    position: relative; /* 取消绝对定位，用flex排列 */
    left: auto;
    transform: none;
    pointer-events: auto; /* 按钮自身可点击 */
}

/* 丢捞按钮（作为备用，实际由容器控制） */
.action-btn {
    background: rgba(10, 20, 40, 0.3);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 60px;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: 0.4s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.action-btn .bottle-icon {
    font-size: 1.8rem;
    filter: drop-shadow(0 0 5px #0ff);
}
.action-btn .action-text {
    font-family: 'Quicksand', sans-serif;
    letter-spacing: 1px;
}
@media (max-width: 500px) {
    .action-btn .action-text { display: none; }
    .action-btn { width: 60px; border-radius: 30px; padding: 12px; }
}
@media (max-width: 400px) {
    .button-container { gap: 10px; } /* 更小屏幕减小间距 */
}

/* 弹出纸张 */
.paper-modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.paper-content {
    width: 90%;
    max-width: 500px;
    background: #fff5e6;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    font-family: 'Quicksand', sans-serif;
    color: #2c3e50;
    position: relative;
    transform: scale(0.9);
    animation: paperAppear 0.3s forwards;
}
@keyframes paperAppear {
    to { transform: scale(1); }
}
.paper-content * {
    font-family: inherit;
}
.paper-content input, .paper-content textarea {
    width: 100%;
    padding: 1rem;
    border: none;
    background: rgba(255,255,255,0.7);
    border-bottom: 2px solid #a5c9ff;
    font-size: 1rem;
    margin: 1rem 0;
    border-radius: 8px;
    outline: none;
}
.paper-content button {
    background: #0a1f44;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 40px;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
}
.paper-content button:hover {
    background: #1a3b6f;
}
