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

body {
    font-family: 'Arial', sans-serif;
    overflow: hidden;
    height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* 背景动效容器 */
#visualizer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* 主容器 */
.container {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* 本地信息容器 */
.local-info {
    position: absolute;
    top: 150px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.);
    /* backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px; */
    padding: 10px 20px;
    z-index: 10;
    display: none;
}

.local-info-content {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
    font-size: 14px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.local-info .location {
    font-weight: bold;
}

.local-info .weather {
    opacity: 0.9;
}

.local-info .temperature {
    font-weight: bold;
}

/* 播放控制按钮 */
/* 控制容器 */
.control-container {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 10;
}

/* 播放控制按钮 */
.play-control {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-control:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* 控制按钮 */
.control-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.control-btn svg {
    width: 30px;
    height: 30px;
    fill: white;
    transition: all 0.3s ease;
}

.play-control svg {
    width: 40px;
    height: 40px;
    fill: white;
    transition: all 0.3s ease;
}

/* 音乐信息 */
.music-info {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 18px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    display: none;
}

.music-info:hover {
    opacity: 1;
}

/* 引导文字样式 */
.guide-text {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.guide-text h1 {
    font-size: 48px;
    margin-bottom: 16px;
    font-weight: 300;
    letter-spacing: 2px;
}

.guide-text p {
    font-size: 20px;
    margin-bottom: 8px;
    opacity: 0.9;
}

.guide-text .hint {
    font-size: 16px;
    opacity: 0.8;
    margin-top: 16px;
}

/* 设置按钮和popup菜单 */
/* 收藏菜单按钮容器 */
.favorites-container {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 100;
}

.favorites-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.favorites-btn:hover {
    opacity: 1;
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.3);
}

.favorites-popup {
    position: absolute;
    top: 50px;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 20px;
    width: 250px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    display: none;
}

.favorites-popup.show {
    display: block;
}

.favorites-content h3 {
    color: white;
    font-size: 14px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.favorites-list {
    max-height: 300px;
    overflow-y: auto;
}

.favorites-list .empty-message {
    color: white;
    font-size: 12px;
    opacity: 0.6;
    text-align: center;
}

.favorite-item {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: white;
    padding: 10px 12px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 8px;
    text-align: left;
}

.favorite-item:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

/* 设置按钮容器 */
.settings-container {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 100;
}

.settings-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.settings-btn:hover {
    opacity: 1;
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.3);
}

.settings-popup {
    position: absolute;
    top: 50px;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 20px;
    width: calc(100vw - 50px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    display: none;
}

.settings-content {
    display: flex;
    gap: 20px;
}

.settings-column {
    flex: 1;
    /* min-width: 200px; */
}

.settings-popup.show {
    display: block;
}

.settings-section {
    margin-bottom: 20px;
}

.settings-section h3 {
    color: white;
    font-size: 14px;
    margin-bottom: 10px;
    opacity: 0.9;
}

.settings-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.effect-btn, .color-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: white;
    padding: 8px 12px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.effect-btn:hover, .color-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.effect-btn.active, .color-btn.active {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
}
