* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000;
    overflow: hidden;
    font-family: 'Courier New', monospace;
}

canvas {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

#matrixCanvas {
    z-index: 1;
}

#splashCanvas {
    z-index: 2;
}

/* 隐藏音频控件 */
audio {
    display: none;
}

/* 导航链接样式 */
.nav-links {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    text-align: right;
}

.nav-links a {
    color: #0F0;
    text-decoration: none;
    margin-left: 15px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav-links a:hover {
    color: #0FF;
    text-shadow: 0 0 5px #0FF;
}

/* 静音按钮样式 */
.mute-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    background: rgba(0, 0, 0, 0.7);
    color: #0F0;
    border: 1px solid #0F0;
    padding: 5px 10px;
    cursor: pointer;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    transition: all 0.3s ease;
    border-radius: 3px;
    outline: none;
}

.mute-btn:hover {
    background: rgba(0, 255, 0, 0.1);
    color: #0FF;
    border-color: #0FF;
    box-shadow: 0 0 8px rgba(0, 255, 255, 0.5);
}

.mute-btn:active {
    transform: scale(0.95);
    background: rgba(0, 255, 255, 0.2);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        top: 5px;
        right: 5px;
    }
    
    .nav-links a {
        margin-left: 10px;
        font-size: 12px;
    }
    
    .mute-btn {
        top: 5px;
        left: 5px;
        padding: 4px 8px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .nav-links {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }
    
    .nav-links a {
        margin-left: 0;
        font-size: 11px;
    }
    
    .mute-btn {
        padding: 3px 6px;
        font-size: 11px;
    }
}