/* ========== 统一简化布局设计 ========== */

/* 简化状态栏布局 */
.status-bar-simplified {
    padding: 16px 0;
}

.anger-progress-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 16px;
}

.anger-meter {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ff4757;
}

.anger-meter i {
    font-size: 1.3rem;
    animation: fireFlicker 2s ease-in-out infinite alternate;
}

@keyframes fireFlicker {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.progress-container {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 200px;
}

.progress-container label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #28a745, #20c997);
    border-radius: 4px;
    transition: width 0.5s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: progressShine 2s ease-in-out infinite;
}

@keyframes progressShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    min-width: 40px;
    text-align: right;
}

/* 功能按钮行 */
.action-buttons-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid #007bff;
    border-radius: 12px;
    color: #007bff;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 80px;
    min-height: 60px;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.action-btn i {
    font-size: 1.3rem;
}

.action-btn:hover,
.action-btn:focus {
    background: #007bff;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.action-btn:active {
    transform: translateY(0);
}

/* 不同功能按钮的颜色 */
.action-btn#comment-btn {
    border-color: #28a745;
    color: #28a745;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.2);
}

.action-btn#comment-btn:hover {
    background: #28a745;
    color: white;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.action-btn#stats-btn {
    border-color: #856404;
    color: #856404;
    box-shadow: 0 4px 12px rgba(133, 100, 4, 0.2);
}

.action-btn#stats-btn:hover {
    background: #ffc107;
    color: #212529;
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}

.action-btn#share-btn {
    border-color: #dc3545;
    color: #dc3545;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.2);
}

.action-btn#share-btn:hover {
    background: #dc3545;
    color: white;
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .anger-progress-row {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .anger-meter {
        justify-content: center;
        font-size: 1rem;
    }
    
    .progress-container {
        justify-content: center;
        min-width: auto;
    }
    
    .action-buttons-row {
        gap: 12px;
    }
    
    .action-btn {
        flex: 1;
        min-width: 70px;
        min-height: 55px;
        padding: 10px 12px;
        font-size: 0.8rem;
    }
    
    .action-btn i {
        font-size: 1.1rem;
    }
    
    /* 移动端游戏区域调整 */
    .game-area {
        padding: 12px 0;
    }
    
    .scene-description {
        padding: 12px;
        text-align: center;
    }
    
    .scene-description h2 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .scene-description p {
        font-size: 0.9rem;
        color: #555;
        font-weight: 500;
    }
    
    .interaction-area {
        padding: 16px;
    }
    
    .click-target {
        width: 160px;
        height: 160px;
    }
    
    .tools-bar {
        gap: 8px;
        padding: 12px;
        margin: 0 12px;
        bottom: 16px;
    }
    
    .tool-btn {
        min-width: 70px;
        min-height: 55px;
        padding: 8px;
        font-size: 0.75rem;
    }
    
    .tool-btn i {
        font-size: 1.1rem;
    }
    
    .tool-btn span {
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .status-bar-simplified {
        padding: 12px 0;
    }
    
    .anger-meter {
        font-size: 0.95rem;
    }
    
    .action-btn {
        min-height: 50px;
        padding: 8px 10px;
        font-size: 0.75rem;
    }
    
    .action-btn i {
        font-size: 1rem;
    }
    
    .click-target {
        width: 140px;
        height: 140px;
    }
    
    .tool-btn {
        min-width: 65px;
        min-height: 50px;
    }
}
