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

body {
    font-family: 'Source Han Sans SC', 'Noto Sans SC', sans-serif;
    /* 治愈系渐变背景 - 雾蓝到极光渐变 */
    background: linear-gradient(135deg, 
        #E0F7FA 0%, 
        #B2EBF2 25%, 
        #80DEEA 50%, 
        #4DD0E1 75%, 
        #26C6DA 100%);
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
    transition: background 0.5s ease;
}

/* 粒子画布 */
.particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 800px;
    width: 100%;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
}

.brand {
    margin-bottom: 20px;
    position: relative;
    height: 40px;
    overflow: hidden;
}

.brand-text {
    color: #666;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    position: absolute;
    width: 100%;
    text-align: center;
    top: 0;
    left: 0;
}

.brand-text:hover {
    color: #1E90FF;
    text-decoration: underline;
}

.brand-text.clicked {
    transform: scale(0.95);
    transition: transform 0.1s ease;
}

/* 轮播指示器样式 */
.brand-indicators {
    display: flex;
    justify-content: center;
    margin-top: 25px;
    gap: 5px;
}

.brand-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.brand-indicator.active {
    background: #1E90FF;
}

.brand-indicator:hover {
    background: #1E90FF;
    opacity: 0.7;
}

.city-selector {
    margin-bottom: 20px;
    text-align: right;
}

.city-dropdown {
    background: white;
    border: 2px solid #1E90FF;
    border-radius: 10px;
    padding: 8px 16px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
}

.city-dropdown:hover {
    border-color: #4169E1;
    box-shadow: 0 2px 8px rgba(30, 144, 255, 0.2);
}

.city-dropdown:focus {
    outline: none;
    border-color: #4169E1;
    box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.1);
}

.main-title {
    color: #1E90FF;
    font-family: 'Ma Shan Zheng', 'Source Han Sans SC', cursive;
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: 2px;
}

.mood-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.mood-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.counter {
    background: #FF4444;
    color: white;
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 8px 16px;
    border-radius: 10px;
    min-width: 120px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(255, 68, 68, 0.3);
    transition: all 0.3s ease;
}

.counter.updated {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(255, 68, 68, 0.4);
}

.mood-button {
    width: 120px;
    height: 120px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(145deg, #87CEEB, #B0E0E6);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.mood-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.mood-button:active {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.emoji-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.mood-button:hover .emoji-img {
    transform: scale(1.3);
}

.mood-text {
    color: #333;
    font-size: 1.1rem;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.stats {
    margin-top: 30px;
    padding: 20px;
    background: rgba(30, 144, 255, 0.1);
    border-radius: 15px;
    border: 2px solid rgba(30, 144, 255, 0.2);
}

.total-clicks {
    color: #1E90FF;
    font-size: 1.2rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .container {
        padding: 20px;
        margin: 10px;
    }
    
    .main-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .mood-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .mood-button {
        width: 100px;
        height: 100px;
    }
    
    .emoji-img {
        width: 90%;
        height: 90%;
    }
    
    .counter {
        font-size: 1rem;
        min-width: 100px;
    }
}

@media (max-width: 480px) {
    .mood-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .mood-button {
        width: 120px;
        height: 120px;
    }
    
    .emoji-img {
        width: 90%;
        height: 90%;
    }
}

/* 备案信息样式 */
.beian-info {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    font-size: 12px;
    text-align: center;
}

.beian-info span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.beian-info img {
    width: 16px;
    height: 16px;
    vertical-align: middle;
}

.beian-info a {
    text-decoration: none;
    color: rgb(153, 153, 153);
    transition: color 0.3s ease;
}

.beian-info a:hover {
    color: #1E90FF;
}

@media (max-width: 768px) {
    .beian-info {
        bottom: 10px;
        padding: 8px 15px;
        font-size: 11px;
    }
    
    .beian-info img {
        width: 14px;
        height: 14px;
    }
}

/* 环境音控制样式 */
.audio-controls {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

.audio-toggle {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(30, 144, 255, 0.3);
    border-radius: 25px;
    padding: 10px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.audio-toggle:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(30, 144, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.audio-toggle.active {
    background: rgba(30, 144, 255, 0.2);
    border-color: #1E90FF;
}

.audio-toggle.muted .audio-icon {
    opacity: 0.5;
}

.audio-icon {
    font-size: 18px;
    transition: opacity 0.3s ease;
}

.audio-label {
    font-weight: 500;
}

.audio-select {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(30, 144, 255, 0.3);
    border-radius: 15px;
    padding: 8px 15px;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    min-width: 120px;
}

.audio-select:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(30, 144, 255, 0.5);
}

.audio-select:focus {
    outline: none;
    border-color: #1E90FF;
    box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.1);
}

@media (max-width: 768px) {
    .audio-controls {
        top: 10px;
        right: 10px;
    }
    
    .audio-toggle {
        padding: 8px 15px;
        font-size: 12px;
    }
    
    .audio-select {
        padding: 6px 12px;
        font-size: 12px;
        min-width: 100px;
    }
} 